/* ======================== RESET & VARIABLES ======================== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --purple-deep: #4A1A6B;
  --purple-mid: #6B2D8B;
  --purple-soft: #8E5AAC;
  --purple-light: #C9A5E0;
  --rose: #D4708F;
  --rose-light: #E8A4B8;
  --rose-pale: #F5D5DE;
  --cream: #FDF8FA;
  --white: #FFFFFF;
  --text-dark: #2A1235;
  --text-mid: #5C3D6E;
  --text-light: #8A6F9A;
  --gold: #C49B5F;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --section-padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  --max-width: 1200px;
  --radius: 16px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width:100%; display:block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ======================== UTILITIES ======================== */
.container { max-width: var(--max-width); margin: 0 auto; width:100%; }
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--purple-deep);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.8;
}

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--purple-deep);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--purple-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74,26,107,0.3);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--purple-soft);
  color: var(--purple-deep);
}
.btn-outline:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-rose {
  background: var(--rose);
  color: var(--white);
}
.btn-rose:hover {
  background: #C0607E;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,112,143,0.3);
}
.btn-rose-lg {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}
.btn-submit {
  align-self: flex-start;
}

/* ======================== DECORATIVE MOON ======================== */
.moon {
  width: 40px; height: 40px;
  background: var(--purple-deep);
  border-radius: 50%;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.moon::after {
  content: '';
  position: absolute;
  width: 32px; height: 32px;
  background: var(--cream);
  border-radius: 50%;
  top: 2px; left: 10px;
}

/* ======================== HEADER ======================== */
.header {
  position: fixed; top:0; left:0; width:100%; z-index:1000;
  background: rgba(253,248,250,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(74,26,107,0.06);
  transition: box-shadow 0.3s;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem clamp(1.5rem,5vw,4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1.1;
}
.logo-text span {
  font-style: italic;
  font-weight: 400;
  color: var(--purple-soft);
  font-size: 1rem;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.3px;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left:0;
  width:0; height: 2px;
  background: var(--rose);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--purple-deep); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 0.6rem 1.5rem !important;
  background: var(--purple-deep) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--purple-mid) !important;
  color: var(--white) !important;
}

/* ======================== HAMBURGER ======================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--purple-deep);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ======================== MOBILE NAV ======================== */
.mobile-nav {
  display: none;
  position: fixed; top:0; left:0; width:100%; height:100vh;
  background: rgba(253,248,250,0.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--purple-deep);
  font-weight: 600;
}
.mobile-nav a:hover { color: var(--rose); }

/* Nav breakpoint: hamburger aparece a ≤900px (spec sección 3.7 y 4.1) */
@media (max-width:900px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
}

/* ======================== HERO ======================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-padding);
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212,112,143,0.12) 0%, rgba(142,90,172,0.06) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,26,107,0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { animation: fadeInUp 1s ease; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74,26,107,0.06);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--purple-mid);
  margin-bottom: 2rem;
  border: 1px solid rgba(74,26,107,0.08);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--rose);
  font-weight: 400;
}
.hero-slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--purple-soft);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap:wrap; }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease 0.2s both;
}
.hero-image-wrapper {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/5;
  border-radius: 200px 200px 40px 40px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, var(--purple-light), var(--rose-pale));
  box-shadow: 0 30px 80px rgba(74,26,107,0.15);
}
.hero-image-wrapper img {
  width:100%; height:100%;
  object-fit: cover;
}
.hero-placeholder {
  width:100%; height:100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--purple-soft);
  text-align: center;
  padding: 2rem;
}
.hero-float-card {
  position: absolute;
  bottom: 2rem; left: -2rem;
  background: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(74,26,107,0.12);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 4s ease-in-out infinite;
}
.hero-float-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1;
}
.hero-float-label {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.4;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to { opacity:1; transform:translateY(0); }
}

@media(max-width:900px) {
  .hero .container { grid-template-columns:1fr; text-align:center; }
  .hero-desc { margin-left:auto; margin-right:auto; }
  .hero-buttons { justify-content:center; }
  .hero-visual { order:-1; }
  .hero-image-wrapper { max-width:320px; }
  .hero-float-card { left:50%; transform:translateX(-50%); bottom:1rem; }
}

/* ======================== ABOUT ======================== */
.about {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
}
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-area {
  position: relative;
}
.about-image-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-pale), var(--purple-light));
}
.about-image-main .hero-placeholder {
  font-size: 1.1rem;
}
.about-accent-box {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--purple-deep);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  max-width: 240px;
  line-height: 1.5;
  box-shadow: 0 12px 40px rgba(74,26,107,0.2);
}
.about-text p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.9;
}
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(74,26,107,0.08);
}
.about-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--purple-deep);
}
.about-stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media(max-width:900px) {
  .about .container { grid-template-columns:1fr; }
  .about-accent-box { position:relative; bottom:0; right:0; margin-top:1rem; }
}

