:root {
  --petrol: #2e5d6a;
  --petrol-deep: #173b45;
  --petrol-dark: #0b242b;
  --gold: #b49b7d;
  --gold-light: #d8c5ad;
  --ink: #17353d;
  --muted: #66777b;
  --paper: #f7f6f3;
  --white: #fff;
  --line: rgba(46, 93, 106, .14);
  --shadow: 0 24px 70px rgba(21, 53, 61, .13);
  --radius: 28px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.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: fixed; left: 16px; top: -60px; z-index: 999; background: var(--white); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-color: var(--line); box-shadow: 0 8px 30px rgba(16,49,57,.06); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { width: 190px; height: 58px; display: flex; align-items: center; overflow: hidden; background: url("../img/logo-horizontal.png") center / 156% auto no-repeat; }
.brand img { width: 100%; height: 100%; opacity: 0; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 12px 0; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 1px; background: var(--gold); transition: right .25s ease; }
.main-nav > a:not(.nav-cta):hover::after, .main-nav > a:not(.nav-cta):focus-visible::after { right: 0; }
.nav-cta { padding: 12px 20px; color: var(--white); background: var(--petrol); border-radius: 999px; transition: transform .2s ease, background .2s ease; }
.nav-cta:hover { background: var(--petrol-deep); transform: translateY(-2px); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--paper); padding: 12px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--petrol); transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 760px; padding: 104px 0 72px; background: linear-gradient(115deg, #f5f2ec 0%, #fff 55%); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 470px; height: 470px; left: -250px; top: 110px; border: 1px solid rgba(180,155,125,.26); border-radius: 46% 54% 63% 37%; transform: rotate(27deg); }
.hero-shape { position: absolute; right: -14vw; top: -28vw; width: 68vw; height: 68vw; min-width: 920px; min-height: 920px; background: var(--petrol); border-radius: 46% 0 48% 52%; transform: rotate(-8deg); opacity: .045; }
.hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 58px; }
.hero-copy { padding-top: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--petrol); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.eyebrow-light { color: var(--gold-light); }
.hero h1, .section h2, .contact h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.08; letter-spacing: -.045em; }
.hero h1 { max-width: 660px; }
.hero-copy > p { max-width: 600px; margin: 26px 0 0; color: #536b71; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button svg { width: 19px; }
.button-primary { color: var(--white); background: var(--petrol); box-shadow: 0 15px 34px rgba(46,93,106,.22); }
.button-primary:hover { background: var(--petrol-deep); }
.button-ghost { border-color: rgba(46,93,106,.26); background: rgba(255,255,255,.55); }
.button-ghost:hover { border-color: var(--gold); background: var(--white); }
.button-dark { color: var(--white); background: var(--petrol-dark); }
.hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-trust div { display: grid; gap: 3px; }
.hero-trust strong { font-size: 13px; }
.hero-trust span { color: var(--muted); font-size: 11px; }
.hero-visual { position: relative; }
.hero-photo-frame { position: relative; min-height: 540px; overflow: hidden; background: #b7a28b; border-radius: 52px 8px 52px 8px; box-shadow: var(--shadow); }
.hero-photo-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); pointer-events: none; }
.hero-photo-frame img { position: absolute; width: 138%; max-width: none; height: 100%; left: -21%; object-fit: cover; object-position: center; }
.hero-note { position: absolute; left: -28px; bottom: 34px; display: grid; padding: 17px 22px; background: rgba(255,255,255,.96); border-left: 4px solid var(--gold); border-radius: 0 13px 13px 0; box-shadow: 0 16px 40px rgba(20,48,55,.16); }
.hero-note span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.hero-note strong { font-size: 13px; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; display: grid; justify-items: center; gap: 8px; transform: translateX(-50%); color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 24px; background: var(--gold); }

.about { background: var(--white); }
.about-card { position: relative; min-height: 620px; overflow: hidden; border-radius: var(--radius); background: #061116; box-shadow: var(--shadow); }
.about-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,9,12,.94) 0%, rgba(1,9,12,.83) 42%, rgba(1,9,12,.08) 75%); }
.about-content { position: relative; z-index: 1; width: 51%; padding: 78px 65px; color: var(--white); }
.about-content h2 { font-size: clamp(36px, 4vw, 54px); }
.about-content p { color: rgba(255,255,255,.72); }
.about-content blockquote { margin: 34px 0 0; padding-left: 20px; border-left: 2px solid var(--gold); color: var(--gold-light); font-size: 21px; font-weight: 600; font-style: italic; }

