/* ===== MUNDO FAMILIAR PERÚ — MAIN STYLES ===== */
/* Color palette: Orange #FF6B2B, Dark #1A1A2E, Cream #FFF8F4, Accent #FF3D00 */

:root {
  --primary: #FF6B2B;
  --primary-dark: #E85A1A;
  --accent: #FF3D00;
  --dark: #1A1A2E;
  --dark2: #2D2D44;
  --light: #FFF8F4;
  --white: #FFFFFF;
  --gray: #F5F0EB;
  --text: #3A3A4E;
  --text-light: #7A7A8E;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(26,26,46,0.12);
  --shadow-lg: 0 20px 60px rgba(26,26,46,0.18);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }

.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,43,0.4); }
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--light); transform: translateY(-2px); }
.w-full { width: 100%; justify-content: center; }

/* ===== SECTION LABELS & HEADS ===== */
.section-label {
  display: inline-block;
  background: rgba(255,107,43,0.12);
  color: var(--primary);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-label.light {
  background: rgba(255,255,255,0.25);
  color: var(--white);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-head h2 { font-size: 2.4rem; font-family: 'Playfair Display', serif; color: var(--dark); margin-bottom: .8rem; }
.section-head p { color: var(--text-light); font-size: 1.1rem; }

h2 { font-size: 2.2rem; font-family: 'Playfair Display', serif; color: var(--dark); margin-bottom: 1rem; }
h2 em { color: var(--primary); font-style: normal; }
h3 { font-size: 1.25rem; font-weight: 800; color: var(--dark); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}
.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Nunito', sans-serif;
}
.logo-icon { font-size: 2rem; }
.logo-text { font-size: 1.2rem; font-weight: 400; color: var(--white); transition: var(--transition); }
.logo-text strong { font-weight: 900; }
.logo-text em { color: var(--primary); font-style: normal; font-weight: 800; }
.header.scrolled .logo-text { color: var(--dark); }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav-link {
  padding: .55rem 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
}
.header.scrolled .nav-link { color: var(--text); }
.nav-link:hover, .nav-link.active { background: var(--primary); color: var(--white) !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .burger span { background: var(--dark); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.5) 60%, rgba(255,107,43,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 7rem 2rem 4rem;
  margin: 0 auto 0 8%;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,107,43,0.25);
  border: 1px solid rgba(255,107,43,0.5);
  color: #FFB399;
  font-weight: 700;
  font-size: .85rem;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: .05em;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-title strong { color: var(--primary); }
.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.8rem; font-weight: 900; color: var(--primary); }
.stat span { font-size: .85rem; color: rgba(255,255,255,0.75); }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== ABOUT STRIP ===== */
.about-strip {
  background: var(--primary);
  padding: 1.2rem 0;
}
.strip-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
}
.strip-item i { font-size: 1.1rem; opacity: .85; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-images {
  position: relative;
  min-height: 500px;
}
.about-img-main {
  width: 80%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-img-side {
  position: absolute;
  bottom: -2rem;
  right: 0;
  width: 55%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { margin-bottom: 1rem; color: var(--text-light); font-size: 1.05rem; }
.about-list { list-style: none; margin: 1.5rem 0 2rem; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .7rem;
  font-weight: 600;
  font-size: .98rem;
}
.about-list i { color: var(--primary); margin-top: .2rem; }

/* ===== ATTRACTIONS ===== */
.attractions { background: var(--gray); }
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.attraction-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.attraction-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.attraction-card.featured {
  grid-column: span 1;
  border: 2px solid var(--primary);
}
.attraction-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.attraction-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.attraction-card:hover .attraction-img-wrap img { transform: scale(1.05); }
.attraction-badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  background: var(--primary);
  color: var(--white);
  font-size: .75rem;
  font-weight: 800;
  padding: .25rem .8rem;
  border-radius: 50px;
}
.attraction-body { padding: 1.5rem; }
.attraction-body h3 { margin-bottom: .5rem; }
.attraction-body p { color: var(--text-light); font-size: .95rem; }

/* ===== BIRTHDAY BANNER ===== */
.birthday-banner { position: relative; }
.birthday-inner { position: relative; min-height: 480px; display: flex; align-items: center; }
.birthday-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.birthday-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,61,0,0.85), rgba(26,26,46,0.8));
}
.birthday-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 4rem 2rem;
}
.birthday-content h2 { color: var(--white); font-size: 2.8rem; margin-bottom: 1rem; }
.birthday-content h2 em { color: #FFD166; font-style: normal; }
.birthday-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; }

/* ===== RESTAURANT ===== */
.restaurant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.restaurant-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.restaurant-text h2 { margin-bottom: 1rem; }
.restaurant-text p { color: var(--text-light); margin-bottom: 1.5rem; }
.restaurant-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.rf-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 600;
}
.rf-item i { color: var(--primary); font-size: 1.1rem; width: 1.5rem; }

/* ===== LOUNGE ===== */
.lounge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.lounge-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lounge-text h2 { margin-bottom: 1rem; }
.lounge-text p { color: var(--text-light); margin-bottom: 1.5rem; }

/* ===== PRICES ===== */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--primary); }
.price-badge-top {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: .8rem;
  font-weight: 800;
  padding: .3rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}
