:root {
  --navy: #0b3666;
  --navy-deep: #072746;
  --blue: #3a8ddb;
  --ice: #eaf2fb;
  --mist: #f4f7fb;
  --white: #fff;
  --ink: #102942;
  --muted: #5c6d7d;
  --line: #d6e0ea;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }

.site-header { height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 6vw, 96px); border-bottom: 1px solid rgba(11,54,102,.1); position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(7,39,70,.06); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; color: var(--navy); }
.brand img { display: block; width: auto; object-fit: contain; }
.brand-header img { height: 54px; width: auto; }
section { scroll-margin-top: 74px; }
nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); color: #334b62; font-size: 14px; font-weight: 500; }
nav a { transition: color .2s ease; }
nav a:hover { color: var(--blue); }
.nav-cta { border: 1px solid var(--navy); border-radius: 999px; padding: 10px 20px; color: var(--navy); }
.menu-toggle { display: none; }

.hero { min-height: calc(100vh - 92px); display: grid; grid-template-columns: 1.08fr .92fr; }
.hero-copy { padding: clamp(70px, 10vh, 128px) clamp(30px, 7vw, 112px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .24em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; color: var(--navy); font-family: "DM Serif Display", serif; font-size: clamp(54px, 6vw, 94px); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
h1 em { color: var(--blue); font-weight: 400; }
.hero-lead { max-width: 620px; margin-bottom: 34px; color: var(--muted); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 3px; font-size: 14px; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--navy); }
.button-primary:hover { background: var(--navy-deep); }
.button-whatsapp { min-height: 58px; padding-inline: 30px; box-shadow: 0 5px 18px rgba(7,39,70,.18); }
.button-whatsapp:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.text-link { color: var(--navy); font-size: 14px; font-weight: 600; }
.text-link span { color: var(--blue); margin-left: 7px; }
.trust-row { display: flex; gap: 20px 34px; flex-wrap: wrap; margin-top: 60px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.trust-row span::before { content: "•"; margin-right: 9px; color: var(--blue); }

.hero-carousel { position: relative; overflow: hidden; min-height: calc(100vh - 74px); color: white; background: var(--navy-deep); }
.carousel-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s ease; }
.carousel-slide.active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transform: scale(1.015); transition: transform 7s ease; }
.carousel-slide.active img { transform: scale(1.06); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,25,47,.06) 20%, rgba(4,25,47,.32) 55%, rgba(4,25,47,.92) 100%); }
.slide-copy { position: absolute; z-index: 2; left: clamp(28px, 5vw, 68px); right: clamp(28px, 5vw, 68px); bottom: 116px; max-width: 520px; }
.slide-copy p { margin-bottom: 13px; color: #93c8f3; font-size: 12px; font-weight: 600; letter-spacing: .24em; }
.slide-copy h2 { margin-bottom: 14px; font-family: "DM Serif Display", serif; font-size: clamp(34px, 3.8vw, 58px); font-weight: 400; line-height: 1.03; letter-spacing: -.02em; }
.slide-copy span { color: rgba(255,255,255,.8); font-size: 16px; }
.carousel-brand { position: absolute; z-index: 3; top: 30px; right: 38px; width: 126px; padding: 7px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.9); box-shadow: 0 10px 28px rgba(0,0,0,.18); backdrop-filter: blur(8px); }
.carousel-brand img { width: 100%; display: block; }
.carousel-controls { position: absolute; z-index: 4; left: clamp(28px, 5vw, 68px); right: clamp(28px, 5vw, 68px); bottom: 40px; display: flex; align-items: center; gap: 16px; }
.carousel-arrow { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; color: white; background: rgba(5,35,63,.32); font: inherit; font-size: 18px; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s ease, border-color .2s ease; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { border-color: white; background: rgba(5,35,63,.72); }
.carousel-dots { display: flex; align-items: center; gap: 9px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .25s ease, background .25s ease; }
.carousel-dots button.active { width: 28px; background: white; }

.intro, .process { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 8vw, 140px); padding: clamp(90px, 11vw, 150px) clamp(24px, 7vw, 112px); }
.intro h2, .section-heading h2, .process h2, .contact h2 { font-family: "DM Serif Display", serif; font-size: clamp(38px, 4.4vw, 66px); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; }
.intro p:last-child, .process-intro > p:last-child { max-width: 730px; color: var(--muted); font-size: 19px; }

