:root {
  --teal: #00B3A6;
  --soft-teal: #AEE5E0;
  --deep: #005B55;
  --gold: #D4AF37;
  --bone: #F7F7F7;
  --ink: #082e2b;
}
html { scroll-behavior: smooth; }
body { font-family: "Open Sans", sans-serif; color: var(--ink); }
h1,h2,h3,h4,button,a { font-family: "Montserrat", sans-serif; }
.nav-glass { background: rgba(1, 34, 32, .8); backdrop-filter: blur(16px); }
.hero-overlay { background: linear-gradient(90deg, rgba(0,46,43,.95) 0%, rgba(0,91,85,.84) 42%, rgba(0,91,85,.36) 100%); }
#inicio .hero-trust-accent { border-color: rgba(212,175,55,.92); background: rgba(212,175,55,.16); box-shadow: 0 0 0 1px rgba(212,175,55,.18); }
#inicio .hero-book-accent { border: 1px solid rgba(212,175,55,.95); box-shadow: 0 0 0 4px rgba(212,175,55,.16), 0 0 24px rgba(212,175,55,.28); }
#inicio .hero-image-accent { position: absolute; z-index: 1; right: 8%; top: 28%; width: 118px; height: 118px; border: 2px solid rgba(212,175,55,.7); border-radius: 9999px; box-shadow: 0 0 0 10px rgba(212,175,55,.08), 0 0 34px rgba(212,175,55,.28); transform: rotate(18deg); }
.nav-link { color: rgba(255,255,255,.84); transition: color .2s ease; }
.nav-link:hover, .nav-link:focus-visible { color: #fff; }
.menu-toggle { display: none !important; }
.mobile-menu { display: none; }
@media (max-width: 900px) {
  .desktop-nav { display: none !important; }
  [data-template-id="nav-appointment"] { display: none !important; }
  .menu-toggle { display: inline-flex !important; position: relative; z-index: 70; min-width: 48px; min-height: 48px; flex-shrink: 0; }
  .mobile-menu { display: none; z-index: 65; max-width: calc(100vw - 2rem); overflow-x: hidden; }
  .mobile-menu.open { display: block; }
  [data-template-id="mobile-nav-appointment"] { display: inline-flex !important; width: 100%; justify-content: center; margin-top: .5rem; }
}
.gold-line { width: 42px; height: 2px; background: var(--gold); display: inline-block; }
.visual-button { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: default; }
.visual-button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.14); }
.visual-button:focus-visible, .faq-trigger:focus-visible, .filter-btn:focus-visible, .nav-link:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}
.service-ticker { overflow: hidden; border-top: 1px solid rgba(212,175,55,.62); border-bottom-color: rgba(212,175,55,.72); box-shadow: inset 0 1px 0 rgba(212,175,55,.18), inset 0 -1px 0 rgba(212,175,55,.18); }
.service-ticker .service-ticker-separator { color: #D4AF37; text-shadow: 0 0 8px rgba(212,175,55,.36); }
.service-ticker [data-lucide="sparkle"] { color: #D4AF37 !important; filter: drop-shadow(0 0 4px rgba(212,175,55,.35)); }
.service-ticker-track { display: flex; width: max-content; animation: ticker-loop 32s linear infinite; }
.service-ticker-copy { display: flex; flex-shrink: 0; align-items: center; gap: 1.75rem; padding-right: 1.75rem; }
.service-ticker-separator { color: var(--gold); }
@keyframes ticker-loop { from { transform: translate(0); } to { transform: translate(-33.333333%); } }
@media (prefers-reduced-motion: reduce) { .service-ticker-track { animation-play-state: paused; } }
.case-panel { display: none; }
.case-panel.active { display: grid; animation: rise .35s ease both; }
.filter-btn.active { background: var(--teal); color: white; border-color: var(--teal); }
.specialty-carousel-shell { position: relative; display: flex; align-items: center; gap: .9rem; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%); }
.specialty-carousel { display: flex; width: max-content; gap: 0; white-space: nowrap; overflow: visible; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; padding: .2rem .2rem 1rem; min-width: 0; will-change: transform; transform: translate3d(0, 0, 0); }
.specialty-carousel-group { display: flex; flex-shrink: 0; gap: 0; }
.specialty-carousel:hover { cursor: default; }
.specialty-carousel::-webkit-scrollbar { display: none; }
.specialty-carousel-shell .specialty-carousel-arrow { display: none !important; }
.specialty-card { position: relative; flex: 0 0 auto; width: 360px; height: 545px; border: 0; padding: 0; overflow: hidden; scroll-snap-align: start; cursor: pointer; background: #000; box-shadow: 0 22px 44px rgba(8,46,43,.12); transition: transform .2s ease, box-shadow .2s ease; }
.specialty-card:hover, .specialty-card:focus-visible { transform: translateY(-4px); box-shadow: 0 30px 50px rgba(8,46,43,.18); }
.specialty-card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.08); }
.specialty-card::before { content: ""; position: absolute; inset: 0; background: rgba(0, 179, 166, 0.18); transition: background .2s ease; }
.specialty-card:hover::before, .specialty-card:focus-visible::before { background: rgba(0, 179, 166, 0.56); }
.specialty-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1.25rem; background: rgba(0, 179, 166, 0.5); z-index: 1; opacity: 0; transition: opacity .2s ease; }
.specialty-card:hover .specialty-overlay, .specialty-card:focus-visible .specialty-overlay { opacity: 1; }
.specialty-overlay span { display: inline-block; color: white; font-size: 24px; font-weight: 800; letter-spacing: -0.06em; line-height: 1; text-align: center; text-transform: none; text-shadow: 0 4px 18px rgba(0,0,0,.18); }
.specialty-carousel-arrow { display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border: 1px solid rgba(8,46,43,.14); border-radius: 999px; background: rgba(255,255,255,.9); color: var(--deep); font-size: 2rem; line-height: 1; box-shadow: 0 10px 22px rgba(8,46,43,.08); cursor: pointer; }
.specialty-carousel-arrow:hover { background: white; }
.specialty-modal-card { max-width: 860px; }
.specialty-detail { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem; align-items: center; }
.specialty-detail-image { width: 100%; height: 340px; object-fit: cover; border-radius: 24px; background: #f2f5f5; }
.specialty-detail-content { padding-right: 3.25rem; }
.specialty-detail-content h3 { margin: .4rem 0 .7rem; font-size: 36px; line-height: 1; letter-spacing: -0.06em; }
.specialty-detail-content p { margin: 0 0 1rem; color: rgba(17, 24, 24, 0.78); line-height: 1.7; }
.specialty-benefits { margin: 1rem 0 1.2rem; padding-left: 1.4rem; list-style: disc; color: rgba(17, 24, 24, 0.8); }
.specialty-benefits li { margin-bottom: .5rem; list-style: disc; }
.specialty-benefits li::marker { color: var(--teal); }
.specialty-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.specialty-cta-row a, .specialty-cta-row button { border: 0; border-radius: 999px; padding: .9rem 1.2rem; font-weight: 700; cursor: pointer; }
.specialty-cta-row a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: var(--teal); color: white; }
.specialty-cta-row button { background: rgba(0,179,166,.12); color: var(--deep); }
@media (max-width: 760px) { .specialty-detail { grid-template-columns: 1fr; } .specialty-detail-image { height: 240px; } .specialty-card { flex-basis: 280px; height: 360px; } }
.faq-answer { display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform .2s ease; }
#tratamientos .filter-btn:hover,
#tratamientos .filter-btn:focus-visible { border-color: var(--gold); color: var(--deep); }
#tratamientos .case-panel { border-color: rgba(212,175,55,.48); }
#tratamientos .case-panel .border-l-2 { border-color: var(--gold); }
#tratamientos .case-panel figcaption { box-shadow: 0 0 0 1px rgba(212,175,55,.7); }
[data-template-id="payment-strip"] i { color: var(--gold); }
[data-template-id="process-section"] { border-top: 1px solid rgba(212,175,55,.42); border-bottom: 1px solid rgba(212,175,55,.24); }
[data-template-id="process-section"] .border-white\/15 { border-color: rgba(212,175,55,.3); }
[data-template-id="process-section"] [data-template-id$="-number"] { color: var(--gold); }
#faq .faq-item:focus-within { border-color: rgba(212,175,55,.65); }
#faq .faq-chevron { color: var(--gold); }
.reveal { animation: rise .65s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .desktop-nav { display: none; }
}
.booking-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(3,18,19,.72); }
.booking-modal.open { display: flex; }
.booking-dialog { width: min(100%, 560px); max-height: min(92%, 720px); overflow: auto; border-radius: 28px; background: #fff; color: #142321; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.booking-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: .75rem; padding: 1.1rem 1.25rem .9rem; background: #fff; border-bottom: 3px solid #00B3A6; }
.booking-header h2 { margin: 0; font-size: 1.1rem; line-height: 1.15; }
.booking-header p { margin: .2rem 0 0; color: #66716f; font-size: .72rem; }
.booking-icon { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid #d9dfdd; border-radius: 999px; background: #fff; color: #263431; cursor: pointer; }
.booking-close { margin-left: auto; }
.booking-progress { height: 4px; background: #e9eeec; }
.booking-progress span { display: block; height: 100%; width: 25%; background: #00B3A6; transition: width .25s ease; }
.booking-step { padding: 1.4rem 1.5rem; }
.booking-step h3 { margin: 0 0 1rem; font-size: .95rem; }
.booking-choice, .booking-date, .booking-time { width: 100%; text-align: left; border: 1px solid #dfe3e1; border-radius: 15px; background: #fff; padding: .8rem 1rem; margin-bottom: .65rem; cursor: pointer; }
.booking-choice strong, .booking-date strong { display: block; font-size: .88rem; }
.booking-choice small, .booking-date small { display: block; margin-top: .2rem; color: #66716f; font-size: .75rem; }
.booking-choice.selected, .booking-date.selected, .booking-time.selected { border-color: #00A69F; background: #effafa; box-shadow: 0 0 0 1px #00A69F; }
.booking-choice.selected::after { content: '✓'; float: right; margin-top: -.9rem; color: #fff; background: #00A69F; border-radius: 50%; padding: .1rem .35rem; }
.booking-dates, .booking-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.booking-time { text-align: center; margin: 0; padding: .7rem .4rem; font-size: .78rem; }
.booking-note { margin: 0 0 1rem; color: #66716f; font-size: .72rem; }
.booking-field { display: block; margin: .8rem 0; font-size: .78rem; font-weight: 700; }
.booking-field input, .booking-field textarea { display: block; width: 100%; margin-top: .35rem; border: 1px solid #d6dbd9; border-radius: 12px; padding: .75rem; font: inherit; font-weight: 400; }
.booking-field textarea { min-height: 80px; resize: vertical; }
.booking-error { color: #a33a32; font-size: .76rem; }
.booking-footer { display: flex; gap: .75rem; align-items: center; padding: 1rem 1.5rem 1.3rem; border-top: 1px solid #edf0ef; }
.booking-footer button { flex: 1; border: 0; border-radius: 999px; padding: .85rem 1rem; background: #00A69F; color: #fff; font-weight: 700; cursor: pointer; }
.booking-footer .booking-back { flex: 0 0 auto; background: transparent; color: #263431; padding: .5rem; }
.booking-summary { border-radius: 15px; background: #f3f7f6; padding: 1rem; font-size: .82rem; line-height: 1.7; }
.booking-success { text-align: center; padding: 2.5rem 1.5rem; }
.privacy-modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(5, 18, 20, 0.72); }
.privacy-modal.open { display: flex; }
.privacy-card { position: relative; width: min(100%, 760px); background: rgba(255, 255, 255, 0.98); border-radius: 30px; padding: 1.5rem 1.9rem 2rem; box-shadow: 0 24px 70px rgba(0,0,0,.28); color: #142321; }
.privacy-chip { display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid rgba(8,46,43,.9); border-radius: 999px; padding: .5rem .9rem; font-size: .78rem; font-weight: 800; color: #142321; background: rgba(255,255,255,.8); }
.privacy-close { position: absolute; top: 1.1rem; right: 1.1rem; width: 2.7rem; height: 2.7rem; border-radius: 9999px; border: 1px solid rgba(8,46,43,.15); background: #f4f5f5; color: #1a1a1a; font-size: 2rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.privacy-close:hover { background: #fff; }
.privacy-title { margin: 1.35rem 0 1.2rem; font-size: clamp(2.1rem, 3vw, 4rem); line-height: 0.96; letter-spacing: -0.06em; color: #0d1414; font-weight: 800; max-width: 560px; }
.privacy-copy { margin: 0; max-width: 660px; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.6; color: rgba(17, 24, 24, 0.82); }
@media (max-width: 560px) { .booking-modal { padding: 0; align-items: flex-end; } .booking-dialog { width: 100%; max-height: 94%; border-radius: 24px 24px 0 0; } .booking-dates, .booking-times { gap: .4rem; } .privacy-card { border-radius: 26px; padding: 1.2rem 1.1rem 1.5rem; } .privacy-chip { font-size: .72rem; } .privacy-close { width: 2.4rem; height: 2.4rem; top: 1rem; right: 1rem; } .privacy-title { margin-top: 1rem; } }
@media (max-width: 768px) { [data-template-id="final-cta"] { border-radius: 0 !important; } }
.whatsapp-float { gap: .65rem; padding: .35rem .4rem .35rem 1.15rem; background: #005B55; border: 1px solid rgba(174,229,224,.42); transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,91,85,.24); }
.whatsapp-label { white-space: nowrap; color: #fff; font: 700 .92rem/1 Montserrat, sans-serif; }
.whatsapp-icon-wrap { display: inline-flex; width: 3.6rem; height: 3.6rem; align-items: center; justify-content: center; border-radius: 9999px; background: #25D366; color: #fff; box-shadow: inset 0 0 0 3px rgba(255,255,255,.12); }
@media (max-width: 560px) {
  .whatsapp-float { right: 1rem; bottom: 1rem; gap: 0; padding: 0; width: 3.25rem; min-width: 3.25rem; justify-content: center; background: none; border: none; }
  .whatsapp-label { display: none; }
  .whatsapp-icon-wrap { width: 2.9rem; height: 2.9rem; }
}
