:root {
  color-scheme: light;
  --red: #d43a3a;
  --red-dark: #b02b2c;
  --red-light: #fbe9e7;
  --ink: #212224;
  --paper: #f7f5f2;
  --line: rgba(33, 34, 36, .12);
  --muted: #55575b;
  --font-body: "Barlow", Arial, sans-serif;
  --font-heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --content: 1232px;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.site-shell { overflow: clip; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: 12px; transform: translateY(-160%); padding: 12px 16px; border-radius: 4px; background: var(--ink); color: #fff; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; padding: 14px 16px; }
.header-inner { display: flex; max-width: 1200px; align-items: center; justify-content: space-between; gap: 16px; margin: 0 auto; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px 10px 20px; background: rgba(255,255,255,.82); box-shadow: 0 6px 24px rgba(33,34,36,.06); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-symbol { width: auto; height: 28px; }
.brand-wordmark { width: auto; height: 16px; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.desktop-nav a, .footer-meta nav a { padding: 10px 16px; border-radius: 4px; color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .footer-meta nav a:hover { background: var(--red-light); color: var(--red-dark); }
.desktop-nav .nav-cta { margin-left: 6px; padding: 11px 20px; background: var(--red); color: #fff; font-weight: 500; }
.desktop-nav .nav-cta:hover, .desktop-nav .nav-cta:focus-visible { background: var(--red-dark); color: #fff; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

.hero { max-width: var(--content); margin: 0 auto; padding: 16px 16px 0; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; border: 1px solid var(--line); border-radius: 6px; padding: clamp(28px, 4vw, 48px); background: #fff; }
.hero-copy-main { display: flex; flex-direction: column; gap: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 4px; background: var(--red-light); color: var(--red-dark); font-size: 13px; font-weight: 500; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(42px, 5.2vw, 72px); line-height: .95; letter-spacing: -.025em; text-wrap: balance; }
.hero h1 span { color: var(--red); }
.hero-intro { max-width: 480px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.55; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 4px; padding: 14px 22px; font-weight: 500; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #f09b94; outline-offset: 3px; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--red); }
.button-whatsapp { background: #157347; color: #fff; }
.button-whatsapp:hover { background: #0e6654; color: #fff; }
.button-outline { border-color: var(--line); color: var(--ink); }
.button-outline:hover { border-color: var(--ink); }
.button-red { background: var(--red); color: #fff; }
.button-red:hover { background: var(--red-dark); }
.hero-art { position: relative; min-height: 340px; overflow: hidden; border-radius: 6px; background: var(--red); color: #fff; }
.hero-symbol-ghost { position: absolute; top: -28%; right: -62%; width: 150%; aspect-ratio: 4000 / 3794; background: #fff; opacity: .12; -webkit-mask: url("../assets/img/simbolo.png") center / contain no-repeat; mask: url("../assets/img/simbolo.png") center / contain no-repeat; }
.hero-symbol { position: absolute; right: clamp(24px, 4vw, 40px); bottom: clamp(24px, 4vw, 40px); width: min(44%, 240px); aspect-ratio: 4000 / 3794; background: #fff; -webkit-mask: url("../assets/img/simbolo.png") center / contain no-repeat; mask: url("../assets/img/simbolo.png") center / contain no-repeat; }
.hero-art-caption { position: absolute; top: clamp(24px, 4vw, 40px); left: clamp(20px, 4vw, 40px); display: flex; align-items: center; gap: 14px; color: #fff; }
.hero-art-caption span:first-child { font: 600 clamp(72px, 9vw, 120px)/.8 var(--font-heading); }
.hero-art-caption span:last-child { max-width: 200px; font: 500 15px/1.35 var(--font-body); }

.marquee { overflow: hidden; margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; padding: 22px 0; }
.marquee-item { display: inline-flex; align-items: center; gap: 32px; padding-right: 32px; white-space: nowrap; font: 600 30px/1.1 var(--font-heading); }
.marquee-item img { width: auto; height: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

.about { position: relative; max-width: 1200px; margin: 0 auto; padding: 128px 24px; scroll-margin-top: 96px; }
.about-mark { position: absolute; top: 60px; left: -180px; width: 420px; opacity: .07; pointer-events: none; }
.about-mark img { width: 100%; }
.about-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); align-items: start; gap: 48px 80px; }
.section-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.section-kicker { color: var(--red-dark); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.section-copy h2 { margin: 0; font-size: clamp(38px, 4.6vw, 62px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.section-copy h2 span { color: var(--red); }
.about-copy { display: flex; flex-direction: column; gap: 22px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.about-copy p { margin: 0; text-wrap: pretty; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.about-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.about-pills span { border: 1px solid var(--line); border-radius: 4px; padding: 9px 16px; background: #fff; color: var(--ink); font-size: 14px; }

.services { scroll-margin-top: 96px; padding: 0 16px; }
.services-inner { position: relative; display: flex; max-width: var(--content); flex-direction: column; gap: 48px; overflow: hidden; margin: 0 auto; border-radius: 6px; padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 64px); background: var(--ink); color: #fff; }
.services-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.services-heading > div:first-child { display: flex; max-width: 640px; flex-direction: column; gap: 18px; }
.section-kicker-light { color: #f2b6b2; }
.services-heading h2 { margin: 0; font-size: clamp(38px, 4.6vw, 62px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.services-heading h2 span { color: var(--red); }
.service-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 4px; background: rgba(255,255,255,.07); }
.service-tab { display: inline-flex; min-width: 42px; align-items: center; justify-content: center; border-radius: 4px; padding: 10px 16px; background: transparent; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; }
.service-tab.is-active { background: #fff; color: var(--ink); }
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.service-card { display: flex; min-height: 180px; flex-direction: column; gap: 36px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 24px; background: rgba(255,255,255,.04); color: #fff; text-align: left; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.service-card:hover { border-color: rgba(255,255,255,.4); }
.service-card.is-active { border-color: var(--red); background: var(--red); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; }
.service-card-top > span:first-child { font: 600 15px var(--font-heading); opacity: .8; }
.service-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 4px; background: rgba(255,255,255,.1); color: #fff; font-size: 16px; }
.service-card.is-active .service-icon { background: #fff; color: var(--red); }
.service-card-title { margin-top: auto; font: 600 28px/1.02 var(--font-heading); text-wrap: balance; }
.service-panels { padding-top: 8px; }
.service-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px 64px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 40px; }
.service-lead, .service-detail { display: flex; flex-direction: column; gap: 18px; }
.service-lead h3 { margin: 0; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.04; text-wrap: balance; }
.service-lead .button { align-self: flex-start; }
.service-detail { gap: 20px; }
.service-detail p { margin: 0; color: #d4d4d7; font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags span { border: 1px solid rgba(255,255,255,.22); border-radius: 4px; padding: 8px 14px; color: #fff; font-size: 13px; }
.service-detail .service-close { color: #f2b6b2; font-size: 16px; line-height: 1.6; }

.contact { max-width: var(--content); margin: 0 auto; padding: 128px 16px 16px; scroll-margin-top: 96px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 16px; }
.contact-card { position: relative; display: flex; overflow: hidden; flex-direction: column; gap: 28px; border-radius: 6px; padding: clamp(32px, 5vw, 56px); background: var(--red); color: #fff; }
.contact-watermark { position: absolute; right: -90px; bottom: -90px; width: 340px; opacity: .14; filter: brightness(0) invert(1); pointer-events: none; }
.contact-card > :not(.contact-watermark) { position: relative; }
.contact-card h2 { margin: 0; font-size: clamp(38px, 4.6vw, 60px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.contact-card > p { margin: 0; color: #fff; font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.contact-details { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.contact-details > a, .contact-details > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 6px; padding: 16px 20px; background: rgba(255,255,255,.14); color: #fff; text-decoration: none; }
.contact-details > a:hover { background: rgba(255,255,255,.24); }
.contact-details span { font-size: 13px; }
.contact-details strong { font-weight: 600; text-align: right; }
.form-card { border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 48px); background: #fff; }
.form-card > h3, .handoff h3 { margin: 0 0 8px; font-size: 30px; line-height: 1.05; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 0 16px; background: var(--paper); color: var(--ink); outline: none; font-size: 16px; font-weight: 400; }
.field input, .field select { height: 50px; }
.field textarea { min-height: 118px; resize: vertical; padding: 14px 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px var(--red-light); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field small, .form-error-summary { color: var(--red-dark); font-size: 13px; }
.form-error-summary { margin: -12px 0 0; }
.channel-choice { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; border: 0; padding: 0; }
.channel-choice legend { margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.channel-choice label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.channel-choice input { accent-color: var(--red); }
.form-submit { width: 100%; min-height: 56px; border: 0; font-size: 16px; }
.form-submit:disabled { cursor: wait; opacity: .68; }
.form-submit .whatsapp-icon { width: 22px; height: 22px; flex: 0 0 22px; }
.retry-uncertain { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: 4px; padding: 14px; }
.retry-uncertain legend { padding: 0 6px; font-weight: 600; }
.retry-uncertain label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.retry-uncertain input { margin-top: 3px; }
.retry-uncertain button { align-self: flex-start; border: 0; background: transparent; color: var(--red-dark); text-decoration: underline; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.form-note { margin: -8px 0 0; color: #7a7a7d; font-size: 13px; text-align: center; }
.handoff { display: flex; min-height: 460px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; }
.handoff img { width: auto; height: 56px; }
.handoff h3 { margin: 0; }
.handoff p { margin: 0; color: var(--muted); font-size: 17px; }
.handoff-alt { font-size: 14px !important; }
.handoff-alt a, .text-link { color: var(--red-dark); }
.text-link { font-size: 14px; }

.site-footer { display: flex; max-width: var(--content); flex-direction: column; gap: 40px; margin: 0 auto; padding: 96px 16px 32px; }
.footer-logo { width: 100%; height: auto; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; color: #7a7a7d; font-size: 14px; }
.footer-meta nav { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-meta nav a { padding: 6px 10px; color: var(--muted); }
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding-top: 16px; color: #7a7a7d; font-size: 13px; text-align: center; }
.footer-credit img { width: min(132px, 42vw); height: auto; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.whatsapp-icon { display: block; width: 22px; height: 22px; flex: 0 0 22px; color: currentColor; }
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; min-height: 54px; align-items: center; gap: 10px; border-radius: 4px; padding: 0 22px; background: #157347; box-shadow: 0 12px 32px rgba(33,34,36,.25); color: #fff; font-weight: 500; text-decoration: none; }
.floating-whatsapp:hover { background: #0e6654; }

@media (max-width: 860px) {
  .site-header { min-height: 72px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 4px; background: var(--ink); color: #fff; font-size: 18px; cursor: pointer; }
  .mobile-nav:not([hidden]) { position: absolute; top: 100%; right: 0; left: 0; display: flex; flex-direction: column; padding: 8px 24px 24px; background: var(--paper); box-shadow: 0 16px 24px rgba(33,34,36,.08); }
  .mobile-nav a { border-bottom: 1px solid var(--line); padding: 16px 0; color: var(--ink); font: 600 26px/1.1 var(--font-heading); text-decoration: none; }
  .mobile-nav a:last-child { border: 0; color: var(--red); }
  .contact { padding-top: 88px; }
  .site-footer { padding-top: 72px; }
}
@media (max-width: 560px) {
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 auto; }
  .marquee-item { gap: 22px; padding-right: 22px; font-size: 25px; }
  .services-heading { align-items: flex-start; }
  .service-tab { min-width: 44px; min-height: 44px; padding: 9px 12px; }
  .service-card { min-height: 150px; }
  .service-panel { gap: 28px; }
  .contact { padding: 64px 12px 12px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card, .form-card { padding: 28px 22px; }
  .contact-details > a, .contact-details > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .contact-details strong { text-align: left; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .site-footer { gap: 28px; padding: 56px 16px calc(96px + env(safe-area-inset-bottom)); }
  .footer-meta { align-items: flex-start; flex-direction: column; }
  .footer-meta nav { margin-left: -10px; }
  .floating-whatsapp { right: 12px; bottom: 12px; min-height: 48px; padding: 0 16px; }
}
