/* AS Solution Advisor — styles
   Mobile-first. Breakpoints: 720px (tablet), 1200px (desktop). */

:root {
  --green-950: #16230F;
  --green-900: #1A2A14;
  --green-800: #22361B;
  --green-700: #2B4222;
  --gold: #E2B955;
  --gold-deep: #8A6420;
  --gold-light: #F6E2A0;
  --gold-dark: #A77A24;
  --gold-grad: linear-gradient(135deg, #A77A24 0%, #D9AE4E 22%, #F6E2A0 42%, #E0B654 58%, #B8872C 78%, #E9C96F 100%);
  --gold-grad-text: linear-gradient(100deg, #C8963A 0%, #F4DC93 35%, #E2B955 55%, #F7E6AC 75%, #C8963A 100%);
  --gold-grad-deep: linear-gradient(100deg, #7A561B 0%, #A77A24 30%, #C9973A 50%, #A77A24 70%, #7A561B 100%);
  --ivory: #FAF6EE;
  --paper: #FFFFFF;
  --ink: #1E2A18;
  --muted: #4A5143;
  --line: #E6DCC6;
  --on-dark: #F5EFE2;
  --on-dark-muted: #D3CCBA;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1248px;
  --gutter: 20px;
  --section-y: 72px;
  --header-h: 72px;
  --radius: 18px;
}
@media (min-width: 720px) { :root { --gutter: 40px; --section-y: 96px; } }
@media (min-width: 1200px) { :root { --gutter: 64px; --section-y: 112px; --header-h: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
a:hover { color: #5E4318; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.08; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.kicker { font-size: 15px; font-weight: 600; color: var(--gold-deep); margin-bottom: 12px; }
.section-title { font-size: clamp(38px, 5.2vw, 60px); color: var(--green-800); }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #E6BF7E; color: var(--ink); }
.btn-outline { border-color: var(--gold); color: var(--on-dark); background: transparent; }
.btn-outline:hover { background: rgba(226,185,85,.14); color: var(--on-dark); }
.btn-whatsapp { background: #25D366; color: #0B3B1E; }
.btn-whatsapp:hover { background: #3EE07A; color: #0B3B1E; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green-900); color: var(--on-dark); border-bottom: 1px solid rgba(226,185,85,.3); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; }
.brand picture { flex: none; }
.brand img { width: 44px; height: 46px; }
.brand span { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
@media (min-width: 400px) { .brand span { font-size: 19px; } }
@media (min-width: 1200px) { .brand img { width: 56px; height: 58px; } .brand span { font-size: 23px; } }
.brand:hover { color: var(--on-dark); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 1px solid rgba(226,185,85,.5); border-radius: 12px; color: var(--on-dark); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
.site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--green-900); border-bottom: 1px solid rgba(226,185,85,.3); padding: 8px var(--gutter) 24px; display: none; flex-direction: column; gap: 4px; }
.site-nav.is-open { display: flex; }
.site-nav a.nav-link { color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 17px; padding: 12px 0; border-bottom: 1px solid rgba(226,185,85,.15); }
.site-nav a.nav-link:hover { color: var(--gold); }
.site-nav .btn { margin-top: 12px; }
.lang-switch { display: flex; gap: 4px; padding: 4px; border: 1px solid rgba(226,185,85,.5); border-radius: 999px; align-self: flex-start; margin-top: 12px; }
.lang-switch a { min-width: 44px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 999px; color: var(--on-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.lang-switch a[aria-current="true"] { background: var(--gold); color: var(--ink); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--gold); }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; }
  .site-nav a.nav-link { padding: 8px 0; border: 0; font-size: 15px; }
  .site-nav .btn { margin-top: 0; min-height: 44px; padding: 0 20px; font-size: 15px; }
  .lang-switch { margin-top: 0; align-self: center; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--green-900); color: var(--on-dark); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, var(--green-900) 0%, rgba(26,42,20,.8) 30%, rgba(26,42,20,.55) 60%, rgba(26,42,20,.75) 100%); }
.hero-inner { display: flex; flex-direction: column; padding-top: 48px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 660px; }
.hero-eyebrow { font-size: 15px; font-weight: 600; color: var(--gold); }
.hero h1 { font-size: clamp(42px, 7.2vw, 76px); line-height: 1.02; color: var(--on-dark); }
.hero-sub { font-size: 19px; color: var(--on-dark-muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.hero-pillars { list-style: none; margin: 0; padding: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 600; color: var(--on-dark-muted); }
.hero-pillars li { display: flex; align-items: center; gap: 8px; }
.hero-pillars li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.hero-figure { position: relative; margin: 36px auto 0; width: min(92%, 400px); }
.hero-figure .ring { position: absolute; left: 50%; top: 2%; width: 86%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(226,185,85,.45); }
.hero-figure picture img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.hero-name { position: absolute; right: -8px; bottom: 5%; text-align: right; padding: 12px 14px 12px 16px; border-right: 2px solid var(--gold); background: rgba(22,35,15,.78); border-radius: 12px 0 0 12px; }
.hero-name strong { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.1; color: var(--on-dark); }
.hero-name span { display: block; font-size: 13px; font-weight: 600; color: var(--gold); padding-top: 4px; }

@media (min-width: 1200px) {
  .hero { min-height: 770px; }
  .hero::before { background:
      linear-gradient(90deg, var(--green-900) 0%, rgba(26,42,20,.95) 34%, rgba(26,42,20,.6) 58%, rgba(26,42,20,.32) 80%, rgba(26,42,20,.45) 100%),
      linear-gradient(0deg, var(--green-900) 0%, rgba(26,42,20,.7) 20%, rgba(26,42,20,0) 55%); }
  .hero-inner { flex-direction: row; align-items: stretch; justify-content: space-between; min-height: 770px; padding-top: 0; }
  .hero-copy { align-self: center; padding: 64px 0 96px; width: 52%; }
  .hero-figure { align-self: flex-end; margin: 0; width: 530px; flex: none; margin-right: 150px; }
  .hero-name { right: auto; left: calc(100% + 12px); bottom: 34%; text-align: left; width: 150px; background: none; border-right: 0; border-left: 2px solid var(--gold); padding: 0 0 0 16px; border-radius: 0; }
  .hero-name strong { font-size: 26px; }
}
.hero-strip { position: relative; background: var(--green-950); color: var(--on-dark-muted); }
.hero-strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.hero-strip li { display: flex; align-items: center; gap: 10px; }
.hero-strip svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
@media (min-width: 900px) { .hero-strip ul { flex-direction: row; justify-content: center; gap: 48px; padding: 24px 0; } }

/* Services */
.services-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 44px; }
@media (min-width: 900px) { .services-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; } }
.services-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1200px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1200px) { .service { padding: 36px; } }
.service-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-800); display: flex; align-items: center; justify-content: center; }
.service-icon svg { width: 26px; height: 26px; color: var(--gold); }
.service h3 { font-size: 27px; font-weight: 700; color: var(--green-800); line-height: 1.12; }
.service p { font-size: 16px; color: var(--muted); }

/* Full service band */
.full-band { background: var(--green-800); color: var(--on-dark); border-radius: 28px; padding: 44px 28px; display: grid; gap: 32px; }
@media (min-width: 1200px) { .full-band { grid-template-columns: 5fr 6fr; gap: 64px; padding: 64px 72px; align-items: center; } }
.full-band h2 { font-size: clamp(34px, 4.2vw, 48px); color: var(--on-dark); }
.full-band p { color: var(--on-dark-muted); margin: 18px 0 26px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid rgba(226,185,85,.55); border-radius: 999px; font-size: 15px; }

/* About */
.about-grid { display: grid; gap: 8px; margin-top: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.about-item { border-top: 2px solid var(--gold); padding: 28px 0; }
.about-item h3 { font-size: 32px; font-weight: 700; color: var(--green-800); margin-bottom: 10px; }
.about-item p { color: var(--muted); font-size: 16px; }
.motto { text-align: center; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(34px, 5vw, 52px); color: var(--gold-deep); margin-top: 48px; line-height: 1.15; }

/* FAQ */
.faq { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-list { margin-top: 36px; max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--green-800); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 28px; color: var(--gold-deep); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 720px; }

/* Contact */
.contact { background: var(--green-800); color: var(--on-dark); }
.contact-grid { display: grid; gap: 44px; }
@media (min-width: 1200px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; } }
.contact .section-title { color: var(--on-dark); }
.contact .lead { color: var(--on-dark-muted); margin-top: 18px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid rgba(226,185,85,.4); border-radius: 16px; }
.contact-list svg { width: 24px; height: 24px; flex: none; color: var(--gold); }
.contact-list .label { display: block; font-size: 13px; font-weight: 600; color: var(--on-dark-muted); }
.contact-list a { color: var(--on-dark); text-decoration: none; font-size: 17px; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold); text-decoration: underline; }
.contact-list .phones { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.contact .btn-whatsapp { margin-top: 20px; }

.form-card { background: var(--ivory); color: var(--ink); border-radius: 24px; padding: 28px 22px; }
@media (min-width: 720px) { .form-card { padding: 40px; } }
.form-card h3 { font-size: 32px; color: var(--green-800); margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #CFC3A8; border-radius: 12px; background: var(--paper); color: var(--ink); font: 16px/1.4 var(--sans); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(226,185,85,.45); }
.field [aria-invalid="true"] { border-color: #A12D1F; }
.field-error { color: #A12D1F; font-size: 14px; margin-top: 6px; display: none; }
.field [aria-invalid="true"] + .field-error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 14px; color: var(--muted); }
.form-card .btn { width: 100%; margin-top: 8px; background: var(--green-800); color: var(--on-dark); }
.form-card .btn:hover { background: var(--green-700); color: var(--on-dark); }
.form-card .btn[disabled] { opacity: .7; cursor: progress; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 16px; display: none; }
.form-status.is-success { display: block; background: #E3EEDB; color: #1F4A12; }
.form-status.is-error { display: block; background: #F6E0DC; color: #7A2016; }

/* Footer */
.site-footer { background: var(--green-950); color: var(--on-dark-muted); font-size: 15px; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; padding: 36px 0 110px; }
@media (min-width: 900px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; padding-bottom: 36px; } }
.footer-inner .brand img { width: 44px; height: 46px; }
.footer-inner .brand span { font-size: 19px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 16px; border-radius: 999px; background: #25D366; color: #0B3B1E; font-weight: 600; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: #3EE07A; color: #0B3B1E; }
@media (max-width: 719px) { .wa-float { width: 60px; height: 60px; padding: 0; justify-content: center; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Header fit on smaller desktops */
.site-nav a.nav-link, .btn { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1379px) {
  .site-nav { gap: 22px; }
  .site-nav > .btn { display: none; }
}

/* Hero primary button: white variant */
.hero .btn-gold { background: #FFFFFF; color: var(--green-800); }
.hero .btn-gold:hover { background: var(--ivory); color: var(--green-900); }


/* ===== Metallic gold ===== */
.btn-gold { background: var(--gold-grad); background-size: 140% 140%; background-position: 0% 50%; color: #1E2A18;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(90,60,10,.35), 0 6px 18px rgba(120,85,20,.28);
  transition: background-position .5s ease, box-shadow .2s; }
.btn-gold:hover { background: var(--gold-grad); background-size: 140% 140%; background-position: 100% 50%; color: #1E2A18; }
.btn-outline { border-color: #E2B955; }

/* gold text on dark backgrounds */
.hero-eyebrow, .hero-name span, .full-band h2 em {
  background: var(--gold-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* gold text on light backgrounds (darker for contrast) */
.kicker, .motto { background: var(--gold-grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { .hero-eyebrow, .hero-name span, .kicker, .motto { color: CanvasText; background: none; } }

/* gold lines */
.site-header { border-bottom: 1px solid transparent; border-image: var(--gold-grad) 1; }
.about-item { border-top: 2px solid transparent; border-image: var(--gold-grad) 1; }
.hero-name { border-image: var(--gold-grad) 1; }
.hero-pillars li::before { background: var(--gold-grad); }
.hero-figure .ring { border: 0; padding: 2px; background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: .85; }
.chips li { border-color: rgba(226,185,85,.7); }
.contact-list li { border-color: rgba(226,185,85,.5); }
.lang-switch { border-color: rgba(226,185,85,.6); }
.lang-switch a[aria-current="true"] { background: var(--gold-grad); color: #1E2A18; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.service-icon { box-shadow: inset 0 0 0 1.5px rgba(226,185,85,.55); }
.hero .btn-gold, .hero .btn-gold:hover { background: #FFFFFF; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.hero .btn-gold:hover { background: var(--ivory); }