.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 80px; margin-bottom: 56px; }
.section-heading h2 { max-width: 720px; font-size: clamp(36px, 4.4vw, 58px); }
.section-heading > p { margin: 0 0 8px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 410px; padding: 30px 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(180,155,125,.55); box-shadow: 0 22px 55px rgba(20,50,58,.1); }
.service-number { position: absolute; top: 23px; right: 24px; color: rgba(46,93,106,.28); font-size: 12px; font-weight: 800; }
.service-icon { width: 70px; height: 70px; display: grid; place-items: center; margin-bottom: 35px; border: 1px solid var(--gold); border-radius: 18px 5px 18px 5px; color: var(--petrol); background: #faf8f4; }
.service-icon svg { width: 38px; height: 38px; }
.service-card h3 { min-height: 52px; margin: 0 0 18px; color: var(--petrol); font-size: 19px; line-height: 1.35; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; }

.philosophy { position: relative; color: var(--white); background: linear-gradient(115deg, var(--petrol-dark), var(--petrol)); overflow: hidden; }
.philosophy::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, transparent 0 29px, rgba(180,155,125,.05) 30px 31px); }
.philosophy-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .45fr 1fr 1fr; align-items: center; gap: 58px; }
.philosophy-mark { color: transparent; -webkit-text-stroke: 1px rgba(180,155,125,.35); font-size: 250px; font-weight: 800; line-height: .8; }
.philosophy h2 { color: var(--white); font-size: clamp(46px, 6vw, 80px); }
.philosophy p { max-width: 560px; color: rgba(255,255,255,.72); font-size: 18px; }
.philosophy-points { display: grid; gap: 20px; }
.philosophy-points div { display: grid; gap: 3px; padding: 18px 0 18px 24px; border-left: 1px solid rgba(180,155,125,.65); }
.philosophy-points strong { color: var(--gold-light); font-size: 15px; }
.philosophy-points span { color: rgba(255,255,255,.62); font-size: 12px; }

