:root {
  --navy: #071f3a;
  --navy-2: #0c2d50;
  --navy-3: #12385d;
  --gold: #bc8e25;
  --gold-2: #e0bb58;
  --cream: #fbf7ee;
  --cream-2: #f2eadc;
  --white: #ffffff;
  --ink: #071525;
  --muted: #637086;
  --line: #e8ddc8;
  --green: #18b65b;
  --shadow: 0 28px 70px rgba(7, 31, 58, .18);
  --container: min(1160px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection {
  background: rgba(224, 187, 88, .38);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 30;
  transform: translateY(-140%);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 238, .94);
  border-bottom: 1px solid rgba(188, 142, 37, .18);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease, background .2s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 247, 238, .98);
  box-shadow: 0 14px 34px rgba(7, 31, 58, .1);
}

.header-inner {
  width: var(--container);
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  width: clamp(184px, 20vw, 255px);
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 6px;
  color: var(--navy);
  font-size: .94rem;
  font-weight: 850;
}

.main-nav a {
  border-radius: 999px;
  padding: 10px 13px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(188, 142, 37, .12);
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 30px rgba(24, 182, 91, .25);
  font-weight: 950;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 70px) 0 clamp(48px, 7vw, 90px);
  color: var(--white);
  background: var(--navy);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 31, 58, .98) 0%, rgba(7, 31, 58, .92) 38%, rgba(7, 31, 58, .55) 100%),
    url("hero-ambient.jpg") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -14% -34% 35%;
  z-index: -1;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 187, 88, .24), transparent 64%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1,
.section-copy h2,
.section-heading h2,
.final-card h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: .98;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5.3vw, 5.25rem);
}

.hero-text {
  max-width: 670px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 13px 19px;
  font-weight: 950;
  line-height: 1;
}

.button-gold,
.submit-button {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 38px rgba(188, 142, 37, .3);
}

.button-gold:hover,
.submit-button:hover {
  transform: translateY(-1px);
}

.button-outline {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 30px;
}

.proof-strip span {
  display: grid;
  gap: 3px;
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  padding: 14px;
  color: rgba(255, 255, 255, .76);
  background: rgba(255, 255, 255, .08);
}

.proof-strip strong {
  color: var(--gold-2);
  font-size: 1.22rem;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  transform: scale(1.01);
}

