/* Fuentes alojadas en el sitio (mismas familias y pesos que Google Fonts) */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url('../fonts/dm-sans-latin.woff') format('woff'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/playfair-display-latin.woff') format('woff'); }
/* Clínica Dental Litoral: hoja de estilos principal */
    :root {
      --sand: #e1d5bf;
      --sand-dark: #cbb99b;
      --blush: #f7eeea;
      --blush-deep: #efded6;
      --clay: #b27c63;
      --clay-dark: #93614d;
      --ink: #282522;
      --muted: #746c66;
      --paper: #fffdfb;
      --line: rgba(83, 61, 48, .14);
      --shadow: 0 18px 50px rgba(93, 68, 54, .09);
      --radius-lg: 28px;
      --radius-md: 18px;
      --max: 1160px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 92px; }
    body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
    img { max-width: 100%; display: block; }
    a { color: inherit; }
    button, input, select, textarea { font: inherit; }
    .container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
    .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--clay-dark); text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 700; }
    .eyebrow::before { content: ''; width: 23px; height: 1px; background: currentColor; }
    h1, h2, h3, p { margin-top: 0; }
    h1, h2, .serif { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; letter-spacing: -.035em; }
    h1 { font-size: clamp(2.7rem, 8vw, 5.4rem); line-height: 1.02; margin: 19px 0 22px; max-width: 750px; }
    h1 em { color: var(--clay); font-weight: 500; }
    h2 { font-size: clamp(2.05rem, 5vw, 3.35rem); line-height: 1.12; margin-bottom: 16px; }
    h3 { line-height: 1.25; }
    .lead { max-width: 580px; font-size: clamp(1rem, 2vw, 1.12rem); color: var(--muted); }
    .section { padding: 84px 0; }
    .section-head { max-width: 720px; margin-bottom: 35px; }
    .section-head p { color: var(--muted); max-width: 610px; margin-bottom: 0; }
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; padding: 14px 22px; text-decoration: none; font-weight: 700; font-size: .93rem; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; cursor: pointer; }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { color: white; background: var(--clay); box-shadow: 0 9px 22px rgba(178, 124, 99, .22); }
    .btn-primary:hover { background: var(--clay-dark); }
    .btn-secondary { color: var(--ink); border-color: rgba(40,37,34,.22); background: rgba(255,255,255,.5); }
    .btn-secondary:hover { background: white; }
    .btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
    .topbar { background: var(--ink); color: #fffaf5; font-size: .77rem; }
    .topbar-inner { min-height: 35px; display: flex; align-items: center; justify-content: center; gap: 22px; text-align: center; }
    .topbar a { text-decoration: none; }
    .topbar-item { display: inline-flex; align-items: center; gap: 7px; }
    .topbar svg { width: 14px; height: 14px; color: #dfb29b; }
    .site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,253,251,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(83,61,48,.09); }
    .nav-wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: inline-flex; align-items: center; min-width: 0; width: 112px; text-decoration: none; }
    .brand img { display:block; width: 112px; height: 66px; object-fit: contain; }
    .brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
    .brand-copy strong { font-size: 1rem; letter-spacing: .13em; }
    .brand-copy span { font-size: .66rem; color: var(--muted); letter-spacing: .09em; text-transform: uppercase; margin-top: 5px; }
    .nav-links { display: flex; align-items: center; gap: clamp(15px, 2.3vw, 30px); }
    .nav-links a { text-decoration: none; font-size: .88rem; font-weight: 600; color: #514842; transition: color .2s ease; }
    .nav-links a:hover { color: var(--clay-dark); }
    .nav-links .nav-cta { background: var(--clay); color: white; padding: 12px 18px; border-radius: 999px; }
    .nav-links .nav-cta:hover { background: var(--clay-dark); color: white; }
    .menu-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 50%; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); }
    .menu-toggle svg { width: 22px; height: 22px; }
    .hero { position: relative; overflow: hidden; background: var(--blush); }
    .hero::before { content: ''; position: absolute; width: 580px; height: 580px; border-radius: 50%; right: -210px; top: -270px; background: rgba(225,213,191,.55); }
    .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); gap: clamp(30px, 5vw, 72px); align-items: center; padding-top: 64px; padding-bottom: 75px; }
    .hero-copy { padding: 18px 0; }
    .hero-copy .lead { margin-bottom: 28px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .hero-note { margin-top: 24px; display: flex; align-items: center; gap: 10px; color: #6e625a; font-size: .84rem; }
    .hero-note svg { color: var(--clay); width: 19px; height: 19px; }
    .hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
    .hero-blob { position: absolute; width: min(100%, 475px); aspect-ratio: 1 / 1.04; background: var(--sand); border-radius: 46% 54% 53% 47% / 43% 39% 61% 57%; transform: rotate(-4deg); }
    .hero-orbit { position: absolute; width: 86%; aspect-ratio: 1; border: 1px solid rgba(146,97,77,.27); border-radius: 50%; }
    .tooth-card { position: relative; z-index: 2; width: min(78%, 330px); aspect-ratio: 1 / 1.1; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #fffdfb 0%, #f6e9e1 100%); border-radius: 47% 53% 40% 60% / 50% 43% 57% 50%; box-shadow: var(--shadow); border: 8px solid rgba(255,253,251,.55); }
    .tooth-card svg { width: 66%; max-width: 240px; height: auto; overflow: visible; }

    .tooth-stage { position: relative; z-index: 5; width: min(96%, 500px); height: 500px; display: grid; place-items: center; perspective: 900px; }
    .tooth-3d { position: relative; width: 300px; height: 340px; transform-style: preserve-3d; animation: tooth-spin 14s linear infinite; }
    .tooth-3d svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
    .tooth-layer { position: absolute; inset: 0; }
    .tooth-stage:hover .tooth-3d { animation-play-state: paused; }
    @keyframes tooth-spin { from { transform: rotateX(6deg) rotateY(0deg); } to { transform: rotateX(6deg) rotateY(360deg); } }
    .orbit { position: absolute; inset: 0; pointer-events: none; }
    .orbit-card { position: absolute; left: 50%; top: 50%; transition: none; will-change: transform; pointer-events: auto; max-width: 230px; }
    @media (prefers-reduced-motion: reduce) { .tooth-3d { animation: none; } }
    .float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; max-width: 210px; padding: 14px 16px; border-radius: 15px; background: white; box-shadow: 0 12px 30px rgba(80,56,43,.12); }
    .float-card strong { display: block; font-size: .85rem; line-height: 1.2; }
    .float-card small { display: block; color: var(--muted); font-size: .73rem; margin-top: 3px; }
    .float-icon { width: 38px; height: 38px; display: grid; place-items: center; background: var(--blush); border-radius: 12px; flex-shrink: 0; color: var(--clay-dark); }
    .float-icon svg { width: 20px; height: 20px; }
    .float-top { top: 19%; right: -1%; }
    .float-bottom { bottom: 13%; left: -3%; }
    .trust-strip { background: white; border-bottom: 1px solid var(--line); }
    .trust-grid { display: grid; grid-template-columns: repeat(3,1fr); padding: 23px 0; gap: 18px; }
    .trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
    .trust-item + .trust-item { border-left: 1px solid var(--line); }
    .trust-icon { color: var(--clay); width: 25px; height: 25px; flex-shrink: 0; }
    .trust-item strong { display: block; font-size: .89rem; }
    .trust-item span { display: block; color: var(--muted); font-size: .75rem; }
    .services-section { background: var(--paper); }
    .carousel-wrap { position: relative; }
    .service-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 4px 16px; margin: -8px -4px -16px; outline: none; }
    .service-grid::-webkit-scrollbar { display: none; }
    .service-grid:focus-visible { box-shadow: 0 0 0 3px rgba(178,124,99,.25); border-radius: var(--radius-md); }
    .service-card { scroll-snap-align: start; }
    .car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .2s ease, opacity .2s ease; }
    .car-btn:hover { background: var(--blush); }
    .car-btn:disabled { opacity: .35; cursor: default; }
    .car-btn svg { width: 20px; height: 20px; }
    .car-prev { left: -20px; }
    .car-next { right: -20px; }
    .car-dots { display: none; }
    .service-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 250px; padding: 27px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
    .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(178,124,99,.42); }
    .service-icon { width: 51px; height: 51px; display: grid; place-items: center; background: var(--blush); color: var(--clay-dark); border-radius: 16px; margin-bottom: 21px; }
    .service-icon svg { width: 25px; height: 25px; }
    .service-card h3 { font-size: 1.11rem; margin-bottom: 9px; }
    .service-card p { color: var(--muted); font-size: .89rem; margin-bottom: 19px; }
    .text-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--clay-dark); font-size: .86rem; font-weight: 700; }
    .text-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
    .text-link:hover svg { transform: translateX(4px); }
    .featured-service { background: var(--blush); padding: 72px 0; overflow: hidden; }
    .featured-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(32px, 6vw, 85px); }
    .endo-image-wrap { position: relative; padding: 18px; border: 1px solid rgba(178,124,99,.38); border-radius: 44% 56% 48% 52% / 44% 40% 60% 56%; background: rgba(255,255,255,.53); }
    .endo-image-wrap::before { content: ''; position: absolute; inset: 7%; border: 1px solid rgba(178,124,99,.22); border-radius: inherit; pointer-events: none; }
    .endo-image-wrap img { position: relative; z-index: 1; width: 100%; border-radius: 43% 57% 47% 53% / 44% 39% 61% 56%; aspect-ratio: 1 / 1; object-fit: cover; }
    .endo-copy p { color: var(--muted); }
    .benefit-list { padding: 0; margin: 25px 0 30px; list-style: none; display: grid; gap: 14px; }
    .benefit-list li { display: flex; align-items: flex-start; gap: 11px; font-size: .93rem; }
    .benefit-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--clay); margin-top: 2px; }
    .team-section { background: #fff; }
    .team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
    .team-card { text-align: center; padding: 18px 16px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fffdfb; }
    .team-photo { width: min(100%, 174px); aspect-ratio: 1 / 1; height: auto; object-fit: cover; object-position: center; margin: 0 auto 17px; border: 4px solid var(--blush); border-radius: 46% 46% 19px 19px; background: var(--blush); box-shadow: 0 8px 22px rgba(93,68,54,.10); }
    .team-card { transition: transform .22s ease, box-shadow .22s ease; }
    .team-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(93,68,54,.08); }
    .team-card h3 { font-size: 1rem; margin-bottom: 4px; }
    .team-card p { font-size: .81rem; color: var(--muted); margin-bottom: 0; }
    .team-note { display: flex; align-items: flex-start; gap: 9px; max-width: 780px; margin-top: 20px; color: var(--muted); font-size: .79rem; }
    .team-note svg { width: 17px; height: 17px; color: var(--clay); flex-shrink: 0; margin-top: 2px; }
    .appointment-section { background: var(--sand); position: relative; overflow: hidden; }
    .appointment-section::after { content: ''; position: absolute; width: 400px; height: 400px; right: -160px; bottom: -220px; border: 1px solid rgba(146,97,77,.23); border-radius: 50%; }
    .appointment-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px,6vw,78px); align-items: start; }
    .appointment-copy { padding-top: 10px; }
    .appointment-copy p { color: #5f554c; }
    .appointment-points { margin: 27px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
    .appointment-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
    .appointment-points svg { width: 19px; height: 19px; color: var(--clay-dark); flex-shrink: 0; margin-top: 3px; }
    .booking-card { background: white; border: 1px solid rgba(83,61,48,.12); box-shadow: 0 22px 60px rgba(93,68,54,.12); border-radius: var(--radius-lg); padding: clamp(22px,4vw,36px); }
    .booking-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.65rem; letter-spacing: -.02em; margin-bottom: 6px; }
    .booking-card > p { font-size: .86rem; color: var(--muted); margin-bottom: 23px; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .field { display: flex; flex-direction: column; gap: 7px; }
    .field.full { grid-column: 1/-1; }
    .field label { font-size: .82rem; font-weight: 700; }
    .field input, .field select, .field textarea { border: 1px solid #dfd8d2; background: #fffdfb; color: var(--ink); border-radius: 11px; width: 100%; padding: 12px 13px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
    .field textarea { resize: vertical; min-height: 90px; }
    .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(178,124,99,.13); }
    .pref-field { border: 0; padding: 0; margin: 0; min-width: 0; }
    .pref-field legend { font-size: .82rem; font-weight: 700; padding: 0; margin-bottom: 7px; }
    .pref-options { display: flex; gap: 10px; }
    .pref-chip { position: relative; cursor: pointer; }
    .pref-chip input { position: absolute; opacity: 0; pointer-events: none; }
    .pref-chip span { display: inline-block; padding: 11px 22px; border: 1px solid #dfd8d2; border-radius: 999px; background: #fffdfb; color: var(--ink); font-size: .9rem; font-weight: 600; transition: background .2s ease, border-color .2s ease, color .2s ease; }
    .pref-chip:hover span { border-color: var(--clay); }
    .pref-chip input:checked + span { background: var(--clay); border-color: var(--clay); color: #fff; }
    .pref-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(178,124,99,.25); }
    .form-submit { width: 100%; margin-top: 19px; }
    .form-fineprint { color: var(--muted); font-size: .73rem; margin: 12px 0 0; text-align: center; }
    .fineprint-line { display: block; }
    .location-section { background: var(--paper); }
    .location-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: stretch; }
    .location-copy { padding: 16px 0; }
    .location-copy .lead { margin-bottom: 25px; }
    .info-row { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); }
    .info-row:last-of-type { border-bottom: 0; }
    .info-icon { width: 43px; height: 43px; flex-shrink: 0; display: grid; place-items: center; background: var(--blush); color: var(--clay-dark); border-radius: 13px; }
    .info-icon svg { width: 21px; height: 21px; }
    .info-row strong { display: block; font-size: .9rem; margin-bottom: 3px; }
    .info-row span, .info-row a { color: var(--muted); font-size: .86rem; text-decoration: none; }
    .location-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
    .map-card { overflow: hidden; min-height: 420px; border-radius: var(--radius-lg); background: var(--blush); border: 1px solid var(--line); box-shadow: var(--shadow); }
    .map-card iframe { width: 100%; height: 100%; min-height: 420px; display: block; border: 0; }
    .closing-cta { padding: 65px 0; background: var(--blush); }
    .closing-card { text-align: center; padding: 48px 25px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
    .closing-card h2 { max-width: 650px; margin: 12px auto 13px; }
    .closing-card p { max-width: 590px; margin: 0 auto 24px; color: var(--muted); }
    .site-footer { background: var(--ink); color: #fff9f4; padding: 0 0 22px; border-top: 1px solid rgba(178,124,99,.7); }
    .footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,249,244,.16); }
    .footer-brand { display: flex; align-items: center; gap: 14px; }
    .footer-brand img { width: 62px; height: 62px; object-fit: contain; background: var(--sand); border-radius: 50%; }
    .footer-brand strong { display: block; letter-spacing: .12em; }
    .footer-brand span { font-size: .78rem; color: #d2c5bc; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
    .footer-links a { color: #f1e6de; text-decoration: none; font-size: .85rem; }
    .footer-bottom { display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 20px; color: #cbbdb3; font-size: .75rem; }
    .footer-bottom p { margin: 0; }
    .whatsapp-float { position: fixed; z-index: 35; bottom: 22px; right: 20px; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; padding: 13px 19px; color: white; background: #267d53; text-decoration: none; font-size: .85rem; font-weight: 700; box-shadow: 0 8px 25px rgba(24,80,52,.26); transition: transform .2s ease, background .2s ease; }
    .whatsapp-float:hover { transform: translateY(-3px); background: #1f6e48; }
    .whatsapp-float svg { width: 21px; height: 21px; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
    @media (max-width: 980px) {
      .nav-wrap { height: 78px; }
      .nav-links { gap: 14px; }
      .nav-links a { font-size: .81rem; }
      .brand img { width: 58px; height: 58px; }
      .hero-grid { grid-template-columns: minmax(0,1.02fr) minmax(300px,.98fr); gap: 20px; }
      .hero-visual { min-height: 390px; }
      .float-top { right: 0; }
      .float-bottom { left: 0; }
      .service-grid { grid-auto-columns: calc((100% - 18px) / 2); }
      .team-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 740px) {
      .container { width: min(var(--max), calc(100% - 32px)); }
      .topbar-inner { min-height: 34px; gap: 0; }
      .topbar-item:nth-child(2) { display: none; }
      .nav-wrap { height: 72px; }
      .brand { min-width: 0; width: 100px; }
      .brand img { width: 100px; height: 62px; }
      .brand-copy strong { font-size: .9rem; }
      .brand-copy span { font-size: .58rem; }
      .menu-toggle { display: inline-flex; flex-shrink: 0; }
      .nav-links { display: none; position: absolute; left: 0; right: 0; top: 71px; padding: 15px 20px 22px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(40,37,34,.08); }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 13px 5px; font-size: .95rem; }
      .nav-links .nav-cta { text-align: center; margin-top: 8px; padding: 13px; }
      .hero-grid { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 37px; gap: 5px; }
      .hero-copy { padding: 0; }
      h1 { font-size: clamp(2.75rem, 13vw, 4.3rem); margin: 14px 0 18px; }
      .hero-copy .lead { font-size: 1rem; margin-bottom: 23px; }
      .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
      .hero-actions .btn { width: 100%; }
      .hero-note { margin-top: 18px; font-size: .79rem; }
      .hero-visual { min-height: 320px; margin: 0 -5px; }
      .hero-blob { width: min(78%, 340px); }
      .hero-orbit { width: min(83%, 345px); }
      .tooth-card { width: min(62%, 245px); border-width: 6px; }
      .float-card { padding: 10px 12px; max-width: 178px; gap: 9px; }
      .float-card strong { font-size: .77rem; }
      .float-card small { font-size: .66rem; }
      .float-icon { width: 32px; height: 32px; border-radius: 10px; }
      .float-icon svg { width: 17px; height: 17px; }
      .float-top { top: 13%; right: -1%; }
      .float-bottom { bottom: 8%; left: -1%; }
      .trust-strip { display: none; }
      .trust-grid { grid-template-columns: 1fr; padding: 12px 0; gap: 0; }
      .trust-item { justify-content: flex-start; padding: 12px 7px; }
      .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
      .section { padding: 64px 0; }
      .section-head { margin-bottom: 27px; }
      .service-grid { grid-auto-columns: 84%; gap: 12px; padding: 6px 2px 12px; margin: -6px -2px -12px; }
      .car-btn { display: none; }
      .car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
      .car-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #d8ccc4; cursor: pointer; transition: background .2s ease, transform .2s ease; }
      .car-dots button[aria-current="true"] { background: var(--clay); transform: scale(1.2); }
      .service-card { min-height: 0; padding: 22px; display: grid; grid-template-columns: 52px 1fr; column-gap: 15px; align-items: start; }
      .service-icon { grid-row: span 3; margin-bottom: 0; }
      .service-card h3 { margin: 2px 0 7px; }
      .service-card p { margin-bottom: 12px; }
      .text-link { grid-column: 2; }
      .featured-service { padding: 57px 0; }
      .featured-grid { grid-template-columns: 1fr; gap: 32px; }
      .endo-image-wrap { width: min(88%, 360px); margin-inline: auto; }
      .team-grid { grid-template-columns: repeat(2,1fr); gap: 11px; }
      .team-card { padding: 16px 8px 19px; }
      .team-photo { width: min(100%, 126px); }
      .team-card h3 { font-size: .93rem; }
      .team-card p { font-size: .75rem; }
      .appointment-grid { grid-template-columns: 1fr; gap: 28px; }
      .booking-card { padding: 24px 18px; }
      .form-grid { grid-template-columns: 1fr; gap: 13px; }
      .field.full { grid-column: auto; }
      .location-grid { grid-template-columns: 1fr; gap: 22px; }
      .location-copy { padding-top: 0; }
      .map-card, .map-card iframe { min-height: 350px; }
      .closing-cta { padding: 48px 0; }
      .closing-card { padding: 38px 20px; }
          .footer-top { align-items: flex-start; flex-direction: column; }
      .footer-links { gap: 14px 20px; }
      .footer-bottom { align-items: flex-start; flex-direction: column; }
      .whatsapp-float { width: 56px; height: 56px; min-height: 0; padding: 0; right: 14px; bottom: 14px; }
      .whatsapp-float span { display: none; }
    }
      .tooth-stage { height: 300px; transform: scale(.82); }
    @media (max-width: 360px) {
      .brand-copy span { display: none; }
      .hero-visual { min-height: 285px; }
      .float-card { max-width: 152px; padding: 9px; }
      .team-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    }
    .firma-te { background: #161415; padding: 14px 16px; text-align: center; }
    .firma-te a { display: inline-flex; align-items: center; gap: 10px; color: #F3E9DA; text-decoration: none; font: 500 14px/1 system-ui, sans-serif; }
    .firma-te img { height: 28px; width: auto; opacity: 0.9; }
    .firma-te a:hover img, .firma-te a:focus-visible img { opacity: 1; }
    .firma-te a:focus-visible { outline: 2px solid #9FBD2B; outline-offset: 4px; }
    @media (max-width: 600px) { .firma-te img { height: 24px; } }
    .tooth-layer.tz-0 { transform: translateZ(-8.4px); }
    .tooth-layer.tz-1 { transform: translateZ(-7.2px); }
    .tooth-layer.tz-2 { transform: translateZ(-6.0px); }
    .tooth-layer.tz-3 { transform: translateZ(-4.8px); }
    .tooth-layer.tz-4 { transform: translateZ(-3.6px); }
    .tooth-layer.tz-5 { transform: translateZ(-2.4px); }
    .tooth-layer.tz-6 { transform: translateZ(-1.2px); }
    .tooth-layer.tz-7 { transform: translateZ(0.0px); }
    .tooth-layer.tz-8 { transform: translateZ(1.2px); }
    .tooth-layer.tz-9 { transform: translateZ(2.4px); }
    .tooth-layer.tz-10 { transform: translateZ(3.6px); }
    .tooth-layer.tz-11 { transform: translateZ(4.8px); }
    .tooth-layer.tz-12 { transform: translateZ(6.0px); }
    .tooth-layer.tz-13 { transform: translateZ(7.2px); }
    .tooth-layer.tz-14 { transform: translateZ(8.4px); }

    /* ---- Seguridad y formulario ---- */
    .footer-bottom a { color: #f1e6de; }
    .booking-card { position: relative; }
    .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
    .consent-label { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; color: var(--muted); cursor: pointer; }
    .consent-label input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--clay); flex-shrink: 0; }
    .consent-label a { color: var(--clay-dark); }
    .form-status { color: #a0422e; font-size: .83rem; margin: 10px 0 0; }
    .form-status:empty { display: none; }
    .privacy { max-width: 760px; }
    .privacy h2 { font-size: 1.5rem; margin-top: 34px; }
    .privacy p { color: #514842; }
    .map-facade { min-height: 420px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center; }
    .map-facade p { color: var(--muted); font-size: .86rem; margin: 0; max-width: 300px; }
    .map-facade-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--clay-dark); box-shadow: 0 8px 22px rgba(93,68,54,.10); }
    .map-facade-icon svg { width: 26px; height: 26px; }

@media (max-width: 740px) { .map-facade { min-height: 350px; } }

/* Nota de proyecto conceptual (versión de portfolio) */
.demo-note{margin-top:6px;font-size:.85em;opacity:.85}
