/* Automatiza Mallorca additions on top of the FacturaFlow stylesheet */
.h1-lite { font-size: clamp(1.7rem, 3vw, 2.4rem) !important; }
.hero-native__copy .hero-actions { margin-top: 1.4rem; }
.hero-native__copy h1 { max-width: 12ch; font-size: clamp(2.6rem, 5vw, 4.4rem); }
.hero-process-card__icon img { width: 26px; height: 26px; }
.hero-process-card__icon { background: #fff; }
.am-callout .repetitive-callout__flow article::before { content: none; }
.am-callout .repetitive-callout__flow article img { width: 44px; height: 44px; margin-bottom: 0.4rem; }
.privacy-board__footer-icon { display: none; }
.am-pricing { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.25rem; margin-top: 0.5rem; }
.am-price {
  display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,251,255,0.98) 100%);
  border: 1px solid rgba(186,212,232,0.82);
  box-shadow: 0 22px 55px rgba(8, 28, 63, 0.08);
}
.am-price h3 { margin: 0; font-size: 1.5rem; line-height: 1.15; }
.am-price p { margin: 0; color: var(--muted); }
.am-price .list-clean { color: var(--text); font-size: 0.98rem; }
.am-price .button { margin-top: auto; align-self: flex-start; }
.am-price__amount { font-size: clamp(1.9rem, 2.6vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em; color: var(--primary-deep); line-height: 1.1; }
.am-price__amount small { font-size: 0.95rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.am-price--main { border: 2px solid rgba(29,103,232,0.45); box-shadow: 0 26px 70px rgba(10, 95, 216, 0.14); }
.am-price--dark {
  color: #fff; border: 0;
  background: linear-gradient(135deg, rgba(8,28,63,0.96) 0%, rgba(10,95,216,0.92) 58%, rgba(34,199,207,0.82) 100%);
}
.am-price--dark .eyebrow, .am-price--dark .am-price__amount, .am-price--dark .am-price__amount small { color: #fff; }
.am-price--dark p { color: rgba(255,255,255,0.92); }
.am-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; padding: clamp(1.35rem, 3vw, 2.4rem) !important; }
.am-contact .section-intro { margin-bottom: 0; }
.am-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.ff-form textarea { resize: vertical; min-height: 120px; }
.am-thanks { max-width: 640px; margin: 3rem auto; padding: 2rem; }
@media (max-width: 1040px) { .am-pricing { grid-template-columns: 1fr; } .am-price--main { grid-column: 1 / -1; } }
@media (max-width: 900px) { .am-contact { grid-template-columns: 1fr; } }
/* mobile fix: FF hides the divider element but keeps its grid column, which pushes the text into the number column */
@media (max-width: 900px) { .value-row { grid-template-columns: 62px 44px minmax(0, 1fr) !important; } }
@media (max-width: 520px) { .value-row { grid-template-columns: 54px 38px minmax(0, 1fr) !important; } }
.hero-new-process em { display: none; }
.am-faq .info-box h3 { margin: 0 0 0.4rem; font-size: 1.12rem; line-height: 1.25; }
.am-faq .info-box p { margin: 0; font-size: 0.98rem; }
/* blog */
.am-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; align-items: start; }
.am-post { padding: clamp(1.2rem, 3vw, 2.2rem) !important; font-size: 1.05rem; }
.am-post h2 { margin: 1.8rem 0 0.6rem; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; }
.am-post h3 { margin: 1.3rem 0 0.4rem; font-size: 1.15rem; }
.am-post p, .am-post li { color: var(--text) !important; }
.am-post ul, .am-post ol { padding-left: 1.3rem; }
.am-post li + li { margin-top: 0.35rem; }
.am-post a { font-weight: 700; }
.am-post-meta { color: var(--muted) !important; font-size: 0.92rem !important; margin-top: 0.6rem !important; }
.am-post-side { display: grid; gap: 1rem; position: sticky; top: 90px; }
.am-side-cta h3 { margin: 0.3rem 0 0.5rem; font-size: 1.15rem; line-height: 1.25; }
.am-side-cta p { color: var(--muted); margin: 0 0 0.9rem; font-size: 0.95rem; }
.am-side-related ul { margin-top: 0.4rem; font-size: 0.95rem; }
.am-post-card h2 { margin: 0 0 0.4rem; font-size: 1.2rem; line-height: 1.25; }
.am-post-card h2 a { color: var(--text); }
.am-post-card p { margin: 0; font-size: 0.95rem; }
@media (max-width: 900px) { .am-post-layout { grid-template-columns: 1fr; } .am-post-side { position: static; } }
.am-post-cta { margin-top: 2rem; padding: 1.6rem !important; }
.am-post-cta p { color: rgba(255,255,255,0.92) !important; }
.am-btn-light { background: #fff !important; color: var(--primary-deep) !important; box-shadow: none !important; }
.am-btn-ghost { background: rgba(255,255,255,0.14) !important; color: #fff !important; border-color: rgba(255,255,255,0.35) !important; }
.am-lang { display: inline-flex; gap: 0.15rem; margin-left: 0.4rem; }
.am-lang a { padding-inline: 0.55rem !important; font-size: 0.82rem !important; color: var(--primary) !important; }
.am-board-note { margin: 1.1rem 0 0; text-align: center; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .am-lang { grid-column: 1 / -1; justify-content: center; } }
/* blog images (used when a file exists in assets/blog/) */
.am-post-hero { margin: -0.4rem 0 1.4rem; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(8,28,63,0.10); }
.am-post-hero img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; }
.am-post-card__img img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 0.9rem; }
/* new logo (2026-09-08) */
.am-brand img { width: auto !important; height: 52px !important; object-fit: contain !important; }
.am-brand__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 560px) { .am-brand img { height: 44px !important; } }
.am-langsw { margin-left: 0.5rem; padding-left: 0.6rem; border-left: 1px solid rgba(186,212,232,0.9); }
.am-langsw a { font-weight: 700; }