.price-header { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray); }
.price-header h3 { margin-bottom: .5rem; }
.price-amount { font-size: 2.5rem; font-weight: 900; color: var(--primary); }
.price-amount span { font-size: 1.2rem; vertical-align: top; margin-top: .5rem; display: inline-block; }
.price-amount small { font-size: .9rem; font-weight: 600; color: var(--text-light); }
.price-list { list-style: none; margin-bottom: 1.5rem; }
.price-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem 0;
  font-size: .95rem;
  border-bottom: 1px solid var(--gray);
}
.price-list li:last-child { border-bottom: none; }
.price-list i { color: var(--primary); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.testi-stars { color: var(--primary); font-size: 1.2rem; margin-bottom: .7rem; }
.testi-card p { color: var(--text); font-size: .98rem; margin-bottom: 1rem; font-style: italic; }
.testi-author { font-weight: 800; font-size: .9rem; color: var(--text-light); }

/* ===== LOCATION ===== */
.location { background: var(--gray); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.loc-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.loc-item i { color: var(--primary); font-size: 1.3rem; margin-top: .15rem; flex-shrink: 0; }
.loc-item strong { display: block; font-weight: 800; margin-bottom: .2rem; }
.loc-item p { color: var(--text-light); }
.map-placeholder {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.map-placeholder i { font-size: 4rem; color: var(--primary); margin-bottom: 1rem; }
.map-placeholder p { color: var(--text-light); font-size: 1.05rem; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { margin-top: 1rem; font-size: .95rem; line-height: 1.7; }
.logo-light .logo-text { color: var(--white); }
.social-links { display: flex; gap: .7rem; margin-top: 1.5rem; }
.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: var(--transition);
}
.social-links a:hover { background: var(--primary); }
.footer-col h4 { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: .9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col p { color: rgba(255,255,255,0.7); font-size: .9rem; margin-bottom: .5rem; display: flex; gap: .5rem; align-items: flex-start; }
.footer-col p i { color: var(--primary); margin-top: .1rem; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,0.45);
}

/* ===== INNER PAGES ===== */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 8rem 2rem 4rem;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 3rem; margin-bottom: .7rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; }
.page-hero .breadcrumb { margin-bottom: 1rem; font-size: .9rem; color: rgba(255,255,255,0.5); }
.page-hero .breadcrumb a { color: var(--primary); }

.content-section { padding: 5rem 0; }

/* ===== ATTRACTIONS PAGE ===== */
.attractions-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.attr-full-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.attr-full-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.attr-full-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.attr-full-body { padding: 1.5rem; }
.attr-full-body h3 { margin-bottom: .5rem; font-size: 1.3rem; }
.attr-full-body .tag {
  display: inline-block;
  background: rgba(255,107,43,0.1);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 800;
  padding: .2rem .7rem;
  border-radius: 50px;
  margin-bottom: .7rem;
}
.attr-full-body p { color: var(--text-light); font-size: .95rem; }

/* ===== BIRTHDAY PAGE ===== */
.birthday-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.bday-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gray);
  transition: var(--transition);
}
.bday-card.highlight { border-top-color: var(--primary); }
.bday-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bday-price { font-size: 2.2rem; font-weight: 900; color: var(--primary); margin: .5rem 0; }
.bday-list { list-style: none; margin: 1rem 0 1.5rem; }
.bday-list li { padding: .4rem 0; border-bottom: 1px solid var(--gray); font-size: .95rem; display: flex; gap: .6rem; align-items: center; }
.bday-list i { color: var(--primary); }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: .5rem; font-size: .9rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid #E5E0DA;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,43,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  background: #e8fef3;
  border: 1px solid #4caf83;
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  color: #2d7a5a;
  font-weight: 700;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.legal-content h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 1rem; color: var(--dark); }
.legal-content h2 { font-size: 1.4rem; margin: 2rem 0 .7rem; }
.legal-content p { color: var(--text-light); margin-bottom: 1rem; }
.legal-content ul { margin: .5rem 0 1rem 1.5rem; }
.legal-content li { color: var(--text-light); margin-bottom: .4rem; }
.legal-date { color: var(--text-light); font-size: .9rem; margin-bottom: 2rem; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--dark);
  color: var(--white);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: .92rem; color: rgba(255,255,255,0.85); }
.cookie-banner a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: .7rem; flex-shrink: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .hero-content { margin-left: 4%; }
  .attractions-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .restaurant-grid, .lounge-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-images { min-height: 350px; }
  .about-img-side { width: 50%; }
  .prices-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .birthday-packages { grid-template-columns: repeat(2, 1fr); }
  .attractions-full-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--dark); justify-content: center; align-items: center; gap: 1rem; z-index: 999; }
  .nav.open { display: flex; }
  .nav-link { font-size: 1.4rem; color: var(--white) !important; }
  .burger { display: flex; z-index: 1001; }
  .hero-title { font-size: 2.4rem; }
  .hero-content { margin-left: 0; padding: 7rem 1.5rem 3rem; }
  .section-head h2, h2 { font-size: 1.8rem; }
  .attractions-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .prices-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .strip-items { gap: 1.2rem; }
  .birthday-packages { grid-template-columns: 1fr; }
  .attractions-full-grid { grid-template-columns: 1fr; }
  .restaurant-grid, .lounge-grid { grid-template-columns: 1fr; }
  .birthday-content h2 { font-size: 2rem; }
  .page-hero h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats .stat strong { font-size: 1.4rem; }
  .about-img-side { display: none; }
}
