:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #353535;
  --heading: #0F172A;
  --muted: #6B7280;
  --accent: #C2B15A;
  --accent-2: #675F2C;
  --border: #e3e6eb;
  --soft: #f2f4f7;
  --primary: #0F172A;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 16px;
  --section-pad: clamp(56px, 6vw, 96px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Archivo", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.risk-bar {
  background: #4b4b57;
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1.4;
  padding: 10px 24px;
  text-align: center;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 40px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 36px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}


.logo-img {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  object-fit: contain;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 14px 28px rgba(15, 15, 16, 0.16);
  border: 1px solid rgba(30, 91, 255, 0.18);
}


.main-nav {
  display: flex;
  gap: 20px;
  font-size: 1rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lang-select select {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0F172A, #1C2433);
  color: #f8fafc;
  border: 1px solid rgba(194, 177, 90, 0.4);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
  border-color: rgba(194, 177, 90, 0.65);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
}

.btn:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: start;
  padding: var(--section-pad) 0 26px;
}

.section-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: start;
}


.section-hero .hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 12px 0;
  line-height: 1.05;
}

@media (max-width: 600px) {
  .section-hero {
    grid-template-columns: 1fr;
  }
}

#registro {
  scroll-margin-top: 120px;
}

.hero-form .form-card {
  grid-template-columns: 1fr;
  width: min(520px, 100%);
  margin-left: auto;
}

.hero-form .form-copy {
  text-align: left;
}

.hero-form .lead-form {
  margin-top: 4px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 700;
}


.title {
  color: var(--heading);
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.01em;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  margin: 12px 0;
  line-height: 1.05;
}

.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 10px;
}

.hero-actions {
  margin-top: 18px;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.hero-media {
  width: min(520px, 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-media-inline {
  margin-top: 18px;
}

.stock-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.pill {
  background: var(--soft);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--muted);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 91, 255, 0.6);
  box-shadow: 0 10px 22px rgba(30, 91, 255, 0.2);
}

.section {
  padding: var(--section-pad) 24px;
  scroll-margin-top: 120px;
  background: #ffffff;
  border-radius: 32px;
  border: 1px solid var(--border);
}


.section + .section {
  margin-top: 28px;
}

.hero + .section {
  margin-top: 28px;
}

.section-alt {
  background: var(--soft);
  margin: 0;
  padding: var(--section-pad) 24px;
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: none;
}


.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 4vw, 36px);
  align-items: center;
}

.section-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.benefit-card {
  border: 1px solid rgba(194, 177, 90, 0.22);
  border-radius: var(--radius-md);
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.benefit-card h3 {
  margin: 0 0 8px;
  color: var(--primary);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}

.checklist li::before {
  content: "✔";
  margin-right: 8px;
  color: var(--accent);
  text-shadow: 0 1px 2px rgba(194, 177, 90, 0.35);
}

.section-visual {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.media-card {
  width: min(520px, 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}


.media-card a,
.hero-media a {
  display: block;
}

.media-card a:hover img,
.hero-media a:hover img {
  transform: scale(1.01);
}

.media-card img,
.hero-media img {
  transition: transform 0.2s ease;
}


.media-card--xl {
  width: min(640px, 100%);
  box-shadow: 0 30px 70px rgba(15, 15, 16, 0.12);
}

.highlight-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}


.reasons-section .section-copy {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.reason-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 10px;
}

.reason-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 91, 255, 0.18), rgba(30, 91, 255, 0.03));
  border: 1px solid rgba(30, 91, 255, 0.2);
}

.reason-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.reason-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.highlight-card {
  border: 1px solid rgba(194, 177, 90, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--muted);
}

.form-section.section-alt {
  background: transparent;
  margin: 0;
  padding: var(--section-pad) 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.form-card {
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 40px;
  background: var(--soft);
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(340px, 1.05fr);
  gap: 28px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

.form-copy p {
  color: var(--muted);
}

.form-points {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 12px;
  background: #ffffff;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(15, 15, 16, 0.06);
}

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

.lead-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.lead-form input,
.lead-form select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--text);
}

.lead-form button {
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
}

.whatsapp-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: linear-gradient(135deg, #25d366, #1aa94f);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateZ(0);
  animation: whatsapp-pulse 2.6s ease-in-out infinite;
}

.whatsapp-button:hover {
  filter: brightness(0.95);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1100px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .site-footer {
    text-align: center;    padding: 18px 16px;
  }
  .footer-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .header-actions {
    width: 100%;
  }

  .main-nav {
    font-size: 0.85rem;
  }
}


/* mobile-header */
@media (max-width: 600px) {
  .risk-bar {
    font-size: 0.74rem;
    padding: 8px 16px;
  }

  .site-header {
    align-items: flex-start;
    gap: 12px;
    padding: 18px 0 20px;
  }

  .logo {
    width: 100%;
    justify-content: flex-start;
  }

  .logo-img {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    padding: 6px;
    box-shadow: 0 16px 32px rgba(15, 15, 16, 0.18);
  }

  .main-nav {
    width: 100%;
    row-gap: 12px;
    column-gap: 14px;
    font-size: 0.88rem;
    justify-content: flex-start;
  }

  .header-actions {
    width: 100%;
    display: grid;
    gap: 12px;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .lang-select {
    width: auto;
  }

  .lang-select select {
    padding: 10px 12px;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero-form .form-card {
    margin-left: 0;
    width: 100%;
  }
}


/* form-mobile */
@media (max-width: 600px) {

  .form-card {
    padding: 22px;
    border-radius: 26px;
    gap: 18px;
  }

  .form-copy {
    text-align: left;
  }

  .lead-form {
    padding: 18px;
    border-radius: 18px;
  }

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

  .lead-form label {
    font-size: 0.9rem;
  }

  .lead-form input,
  .lead-form select {
    width: 100%;
  }

  .lead-form button {
    width: 100%;
    padding: 14px;
  }

  .form-note {
    text-align: left;
  }
}


.privacy-content {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.privacy-content h1 {
  margin-top: 0;
}

.privacy-content h2 {
  margin: 12px 0 0;
  font-size: 1.25rem;
}

.privacy-content p {
  color: var(--muted);
  line-height: 1.7;
}


.whatsapp-cta {
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.35);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 0 22px 44px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px) scale(1.03);
  }
}


.form-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-consent input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
}


.legal-hero {
  display: grid;
  align-items: center;
}

.legal-hero-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(135deg, #ffffff, #f6f8fb);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.legal-sub {
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
}

.legal-hero-points {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

.legal-grid {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 10px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.legal-card h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--primary);
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.legal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.legal-footer .legal-footer-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 8px;
}

@media (max-width: 700px) {
  .legal-hero-card {
    border-radius: 22px;
  }

  .legal-footer .legal-footer-inner {
    text-align: left;
  }
}


