: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;
    }
  }
}