.section-dark { color: white; background: var(--navy); }
.services { padding: clamp(90px, 10vw, 140px) clamp(24px, 7vw, 112px); }
.section-kicker.light { color: #79b8ef; }
.section-heading { max-width: 760px; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading > p:last-child { color: rgba(255,255,255,.68); font-size: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-top: 1px solid rgba(255,255,255,.2); }
.service-grid article { min-height: 300px; padding: 34px 28px; border-right: 1px solid rgba(255,255,255,.2); }
.service-grid article:first-child { border-left: 1px solid rgba(255,255,255,.2); }
.service-grid span { color: #79b8ef; font-size: 12px; }
.service-grid h3 { margin: 70px 0 16px; font-family: "DM Serif Display", serif; font-size: 29px; font-weight: 400; }
.service-grid p { color: rgba(255,255,255,.68); font-size: 15px; }
.services-note { margin: 30px 0 0; color: rgba(255,255,255,.74); font-size: 14px; }

.process { background: var(--mist); }
.process-intro { position: sticky; top: 125px; align-self: start; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); font-size: 13px; }
.steps h3 { margin-bottom: 7px; color: var(--navy); font-family: "DM Serif Display", serif; font-size: 28px; font-weight: 400; }
.steps p { margin: 0; color: var(--muted); }

.companies { padding: clamp(90px, 10vw, 140px) clamp(24px, 7vw, 112px); }
.section-heading.compact { max-width: 680px; }
.section-heading.compact > p:last-child { color: var(--muted); }
.company-list { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 65px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.company-list span { min-height: 110px; display: grid; place-items: center; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #6d7b88; font-weight: 600; letter-spacing: .08em; }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(50px, 8vw, 120px); padding: clamp(80px, 9vw, 125px) clamp(24px, 7vw, 112px); color: white; background: linear-gradient(115deg, var(--navy-deep), var(--navy)); }
.contact h2 { max-width: 700px; margin-bottom: 15px; }
.contact-copy > p:nth-of-type(2) { margin-bottom: 0; color: rgba(255,255,255,.7); font-size: 18px; }
.contact-assurance { display: flex; flex-direction: column; gap: 2px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); }
.contact-assurance strong { font-family: "DM Serif Display", serif; font-size: 22px; font-weight: 400; }
.contact-assurance span { color: rgba(255,255,255,.62); font-size: 14px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; width: 100%; padding: clamp(26px, 4vw, 46px); color: var(--ink); background: white; box-shadow: 0 30px 70px rgba(0,0,0,.2); }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row:nth-child(3), .form-row:nth-child(4), .contact-form .button, .form-note, .form-status { grid-column: 1 / -1; }
.form-row label { color: var(--navy); font-size: 14px; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea { width: 100%; border: 1px solid #cbd7e3; border-radius: 2px; padding: 13px 14px; color: var(--ink); background: #fbfdff; font: inherit; font-size: 15px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-row input, .form-row select { min-height: 50px; }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,141,219,.14); }
.form-row input[aria-invalid="true"], .form-row select[aria-invalid="true"] { border-color: #b83d4b; }
.contact-form .button { width: 100%; border: 0; color: white; background: var(--blue); cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; }
.contact-form .button:hover { background: #2e79bc; }
.form-note, .form-status { margin: 0; font-size: 13px; text-align: center; }
.form-note { color: var(--muted); }
.form-status { min-height: 1.4em; color: var(--navy); font-weight: 600; }
.button-light { color: var(--navy); background: white; }

footer { min-height: 190px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 40px clamp(24px, 7vw, 112px); background: #f8fafc; }
.footer-brand img { width: auto; height: 145px; }
footer > p { margin: 0; color: var(--muted); font-size: 13px; }
.legal { justify-self: end; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-carousel { min-height: 640px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .company-list { grid-template-columns: repeat(3, 1fr); }
  .intro, .process { grid-template-columns: 1fr; }
  .process-intro { position: static; }
  .contact { grid-template-columns: 1fr; }
  .contact-form { max-width: 760px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-self: center; }
  .legal { justify-self: center; }
}

@media (max-width: 760px) {
  .site-header { height: 66px; padding: 0 20px; }
  .brand-header img { height: 46px; }
  section { scroll-margin-top: 66px; }
  .menu-toggle { display: block; border: 0; color: var(--navy); background: transparent; font: inherit; font-size: 14px; font-weight: 600; }
  nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(7,39,70,.1); }
  nav.open { display: flex; }
  nav a { padding: 13px 0; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: auto; }
  .hero-copy { padding: 72px 24px 64px; }
  h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-carousel { min-height: 570px; }
  .slide-copy { bottom: 105px; }
  .slide-copy h2 { font-size: clamp(36px, 11vw, 50px); }
  .carousel-brand { top: 20px; right: 20px; width: 105px; }
  .carousel-controls { bottom: 32px; }
  .trust-row { margin-top: 42px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article, .service-grid article:first-child { min-height: auto; padding: 30px 8px; border-left: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .service-grid h3 { margin-top: 28px; }
  .company-list { grid-template-columns: repeat(2, 1fr); }
  .company-list span { min-height: 90px; font-size: 14px; }
  .contact-form { grid-template-columns: 1fr; padding: 24px 20px; }
  .form-row, .form-row:nth-child(3), .form-row:nth-child(4), .contact-form .button, .form-note, .form-status { grid-column: 1; }
  .button-light { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
