/* Fábrica de Risas — style.css */

:root {
  --ink: #2B2D3E;
  --ink-2: #383A52;
  --teal: #00A896;
  --teal-deep: #00877A;
  --mustard: #F4B942;
  --mustard-deep: #D99F20;
  --pink: #FF5D8F;
  --pink-deep: #E8426F;
  --cream: #FFF8EC;
  --white: #FFFFFF;
  --text-muted: #6B6B7D;
  --border: rgba(43, 45, 62, 0.1);
  --shadow: 0 10px 26px rgba(43, 45, 62, 0.1);
  --shadow-lg: 0 24px 50px rgba(43, 45, 62, 0.16);
  --r: 16px;
  --r-lg: 24px;
  --sidebar-w: 260px;
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}
h1, h2, h3, h4 {
  font-family: 'Grandstander', cursive;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 90px 0; }

.label-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-deep); background: rgba(0,168,150,0.1); padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
}

.btn-primary, .btn-secondary, .btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Grandstander', cursive; font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 14px; transition: var(--transition);
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--pink); color: var(--white); box-shadow: 0 10px 24px rgba(255,93,143,0.35); }
.btn-primary:hover { background: var(--pink-deep); transform: translateY(-2px); }
.btn-secondary { background: var(--mustard); color: var(--ink); }
.btn-secondary:hover { background: var(--mustard-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ===== PANEL (signature component — accent stripe card) ===== */
.panel { background: var(--white); border-radius: var(--r); border-left: 6px solid var(--teal); box-shadow: var(--shadow); padding: 26px; }
.panel.p-mustard { border-left-color: var(--mustard); }
.panel.p-pink { border-left-color: var(--pink); }
.panel.p-teal { border-left-color: var(--teal); }

/* ===== SIDEBAR (desktop app-shell) ===== */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar-w); z-index: 110;
  background: var(--ink); display: flex; flex-direction: column; padding: 26px 20px;
}
.sidebar-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; padding: 0 6px; }
.sidebar-logo-text { font-family: 'Grandstander', cursive; font-weight: 700; font-size: 1.15rem; color: var(--white); line-height: 1.15; }
.sidebar-logo-text span { color: var(--mustard); }

.sidebar-nav { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: rgba(255,248,236,0.7); font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.sidebar-nav a .ic { font-size: 1.05rem; width: 22px; text-align: center; }
.sidebar-nav a:hover { background: rgba(255,248,236,0.06); color: var(--white); }
.sidebar-nav a.active { background: var(--teal); color: var(--white); }

.sidebar-bottom { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255,248,236,0.1); }
.sidebar-bottom .btn-primary { width: 100%; justify-content: center; padding: 13px 20px; font-size: 0.92rem; }
.sidebar-contact { font-size: 0.8rem; color: rgba(255,248,236,0.55); padding: 0 4px; }
.sidebar-contact p { margin-bottom: 4px; }

.sidebar-toggle { display: none; }

/* ===== MAIN (offset by sidebar on desktop) ===== */
.main { margin-left: var(--sidebar-w); }

/* ===== TOPBAR (mobile only) ===== */
.topbar { display: none; }

/* ===== HERO ===== */
.hero-fr { padding: 80px 0 60px; }
.hero-fr-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero-fr-content h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); margin-bottom: 18px; }
.hero-fr-content h1 .accent { color: var(--pink); }
.hero-fr-content p { color: var(--text-muted); font-size: 1.05rem; max-width: 460px; margin-bottom: 28px; }
.hero-fr-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-fr-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); height: 380px; }
.hero-fr-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== WIDGET STRIP (stats, dashboard-style) ===== */
.widget-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.widget { background: var(--white); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); border-top: 4px solid var(--teal); }
.widget:nth-child(2) { border-top-color: var(--mustard); }
.widget:nth-child(3) { border-top-color: var(--pink); }
.widget:nth-child(4) { border-top-color: var(--ink); }
.widget strong { display: block; font-family: 'Grandstander', cursive; font-size: 1.6rem; margin-bottom: 4px; }
.widget span { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }

/* ===== ESTACIONES (zones) ===== */
.estaciones-fr { background: var(--white); }
.estaciones-head { max-width: 560px; margin-bottom: 44px; }
.estaciones-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.estaciones-head p { color: var(--text-muted); }
.estaciones-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.estacion-card { display: flex; gap: 20px; align-items: flex-start; }
.estacion-img { width: 120px; height: 120px; border-radius: var(--r); overflow: hidden; flex-shrink: 0; }
.estacion-img img { width: 100%; height: 100%; object-fit: cover; }
.estacion-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.estacion-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }
.estacion-tag { display: inline-block; background: rgba(43,45,62,0.06); color: var(--ink); font-size: 0.76rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* ===== PRICING ===== */
.pricing-fr { background: var(--cream); }
.pricing-fr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-fr-name { font-family: 'Grandstander', cursive; font-size: 1.2rem; margin-bottom: 6px; }
.price-fr-meta { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 20px; min-height: 40px; }
.price-fr-amount { font-family: 'Grandstander', cursive; font-size: 2.1rem; color: var(--ink); margin-bottom: 20px; }
.price-fr-amount span { font-size: 0.78rem; font-family: 'Figtree', sans-serif; color: var(--text-muted); font-weight: 500; }

/* ===== TESTIMONIALS ===== */
.testi-fr { background: var(--white); }
.testi-fr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-fr-stars { color: var(--mustard-deep); letter-spacing: 2px; margin-bottom: 12px; }
.testi-fr-grid p.quote { font-size: 0.92rem; color: var(--ink); margin-bottom: 18px; }
.testi-fr-author { display: flex; align-items: center; gap: 12px; }
.testi-fr-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: 'Grandstander', cursive; font-size: 0.85rem; flex-shrink: 0; }
.testi-fr-author strong { display: block; font-size: 0.9rem; }
.testi-fr-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ===== CTA ===== */
.cta-fr { background: var(--ink); color: var(--white); text-align: center; }
.cta-fr h2 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin-bottom: 14px; }
.cta-fr p { color: rgba(255,248,236,0.72); margin-bottom: 30px; }
.cta-fr-info { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 36px; }
.cta-fr-info div strong { display: block; font-family: 'Grandstander', cursive; font-size: 0.85rem; text-transform: uppercase; color: var(--mustard); margin-bottom: 2px; }
.cta-fr-info div p { font-size: 0.86rem; margin: 0; color: rgba(255,248,236,0.85); }

