/*
Theme Name: DETI Park
Theme URI: https://fiestasdeti.es/
Author: DETI Park
Description: Tema WordPress sin Elementor para DETI Park Torrevieja con paleta extraída del logotipo original, tipografías redondeadas (Fredoka y Nunito), Inicio, Visítanos, Contacto, calculadora transparente de pre-reserva y sistema multilingüe nativo (ES, EN, UK, FR, DE, PL, SV).
Version: 2.3.0
Text Domain: deti-atelier
*/

:root {
  --bg: #F8F9FD;
  --bg-lavender: #F2EEF9;
  --bg-card: #FFFFFF;
  --ink: #1B194B;
  --muted: #56537A;
  --violet: #5C4B99;
  --berry: #E02165;
  --berry-dark: #C41857;
  --sky: #0E8ED4;
  --lime: #67AE0B;
  --tangerine: #D97706;
  --gold: #FFD426;
  --star: #F5B700;
  --border: #DFDAEE;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-display: 'Fredoka', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg) !important;
  color: var(--ink);
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.deti-theme {
  font-family: var(--font-sans);
  background-color: var(--bg) !important;
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow-x: hidden;
}

.deti-page-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent;
}

body.deti-theme h1,
body.deti-theme h2,
body.deti-theme h3,
body.deti-theme h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
  border: 0 !important;
  padding: 0 !important;
  margin-top: 0;
  background: transparent !important;
  box-shadow: none !important;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--berry);
  outline-offset: 3px;
}

.container {
  width: min(1180px, 92%);
  max-width: 1180px;
  margin: 0 auto;
}

.section,
.site-header,
.hero,
.trust-strip,
.page-hero,
.site-footer {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.section {
  padding: 88px 0;
}

.section-lavender {
  background-color: var(--bg-lavender);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-white {
  background-color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}

.eyebrow-berry { color: var(--berry); }
.eyebrow-sky { color: var(--sky); }

.section-header h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.02rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--berry);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--berry-dark);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: #FFFFFF;
}

.btn-outline-light {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline-light:hover {
  background: #FFFFFF;
  color: var(--ink);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a.active {
  color: var(--berry);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--berry);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-lavender);
  border: 1px solid var(--border);
  padding: 3px;
  border-radius: var(--radius-sm);
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--muted);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.is-active {
  background: var(--ink);
  color: #FFFFFF;
}

.menu-toggle {
  display: none;
  background: var(--bg-lavender);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  color: #FFFFFF;
  background-color: var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(27, 25, 75, 0.90) 0%, rgba(76, 59, 138, 0.70) 56%, rgba(27, 25, 75, 0.34) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.hero .eyebrow {
  color: var(--gold);
}

body.deti-theme .hero h1 {
  color: #FFFFFF !important;
  font-size: clamp(2.35rem, 4.5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 0;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-meta .sep {
  color: var(--gold);
}

.hero-meta strong {
  color: var(--gold);
  font-weight: 700;
}

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

/* Trust Strip */
.trust-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-item {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.trust-item.is-violet strong { color: var(--violet); }
.trust-item.is-berry strong { color: var(--berry); }
.trust-item.is-sky strong { color: var(--sky); }

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.activity-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
}

.activity-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-lavender);
}

.activity-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-media img {
  transform: scale(1.03);
}

.activity-body {
  padding: 28px;
}

.activity-body h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.activity-body p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Steps */
.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
}

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}

.step-num.is-lime { color: var(--lime); }
.step-num.is-sky { color: var(--sky); }
.step-num.is-berry { color: var(--berry); }

.step-card h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Parent Value Cards */
.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.benefit-icon.is-lime { background: #F1FAE8; border-color: #D3EEB8; color: #559109; }
.benefit-icon.is-berry { background: #FDECF2; border-color: #F8C4D6; color: #E02165; }
.benefit-icon.is-sky { background: #E9F6FE; border-color: #BEE4FA; color: #0E8ED4; }
.benefit-icon.is-orange { background: #FFF4E5; border-color: #FCD9A8; color: #D97706; }
.benefit-icon.is-violet { background: #F2EEF9; border-color: #D8CEF0; color: #5C4B99; }
.benefit-icon.is-gold { background: #FFF9E2; border-color: #F5E08E; color: #B88200; }

.benefit-card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* Reviews */
.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.review-stars {
  color: var(--star);
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--ink);
  font-style: italic;
}

.review-meta {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.review-meta strong {
  color: var(--ink);
  font-size: 0.9rem;
}

/* FAQ & Venue Split */
.faq-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 18px 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--berry);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.93rem;
}

.venue-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.venue-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.venue-body {
  padding: 28px;
}

.venue-body h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.venue-body p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 0.93rem;
}

/* Subpages Hero */
.page-hero {
  background: var(--bg-lavender);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.06rem;
}

/* Forms */
.form-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.input:focus {
  outline: none;
  border-color: var(--sky);
  background: #FFFFFF;
}

textarea.input {
  min-height: 112px;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--berry);
}

.field-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.estimate-box {
  background: var(--bg-lavender);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 0.9rem;
}

.estimate-title {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
}

.estimate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--muted);
}

.estimate-row strong,
.estimate-val {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 700;
  flex-shrink: 0;
}

.estimate-total {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--ink);
  font-weight: 700;
}

.estimate-balance {
  color: #0A7AB8;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0;
}

.alert-success {
  background: #EEF9E3;
  border: 1px solid #C6E8A6;
  color: #2E5A04;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.32fr;
  gap: 36px;
  align-items: start;
}

.info-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.info-box h2,
.info-box h3 {
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.info-list li strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--violet);
  margin-bottom: 2px;
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-logo-badge {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 6px 10px;
  flex-shrink: 0;
}

.footer-logo-badge img {
  height: 48px;
  width: auto;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.55rem;
  line-height: 1;
}

.footer-brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-top: 4px;
}

.footer-col h4 {
  color: #35B5F5;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 26px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Concierge */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-card {
  width: 304px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 45px rgba(27, 25, 75, 0.22);
  overflow: hidden;
  display: none;
}

.wa-card.is-open {
  display: block;
}

.wa-card-head {
  background: var(--violet);
  color: #FFFFFF;
  padding: 14px 16px;
}

.wa-card-head strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: block;
}

.wa-card-body {
  padding: 16px;
  background: var(--bg);
}

.wa-card-body p {
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.wa-btn {
  background: var(--ink);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(27, 25, 75, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1080px) {
  .grid-2, .grid-3, .faq-layout, .contact-layout, .footer-grid, .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px;
    gap: 18px;
  }

  .nav-right.is-open {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    gap: 14px;
  }

  .hero {
    min-height: 480px;
    padding: 48px 0;
  }
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 24px;
  margin-bottom: 10px;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: 14px;
  color: var(--muted);
}

.entry-content ul,
.entry-content ol {
  padding-left: 22px;
}

.entry-content a {
  color: var(--berry);
  font-weight: 700;
  text-decoration: underline;
}