.site-footer {
  margin-top: 48px;
  padding: 28px 0 12px;
  border-top: none;
  display: grid;
  gap: 10px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links a {
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(194, 177, 90, 0.3);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  color: var(--heading);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  border-color: rgba(194, 177, 90, 0.75);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}


@media (max-width: 700px) {
  .site-footer {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}


.site-footer .form-note {
  text-align: center;  font-weight: 700;
}


/* Proceso layout based on Tecnologia */
.process-block {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.process-block .section-copy {
  max-width: 560px;
}

.process-block .highlight-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.process-block .highlight-card {
  display: grid;
  gap: 6px;
}

@media (max-width: 900px) {
  .process-block {
    grid-template-columns: 1fr;
  }

  .process-block .section-visual {
    justify-items: center;
  }
}

/* Proceso layout (cards, no image) */
.process-centered {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.process-centered .section-sub {
  color: var(--muted);
  margin: 10px auto 0;
  max-width: 720px;
}

.process-cards {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  text-align: left;
}

.process-card {
  border: 1px solid rgba(194, 177, 90, 0.22);
  border-radius: 16px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 8px;
}

.process-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.process-why-title {
  margin: 28px 0 0;
  font-size: 1.1rem;
  color: var(--primary);
}

.process-reasons .process-card {
  font-weight: 600;
}

@media (max-width: 700px) {
  .process-centered {
    text-align: left;
  }

  .process-why-title {
    text-align: left;
  }
}

@media (min-width: 901px) {
  .markets-block .section-visual {
    padding-left: 24px;
  }
}

@media (min-width: 901px) {
  .markets-block .section-visual {
    padding-left: 40px;
  }
}

.markets-block .section-visual {
  margin-top: 16px;
}


.site-footer {
  border: none !important;
  box-shadow: none !important;
}

.site-footer::before,
.site-footer::after {
  content: none !important;
}

.process-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.process-card:hover,
.process-card:focus-within {
  transform: translateY(-1px);
  border-color: rgba(194, 177, 90, 0.6);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.highlight-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.highlight-card:hover,
.highlight-card:focus-within {
  transform: translateY(-1px);
  border-color: rgba(194, 177, 90, 0.6);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.benefit-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.benefit-card:hover,
.benefit-card:focus-within {
  transform: translateY(-1px);
  border-color: rgba(194, 177, 90, 0.6);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.no-border {
  border: none !important;
  box-shadow: none !important;
}

.main-nav a {
  font-weight: 700;
}

.emph {
  font-weight: 700;
  color: var(--muted);
}



@media (max-width: 700px) {
  .combined-block {
    gap: 36px;
  }
  .markets-block .media-card {
    margin-bottom: 28px;
  }
  .benefits-block .media-card {
    margin-top: 28px;
  }
  .benefits-block {
    margin-top: 10px;
  }
}

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

.form-group-title {
  grid-column: 1 / -1;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin: 4px 0 2px;
}

.span-2 {
  grid-column: span 2;
}

.lead-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--text);
  resize: vertical;
  min-height: 110px;
}

.reviews-section {
  display: grid;
  gap: 24px;
}

.reviews-copy {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.review-card {
  background: #ffffff;
  border: 1px solid rgba(194, 177, 90, 0.3);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 12px;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}

.google-mark {
  font-size: 0.95rem;
  color: #202124;
}

.review-rating {
  font-size: 0.9rem;
  color: #f4b400;
}

.review-text {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.review-person {
  display: grid;
  gap: 2px;
}

.review-name {
  font-weight: 700;
  color: var(--text);
}

.review-role {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }
}

/* Clean recovery form overrides */
.form-grid.clean-form-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-grid.clean-form-grid label {
  font-size: 0.82rem;
}

.lead-form {
  border-radius: 22px;
  padding: 26px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  border-radius: 12px;
  border: 1px solid #e1e3ea;
  background: #ffffff;
}

.lead-form textarea {
  min-height: 120px;
}

.form-consent {
  font-size: 0.82rem;
}

@media (max-width: 600px) {
  .lead-form {
    padding: 20px;
  }
}

/* Premium hover for cards */
.benefit-card:hover,
.benefit-card:focus-within,
.process-card:hover,
.process-card:focus-within,
.highlight-card:hover,
.highlight-card:focus-within,
.review-card:hover,
.review-card:focus-within {
  transform: translateY(-1px);
  border-color: rgba(194, 177, 90, 0.6);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.14);
}

/* Make Google reviews section pop */
.reviews-section {
  background: #ffffff !important;
  border: 1px solid rgba(194, 177, 90, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

/* Desktop UX refinements */
@media (min-width: 992px) {
  .page {
    max-width: 1280px;
    padding: 24px 36px 60px;
  }

  .hero {
    align-items: center;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-sub {
    max-width: 600px;
    font-size: 1.02rem;
  }

  .hero-media {
    width: min(560px, 100%);
  }

  .section-copy p {
    max-width: 620px;
  }

  .form-card {
    gap: 32px;
  }

  .lead-form {
    gap: 14px;
  }

  .process-centered {
    max-width: 1080px;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }
}

@media (min-width: 1200px) {
  .hero {
    gap: 56px;
  }

  .split {
    gap: 44px;
  }
}

/* Desktop header refinement */
@media (min-width: 992px) {
  .site-header {
    align-items: center;
    padding: 22px 0 34px;
  }

  .main-nav a {
    padding: 6px 0;
  }
}

/* Desktop WhatsApp button refined */
@media (min-width: 992px) {
  .whatsapp-button {
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  }
}

/* Sticky header for desktop */
@media (min-width: 992px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(247, 248, 250, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(194, 177, 90, 0.18);
  }

  .logo-img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }
}

/* Compact header on mobile */
@media (max-width: 600px) {
  .site-header {
    padding: 14px 0 16px;
  }

  .logo-img {
    width: 70px;
    height: 70px;
  }
}

/* Outline primary button on sticky header (desktop) */
@media (min-width: 992px) {
  .site-header .btn-primary {
    background: transparent;
    color: var(--heading);
    border: 1px solid rgba(194, 177, 90, 0.6);
    box-shadow: none;
  }

  .site-header .btn-primary:hover {
    background: rgba(194, 177, 90, 0.08);
    border-color: rgba(194, 177, 90, 0.85);
  }
}

/* Premium form CTA */
.lead-form button {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.lead-form button:hover {
  filter: brightness(1.02);
}

/* Premium CTA border glow */
.lead-form button {
  border: 1px solid rgba(194, 177, 90, 0.45);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18), inset 0 0 0 1px rgba(194, 177, 90, 0.15);
}

/* Legal premium CTA font treatment */
.lead-form button {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

/* Align hero CTA with premium treatment */
.hero-actions .btn-primary {
  border: 1px solid rgba(194, 177, 90, 0.4);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18), inset 0 0 0 1px rgba(194, 177, 90, 0.12);
  letter-spacing: 0.04em;
}

/* Softer hover contrast for primary buttons */
.btn-primary:hover {
  filter: brightness(1.01);
}

/* Process CTA aligns with premium treatment */
.process-section .btn-primary {
  border: 1px solid rgba(194, 177, 90, 0.4);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18), inset 0 0 0 1px rgba(194, 177, 90, 0.12);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop readability + rhythm refinements */
@media (min-width: 992px) {
  .section-copy p,
  .hero-sub,
  .review-text,
  .legal-sub {
    line-height: 1.7;
  }

  .section + .section,
  .hero + .section {
    margin-top: 36px;
  }

  .section-copy h2 {
    margin-bottom: 14px;
  }

  .highlight-grid {
    margin-top: 18px;
  }

  .benefit-grid,
  .process-cards,
  .reviews-grid {
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .section {
    padding: var(--section-pad) 32px;
  }
}

/* Small phones (<= 375px) */
@media (max-width: 375px) {
  .page {
    padding: 12px 16px 32px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .form-card {
    padding: 18px;
    border-radius: 22px;
  }

  .lead-form {
    padding: 16px;
  }

  .lead-form button {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }

  .whatsapp-button {
    right: 14px;
    bottom: 14px;
  }
}

/* Tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .page {
    max-width: 960px;
    padding: 20px 28px 48px;
  }

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

  .hero-media {
    width: min(620px, 100%);
  }

  .form-card {
    grid-template-columns: 1fr;
  }

  .section-copy p {
    max-width: 640px;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

/* Mobile landscape (small height) */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-media {
    width: min(520px, 100%);
  }

  .form-card {
    grid-template-columns: 1fr;
  }

  .whatsapp-button {
    bottom: 12px;
    right: 12px;
  }
}

/* Tablet landscape refinements */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .hero {
    gap: 36px;
  }

  .section-copy p {
    max-width: 680px;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

/* Mobile header refinement (clean, legal) */
@media (max-width: 600px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(247, 248, 250, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(194, 177, 90, 0.18);
  }

  .site-header .logo-img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }

  .main-nav {
    gap: 10px;
    row-gap: 8px;
    font-size: 0.82rem;
  }

  .main-nav a {
    padding: 6px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(194, 177, 90, 0.22);
  }

  .lang-select select {
    border-radius: 12px;
  }
}

/* Fixed mobile CTA */
.mobile-cta {
  display: none;
}

@media (max-width: 600px) {
  .mobile-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0F172A, #1C2433);
    color: #f8fafc;
    border: 1px solid rgba(194, 177, 90, 0.45);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .whatsapp-button {
    bottom: 74px;
  }
}

/* Mobile conversion UX best practices */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .page {
    padding-bottom: 108px;
  }

  #registro {
    scroll-margin-top: 90px;
  }

  .hero-sub {
    line-height: 1.7;
  }

  .lead-form label {
    font-size: 0.86rem;
  }

  .lead-form input,
  .lead-form select,
  .lead-form textarea,
  .lead-form button {
    min-height: 44px;
    font-size: 16px;
  }

  .form-consent {
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
  }

  .form-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
  }

  .mobile-cta {
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  }

  .whatsapp-button {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .reviews-grid {
    gap: 14px;
  }

  .section {
    padding: 48px 18px;
  }

  .section + .section,
  .hero + .section {
    margin-top: 22px;
  }

  .hero-actions .btn-primary,
  .process-section .btn-primary {
    width: 100%;
  }
}

/* Visible focus for accessibility */
:focus-visible {
  outline: 2px solid rgba(194, 177, 90, 0.7);
  outline-offset: 2px;
}

/* Reduce above-form text on mobile for faster CTA visibility */
@media (max-width: 600px) {
  .hero-sub:nth-of-type(2) {
    display: none;
  }

  .form-points {
    display: none;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .form-copy p {
    margin-bottom: 8px;
  }
}

/* Emphasize main logo */
.logo-img {
  width: 96px;
  height: 96px;
  padding: 8px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border: 2px solid rgba(194, 177, 90, 0.55);
}

@media (min-width: 992px) {
  .logo-img {
    width: 104px;
    height: 104px;
  }
}

@media (max-width: 600px) {
  .logo-img {
    width: 72px;
    height: 72px;
  }
}

/* Logo zoom (desktop & mobile) */
.logo-img {
  width: 124px;
  height: 124px;
  padding: 6px;
  transform: scale(1.05);
}

@media (min-width: 992px) {
  .logo-img {
    width: 132px;
    height: 132px;
    transform: scale(1.06);
  }
}

@media (max-width: 600px) {
  .logo-img {
    width: 92px;
    height: 92px;
    transform: scale(1.04);
  }
}

/* Extra logo emphasis */
.logo-img {
  width: 140px;
  height: 140px;
  padding: 4px;
  transform: scale(1.08);
}

@media (min-width: 992px) {
  .logo-img {
    width: 152px;
    height: 152px;
    transform: scale(1.1);
  }
}

@media (max-width: 600px) {
  .logo-img {
    width: 106px;
    height: 106px;
    transform: scale(1.06);
  }
}

/* Final logo zoom boost */
.logo-img {
  width: 156px;
  height: 156px;
  padding: 2px;
  transform: scale(1.12);
}

@media (min-width: 992px) {
  .logo-img {
    width: 168px;
    height: 168px;
    transform: scale(1.14);
  }
}

@media (max-width: 600px) {
  .logo-img {
    width: 118px;
    height: 118px;
    transform: scale(1.1);
  }
}

/* Desktop logo size refinement */
@media (min-width: 992px) {
  .logo-img {
    width: 140px;
    height: 140px;
    transform: scale(1.08);
  }
}

@media (min-width: 1200px) {
  .logo-img {
    width: 132px;
    height: 132px;
    transform: scale(1.06);
  }
}

/* Tablet logo sizing */
@media (min-width: 768px) and (max-width: 1024px) {
  .logo-img {
    width: 120px;
    height: 120px;
    transform: scale(1.06);
  }
}

/* Mobile logo balance with fixed CTA */
@media (max-width: 600px) {
  .logo-img {
    width: 96px;
    height: 96px;
    transform: scale(1.05);
  }
}

/* Mobile header breathing room */
@media (max-width: 600px) {
  .site-header {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

/* Mobile header spacing between logo and nav */
@media (max-width: 600px) {
  .logo {
    margin-bottom: 8px;
  }
}

/* Mobile nav spacing for readability */
@media (max-width: 600px) {
  .main-nav {
    row-gap: 10px;
    column-gap: 10px;
  }
}

/* Center mobile nav */
@media (max-width: 600px) {
  .main-nav {
    justify-content: center;
  }
}

/* Desktop logo spacing fix */
@media (min-width: 992px) {
  .site-header {
    padding-top: 16px;
    padding-bottom: 22px;
  }

  .logo {
    gap: 8px;
  }

  .logo-img {
    width: 120px;
    height: 120px;
    padding: 2px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  }
}

@media (min-width: 1200px) {
  .logo-img {
    width: 112px;
    height: 112px;
  }
}

/* Stack nav vertically on very small screens */
@media (max-width: 360px) {
  .main-nav {
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
  }
}

/* Softer mobile nav pills */
@media (max-width: 600px) {
  .main-nav a {
    border: 1px solid rgba(194, 177, 90, 0.14);
    box-shadow: none;
    background: #ffffff;
  }
}

@media (max-width: 360px) {
  .main-nav a {
    border: 1px solid rgba(194, 177, 90, 0.12);
  }
}

/* Extra-light mobile nav pills */
@media (max-width: 600px) {
  .main-nav a {
    border: 1px solid rgba(194, 177, 90, 0.08);
    background: #ffffff;
  }
}

/* Smaller mobile nav pills */
@media (max-width: 600px) {
  .main-nav a {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}

/* Extra small mobile nav text */
@media (max-width: 360px) {
  .main-nav a {
    font-size: 0.76rem;
  }
}

/* Mobile language selector alignment */
@media (max-width: 600px) {
  .lang-select select {
    font-size: 0.82rem;
    padding: 8px 10px;
    border-radius: 10px;
  }
}

@media (max-width: 360px) {
  .lang-select select {
    font-size: 0.78rem;
    padding: 7px 9px;
  }
}

/* Mobile header CTA sizing */
@media (max-width: 600px) {
  .header-actions .btn-primary {
    font-size: 0.82rem;
    padding: 8px 12px;
    border-radius: 12px;
  }
}

/* Hide header CTA on mobile (use fixed CTA) */
@media (max-width: 600px) {
  .header-actions .btn-primary {
    display: none;
  }
}

/* Slightly smaller logo on mobile after CTA removal */
@media (max-width: 600px) {
  .logo-img {
    width: 88px;
    height: 88px;
    transform: scale(1.04);
  }
}

/* Subtle logo border on mobile */
@media (max-width: 600px) {
  .logo-img {
    border: 1px solid rgba(194, 177, 90, 0.35);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  }
}

/* Subtle logo border on desktop */
@media (min-width: 992px) {
  .logo-img {
    border: 1px solid rgba(194, 177, 90, 0.4);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  }
}

/* Slightly smaller desktop logo for proportion */
@media (min-width: 992px) {
  .logo-img {
    width: 112px;
    height: 112px;
    transform: scale(1.04);
  }
}

@media (min-width: 1200px) {
  .logo-img {
    width: 104px;
    height: 104px;
    transform: scale(1.03);
  }
}

/* Compact desktop header */
@media (min-width: 992px) {
  .site-header {
    padding-top: 12px;
    padding-bottom: 18px;
  }
}

/* Tighten logo to nav spacing on desktop */
@media (min-width: 992px) {
  .site-header {
    gap: 14px;
  }

  .logo {
    margin-right: 8px;
  }
}

/* Center mobile nav pills */
@media (max-width: 600px) {
  .main-nav {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .main-nav a {
    text-align: center;
  }
}

/* Symmetric mobile nav pills */
@media (max-width: 600px) {
  .main-nav a {
    min-width: 118px;
  }
}

@media (max-width: 360px) {
  .main-nav a {
    min-width: 104px;
  }
}

/* Fine-tuned symmetric nav pills */
@media (max-width: 600px) {
  .main-nav a {
    min-width: 112px;
  }
}

@media (max-width: 360px) {
  .main-nav a {
    min-width: 96px;
  }
}

/* Narrower mobile nav pills */
@media (max-width: 600px) {
  .main-nav a {
    min-width: 92px;
    padding: 4px 8px;
  }
}

@media (max-width: 360px) {
  .main-nav a {
    min-width: 80px;
    padding: 4px 8px;
  }
}

/* Even more compact mobile nav pills */
@media (max-width: 600px) {
  .main-nav a {
    min-width: 82px;
    padding: 3px 7px;
    font-size: 0.78rem;
  }
}

@media (max-width: 360px) {
  .main-nav a {
    min-width: 72px;
    padding: 3px 7px;
    font-size: 0.74rem;
  }
}

/* Ultra-compact mobile nav pills */
@media (max-width: 600px) {
  .main-nav a {
    min-width: 70px;
    padding: 3px 6px;
    font-size: 0.76rem;
  }
}

@media (max-width: 360px) {
  .main-nav a {
    min-width: 68px;
    padding: 3px 6px;
    font-size: 0.72rem;
  }
}

/* Mobile UX overhaul */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .page {
    padding: 12px 16px 120px;
  }

  .site-header {
    padding: 14px 0 12px;
  }

  .logo-img {
    width: 84px;
    height: 84px;
    padding: 2px;
    border-radius: 12px;
  }

  .main-nav {
    gap: 8px;
    row-gap: 8px;
    justify-content: center;
    align-items: center;
  }

  .main-nav a {
    min-width: 70px;
    padding: 4px 8px;
    font-size: 0.76rem;
  }

  .lang-select select {
    font-size: 0.8rem;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .hero {
    gap: 16px;
    padding: 24px 0 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.45rem);
  }

  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-media {
    border-radius: 18px;
  }

  .form-card {
    padding: 18px;
    border-radius: 22px;
  }

  .lead-form {
    padding: 16px;
    border-radius: 18px;
  }

  .lead-form label {
    font-size: 0.84rem;
  }

  .lead-form input,
  .lead-form select,
  .lead-form textarea,
  .lead-form button {
    min-height: 44px;
    font-size: 16px;
  }

  .form-note {
    font-size: 0.74rem;
  }

  .section {
    padding: 40px 16px;
  }

  .section + .section,
  .hero + .section {
    margin-top: 20px;
  }

  .mobile-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-button {
    right: 12px;
    bottom: 74px;
  }
}

@media (max-width: 360px) {
  .main-nav a {
    min-width: 64px;
    padding: 3px 6px;
    font-size: 0.72rem;
  }
}

/* Mobile header cleanup: center nav + compact pills + centered language */
@media (max-width: 600px) {
  .main-nav {
    max-width: 320px;
    margin: 0 auto;
    justify-content: center;
  }

  .main-nav a {
    min-width: 0;
    padding: 3px 8px;
    font-size: 0.72rem;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .lang-select {
    margin: 6px auto 0;
  }
}

@media (max-width: 360px) {
  .main-nav {
    max-width: 280px;
  }

  .main-nav a {
    font-size: 0.7rem;
    padding: 3px 7px;
  }
}

/* Place language selector above menu on mobile */
@media (max-width: 600px) {
  .site-header {
    align-items: center;
  }

  .header-actions {
    order: 1;
    margin-bottom: 8px;
  }

  .main-nav {
    order: 2;
  }
}

/* Reduce mobile padding for tighter layout */
@media (max-width: 600px) {
  .page {
    padding: 8px 12px 112px;
  }

  .section {
    padding: 32px 12px;
  }

  .hero {
    padding: 18px 0 16px;
  }
}

/* Mobile header style to match reference (plain text nav) */
@media (max-width: 600px) {
  .site-header {
    align-items: flex-start;
  }

  .main-nav {
    order: 1;
    justify-content: flex-start;
    align-items: center;
    row-gap: 6px;
    column-gap: 14px;
  }

  .main-nav a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    min-width: 0;
    font-size: 0.82rem;
    font-weight: 600;
  }

  .header-actions {
    order: 2;
    width: 100%;
    justify-content: flex-start;
    margin-top: 6px;
  }

  .lang-select {
    margin: 0;
  }

  .logo-img {
    border: 1px solid rgba(194, 177, 90, 0.2);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
  }
}

/* Mobile hero cleanup for breathing room */
@media (max-width: 600px) {
  .hero {
    padding: 26px 0 20px;
    gap: 18px;
  }

  .hero-copy {
    display: grid;
    gap: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 8.5vw, 2.7rem);
    line-height: 1.06;
    letter-spacing: 0.01em;
    margin: 6px 0 2px;
  }

  .hero-sub {
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
  }

  .hero-actions {
    margin-top: 6px;
  }

  .hero-media {
    margin-top: 6px;
  }

  .hero-media img {
    border-radius: 18px;
  }
}

/* Slightly smaller hero CTA on mobile */
@media (max-width: 600px) {
  .hero-actions .btn-primary {
    padding: 12px 18px;
    font-size: 0.92rem;
  }
}

/* Non-full-width hero CTA on mobile */
@media (max-width: 600px) {
  .hero-actions .btn-primary {
    width: auto;
    align-self: flex-start;
  }
}

/* Form CTA not full width on mobile */
@media (max-width: 600px) {
  .lead-form button {
    width: auto;
    align-self: flex-start;
    padding: 12px 18px;
  }
}

/* Center form CTA on mobile */
@media (max-width: 600px) {
  .lead-form button {
    align-self: center;
  }
}

/* Center hero CTA on mobile */
@media (max-width: 600px) {
  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn-primary {
    align-self: center;
  }
}

/* Center hero image on mobile */
@media (max-width: 600px) {
  .hero-media {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Center all section images on mobile */
@media (max-width: 600px) {
  .media-card,
  .hero-media {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Uniform image width on mobile */
@media (max-width: 600px) {
  .media-card,
  .hero-media {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 360px) {
  .media-card,
  .hero-media {
    max-width: 300px;
  }
}

/* Gentle image cropping on mobile for consistency */
@media (max-width: 600px) {
  .media-card img,
  .hero-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* Fixed aspect ratio for mobile images */
@media (max-width: 600px) {
  .media-card,
  .hero-media {
    aspect-ratio: 4 / 3;
  }

  .media-card img,
  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Desktop header layout to match reference */
@media (min-width: 992px) {
  .site-header {
    position: static;
    background: #ffffff;
    padding: 18px 0 20px;
    border-bottom: 1px solid #edf0f5;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    align-items: center;
  }

  .logo {
    min-width: 120px;
  }

  .logo-img {
    width: 76px;
    height: 76px;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid #e5eaf2;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .main-nav {
    flex: 1;
    justify-content: center;
    gap: 24px;
    color: #6b7280;
  }

  .main-nav a {
    font-weight: 600;
  }

  .header-actions {
    gap: 10px;
  }

  .lang-select select {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #e5eaf2;
  }

  .header-actions .btn-primary {
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    text-transform: none;
    letter-spacing: 0;
  }
}

/* Desktop header: logo left, nav centered, actions right */
@media (min-width: 992px) {
  .site-header {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .logo {
    flex: 0 0 auto;
  }

  .main-nav {
    flex: 1 1 auto;
    justify-content: center;
  }

  .header-actions {
    flex: 0 0 auto;
    margin-left: auto;
  }
}

/* Desktop header match reference */
@media (min-width: 992px) {
  .site-header {
    position: static;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    padding: 18px 0 18px;
    gap: 24px;
  }

  .logo-img {
    width: 88px;
    height: 88px;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid #e7e7ea;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  }

  .main-nav {
    justify-content: center;
    gap: 22px;
    color: #6b7280;
  }

  .main-nav a {
    font-weight: 600;
  }

  .header-actions {
    margin-left: auto;
    gap: 10px;
  }

  .lang-select select {
    border: 1px solid #e7e7ea;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
  }

  .header-actions .btn-primary {
    background: #ffffff;
    color: #111827;
    border: 1px solid rgba(194, 177, 90, 0.6);
    box-shadow: none;
    padding: 10px 18px;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
  }
}

/* Desktop header layout fix: logo left, nav center, actions right */
@media (min-width: 992px) {
  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 24px;
  }

  .logo {
    display: flex;
    align-items: center;
  }

  .main-nav {
    justify-content: center;
  }

  .header-actions {
    justify-content: flex-end;
    margin-left: 0;
  }
}

/* Final mobile header fix (match reference) */
@media (max-width: 600px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(247, 248, 250, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: none;
    box-shadow: none;
    padding: 10px 0 12px;
    align-items: flex-start;
    gap: 10px;
  }

  .logo {
    margin-bottom: 6px;
  }

  .logo-img {
    width: 64px;
    height: 64px;
    padding: 4px;
    border-radius: 14px;
    border: 1px solid rgba(194, 177, 90, 0.22);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  }

  .main-nav {
    order: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px 14px;
    max-width: 320px;
  }

  .main-nav a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    font-size: 0.86rem;
    font-weight: 600;
    color: #6b7280;
  }

  .header-actions {
    order: 2;
    width: 100%;
    justify-content: flex-start;
    margin-top: 6px;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .lang-select select {
    font-size: 0.82rem;
    padding: 6px 10px;
    border-radius: 12px;
  }
}

/* Mobile form fixes: date input + consent alignment */
@media (max-width: 600px) {
  .lead-form input[type="date"] {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 16px;
    line-height: 1.2;
    box-sizing: border-box;
  }

  .lead-form input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
  }

  .form-consent {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: center;
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    transform: translateY(1px);
  }
}

/* Mobile form vertical rhythm (iPhone friendly) */
@media (max-width: 600px) {
  .lead-form {
    padding: 14px;
    gap: 12px;
  }

  .lead-form label {
    gap: 6px;
  }

  .lead-form input,
  .lead-form select,
  .lead-form textarea {
    margin-top: 2px;
  }

  .form-consent {
    margin-top: 4px;
  }

  .lead-form button {
    margin-top: 6px;
  }
}

/* Mobile form compact labels + controlled width */
@media (max-width: 600px) {
  .lead-form {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .lead-form label span {
    font-size: 0.82rem;
    letter-spacing: 0.01em;
  }

  .form-note {
    font-size: 0.72rem;
  }
}

/* Mobile form narrower + button spacing */
@media (max-width: 600px) {
  .lead-form {
    max-width: 360px;
  }

  .lead-form button {
    margin-top: 10px;
  }
}

/* Mobile form button + padding fine-tune */
@media (max-width: 600px) {
  .lead-form {
    padding: 12px;
  }

  .lead-form button {
    padding: 12px 20px;
    font-size: 0.92rem;
  }
}

/* Mobile button width + text compactness */
@media (max-width: 600px) {
  .lead-form button {
    width: 100%;
    max-width: 320px;
    letter-spacing: 0.02em;
  }
}

/* Align mobile CTA widths */
@media (max-width: 600px) {
  .lead-form button,
  .mobile-cta {
    max-width: 320px;
  }

  .mobile-cta {
    margin: 0 auto;
    left: 0;
    right: 0;
  }
}

/* Raise mobile fixed CTA slightly to avoid overlap */
@media (max-width: 600px) {
  .mobile-cta {
    bottom: 20px;
  }

  .whatsapp-button {
    bottom: 86px;
  }
}

/* Tighten mobile header top padding */
@media (max-width: 600px) {
  .site-header {
    padding-top: 6px;
  }
}

/* iPhone (iOS Safari) form normalization */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 600px) {
    .lead-form input[type="date"] {
      -webkit-appearance: none;
      appearance: none;
      height: 44px;
      padding: 10px 14px;
    }

    .lead-form input[type="date"]::-webkit-date-and-time-value {
      min-height: 1.2em;
      text-align: left;
    }

    .lead-form input[type="date"]::-webkit-calendar-picker-indicator {
      opacity: 0.65;
    }

    .form-consent {
      align-items: center;
    }

    .form-consent input[type="checkbox"] {
      -webkit-appearance: none;
      appearance: none;
      width: 20px;
      height: 20px;
      border: 1px solid rgba(194, 177, 90, 0.7);
      border-radius: 6px;
      background: #ffffff;
      display: inline-block;
      position: relative;
      margin: 0;
    }

    .form-consent input[type="checkbox"]:checked {
      background: #0f172a;
      border-color: #0f172a;
    }

    .form-consent input[type="checkbox"]:checked::after {
      content: "";
      position: absolute;
      left: 6px;
      top: 2px;
      width: 6px;
      height: 10px;
      border: 2px solid #ffffff;
      border-top: 0;
      border-left: 0;
      transform: rotate(45deg);
    }
  }
}

/* iPhone: align consent text with custom checkbox */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 600px) {
    .form-consent {
      align-items: flex-start;
      grid-template-columns: 22px 1fr;
      gap: 10px;
    }

    .form-consent span {
      display: block;
      padding-top: 2px;
    }

    .form-consent input[type="checkbox"] {
      margin-top: 2px;
      flex-shrink: 0;
    }
  }
}

/* iPhone: slightly smaller consent checkbox for cleaner look */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 600px) {
    .form-consent input[type="checkbox"] {
      width: 18px;
      height: 18px;
      border-radius: 5px;
    }

    .form-consent input[type="checkbox"]:checked::after {
      left: 5px;
      top: 2px;
      width: 5px;
      height: 9px;
    }
  }
}

/* iPhone: override generic input min-height for checkbox */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 600px) {
    .form-consent input[type="checkbox"] {
      min-height: 0 !important;
      min-width: 0 !important;
      height: 18px !important;
      width: 18px !important;
      box-sizing: border-box;
    }
  }
}
/* Final iPhone optimization layer */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

.btn,
button,
.main-nav a,
.mobile-cta,
.whatsapp-button {
  touch-action: manipulation;
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 600px) {
    :root {
      --section-pad: 22px;
    }

    body {
      padding-bottom: calc(118px + env(safe-area-inset-bottom));
    }

    .page {
      padding: 10px 14px calc(28px + env(safe-area-inset-bottom));
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      margin: 0 -2px;
      padding: calc(8px + env(safe-area-inset-top)) 0 14px;
      background: rgba(247, 248, 250, 0.94);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .logo-img {
      width: 72px;
      height: 72px;
      border-radius: 16px;
    }

    .main-nav {
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      padding: 4px 2px 2px;
      margin-right: -2px;
      justify-content: flex-start;
      gap: 10px;
    }

    .main-nav::-webkit-scrollbar {
      display: none;
    }

    .main-nav a {
      flex: 0 0 auto;
      white-space: nowrap;
      padding: 10px 14px;
      border-radius: 999px;
      background: #ffffff;
      border: 1px solid rgba(194, 177, 90, 0.26);
      box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
      font-size: 0.84rem;
      line-height: 1.1;
    }

    .header-actions {
      grid-template-columns: auto 1fr;
      align-items: center;
      gap: 10px;
    }

    .lang-select select {
      min-height: 44px;
      font-size: 16px;
    }

    .hero {
      gap: 20px;
      padding-top: 16px;
      padding-bottom: 20px;
    }

    .hero-copy {
      display: grid;
      gap: 12px;
    }

    .eyebrow {
      font-size: 0.7rem;
      letter-spacing: 0.16em;
    }

    .hero-copy h1 {
      margin: 0;
      font-size: clamp(2.15rem, 10vw, 3.1rem);
      line-height: 0.96;
      text-wrap: balance;
    }

    .hero-sub {
      max-width: none;
      margin: 0;
      font-size: 1rem;
      line-height: 1.62;
    }

    .hero-actions {
      margin-top: 4px;
      justify-content: flex-start;
    }

    .hero-actions .btn-primary {
      width: auto;
      min-width: min(100%, 260px);
      min-height: 50px;
      padding: 14px 20px;
    }

    .hero-media,
    .media-card,
    .media-card--xl {
      width: 100%;
      border-radius: 22px;
    }

    .hero-media img,
    .media-card img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
    }

    .section,
    .section-alt {
      padding: 22px 16px;
      border-radius: 24px;
      scroll-margin-top: 92px;
    }

    .section + .section,
    .hero + .section {
      margin-top: 18px;
    }

    .split,
    .benefit-grid,
    .highlight-grid,
    .process-cards,
    .reviews-grid {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .section-copy h2 {
      font-size: clamp(1.9rem, 8vw, 2.4rem);
      line-height: 1;
      text-wrap: balance;
    }

    .form-card {
      padding: 18px;
      border-radius: 24px;
      gap: 16px;
      grid-template-columns: 1fr;
    }

    .form-copy {
      display: grid;
      gap: 10px;
    }

    .form-points {
      gap: 6px;
      margin-top: 6px;
    }

    .lead-form {
      padding: 16px;
      border-radius: 18px;
      gap: 14px;
    }

    .lead-form label {
      gap: 8px;
      font-size: 0.9rem;
    }

    .lead-form input,
    .lead-form select,
    .lead-form textarea,
    .lead-form button {
      min-height: 52px;
      font-size: 16px !important;
      border-radius: 14px;
    }

    .lead-form input,
    .lead-form select,
    .lead-form textarea {
      -webkit-appearance: none;
      appearance: none;
    }

    .lead-form textarea {
      min-height: 136px;
      resize: vertical;
      padding-top: 14px;
    }

    .lead-form input[type="date"] {
      display: flex;
      align-items: center;
    }

    .process-card,
    .benefit-card,
    .highlight-card,
    .review-card {
      border-radius: 18px;
    }

    .review-text {
      font-size: 0.98rem;
      line-height: 1.65;
    }

    .footer-links a {
      width: 100%;
      justify-content: center;
    }

    .site-footer {
      margin-top: 28px;
      padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }

    .mobile-cta {
      left: 14px;
      right: 14px;
      bottom: calc(14px + env(safe-area-inset-bottom));
      width: auto;
      min-height: 54px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      border-radius: 18px;
    }

    .whatsapp-button {
      right: 14px;
      bottom: calc(82px + env(safe-area-inset-bottom));
      padding: 12px 16px;
      max-width: calc(100vw - 28px);
    }
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 390px) {
    .page {
      padding-left: 12px;
      padding-right: 12px;
    }

    .main-nav a {
      padding: 9px 12px;
      font-size: 0.81rem;
    }

    .hero-copy h1 {
      font-size: clamp(1.95rem, 9.8vw, 2.55rem);
    }

    .hero-media,
    .media-card,
    .media-card--xl {
      border-radius: 20px;
    }

    .section,
    .section-alt,
    .form-card,
    .lead-form {
      border-radius: 20px;
    }
  }
}
/* Contact focus cleanup */
.whatsapp-button {
  display: none !important;
}
/* Video testimonial section */
.testimonial-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(194, 177, 90, 0.34);
  background: linear-gradient(135deg, rgba(194, 177, 90, 0.14), rgba(194, 177, 90, 0.04));
  color: var(--heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.testimonial-anchor-bottom {
  margin-top: 18px;
}

.section-copy .testimonial-anchor-bottom {
  width: fit-content;
}

.testimonial-anchor-bottom::after {
  content: "↓";
  margin-left: 8px;
  font-size: 0.9em;
  opacity: 0.72;
}

@media (max-width: 600px) {
  .testimonial-anchor-bottom {
    display: inline-flex;
    align-self: center;
    margin: 16px auto 10px;
    padding: 7px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    color: var(--accent-2);
  }

  .section-copy .testimonial-anchor-bottom {
    width: fit-content;
  }
}

.video-testimonial-section {
  display: grid;
  gap: 24px;
  align-items: start;
}

.video-testimonial-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 10px;
}

.video-testimonial-card {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(194, 177, 90, 0.2);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.video-testimonial-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-shell {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.2);
}

.testimonial-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0f172a;
}

@media (min-width: 992px) {
  .video-testimonial-section {
    gap: 28px;
  }

  .video-testimonial-card {
    padding: 22px;
  }

  .video-shell {
    max-width: 720px;
  }
}

@media (max-width: 600px) {
  .testimonial-anchor {
    margin-top: 8px;
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .video-testimonial-section {
    gap: 18px;
  }

  .video-testimonial-copy {
    text-align: left;
  }

  .video-testimonial-card {
    padding: 14px;
    border-radius: 22px;
  }

  .video-testimonial-badge {
    margin-bottom: 12px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .video-shell {
    max-width: 100%;
    border-radius: 20px;
  }
}

.video-sound-note {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.video-sound-note.is-active {
  color: var(--accent-2);
}

.video-sound-note.is-hidden {
  opacity: 0;
  transform: translateY(-4px);
}

@media (max-width: 600px) {
  .video-sound-note {
    font-size: 0.8rem;
    margin-top: 12px;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 600px) {
    .form-consent {
      grid-template-columns: 16px minmax(0, 1fr) !important;
      align-items: start !important;
      gap: 8px !important;
      margin-top: 6px !important;
      font-size: 0.84rem !important;
      line-height: 1.32 !important;
    }

    .form-consent span {
      display: block;
      padding-top: 0 !important;
      max-width: 28ch;
    }

    .form-consent input,
    .form-consent input[type="checkbox"] {
      -webkit-appearance: none;
      appearance: none;
      width: 16px !important;
      height: 16px !important;
      min-width: 16px !important;
      min-height: 16px !important;
      margin: 2px 0 0 !important;
      border: 1.5px solid rgba(194, 177, 90, 0.75) !important;
      border-radius: 4px !important;
      background: #ffffff !important;
      box-shadow: none !important;
      transform: none !important;
      flex-shrink: 0;
      position: relative;
    }

    .form-consent input:checked,
    .form-consent input[type="checkbox"]:checked {
      background: #0f172a !important;
      border-color: #0f172a !important;
    }

    .form-consent input:checked::after,
    .form-consent input[type="checkbox"]:checked::after {
      content: "";
      position: absolute;
      left: 4px;
      top: 1px;
      width: 4px;
      height: 8px;
      border: 2px solid #ffffff;
      border-top: 0;
      border-left: 0;
      transform: rotate(45deg);
    }
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 600px) {
    .site-footer {
      gap: 14px !important;
      margin-top: 24px !important;
      padding-top: 18px !important;
    }

    .footer-links {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 10px !important;
      width: 100%;
      max-width: 320px;
      margin: 0 auto;
    }

    .footer-links a {
      display: flex !important;
      align-items: center;
      justify-content: center;
      width: 100% !important;
      min-height: 44px;
      padding: 10px 14px !important;
      border-radius: 16px !important;
      font-size: 0.9rem !important;
      line-height: 1.25 !important;
      text-align: center;
      letter-spacing: 0 !important;
      box-shadow: none !important;
    }

    .site-footer .form-note {
      font-size: 0.82rem !important;
      line-height: 1.4 !important;
    }
  }
}

/* iPhone rescue layer start */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 600px) {
    html,
    body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
    }

    body {
      min-width: 0;
    }

    .page,
    main,
    .site-header,
    .hero,
    .hero-copy,
    .hero-form,
    .combined-block,
    .section,
    .section-alt,
    .split,
    .section-copy,
    .section-visual,
    .process-centered,
    .video-testimonial-section,
    .video-testimonial-copy,
    .video-testimonial-card,
    .video-shell,
    .reviews-grid,
    .review-card {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
    }

    .page {
      padding: 10px 12px calc(28px + env(safe-area-inset-bottom)) !important;
      overflow-x: clip;
    }

    .site-header {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) !important;
      align-items: start !important;
      gap: 12px !important;
      margin: 0 !important;
      padding: calc(8px + env(safe-area-inset-top)) 0 12px !important;
      background: rgba(247, 248, 250, 0.96) !important;
    }

    .logo,
    .logo-link {
      display: inline-flex !important;
      width: fit-content;
      margin: 0 !important;
    }

    .logo-img {
      width: 72px !important;
      height: 72px !important;
    }

    .main-nav {
      order: 2;
      display: flex !important;
      flex-wrap: wrap !important;
      justify-content: flex-start !important;
      align-items: center !important;
      gap: 10px 14px !important;
      margin: 0 !important;
      padding: 0 !important;
      max-width: none !important;
      overflow: visible !important;
      white-space: normal !important;
    }

    .main-nav a {
      flex: 0 0 auto;
      min-width: 0 !important;
      padding: 0 !important;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      font-size: clamp(0.94rem, 3.7vw, 1rem) !important;
      line-height: 1.25 !important;
      white-space: normal !important;
    }

    .header-actions {
      order: 3;
      display: flex !important;
      align-items: center !important;
      justify-content: flex-start !important;
      width: 100% !important;
      gap: 10px !important;
      margin: 0 !important;
    }

    .header-actions .btn-primary {
      display: none !important;
    }

    .lang-select {
      margin: 0 !important;
    }

    .lang-select select {
      min-height: 42px !important;
      padding: 8px 12px !important;
      font-size: 16px !important;
    }

    .hero {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 18px !important;
      padding: 18px 0 12px !important;
    }

    .hero-form .form-card,
    .form-card,
    .lead-form,
    .clean-form-grid,
    .benefit-grid,
    .highlight-grid,
    .process-cards,
    .reviews-grid {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    .clean-form-grid,
    .benefit-grid,
    .highlight-grid,
    .process-cards,
    .reviews-grid {
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 14px !important;
    }

    .section,
    .section-alt {
      padding: 22px 14px !important;
      border-radius: 22px !important;
    }

    .form-card {
      padding: 18px 14px !important;
      gap: 16px !important;
      grid-template-columns: minmax(0, 1fr) !important;
    }

    .lead-form {
      padding: 14px !important;
      gap: 12px !important;
    }

    .lead-form button {
      width: 100% !important;
      max-width: none !important;
    }

    .lead-form label,
    .lead-form label span,
    .form-note,
    .section-copy p,
    .review-text,
    .video-sound-note {
      overflow-wrap: anywhere;
      word-break: normal;
    }

    .hero-media,
    .media-card,
    .media-card--xl {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      aspect-ratio: auto !important;
    }

    .hero-media img,
    .media-card img {
      width: 100% !important;
      height: auto !important;
      aspect-ratio: 4 / 3 !important;
      object-fit: cover !important;
    }

    .video-testimonial-card {
      padding: 14px !important;
      border-radius: 22px !important;
    }

    .video-shell {
      aspect-ratio: 1 / 1;
      border-radius: 18px !important;
      overflow: hidden !important;
      isolation: isolate;
      box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16) !important;
    }

    .testimonial-video {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      height: 100% !important;
      aspect-ratio: 1 / 1 !important;
      object-fit: cover !important;
      background: #0f172a;
      transform: none !important;
    }

    .video-sound-note {
      text-align: left !important;
      margin-top: 10px !important;
    }

    .mobile-cta {
      left: 12px !important;
      right: 12px !important;
      bottom: calc(12px + env(safe-area-inset-bottom)) !important;
      width: auto !important;
      max-width: none !important;
      min-height: 52px !important;
      opacity: 0;
      transform: translateY(16px);
      pointer-events: none;
      transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .mobile-cta.is-visible {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 390px) {
    .page {
      padding-left: 10px !important;
      padding-right: 10px !important;
    }

    .main-nav {
      gap: 8px 12px !important;
    }

    .main-nav a {
      font-size: 0.9rem !important;
    }
  }
}
/* iPhone rescue layer end */

/* Design comfort layer start */
:root {
  --surface-soft: #fcfbf7;
  --gold-line: rgba(194, 177, 90, 0.24);
  --gold-glow: rgba(194, 177, 90, 0.12);
  --card-shadow-soft: 0 20px 48px rgba(15, 23, 42, 0.08);
  --card-shadow-lift: 0 26px 56px rgba(15, 23, 42, 0.12);
}

body {
  background:
    radial-gradient(circle at top left, rgba(194, 177, 90, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(15, 23, 42, 0.05), transparent 20%),
    linear-gradient(180deg, #f7f8fa 0%, #f4f6f9 100%);
}

.page {
  max-width: 1180px;
}

.site-header {
  position: relative;
  padding: 18px 22px 22px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(227, 230, 235, 0.92);
  border-radius: 28px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(194, 177, 90, 0.15), rgba(194, 177, 90, 0.85), rgba(194, 177, 90, 0.15));
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--heading);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.section,
.section-alt {
  position: relative;
  overflow: hidden;
  border-color: rgba(227, 230, 235, 0.92);
  box-shadow: var(--card-shadow-soft);
}

.section::before,
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 177, 90, 0.55), transparent);
  opacity: 0.8;
}

.hero.section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 252, 0.94)),
    radial-gradient(circle at top right, rgba(194, 177, 90, 0.1), transparent 24%);
}

.hero-copy h1,
.section-copy h2,
.process-centered > .title,
.video-testimonial-copy .title,
.reviews-copy .title,
.form-copy .title {
  line-height: 0.96;
  text-wrap: balance;
}

.hero-sub,
.section-copy p,
.review-text,
.form-note,
.form-copy p,
.video-testimonial-copy p {
  color: #667085;
}

.eyebrow {
  color: var(--accent-2);
  letter-spacing: 0.18em;
}

.hero-media,
.media-card,
.media-card--xl,
.form-card,
.video-testimonial-card,
.review-card,
.process-card,
.benefit-card,
.highlight-card {
  box-shadow: var(--card-shadow-soft);
}

.hero-media,
.media-card,
.media-card--xl {
  border: 1px solid rgba(194, 177, 90, 0.16);
}

.form-card {
  position: relative;
  background: linear-gradient(180deg, #f7f8fb, #f2f5f8);
  border-color: rgba(227, 230, 235, 0.88);
}

.form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(194, 177, 90, 0.06), transparent 36%);
}

.form-copy,
.lead-form {
  position: relative;
  z-index: 1;
}

.form-copy .title {
  margin-bottom: 10px;
}

.form-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(194, 177, 90, 0.16);
}

.lead-form {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(227, 230, 235, 0.92);
}

.lead-form label span {
  font-weight: 600;
  color: #4b5563;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  background: #fbfcfd;
  border-color: rgba(210, 214, 220, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(194, 177, 90, 0.68);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(194, 177, 90, 0.12);
}

.lead-form button,
.mobile-cta,
.hero-actions .btn-primary,
.header-actions .btn-primary {
  letter-spacing: 0.03em;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.highlight-card,
.benefit-card,
.process-card,
.review-card {
  border-color: rgba(194, 177, 90, 0.18);
}

.highlight-card,
.benefit-card,
.process-card {
  background: linear-gradient(180deg, #ffffff, #fbfcfe);
}

.highlight-card {
  border-radius: 18px;
  padding: 16px 18px;
}

.highlight-card span {
  display: block;
  margin-top: 8px;
  color: #7b8794;
  font-size: 0.93rem;
  line-height: 1.5;
}

.benefit-card h3,
.process-card h3,
.review-name,
.google-mark {
  color: var(--heading);
}

.review-card {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.review-header {
  align-items: baseline;
}

.review-rating {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.video-testimonial-card {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: rgba(194, 177, 90, 0.18);
}

.video-testimonial-copy {
  gap: 12px;
}

.testimonial-anchor {
  color: var(--accent-2);
}

.site-footer {
  gap: 16px;
  padding-top: 18px;
}

.footer-links a {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(194, 177, 90, 0.22);
}

.footer-links a:hover {
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

@media (max-width: 600px) {
  .site-header {
    padding: calc(8px + env(safe-area-inset-top)) 14px 14px !important;
    margin-bottom: 14px;
    border-radius: 22px;
  }

  .hero.section,
  .section,
  .section-alt {
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  }

  .form-card,
  .lead-form,
  .video-testimonial-card,
  .review-card {
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.07);
  }

  .hero-copy h1,
  .section-copy h2,
  .process-centered > .title,
  .video-testimonial-copy .title,
  .reviews-copy .title,
  .form-copy .title {
    line-height: 0.98;
  }

  .review-card {
    padding: 18px;
  }

  .review-header {
    gap: 8px;
  }

  .review-rating {
    font-size: 0.84rem;
  }

  .highlight-card,
  .benefit-card,
  .process-card {
    border-radius: 18px;
  }

  .highlight-card {
    padding: 14px 16px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .footer-links a {
    display: inline-flex;
    width: auto !important;
    max-width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
    align-self: center;
  }
}
/* Design comfort layer end */

/* iPhone consent readability hard override */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 600px) {
    .lead-form .form-consent {
      display: flex !important;
      align-items: flex-start !important;
      gap: 12px !important;
      width: 100% !important;
      max-width: 100% !important;
      margin-top: 10px !important;
      font-size: 0.98rem !important;
      line-height: 1.45 !important;
      color: var(--heading) !important;
    }

    .lead-form .form-consent input,
    .lead-form .form-consent input[type="checkbox"] {
      flex: 0 0 20px !important;
      width: 20px !important;
      height: 20px !important;
      min-width: 20px !important;
      min-height: 20px !important;
      margin: 2px 0 0 !important;
      align-self: flex-start !important;
    }

    .lead-form .form-consent span {
      display: block !important;
      flex: 1 1 auto !important;
      width: auto !important;
      max-width: none !important;
      min-width: 0 !important;
      padding-top: 0 !important;
      white-space: normal !important;
      overflow-wrap: anywhere !important;
      word-break: normal !important;
      text-wrap: pretty;
    }
  }
}

/* Mobile consent readability nuclear override */
@media (max-width: 600px) {
  .lead-form .form-consent {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 24px !important;
    margin-top: 10px !important;
    padding: 0 0 0 34px !important;
    font-size: 1rem !important;
    line-height: 1.45 !important;
    color: var(--heading) !important;
  }

  .lead-form .form-consent input,
  .lead-form .form-consent input[type="checkbox"] {
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
  }

  .lead-form .form-consent span {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
}