.education { background: var(--white); }
.education-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 110px; align-items: start; }
.education-copy { position: sticky; top: 125px; }
.education h2 { font-size: clamp(38px, 4.4vw, 58px); }
.education-copy p { color: var(--muted); font-size: 17px; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 0 0 42px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 31px; top: 48px; bottom: 0; width: 1px; background: var(--line); }
.timeline li > span { position: relative; z-index: 1; width: 64px; height: 48px; display: grid; place-items: center; color: var(--petrol); border: 1px solid var(--gold); border-radius: 18px 5px 18px 5px; background: var(--white); font-size: 12px; font-weight: 800; }
.timeline small { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.timeline h3 { margin: 5px 0; font-size: 22px; }
.timeline p { margin: 0; color: var(--muted); font-size: 13px; }

.location { background: #f0eee9; }
.location-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 90px; }
.location-image { width: 100%; min-width: 0; max-width: 470px; border-radius: 28px 7px 28px 7px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(-1.2deg); }
.location-image img { width: 100%; }
.location h2 { font-size: clamp(38px, 4.4vw, 58px); }
.address-card { display: flex; gap: 18px; margin: 34px 0 24px; padding: 24px; border: 1px solid rgba(180,155,125,.45); border-radius: 18px; background: rgba(255,255,255,.65); }
.address-card svg { flex: 0 0 32px; width: 32px; color: var(--petrol); }
.address-card small { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.address-card address { margin-top: 5px; font-size: 14px; font-style: normal; font-weight: 600; line-height: 1.7; }
.location-content > p { color: var(--muted); }
.location-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.text-link { padding-bottom: 3px; border-bottom: 1px solid var(--gold); font-size: 14px; font-weight: 800; }

.contact { position: relative; padding: 94px 0; color: var(--white); background: var(--petrol); overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: -20% 45% -30% -10%; border: 1px solid rgba(180,155,125,.24); border-radius: 48%; transform: rotate(20deg); }
.contact-inner { position: relative; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 50px; }
.contact-inner > img { width: 120px; filter: brightness(0) invert(1); opacity: .92; }
.contact h2 { max-width: 700px; color: var(--white); font-size: clamp(34px, 4vw, 52px); }
.contact p { margin-bottom: 0; color: rgba(255,255,255,.67); }
.contact-actions { display: grid; gap: 12px; min-width: 230px; }
.contact .button-primary { color: var(--petrol-dark); background: var(--gold-light); box-shadow: none; }
.contact .button-ghost { color: var(--white); border-color: rgba(255,255,255,.25); background: transparent; }

.site-footer { padding: 55px 0 28px; background: #f9f8f5; }
.footer-grid { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 45px; }
.footer-grid > img { width: 180px; }
.footer-grid > p { max-width: 460px; color: var(--muted); font-size: 13px; }
.footer-links { display: grid; justify-items: end; gap: 5px; font-size: 12px; font-weight: 700; }
.footer-grid > small { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid var(--line); color: #819095; font-size: 10px; }

.whatsapp-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 19px 0 14px; color: var(--white); background: #207a51; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; box-shadow: 0 16px 35px rgba(11,49,34,.25); font-size: 12px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px); background: #17633f; }
.whatsapp-float svg { width: 27px; height: 27px; fill: none; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .main-nav { gap: 18px; }
  .hero-grid { gap: 35px; }
  .hero-photo-frame { min-height: 480px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 350px; }
  .philosophy-grid { grid-template-columns: .35fr 1fr; }
  .philosophy-points { grid-column: 2; }
  .education-grid { gap: 65px; }
  .location-grid { gap: 55px; }
  .contact-inner { grid-template-columns: 90px 1fr; }
  .contact-actions { grid-column: 2; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .section { padding: 82px 0; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 90px 30px 40px; background: rgba(255,255,255,.98); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s; font-size: 18px; }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav-cta { margin-top: 10px; padding: 15px 28px; }
  .hero { min-height: auto; padding: 125px 0 75px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 0; }
  .hero-visual { order: -1; }
  .hero-photo-frame { min-height: 390px; }
  .hero-note { left: 15px; bottom: 18px; }
  .scroll-cue { display: none; }
  .about-card { min-height: 740px; }
  .about-card > img { object-position: 70% center; }
  .about-card::after { background: linear-gradient(0deg, rgba(1,9,12,.98) 0%, rgba(1,9,12,.82) 55%, rgba(1,9,12,.05) 88%); }
  .about-content { position: absolute; inset: auto 0 0; width: 100%; padding: 42px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 35px; }
  .philosophy-mark { position: absolute; right: 10px; top: 0; font-size: 180px; opacity: .55; }
  .philosophy-points { grid-column: auto; }
  .education-grid, .location-grid { grid-template-columns: 1fr; gap: 55px; }
  .education-copy { position: static; }
  .location-image { max-width: 520px; margin-inline: auto; }
  .contact-inner { grid-template-columns: 70px 1fr; gap: 30px; }
  .contact-inner > img { width: 70px; }
  .contact-actions { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 160px 1fr; }
  .footer-links { grid-column: 1 / -1; justify-items: start; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 72px; }
  .brand { width: 160px; height: 50px; }
  .hero { padding-top: 98px; }
  .hero h1 { font-size: 40px; }
  .hero-copy > p { font-size: 16px; }
  .hero-visual { margin: 0 -3px; }
  .hero-photo-frame { min-height: 330px; border-radius: 30px 6px 30px 6px; }
  .hero-photo-frame img { width: 148%; left: -25%; }
  .hero-note { padding: 12px 15px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-trust { gap: 14px; }
  .about-card { min-height: 780px; border-radius: 20px; }
  .about-card > img { height: 48%; object-position: 70% center; }
  .about-card::after { background: linear-gradient(0deg, rgba(1,9,12,1) 0%, rgba(1,9,12,.96) 63%, rgba(1,9,12,.15) 100%); }
  .about-content { padding: 30px 24px; }
  .about-content h2 { font-size: 34px; }
  .about-content p { font-size: 13px; }
  .about-content blockquote { font-size: 17px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .philosophy-mark { display: none; }
  .timeline li { grid-template-columns: 54px 1fr; gap: 17px; }
  .timeline li > span { width: 54px; }
  .timeline li:not(:last-child)::before { left: 26px; }
  .address-card { padding: 18px; }
  .location-actions { align-items: stretch; flex-direction: column; }
  .text-link { align-self: center; }
  .contact { padding: 75px 0; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-inner > img { width: 85px; }
  .contact-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-links { grid-column: auto; }
  .whatsapp-float { width: 54px; height: 54px; right: 14px; bottom: 14px; justify-content: center; padding: 0; }
  .whatsapp-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
