/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blush: #f8e4e8;
  --blush-soft: #fdf3f1;
  --rose: #c98a9c;
  --rose-dark: #a8677c;
  --gold: #c9a05c;
  --plum: #2c2129;
  --ink: #3a2c33;
  --cream: #fffaf7;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --shadow: 0 20px 40px -20px rgba(44, 33, 41, 0.25);
  --radius: 20px;
  --container: 1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo {
  font-family: 'Playfair Display', serif;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 211, 102, 0.6);
}
.btn--whatsapp:hover { background: var(--whatsapp-dark); }

.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--rose);
  color: var(--rose-dark);
}
.btn--ghost:hover { background: var(--blush); }

.btn--outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: #fff;
}
.btn--outline-light:hover { background: rgba(255,255,255,0.12); }

.btn--large { padding: 16px 32px; font-size: 1rem; }
.btn--small { padding: 9px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--plum);
  color: var(--blush);
  text-align: center;
  font-size: 0.8rem;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44,33,41,0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span { color: var(--rose-dark); font-style: italic; }
.logo__icon {
  height: 40px;
  width: auto;
  display: block;
}
.logo--footer .logo__icon { height: 34px; }

.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--rose-dark);
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 88px;
  background: radial-gradient(circle at 15% 20%, var(--blush-soft), transparent 55%),
              radial-gradient(circle at 85% 0%, #fbeee5, transparent 45%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 16px;
}
.eyebrow--center { display: block; text-align: center; }

.hero__content h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--plum);
  margin-bottom: 20px;
}
.hero__content h1 span { color: var(--rose-dark); font-style: italic; }

.hero__lead {
  font-size: 1.05rem;
  color: #5c4c54;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust__item { display: flex; flex-direction: column; }
.trust__item strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--plum);
}
.trust__item span { font-size: 0.8rem; color: #7a6a70; }
.trust__divider {
  width: 1px;
  height: 32px;
  background: rgba(44,33,41,0.15);
}

.hero__visual { position: relative; }
.hero__portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  max-width: 460px;
  margin: 0 auto;
}
.hero__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.collage__badge {
  position: absolute;
  bottom: 6%;
  left: 6%;
  right: 6%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
}
.collage__badge-emoji { font-size: 1.4rem; }
.collage__badge strong { display: block; font-size: 0.85rem; color: var(--plum); }
.collage__badge span { font-size: 0.78rem; color: #7a6a70; }

/* ---------- Section generic ---------- */
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 16px;
}
.section-title--left { text-align: left; }
.section-title--light { color: #fff; }
.section-lead {
  text-align: center;
  color: #6b5a61;
  max-width: 560px;
  margin: 0 auto 48px;
}
.section-lead--light { color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.section-lead a { color: var(--gold); font-weight: 600; }

/* ---------- Services ---------- */
.services { padding: 100px 0; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 12px 30px -18px rgba(44,33,41,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px -18px rgba(44,33,41,0.28);
}
.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blush-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--plum);
}
.service-card p {
  font-size: 0.9rem;
  color: #6b5a61;
  margin-bottom: 18px;
  min-height: 66px;
}
.service-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rose-dark);
}

.services__note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #7a6a70;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 100px 0;
  background: var(--blush-soft);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery__item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px -18px rgba(44,33,41,0.2);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__item:hover { transform: scale(1.03); }
.gallery__item:hover img { transform: scale(1.08); }

.gallery__cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Course ---------- */
.course { padding: 100px 0; }
.course__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.course__visual {
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.course__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.course__content p {
  color: #5c4c54;
  margin-bottom: 20px;
}
.course__list {
  margin-bottom: 28px;
}
.course__list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 500;
}
.course__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rose-dark);
  font-weight: 700;
}

/* ---------- Contact ---------- */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--plum), #4a2f3a);
  text-align: center;
}
.contact__ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.contact__location {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--plum);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 100px;
}
.footer__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.logo--footer { color: #fff; }
.logo--footer span { color: var(--gold); }
.footer__socials {
  display: flex;
  gap: 18px;
  margin: 4px 0;
}
.footer__socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.2s ease;
}
.footer__socials a:hover { background: rgba(255,255,255,0.18); }
.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* ---------- Floating WhatsApp button ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,0.6);
  z-index: 60;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45), 0 14px 30px -8px rgba(37,211,102,0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 14px 30px -8px rgba(37,211,102,0.6); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 14px 30px -8px rgba(37,211,102,0.6); }
}

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,250,247,0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(44,33,41,0.08);
  z-index: 55;
  display: none;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 980px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .course__grid { grid-template-columns: 1fr; }
  .course__visual { order: -1; height: 260px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,0.2);
    transform: translateY(-140%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; }
  .nav__toggle { display: flex; }
  .header__actions .btn--small { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__portrait { max-width: 320px; }

  .fab-whatsapp { bottom: 90px; }
  .mobile-cta { display: block; }
  body { padding-bottom: 78px; }
}

@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .header__inner { height: 68px; }
  .hero { padding: 40px 0 56px; }
}
