/* ==========================================================================
   Páginas de sede (Tunja / Moniquirá) — Julie Alisados By Julie Valencia
   Basado en el Brandbook oficial: Soft Pink #FFD1DC · Snow White #FFF0F5 ·
   Antique Gold #D4AF37 · Obsidian Black #111111 · Playfair Display + Lato.
   Tono: profesional, transparente, cercano y entusiasta.
   ========================================================================== */
:root {
    --sd-pink: #FFD1DC;
    --sd-snow: #FFF0F5;
    --sd-gold: #D4AF37;
    --sd-gold-dark: #A68612;
    --sd-obsidian: #111111;
}
.sd-body { background: #fffafb; }
.sd-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sd-section { padding: 64px 0; }
.sd-h2 { font-family: var(--font-heading); font-size: clamp(1.7rem, 3.6vw, 2.4rem); text-align: center; color: var(--sd-obsidian); margin: 0 0 10px; line-height: 1.2; }
.sd-sub { text-align: center; color: #555; max-width: 700px; margin: 0 auto 34px; line-height: 1.7; font-size: 1.02rem; }
.sd-eyebrow { display: inline-block; letter-spacing: .2em; text-transform: uppercase; font-size: .76rem; color: var(--sd-gold-dark); font-weight: 800; }

/* Botones */
.sd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; border: 2px solid transparent; }
.sd-btn:hover { transform: translateY(-2px); }
.sd-btn-gold { background: linear-gradient(135deg, var(--sd-gold) 0%, #F2D06B 100%); color: #111 !important; box-shadow: 0 8px 22px rgba(212, 175, 55, .38); }
.sd-btn-ghost { background: rgba(255, 255, 255, .7); color: var(--sd-obsidian) !important; border-color: var(--sd-gold); }
.sd-btn-dark { background: var(--sd-obsidian); color: #fff !important; }

/* Hero */
.sd-hero { position: relative; background: linear-gradient(135deg, var(--sd-snow) 0%, var(--sd-pink) 100%); padding: 56px 0 70px; overflow: hidden; }
.sd-hero::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .28) 0%, rgba(212, 175, 55, 0) 70%); }
.sd-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.sd-hero h1 { font-family: var(--font-heading); font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.1; color: var(--sd-obsidian); margin: 14px 0 16px; }
.sd-hero h1 em { font-style: italic; color: var(--sd-gold-dark); }
.sd-lead { color: #3d3d3d; font-size: 1.1rem; line-height: 1.75; max-width: 580px; margin: 0 0 22px; }
.sd-rating { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid rgba(212, 175, 55, .55); border-radius: 999px; padding: 9px 18px; font-weight: 800; text-decoration: none; color: var(--sd-obsidian); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); margin-bottom: 22px; font-size: .95rem; }
.sd-rating .st { color: var(--sd-gold); letter-spacing: 2px; }
.sd-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.sd-chips li { background: rgba(255, 255, 255, .78); border: 1px solid rgba(212, 175, 55, .45); border-radius: 999px; padding: 8px 15px; font-size: .86rem; font-weight: 700; color: #3a3a3a; }
.sd-photo { position: relative; border-radius: 220px 220px 28px 28px; overflow: hidden; border: 3px solid var(--sd-gold); box-shadow: 0 24px 50px rgba(166, 134, 18, .25); aspect-ratio: 3 / 4; background: #fff; max-width: 420px; margin-left: auto; width: 100%; }
.sd-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-photo-tag { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(17, 17, 17, .72); color: #fff; border-radius: 14px; padding: 10px 14px; font-size: .82rem; text-align: center; backdrop-filter: blur(6px); }

/* Promociones */
.sd-promo-section { background: #fff; }
.sd-promos { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 24px; -webkit-overflow-scrolling: touch; }
.sd-promo { flex: 0 0 272px; scroll-snap-align: center; background: linear-gradient(165deg, #fff 0%, var(--sd-snow) 55%, var(--sd-pink) 150%); border: 1.5px solid var(--sd-gold); border-radius: 24px; padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 14px 30px rgba(212, 175, 55, .18); }
.sd-promo .tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sd-gold-dark); font-weight: 800; }
.sd-promo h3 { font-family: var(--font-heading); font-size: 1.3rem; margin: 0; color: var(--sd-obsidian); line-height: 1.25; }
.sd-promo .price { font-family: var(--font-heading); font-size: 2.15rem; font-weight: 700; color: var(--sd-obsidian); line-height: 1.1; }
.sd-promo .price small { font-size: .8rem; font-family: var(--font-body); color: #777; font-weight: 600; }
.sd-promo p { margin: 0; color: #555; font-size: .92rem; line-height: 1.6; }
.sd-promo .gift { background: rgba(212, 175, 55, .14); border-radius: 12px; padding: 9px 12px; font-size: .84rem; color: #5a4a0a; line-height: 1.5; }
.sd-promo .sd-btn { margin-top: auto; padding: 12px 20px; font-size: .92rem; }
.sd-promo-note { max-width: 860px; margin: 8px auto 0; color: #666; font-size: .9rem; line-height: 1.75; }
.sd-promo-note details { background: var(--sd-snow); border: 1px solid rgba(212, 175, 55, .4); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.sd-promo-note summary { font-weight: 800; cursor: pointer; color: var(--sd-obsidian); }
.sd-promo-note ul { margin: 10px 0 0 18px; padding: 0; }
.sd-promo-note li { margin-bottom: 6px; }

/* Familias de servicios */
.sd-fam { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.sd-fam a { display: block; text-decoration: none; background: #fff; border: 1px solid rgba(212, 175, 55, .35); border-radius: 20px; padding: 24px 20px; box-shadow: 0 10px 26px rgba(0, 0, 0, .05); transition: transform .2s ease, box-shadow .2s ease; }
.sd-fam a:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(212, 175, 55, .22); }
.sd-fam .ic { font-size: 1.7rem; display: block; margin-bottom: 10px; }
.sd-fam h3 { font-family: var(--font-heading); color: var(--sd-obsidian); font-size: 1.15rem; margin: 0 0 8px; }
.sd-fam p { color: #555; font-size: .9rem; line-height: 1.6; margin: 0 0 10px; }
.sd-fam .more { color: var(--sd-gold-dark); font-weight: 800; font-size: .85rem; }

/* Antes y después */
.sd-gallery-section { background: linear-gradient(180deg, var(--sd-snow) 0%, #fff 100%); }
.sd-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.sd-gallery figure { margin: 0; border-radius: 22px; overflow: hidden; border: 2px solid var(--sd-gold); box-shadow: 0 16px 34px rgba(0, 0, 0, .1); background: #fff; }
.sd-gallery img, .sd-gallery video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.sd-gallery figcaption { text-align: center; font-size: .82rem; font-weight: 700; padding: 10px 8px; color: #444; }
.sd-fine { text-align: center; color: #777; font-size: .84rem; margin: 16px auto 0; max-width: 640px; line-height: 1.6; }

/* Cómo es tu cita */
.sd-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: paso; }
.sd-step { position: relative; background: #fff; border-radius: 20px; padding: 30px 22px 24px; border: 1px solid rgba(212, 175, 55, .35); box-shadow: 0 10px 26px rgba(0, 0, 0, .05); }
.sd-step::before { counter-increment: paso; content: counter(paso); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--sd-gold), #F2D06B); color: #111; font-weight: 900; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); box-shadow: 0 6px 14px rgba(212, 175, 55, .4); }
.sd-step h3 { font-family: var(--font-heading); margin: 0 0 8px; font-size: 1.12rem; color: var(--sd-obsidian); }
.sd-step p { margin: 0; color: #555; font-size: .92rem; line-height: 1.65; }

/* Opiniones */
.sd-reviews-section { background: var(--sd-snow); }
.sd-score { text-align: center; margin-bottom: 28px; }
.sd-score .num { font-family: var(--font-heading); font-size: 3.4rem; font-weight: 700; color: var(--sd-obsidian); line-height: 1; }
.sd-score .st { color: var(--sd-gold); font-size: 1.4rem; letter-spacing: 3px; display: block; margin: 6px 0; }
.sd-score .cnt { color: #555; font-weight: 700; }
.sd-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1040px; margin: 0 auto; }
.sd-review { margin: 0; background: #fff; border-radius: 22px; padding: 26px 24px; border: 1px solid rgba(212, 175, 55, .4); box-shadow: 0 12px 28px rgba(0, 0, 0, .06); position: relative; }
.sd-review::before { content: "\201C"; position: absolute; top: 4px; left: 18px; font-family: var(--font-heading); font-size: 4rem; color: rgba(212, 175, 55, .35); line-height: 1; }
.sd-review p { color: #3d3d3d; line-height: 1.75; margin: 22px 0 14px; font-size: .98rem; }
.sd-by { font-weight: 800; color: var(--sd-gold-dark); font-size: .9rem; }
.sd-by span { font-weight: 500; color: #888; }

/* Ubicación */
.sd-loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.sd-card { background: #fff; border-radius: 22px; padding: 26px 24px; border-left: 5px solid var(--sd-gold); box-shadow: 0 14px 32px rgba(0, 0, 0, .07); }
.sd-card p { margin: 0 0 10px; color: #444; line-height: 1.65; }
.sd-map { border-radius: 22px; overflow: hidden; border: 2px solid var(--sd-gold); box-shadow: 0 16px 36px rgba(0, 0, 0, .1); }
.sd-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Preguntas */
.sd-faq { max-width: 820px; margin: 0 auto; }
.sd-faq details { background: #fff; border: 1px solid rgba(212, 175, 55, .4); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
.sd-faq summary { font-weight: 800; cursor: pointer; color: var(--sd-obsidian); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.sd-faq summary::after { content: "+"; color: var(--sd-gold-dark); font-size: 1.4rem; line-height: 1; }
.sd-faq details[open] summary::after { content: "\2212"; }
.sd-faq details p { color: #555; line-height: 1.75; margin: 12px 0 0; }

/* Cierre */
.sd-final { background: linear-gradient(135deg, #111 0%, #2a2217 100%); color: #fff; text-align: center; padding: 70px 20px; }
.sd-final h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0 0 12px; color: #fff; line-height: 1.2; }
.sd-final h2 em { color: var(--sd-gold); font-style: italic; }
.sd-final p { color: #e9dfc2; max-width: 620px; margin: 0 auto 26px; line-height: 1.7; }

/* Móvil */
@media (max-width: 860px) {
    .sd-hero { padding: 36px 0 52px; }
    .sd-hero-grid, .sd-loc-grid { grid-template-columns: 1fr; gap: 28px; }
    .sd-photo { margin: 0 auto; max-width: 340px; }
    .sd-section { padding: 48px 0; }
    .sd-cta-row .sd-btn { width: 100%; }
    .sd-gallery { gap: 10px; }
    .sd-gallery figcaption { font-size: .72rem; padding: 8px 4px; }
    .sd-map iframe { height: 300px; }
}
@media (min-width: 1000px) {
    .sd-promo { flex: 0 0 calc(33.333% - 14px); max-width: 370px; }
    .sd-fam { grid-template-columns: repeat(3, 1fr); }
    .sd-promos { flex-wrap: wrap; justify-content: center; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
    .sd-btn, .sd-fam a { transition: none; }
}

/* MOVIL v2 */
@media (max-width: 860px) {
    .sd-wrap { padding: 0 16px; }
    .sd-hero { padding: 26px 0 40px; }
    .sd-hero h1 { font-size: 2rem; margin: 10px 0 12px; }
    .sd-lead { font-size: 1rem; line-height: 1.65; margin-bottom: 16px; }
    .sd-rating { font-size: .88rem; padding: 8px 14px; margin-bottom: 16px; }
    .sd-cta-row { gap: 10px; margin-bottom: 18px; }
    .sd-chips { gap: 8px; }
    .sd-chips li { font-size: .78rem; padding: 6px 11px; }
    .sd-photo { max-width: 300px; border-radius: 150px 150px 22px 22px; }
    .sd-h2 { font-size: 1.65rem; }
    .sd-sub { font-size: .95rem; margin-bottom: 24px; }
    .sd-section { padding: 40px 0; }
    /* familias: 2 columnas compactas */
    .sd-fam { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sd-fam a { padding: 16px 14px; border-radius: 16px; }
    .sd-fam .ic { font-size: 1.4rem; margin-bottom: 6px; }
    .sd-fam h3 { font-size: 1rem; margin-bottom: 4px; }
    .sd-fam p { display: none; }
    .sd-fam .more { font-size: .78rem; }
    /* galeria y opiniones: carrusel horizontal */
    .sd-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px 16px 14px; margin: 0 -16px; max-width: none; -webkit-overflow-scrolling: touch; }
    .sd-gallery figure { flex: 0 0 62%; scroll-snap-align: center; }
    .sd-gallery figcaption { font-size: .8rem; }
    .sd-reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px 16px 14px; margin: 0 -16px; max-width: none; }
    .sd-review { flex: 0 0 84%; scroll-snap-align: center; padding: 22px 18px; }
    .sd-review p { font-size: .94rem; line-height: 1.65; }
    .sd-promo { flex-basis: 78%; }
    .sd-promos { gap: 12px; }
    .sd-steps { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
    .sd-step { padding: 26px 14px 18px; }
    .sd-step h3 { font-size: 1rem; }
    .sd-step p { font-size: .86rem; }
    .sd-card { padding: 20px 18px; }
    .sd-final { padding: 48px 16px 90px; }
    .sd-faq details { padding: 15px 16px; }
    .sd-btn { padding: 14px 22px; }
    /* el boton flotante no tapa el contenido final */
    footer .copyright { padding-bottom: 80px; }
}

/* COMUNIDAD */
.sd-community { background: linear-gradient(135deg, var(--sd-snow) 0%, var(--sd-pink) 100%); }
.sd-social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 860px; margin: 0 auto; }
.sd-soc { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; text-align: center; background: #fff; border: 1.5px solid var(--sd-gold); border-radius: 22px; padding: 22px 14px; color: var(--sd-obsidian); box-shadow: 0 12px 26px rgba(166, 134, 18, .14); transition: transform .2s ease; }
.sd-soc:hover { transform: translateY(-3px); }
.sd-soc strong { font-family: var(--font-heading); font-size: 1.25rem; }
.sd-soc span { color: var(--sd-gold-dark); font-weight: 800; font-size: .92rem; }
.sd-soc em { font-style: normal; color: #666; font-size: .85rem; }
@media (max-width: 860px) { .sd-social { grid-template-columns: 1fr; gap: 10px; } .sd-soc { padding: 16px 14px; } }

.sd-ico { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 8px; box-shadow: 0 8px 18px rgba(0, 0, 0, .18); }
.sd-ico svg { width: 30px; height: 30px; display: block; }
.sd-soc-tt .sd-ico { background: #111; }
.sd-soc-ig .sd-ico { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sd-soc-fb .sd-ico { background: #1877F2; }
@media (max-width: 860px) { .sd-ico { width: 48px; height: 48px; margin-bottom: 4px; } .sd-ico svg { width: 26px; height: 26px; } }

.sd-soc .sd-ico { color: #fff; }
.sd-soc .sd-ico svg { fill: #fff; }

/* CARRUSEL OPINIONES */
.sd-reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 6px 4px 18px; max-width: 1100px; margin: 0 auto; scrollbar-width: thin; scrollbar-color: var(--sd-gold) transparent; -webkit-overflow-scrolling: touch; }
.sd-review { flex: 0 0 340px; scroll-snap-align: start; }
@media (max-width: 860px) { .sd-reviews { padding: 4px 16px 14px; margin: 0 -16px; max-width: none; } .sd-review { flex: 0 0 84%; scroll-snap-align: center; } }

.sd-promo, #promociones { scroll-margin-top: 130px; }

/* Encabezado sin foto lateral (misma logica de la pagina central: el banner de promociones va debajo) */
.sd-hero-solo { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 0; }
.sd-hero-solo .sd-lead { margin-left: auto; margin-right: auto; }
.sd-hero-solo .sd-cta-row, .sd-hero-solo .sd-chips { justify-content: center; }
.sd-hero:has(.sd-hero-solo) { padding: 40px 0 30px; }
@media (max-width: 640px) {
    .sd-hero:has(.sd-hero-solo) { padding: 20px 0 12px; }
    .sd-hero-solo .sd-chips { display: none; }
    .sd-hero-solo .sd-rating { margin-bottom: 12px; }
    .sd-hero-solo .sd-cta-row { margin-bottom: 0; }
    .sd-hero-solo .sd-btn-ghost { display: none; }
}
