:root {
  --navy: #132030;
  --navy-2: #1c2d42;
  --navy-3: #0d1723;
  --copper: #b96c40;
  --copper-dark: #955131;
  --copper-light: #deac8f;
  --gold: #d7b668;
  --cream: #f7f3ef;
  --soft: #f0f1f2;
  --white: #fff;
  --ink: #17212d;
  --muted: #5c6672;
  --line: #d9dde1;
  --shadow: 0 18px 50px rgba(19, 32, 48, .12);
  --radius: 18px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 16px/1.7 Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); font-family: "Playfair Display", Georgia, serif; line-height: 1.13; }
h1 { margin-bottom: 22px; color: var(--white); font-size: clamp(2.6rem, 6vw, 5.3rem); letter-spacing: -.035em; }
h2 { margin-bottom: 20px; font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -.025em; }
h3 { margin-bottom: 12px; font-size: 1.35rem; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 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; z-index: 100; top: 10px; left: 10px; padding: 10px 16px;
  color: var(--navy); background: var(--white); border-radius: 8px; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.site-header {
  position: fixed; z-index: 50; top: 0; right: 0; left: 0;
  color: var(--white); background: rgba(19, 32, 48, .93);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px); transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { background: rgba(13, 23, 35, .98); box-shadow: 0 8px 25px rgba(0, 0, 0, .2); }
.nav-wrap { display: flex; align-items: center; min-height: 76px; gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; text-decoration: none; font-weight: 700; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { letter-spacing: -.02em; }
.main-nav { display: flex; align-items: center; margin-left: auto; gap: 28px; }
.main-nav a { color: #eef1f4; font-size: .9rem; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.main-nav a:hover { color: var(--copper-light); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.language-picker { position: relative; }
.language-button {
  display: flex; align-items: center; min-height: 42px; padding: 0 10px; gap: 8px;
  color: var(--white); background: var(--navy-2); border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px; font-weight: 600; cursor: pointer;
}
.language-button > svg { width: 15px; height: 15px; transition: transform .2s ease; }
.language-button[aria-expanded="true"] > svg { transform: rotate(180deg); }
.language-menu {
  position: absolute; z-index: 60; top: calc(100% + 9px); right: 0; width: 180px; padding: 7px;
  color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 15px 40px rgba(5, 13, 22, .25);
}
.language-menu[hidden] { display: none; }
.language-menu button {
  display: flex; align-items: center; width: 100%; padding: 10px; gap: 10px;
  color: var(--ink); background: transparent; border: 0; border-radius: 8px; text-align: left; cursor: pointer;
}
.language-menu button:hover, .language-menu button.active { background: var(--soft); }
.flag {
  display: inline-block; width: 22px; height: 22px; flex: 0 0 auto;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  border: 1px solid rgba(0,0,0,.16); border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.flag-es { background-image: url("assets/flags/es.svg"); }
.flag-en { background-image: url("assets/flags/en.svg"); }
.flag-fr { background-image: url("assets/flags/fr.svg"); }
.flag-pt { background-image: url("assets/flags/pt.svg"); }
.flag-de { background-image: url("assets/flags/de.svg"); }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.phone-link--header {
  min-height: 44px; padding: 0 16px; background: var(--copper); border-radius: 11px;
  transition: background .2s ease;
}
.phone-link--header:hover { background: var(--copper-dark); }
.menu-toggle {
  display: none; padding: 8px; color: var(--white); background: transparent; border: 0; cursor: pointer;
}
.menu-toggle svg { width: 28px; height: 28px; }

.hero {
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: 760px; padding: 155px 0 95px; color: var(--white); background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute; z-index: -2; inset: 0;
  background: url("assets/hero.png") center 38% / cover no-repeat;
  transform: scale(1.01);
}
.hero::after {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(90deg, rgba(8, 16, 26, .93) 0%, rgba(12, 24, 37, .78) 48%, rgba(10, 17, 26, .22) 100%);
}
.hero-content { max-width: var(--container); }
.hero-content > * { max-width: 760px; }
.eyebrow {
  margin-bottom: 18px; color: var(--copper-light); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; line-height: 1.4; text-transform: uppercase;
}
.eyebrow--dark { color: var(--copper-dark); }
.hero-copy { max-width: 670px; margin-bottom: 32px; color: #e4e9ed; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 25px;
  gap: 10px; border: 2px solid transparent; border-radius: 13px; font-weight: 700; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn--primary { color: var(--white); background: var(--copper); }
.btn--primary:hover { background: var(--copper-dark); }
.btn--ghost { color: var(--white); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: var(--white); }
.btn--light { color: var(--navy); background: var(--white); }
.btn--light:hover { background: var(--cream); }
.hero-trust { display: flex; flex-wrap: wrap; margin-top: 30px; gap: 20px; color: #dce2e7; font-size: .9rem; }
.hero-trust > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--copper-light); }

.statement { padding: 54px 0; color: var(--white); background: var(--navy); }
.statement-inner { display: flex; justify-content: center; }
.statement p {
  max-width: 940px; margin: 0; font: 600 clamp(1.35rem, 3vw, 2.1rem)/1.45 "Playfair Display", Georgia, serif;
  text-align: center;
}
.parallax-section {
  --parallax-y: 0px;
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: 80svh; padding: 90px 0; overflow: hidden;
}
.parallax-bg {
  position: absolute; z-index: -2; inset: 0;
  background-image: url("assets/support.png"); background-position: center; background-size: cover;
  background-repeat: no-repeat; background-attachment: fixed;
}
.parallax-section::after {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(90deg, rgba(9, 18, 28, .82), rgba(9, 18, 28, .4) 62%, rgba(9, 18, 28, .18));
}
.parallax-content { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.parallax-card {
  max-width: 620px; padding: clamp(30px, 5vw, 55px); color: #e7ecf0;
  background: rgba(19, 32, 48, .9); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); box-shadow: 0 24px 70px rgba(0,0,0,.28); backdrop-filter: blur(10px);
}
.parallax-card h2 { color: var(--white); }
.parallax-card > p:not(.eyebrow) { margin-bottom: 25px; color: #d5dde4; font-size: 1.05rem; }
.parallax-card .text-link { color: var(--copper-light); }
.image-badge {
  display: flex; flex-direction: column; flex: 0 0 auto;
  max-width: 220px; padding: 20px 24px; color: var(--white); background: var(--copper); border-radius: 14px;
  box-shadow: 0 15px 35px rgba(94, 46, 24, .25);
}
.image-badge strong { font: 700 1.4rem "Playfair Display", Georgia, serif; }
.image-badge span { font-size: .8rem; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--copper-dark); font-weight: 700; text-decoration: none; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

.section--soft { background: var(--soft); }
.section-heading { max-width: 720px; margin: 0 auto 55px; text-align: center; }
.section-heading > p:last-child { color: var(--muted); }
.section-heading--light h2 { color: var(--white); }
.section-heading--light > p:last-child { color: #bdc7d0; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card {
  padding: 30px; background: var(--white); border: 1px solid #e1e3e5; border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(19, 32, 48, .05); transition: border-color .2s ease, box-shadow .2s ease;
}
.case-card:hover { border-color: var(--copper-light); box-shadow: var(--shadow); }
.case-card__icon {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 22px;
  color: var(--copper); background: #f7ebe4; border-radius: 14px;
}
.case-card__icon svg { width: 25px; height: 25px; }
.case-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.case-card:last-child:nth-child(3n + 2) { grid-column: 2; }

.process-section { position: relative; color: var(--white); background: var(--navy); overflow: hidden; }
.process-section::before {
  position: absolute; top: -250px; right: -250px; width: 600px; height: 600px; content: "";
  background: radial-gradient(circle, rgba(185,108,64,.2), transparent 68%); pointer-events: none;
}
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 0 48px; padding: 0; list-style: none; counter-reset: steps; }
.process-card { position: relative; padding: 0 18px; text-align: center; counter-increment: steps; }
.process-card::after {
  position: absolute; z-index: 0; top: 27px; left: calc(50% + 27px); width: calc(100% - 54px); height: 1px;
  content: ""; background: rgba(222, 172, 143, .55);
}
.process-card:last-child::after { display: none; }
.process-number {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px;
  color: var(--white); background: var(--copper); border: 5px solid var(--navy-2); border-radius: 50%; font-weight: 700;
}
.process-card h3 { color: var(--white); font-family: Inter, Arial, sans-serif; font-size: 1rem; }
.process-card p { margin: 0; color: #b9c4ce; font-size: .84rem; line-height: 1.6; }
.center { text-align: center; }

.urgency-section { background: var(--cream); }
.urgency-heading { max-width: 700px; margin-bottom: 45px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit-card { padding: 32px; background: var(--white); border-left: 4px solid var(--copper); border-radius: 0 var(--radius) var(--radius) 0; }
.benefit-card svg { margin-bottom: 18px; color: var(--copper); width: 28px; height: 28px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.testimonials-section { background: var(--white); }
.testimonial-carousel { position: relative; }
.testimonial-viewport { overflow: hidden; border-radius: var(--radius); }
.testimonial-track { display: flex; align-items: stretch; gap: 22px; transition: transform .65s cubic-bezier(.22,.61,.36,1); }
.testimonial-card {
  display: flex; flex: 0 0 calc((100% - 22px) / 2); flex-direction: column; min-width: 0; padding: 32px;
  color: var(--white); background: var(--navy); border-radius: var(--radius);
}
.testimonial-head { display: flex; align-items: center; margin-bottom: 24px; gap: 15px; }
.testimonial-head img { width: 58px; height: 58px; object-fit: cover; border: 2px solid var(--copper-light); border-radius: 50%; }
.testimonial-head h3 { margin: 0 0 3px; color: var(--white); font: 700 1rem Inter, Arial, sans-serif; }
.testimonial-head span { color: #b9c4ce; font-size: .8rem; }
.testimonial-meta { display: flex; flex-wrap: wrap; margin: -8px 0 18px; gap: 8px; }
.testimonial-meta span {
  padding: 5px 9px; color: #d7dee5; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1); border-radius: 7px; font-size: .72rem; line-height: 1.3;
}
.testimonial-meta .amount-lost { color: var(--copper-light); }
.testimonial-card blockquote { flex: 1; margin: 0; color: #e2e7eb; font: 500 1rem/1.75 "Playfair Display", Georgia, serif; }
.result-pill {
  align-self: flex-start; display: inline-block; margin-top: 20px; padding: 6px 10px; color: var(--copper-light);
  background: rgba(185,108,64,.16); border-radius: 8px; font-size: .78rem; font-weight: 700;
}
.carousel-controls { display: flex; align-items: center; justify-content: center; margin-top: 28px; gap: 18px; }
.carousel-button {
  display: grid; place-items: center; width: 46px; height: 46px; color: var(--navy);
  background: var(--white); border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.carousel-button:hover { color: var(--white); background: var(--copper); border-color: var(--copper); }

.contact-section { padding: 0 0 110px; background: linear-gradient(var(--white) 50%, var(--navy-3) 50%); }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; padding: 55px 65px; gap: 35px;
  color: var(--white); background: var(--copper); border-radius: 22px; box-shadow: var(--shadow);
}
.contact-card h2 { margin-bottom: 10px; color: var(--white); }
.contact-card p:not(.eyebrow) { margin: 0; color: #fff2eb; }
.contact-card .eyebrow { color: #ffe1d0; }
.contact-action { display: flex; align-items: center; flex-direction: column; flex: 0 0 auto; gap: 8px; }
.contact-action small { color: #fff1e9; }

.site-footer { padding: 68px 0 25px; color: #c2cad2; background: var(--navy-3); }
.footer-grid { display: grid; align-items: start; grid-template-columns: 1.1fr 1fr .7fr; gap: 45px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { object-fit: contain; }
.footer-brand strong { display: block; color: var(--white); }
.footer-brand span { display: block; font-size: .82rem; }
.site-footer address { display: flex; flex-direction: column; font-style: normal; font-size: .85rem; }
.site-footer address strong { color: var(--white); }
.footer-phone { display: flex; align-items: flex-end; flex-direction: column; }
.footer-phone span { font-size: .78rem; }
.footer-phone a { color: var(--white); font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; margin-top: 45px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem;
}
.footer-bottom a { color: var(--copper-light); }
.mobile-call { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .main-nav { display: none; }
  .nav-wrap { gap: 20px; }
  .nav-actions { margin-left: auto; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case-card:last-child:nth-child(3n + 2) { grid-column: auto; }
  .process-list { grid-template-columns: repeat(3, 1fr); gap: 42px 0; }
  .process-card:nth-child(3)::after { display: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  body { padding-bottom: 64px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 78px 0; }
  .nav-wrap { min-height: 68px; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: .9rem; }
  .menu-toggle { display: block; order: 3; }
  .nav-actions { margin-left: auto; }
  .phone-link--header { display: none; }
  .main-nav {
    position: fixed; top: 68px; right: 0; left: 0; display: flex; align-items: stretch; flex-direction: column;
    margin: 0; padding: 22px 20px 30px; gap: 0; background: var(--navy-3);
    box-shadow: 0 15px 30px rgba(0,0,0,.25); transform: translateY(-130%);
    opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero { min-height: 720px; padding: 130px 0 80px; }
  .hero-content > * { max-width: 100%; }
  .hero-bg { background-position: 62% center; }
  .hero::after { background: linear-gradient(90deg, rgba(8,16,26,.94), rgba(9,17,27,.68)); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .parallax-section { min-height: 80svh; padding: 72px 0; }
  .parallax-bg {
    top: -15%; bottom: auto; height: 130%; background-position: 58% center;
    background-attachment: scroll; transform: translate3d(0, var(--parallax-y), 0) scale(1.02);
    will-change: transform;
  }
  .parallax-section::after { background: rgba(9, 18, 28, .52); }
  .parallax-content { align-items: stretch; flex-direction: column; }
  .parallax-card { padding: 30px 24px; background: rgba(19, 32, 48, .88); }
  .image-badge { align-self: flex-end; max-width: 200px; }
  .case-grid, .benefit-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex-basis: 100%; padding: 28px 24px; }
  .process-list { grid-template-columns: 1fr; gap: 25px; }
  .process-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; }
  .process-card::after {
    top: 56px; left: 28px; width: 1px; height: calc(100% + 25px); background: rgba(222,172,143,.45);
  }
  .process-card:nth-child(3)::after { display: block; }
  .process-card:last-child::after { display: none; }
  .process-number { grid-row: 1 / 3; margin: 0; }
  .process-card h3 { margin: 5px 0 6px; }
  .contact-section { padding-bottom: 78px; }
  .contact-card { align-items: stretch; flex-direction: column; padding: 38px 28px; }
  .contact-action { align-items: stretch; }
  .contact-action small { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-phone { align-items: flex-start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .mobile-call {
    position: fixed; z-index: 45; right: 12px; bottom: 10px; left: 12px; display: flex; align-items: center;
    justify-content: center; min-height: 52px; gap: 9px; color: var(--white); background: var(--copper);
    border-radius: 12px; box-shadow: 0 8px 25px rgba(19,32,48,.35); font-weight: 700; text-decoration: none;
  }
}

@media (max-width: 390px) {
  .brand span { display: none; }
  .language-button { padding-inline: 8px; }
  h1 { font-size: 2.45rem; }
}

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