/* ======================== GALLERY ======================== */
.gallery {
  padding: var(--section-padding);
  background: var(--cream);
}
.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}
.gallery-header .section-subtitle { margin: 0 auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: linear-gradient(135deg, var(--purple-light), var(--rose-pale));
  transition: transform 0.4s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width:100%; height:100%; object-fit:cover; }
.gallery-item .hero-placeholder { font-size:0.9rem; }
.gallery-item::after {
  content: '';
  position: absolute;
  inset:0;
  background: linear-gradient(to top, rgba(74,26,107,0.3), transparent 50%);
  opacity:0;
  transition: opacity 0.4s;
}
.gallery-item:hover::after { opacity:1; }

@media(max-width:768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item { aspect-ratio: 1; }
  .gallery-item:nth-child(1) { grid-column:span 2; aspect-ratio:16/9; grid-row:auto;}
}

/* ======================== EVENTS ======================== */
.events {
  padding: var(--section-padding);
  background: var(--purple-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.events::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
}
.events .section-label { color: var(--rose-light); }
.events .section-title { color: var(--white); }
.events .section-subtitle { color: rgba(255,255,255,0.65); }
.events-header { margin-bottom: 3rem; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.event-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s;
  backdrop-filter: blur(10px);
}
.event-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.2);
}
.event-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,112,143,0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rose-light);
  margin-bottom: 1.25rem;
}
.event-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.event-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.event-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ======================== TESTIMONIALS ======================== */
.testimonials {
  padding: var(--section-padding);
  background: var(--white);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}
.testimonials-header .section-subtitle { margin:0 auto; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  border: 1px solid rgba(74,26,107,0.05);
  transition: all 0.35s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(74,26,107,0.08);
}
.testimonial-quote {
  font-size: 3rem;
  font-family: var(--font-display);
  color: var(--rose-light);
  line-height: 1;
  margin-bottom: 1rem;
}
.testimonial-card p {
  color: var(--text-mid);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-light), var(--rose-pale));
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--purple-deep);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ======================== JOIN ======================== */
.join {
  padding: var(--section-padding);
  background: var(--cream);
  position: relative;
}
.join .container {
  max-width: 900px;
  text-align: center;
}
.join .section-subtitle { margin: 0 auto 3rem; }
.join-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.join-step {
  padding: 2rem;
}
.join-step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--purple-deep);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.join-step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--purple-deep);
  margin-bottom: 0.75rem;
}
.join-step p {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
}

@media(max-width:600px) {
  .join-steps { grid-template-columns:1fr; }
}

/* ======================== REVISTA ======================== */
.revista {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--purple-deep) 0%, #3A1255 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.revista::before {
  content: '☽';
  position: absolute;
  font-size: 20rem;
  top: -3rem; right: -3rem;
  opacity: 0.03;
  pointer-events: none;
}
.revista .section-label { color: var(--gold); }
.revista .section-title { color: var(--white); }
.revista .section-subtitle { margin: 0 auto 2.5rem; color: rgba(255,255,255,0.65); }
.revista-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 3rem;
  max-width: 600px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}
.revista-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.revista-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ======================== CONTACT ======================== */
.contact {
  padding: var(--section-padding);
  background: var(--white);
}
.contact .container {
  max-width: 600px;
  margin-inline: auto;
}
.contact-subtitle {
  margin-bottom: 2.5rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(74,26,107,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.contact-info-value {
  color: var(--text-dark);
  font-weight: 500;
}
.contact-phone-link {
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(74,26,107,0.3);
  transition: color 0.2s, border-color 0.2s;
}
.contact-phone-link:hover {
  color: var(--purple-deep);
  border-color: var(--purple-deep);
}
.contact-socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--purple-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 0.85rem;
  font-weight: 700;
}
.contact-social-link:hover {
  background: var(--rose);
  transform: translateY(-3px);
}

@media(max-width:768px) {
  .contact .container { max-width: 100%; }
}

/* ======================== FOOTER ======================== */
.footer {
  padding: 3rem clamp(1.5rem,5vw,4rem) 2rem;
  background: var(--text-dark);
  color: rgba(255,255,255,0.5);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}
.footer-logo span { color: var(--rose-light); font-style:italic; font-weight:400; }
.footer-links { display:flex; gap:1.5rem; }
.footer-links a { font-size:0.85rem; transition:color 0.3s; }
.footer-links a:hover { color:var(--white); }
.footer-copy {
  font-size:0.8rem;
  width:100%;
  text-align:center;
  margin-top:1.5rem;
  padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,0.06);
}

/* ======================== WHATSAPP FLOAT ======================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  z-index: 900;
  transition: all 0.3s;
  cursor: pointer;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
}
.whatsapp-float svg { width:28px; height:28px; fill:#fff; }

/* ======================== SCROLL ANIMATIONS ======================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
