/* DMH Results — estilos compartidos para ES/EN */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #fbfbfb;
  --surface: #eeeae5;
  --surface-strong: #ffffff;
  --text: #111111;
  --text-strong: #050505;
  --muted: #5b5b5b;
  --muted-light: #a3a3a3;
  --accent: #f59e0b;
  --accent-strong: #d97706;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --border: rgba(17, 17, 17, 0.12);
  --border-strong: rgba(17, 17, 17, 0.2);
  --dark: #111111;
  --dark-muted: #d6d6d6;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 48px 19px rgba(0, 0, 0, 0.01), 0 27px 16px rgba(0, 0, 0, 0.05), 0 12px 12px rgba(0, 0, 0, 0.09), 0 3px 7px rgba(0, 0, 0, 0.1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

img,
svg,
video {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

::selection {
  background: rgba(245, 158, 11, 0.32);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--border);
  background: rgba(251, 251, 251, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-strong);
  text-decoration: none;
}

.brand:hover .brand-name {
  color: var(--text);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.18s ease;
}

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.language-switcher a,
.language-switcher span {
  position: relative;
  text-decoration: none;
}

.language-switcher a {
  opacity: 0.62;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.language-switcher a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.language-switcher a:hover {
  color: var(--text);
  opacity: 1;
}

.language-switcher a:hover::after {
  transform: scaleX(1);
}

.language-switcher .is-active {
  color: var(--text-strong);
  font-weight: 700;
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  background: #111111;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #2b2b2b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.22);
}

.btn-outline {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
  transform: translateY(-2px);
}

.btn-small {
  min-height: 42px;
  padding: 11px 17px;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
}

.hero::before {
  content: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text-strong);
  font-family: var(--font-display);
}

.hero h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: capitalize;
}

.hero-subtitle {
  max-width: 58ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.video-shell {
  min-width: 0;
}

.video-frame-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 4px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-frame-label span:last-child {
  color: var(--muted);
}

.video-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #111111;
  box-shadow: var(--shadow-soft);
}

.video-player video {
  display: block;
  width: 100%;
  height: 100%;
  background: #111111;
  object-fit: cover;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  width: 88px;
  height: 88px;
  margin: auto;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.92);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 22px 54px rgba(17, 17, 17, 0.32);
  transition: opacity 0.2s ease, transform 0.18s ease, background 0.18s ease;
}

.video-play:hover,
.video-play:focus-visible {
  background: #000000;
  transform: scale(1.05);
}

.video-play svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
}

.video-player.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}

.video-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto auto auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  padding: 9px 12px;
  color: #ffffff;
  opacity: 0;
  transform: translateY(8px);
  backdrop-filter: blur(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-player:hover .video-controls,
.video-player:focus-within .video-controls,
.video-player.has-played.is-paused .video-controls {
  opacity: 1;
  transform: translateY(0);
}

.icon-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(245, 158, 11, 0.24);
  color: #fbbf24;
  transform: translateY(-1px);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.icon-pause,
.icon-volume-off {
  display: none;
}

.video-player.is-playing .icon-play {
  display: none;
}

.video-player.is-playing .icon-pause {
  display: block;
}

.video-player.is-muted .icon-volume-on {
  display: none;
}

.video-player.is-muted .icon-volume-off {
  display: block;
}

.video-progress {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.video-progress-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  border-radius: inherit;
  background: #ffffff;
}

.video-time {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.video-volume {
  width: 84px;
  accent-color: #ffffff;
  cursor: pointer;
}

.video-error {
  position: absolute;
  right: 20px;
  bottom: 78px;
  left: 20px;
  margin: 0;
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.84);
  color: #ffffff;
  padding: 12px 14px;
  text-align: center;
}

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-strong);
  padding: 36px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.trust-item {
  border-left: 3px solid rgba(17, 17, 17, 0.12);
  padding-left: 18px;
}

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.final-cta {
  border-top: 1px solid var(--border);
  padding: clamp(56px, 7vw, 88px) 0;
  text-align: center;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: capitalize;
}

.final-cta p {
  max-width: 62ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.final-cta .btn {
  margin-top: 30px;
}

.site-footer {
  background: var(--dark);
  color: #f5f5f5;
  padding: 64px 0 30px;
}

.brand--footer .brand-name {
  color: #ffffff;
}

.brand--footer:hover .brand-name {
  color: #ffffff;
  opacity: 0.85;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-tag {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.footer-contact,
.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact a,
.footer-links a {
  color: var(--dark-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.footer-label {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  color: var(--muted-light);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.22);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1ebe5b;
  color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 24px 48px rgba(17, 17, 17, 0.26);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.back-to-top {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 80;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.18s ease, color 0.18s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #111111;
  color: #ffffff;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.legal-main {
  padding: clamp(72px, 9vw, 118px) 0;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 42px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.legal-hero p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content {
  max-width: 860px;
  border-top: 1px solid var(--border);
}

.legal-block {
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}

.legal-block h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.legal-block p,
.legal-block li {
  color: var(--muted);
}

.legal-block p {
  margin: 0 0 12px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  margin: 0;
  padding-left: 22px;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
  text-align: center;
}

.not-found-card {
  width: min(720px, 100%);
}

.not-found-logo {
  width: 58px;
  height: 58px;
  margin-inline: auto;
  border-radius: 16px;
  background: var(--accent);
  object-fit: contain;
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.26);
}

.not-found-code {
  margin: 26px 0 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.not-found h1 {
  margin: 18px 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.not-found p {
  max-width: 56ch;
  margin: 16px auto 0;
  color: var(--muted);
}

.not-found .btn {
  margin-top: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease var(--delay, 0s), transform 0.72s ease var(--delay, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

@media (max-width: 980px) {
  .header-actions .btn {
    display: none;
  }

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

  .hero h1 {
    max-width: 13ch;
  }

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

@media (max-width: 680px) {
  .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .hero {
    padding-top: 58px;
  }

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

  .video-controls {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: auto minmax(72px, 1fr) auto;
    gap: 6px;
    padding: 8px;
  }

  .video-time,
  .video-volume,
  [data-video-mute] {
    display: none;
  }

  .video-play {
    width: 78px;
    height: 78px;
  }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .back-to-top {
    bottom: 16px;
    left: 16px;
  }
}

/* --- Added for the Twilio verification subdomain (service/) --- */

.section {
  padding: clamp(56px, 7vw, 88px) 0;
}

.section-head {
  max-width: 68ch;
  margin: 0 0 32px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-strong);
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.sms-consent {
  max-width: 72ch;
  margin-top: 8px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.sms-consent h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
}

.sms-consent p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.sms-consent a {
  color: var(--accent-strong);
  text-decoration: underline;
}