.visual-badge,
.visual-card {
  position: absolute;
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.visual-badge {
  top: 18px;
  left: 18px;
  display: grid;
  gap: 3px;
  padding: 13px 15px;
  color: var(--navy);
  background: rgba(251, 247, 238, .92);
}

.visual-badge strong {
  font-size: 1.05rem;
}

.visual-badge span {
  color: #536175;
  font-size: .85rem;
  font-weight: 800;
}

.visual-card {
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 15px;
  color: var(--white);
  background: rgba(7, 31, 58, .82);
}

.visual-card span {
  color: rgba(255, 255, 255, .74);
  font-size: .83rem;
  font-weight: 800;
}

.visual-card strong {
  color: var(--gold-2);
  font-size: 1.12rem;
}

.lead-form {
  width: 100%;
  max-width: 100%;
  scroll-margin-top: 104px;
  margin-top: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(224, 187, 88, .28);
  border-radius: 14px;
  padding: clamp(18px, 2.5vw, 28px);
  color: var(--ink);
  background: rgba(251, 247, 238, .98);
  box-shadow: var(--shadow);
}

.form-intro {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
}

.form-intro span {
  color: var(--gold);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.05;
}

.form-intro p {
  margin: 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.field {
  grid-column: span 2;
  display: grid;
  gap: 6px;
}

.field-message {
  grid-column: span 4;
}

.field span {
  color: var(--navy);
  font-size: .82rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d9cdb8;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field input,
.field select {
  height: 46px;
  padding: 0 12px;
}

.field textarea {
  min-height: 82px;
  resize: vertical;
  padding: 11px 12px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(224, 187, 88, .2);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b95a5;
}

.submit-button {
  grid-column: span 2;
  min-height: 54px;
  width: 100%;
  align-self: stretch;
  text-transform: uppercase;
}

.submit-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.submit-button.is-loading {
  opacity: .78;
  pointer-events: none;
}

.section {
  padding: clamp(58px, 8vw, 100px) 0;
}

.service {
  background: var(--cream);
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.final-card h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.final-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.step-list {
  display: grid;
  gap: 12px;
}

.step-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(7, 31, 58, .06);
}

.step-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 950;
}

.step-list h3,
.feature-card h3,
.footer-grid h3 {
  margin: 0;
  color: var(--navy);
}

.step-list p,
.feature-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.regions {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 0%, rgba(224, 187, 88, .18), transparent 32%),
    linear-gradient(135deg, var(--navy), #082543);
}

.regions .section-heading h2,
.regions .section-heading p {
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.region-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.region-grid button {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.region-grid button:hover,
.region-grid button:focus-visible,
.region-grid button.is-selected {
  transform: translateY(-1px);
  border-color: var(--gold-2);
  background: rgba(224, 187, 88, .22);
}

.features {
  background: var(--cream-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(7, 31, 58, .08);
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
  font-weight: 950;
}

.final-cta {
  padding: clamp(52px, 7vw, 82px) 0;
  background: var(--cream);
}

.final-card {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(135deg, var(--white), #fff9ec);
  box-shadow: var(--shadow);
}

.final-card > div:first-child {
  max-width: 690px;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  padding: 46px 0 22px;
  color: rgba(255, 255, 255, .78);
  background: #061a31;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, .7fr));
  gap: 28px;
}

.footer-brand img {
  width: 210px;
  height: auto;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(251, 247, 238, .95);
}

.footer-grid h3 {
  margin-bottom: 12px;
  color: var(--gold-2);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-grid div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid a {
  color: var(--white);
  font-weight: 850;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 18px;
  font-size: .9rem;
}

.whatsapp-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 22;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 9px 10px 9px 16px;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 18px 40px rgba(24, 182, 91, .34);
  font-weight: 950;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(24, 182, 91, .28);
  animation: pulse 1.9s ease-out infinite;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}

.float-icon svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    transform: scale(.96);
    opacity: .72;
  }
  80%,
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual img {
    min-height: 420px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field {
    grid-column: span 3;
  }

  .field-message {
    grid-column: 1 / -1;
  }

  .submit-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(1160px, calc(100% - 24px));
  }

  .header-inner {
    min-height: 70px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand {
    width: 168px;
  }

  .main-nav {
    display: none;
  }

  .header-whatsapp {
    display: none;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(1.95rem, 9.2vw, 2.42rem);
    line-height: 1.04;
    overflow-wrap: normal;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .proof-strip {
    display: none;
  }

  .hero-visual {
    min-height: 310px;
    border-radius: 14px;
  }

  .hero-visual img {
    min-height: 310px;
  }

  .visual-card {
    min-width: 0;
    left: 16px;
    right: 16px;
  }

  .lead-form {
    margin-top: 24px;
    border-radius: 12px;
    padding: 16px;
  }

  .form-intro {
    margin-bottom: 14px;
  }

  .form-intro h2 {
    font-size: 1.45rem;
  }

  .form-intro p {
    font-size: .92rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .field,
  .field-message,
  .submit-button {
    grid-column: 1 / -1;
  }

  .field span {
    font-size: .78rem;
  }

  .field input,
  .field select {
    height: 44px;
  }

  .field textarea {
    min-height: 94px;
  }

  .section {
    padding: 54px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .final-card h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.55rem);
  }

  .step-list article {
    padding: 16px;
  }

  .region-grid {
    gap: 8px;
  }

  .region-grid button {
    flex: 1 1 auto;
    min-width: 132px;
    padding: 11px 12px;
  }

  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .final-card {
    flex-direction: column;
    align-items: stretch;
  }

  .final-actions {
    display: grid;
  }

  .whatsapp-float {
    padding: 8px;
  }

  .float-label {
    display: none;
  }

  .float-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 390px) {
  .brand {
    width: 150px;
  }

  .header-whatsapp {
    font-size: .8rem;
    padding: 0 10px;
  }

  .hero h1 {
    font-size: 2.05rem;
  }
}