/* ===== FOOTER ===== */
.footer-fr { background: var(--ink-2); color: rgba(255,248,236,0.65); padding: 56px 0 0; }
.footer-fr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,248,236,0.1); }
.footer-fr-brand .sidebar-logo-text { color: var(--white); }
.footer-fr-brand p { margin-top: 12px; font-size: 0.88rem; max-width: 260px; }
.footer-fr-col h5 { font-family: 'Grandstander', cursive; color: var(--white); margin-bottom: 14px; font-size: 0.96rem; }
.footer-fr-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-fr-col a { font-size: 0.88rem; }
.footer-fr-col a:hover { color: var(--mustard); }
.footer-fr address p { font-size: 0.88rem; margin-bottom: 7px; }
.footer-fr-bottom { text-align: center; padding: 20px; font-size: 0.78rem; }

/* ===== PAGE HERO (secondary pages) ===== */
.page-hero-fr { padding: 70px 0 50px; }
.page-hero-fr h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 12px; }
.page-hero-fr p { color: var(--text-muted); max-width: 540px; }

/* ===== ZONE DETAIL (estaciones.html) ===== */
.zone-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--border); }
.zone-detail-row:last-child { border-bottom: none; }
.zone-detail-row.reverse .zone-detail-text { order: 1; }
.zone-detail-row.reverse .zone-detail-img { order: 2; }
.zone-detail-img { border-radius: var(--r-lg); overflow: hidden; height: 300px; box-shadow: var(--shadow); }
.zone-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.zone-detail-text h2 { font-size: 1.7rem; margin-bottom: 12px; }
.zone-detail-text p { color: var(--text-muted); margin-bottom: 16px; }
.zone-detail-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.zone-detail-tags span { background: rgba(255,93,143,0.1); color: var(--pink-deep); border-radius: 999px; padding: 6px 14px; font-size: 0.8rem; font-weight: 700; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-form { background: var(--white); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); border-left: 6px solid var(--pink); }
.contact-form label { display: block; font-weight: 700; font-size: 0.82rem; margin-bottom: 6px; color: var(--pink-deep); text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 15px; border: 2px solid var(--border); border-radius: 12px;
  font-family: 'Figtree', sans-serif; font-size: 0.95rem; margin-bottom: 16px; background: var(--cream); color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.contact-info-item { display: flex; gap: 14px; align-items: center; }
.contact-info-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; color: var(--white); }
.contact-info-item:nth-child(1) .contact-info-icon { background: var(--teal); }
.contact-info-item:nth-child(2) .contact-info-icon { background: var(--mustard); color: var(--ink); }
.contact-info-item:nth-child(3) .contact-info-icon { background: var(--pink); }
.contact-info-item:nth-child(4) .contact-info-icon { background: var(--ink); }
.contact-info-item strong { display: block; font-family: 'Grandstander', cursive; font-size: 0.96rem; }
.contact-info-item p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }
.contact-map-card { position: relative; border-radius: var(--r-lg); overflow: hidden; height: 220px; box-shadow: var(--shadow); }
.contact-map-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.contact-map-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.contact-map-overlay span { background: var(--white); color: var(--ink); font-family: 'Grandstander', cursive; font-size: 0.86rem; padding: 12px 20px; border-radius: 999px; }

/* ===== LEGAL ===== */
.legal-page { padding: 50px 0 90px; }
.legal-page h1 { font-size: 1.9rem; margin-bottom: 8px; }
.legal-page .updated { color: var(--text-muted); font-size: 0.86rem; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.1rem; margin: 28px 0 10px; font-family: 'Grandstander', cursive; }
.legal-page p, .legal-page li { color: var(--text-muted); margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page strong { color: var(--ink); }
.legal-page a { color: var(--pink-deep); }

/* ===== ANIMATIONS ===== */
.fr-anim { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fr-visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero-fr-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-fr-img { order: -1; height: 280px; }
  .widget-strip { grid-template-columns: repeat(2, 1fr); }
  .estaciones-grid { grid-template-columns: 1fr; }
  .pricing-fr-grid, .testi-fr-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-fr-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop { position: fixed; inset: 0; background: rgba(43,45,62,0.5); z-index: 105; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
  .sidebar-backdrop.open { opacity: 1; pointer-events: auto; }
  .main { margin-left: 0; padding-top: 70px; }
  .topbar { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--ink); align-items: center; justify-content: space-between; padding: 14px 20px; }
  .topbar .sidebar-logo { margin-bottom: 0; }
  .sidebar-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
  .sidebar-toggle span { width: 22px; height: 2.5px; background: var(--white); border-radius: 2px; }
  .estacion-card { flex-direction: column; }
  .estacion-img { width: 100%; height: 180px; }
  .footer-fr-grid { grid-template-columns: 1fr; }
  .zone-detail-row, .zone-detail-row.reverse { grid-template-columns: 1fr; }
  .zone-detail-row.reverse .zone-detail-text, .zone-detail-row.reverse .zone-detail-img { order: 0; }
}
