@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* ============================================================
   NEI DAN GONG FA — Anne Obellianne
   Sitio estático (reconstruido)
   ============================================================ */

:root {
  --dark: #3c3950;
  --white: #ffffff;
  --body-bg: #c2c0a7;
  --gold: #f2ac2e;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--body-bg);
  background-image: url('img/fondo-textura3.jpg');
  background-repeat: repeat;
  color: var(--dark);
  line-height: 1.65;
  font-size: 17px;
}

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

/* ---------- Texto ---------- */
h1, h2, h3, h4, h5, h6,
.title-h1, .title-h2, .title-h6, .styled-subtitle {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--white);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
               -1px 1px 0 #000, 1px 1px 0 #000,
               0 2px 4px rgba(0,0,0,0.5);
  text-align: center;
  line-height: 1.25;
}

p {
  color: var(--dark);
  text-align: center;
}

p.light { color: var(--white); text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; }

.serif-name {
  font-family: var(--font-serif);
  font-size: 2.4em;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  color: var(--white);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 4px rgba(0,0,0,0.5);
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.4em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 4px rgba(0,0,0,0.5);
  text-align: center;
}

.subtitle {
  font-family: var(--font-serif);
  font-size: 1.15em;
  font-style: italic;
  font-weight: 600;
  color: var(--white);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  text-align: center;
}

.lead {
  font-size: 1.2em;
  color: var(--dark);
  text-align: center;
}

.small { font-size: 0.95em; }

.hero-conversion p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 1.18em;
}
.hero-conversion .lead { font-size: 1.5em; }
.hero-conversion .small { font-size: 1.05em; }

.hero-intro-card {
  max-width: 800px;
  margin: 26px auto 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(255,255,255,0.45));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 22px;
  padding: 36px 34px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.7);
  position: relative;
}
.hero-intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}
.hero-intro-card p { margin-bottom: 16px; }
.hero-intro-card p:last-child { margin-bottom: 0; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.section { padding: 50px 0; }

/* ---------- Top area (teléfono/email/sociales) ---------- */
#top-area {
  background: rgba(0,0,0,0.28);
  color: var(--white);
  font-size: 13px;
}
.top-area-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 16px;
}
.top-area-inner a {
  color: var(--white);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000;
}
.top-area-contacts { display: flex; gap: 18px; flex-wrap: wrap; }
.top-area-socials { display: flex; gap: 12px; }

/* ---------- Header ---------- */
#site-header {
  background-image: url('img/fondo-header.jpg');
  background-size: 450px auto;
  background-repeat: repeat;
  background-position: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-logo img {
  width: 78px;
  height: auto;
}

.brand-name {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher {
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.lang-switcher a {
  color: var(--white);
  text-decoration: underline;
  margin: 0 2px;
}

/* Sandwich */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 160;
}
.menu-toggle .line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: var(--white);
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1), opacity 0.25s ease;
}
.menu-toggle.open .line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .line:nth-child(2) { opacity: 0; }
.menu-toggle.open .line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú desplegable (overlay a pantalla completa) */
#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24,21,18,0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
#mobile-menu.open { opacity: 1; visibility: visible; }
#mobile-menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
#mobile-menu li {
  margin: 6px 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.32,0.72,0,1);
}
#mobile-menu.open li { opacity: 1; transform: translateY(0); }
#mobile-menu.open li:nth-child(1) { transition-delay: 0.08s; }
#mobile-menu.open li:nth-child(2) { transition-delay: 0.14s; }
#mobile-menu.open li:nth-child(3) { transition-delay: 0.20s; }
#mobile-menu.open li:nth-child(4) { transition-delay: 0.26s; }
#mobile-menu.open li:nth-child(5) { transition-delay: 0.32s; }
#mobile-menu.open li:nth-child(6) { transition-delay: 0.38s; }
#mobile-menu li a {
  display: inline-block;
  padding: 10px 24px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
#mobile-menu li a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero-conversion {
  padding: 60px 20px 45px;
}
.hero-conversion h1 {
  font-size: 2em;
  margin-bottom: 18px;
}
.hero-conversion p {
  max-width: 720px;
  margin: 0 auto 14px;
}

.hero-main {
  padding: 30px 0 50px;
}
.hero-main .photo {
  max-width: 340px;
  margin: 26px auto;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.philosophy {
  max-width: 720px;
  margin: 0 auto;
  font-style: italic;
  font-size: 1.05em;
}
.philosophy p { margin-bottom: 10px; color: #2d4a3e; font-weight: 700; }
.hero-main > p { color: #2d4a3e; font-weight: 700; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 13px 34px;
  border: 2px solid var(--white);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 2px 4px rgba(0,0,0,0.5);
  transition: background 0.2s;
}
.btn:hover { background: rgba(255,255,255,0.12); }
.btn-center { text-align: center; margin: 20px 0; }

/* ---------- Galería de casos ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  padding: 20px;
}
.gallery .card {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.gallery .card img { width: 100%; height: 100%; object-fit: cover; }
.gallery .card figcaption {
  text-align: center;
  font-size: 0.95em;
  padding: 8px;
  color: var(--dark);
  background: rgba(255,255,255,0.35);
}

/* ---------- Footer ---------- */
#site-footer {
  padding: 40px 20px 30px;
  text-align: center;
}
#site-footer .contact-line {
  font-size: 1.05em;
  margin: 6px 0;
  color: var(--white);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
#site-footer .contact-line a {
  color: var(--white);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 20px 0;
}
.socials a {
  color: var(--white);
  font-size: 24px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000;
}
.copyright {
  font-size: 0.85em;
  color: var(--dark);
}

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #25d366;
  color: #fff;
  padding: 13px 22px;
  border-radius: 40px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.15);
  text-shadow: none;
  transition: transform 0.25s cubic-bezier(0.32,0.72,0,1), box-shadow 0.25s ease, background 0.2s ease;
}
.wa-float:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}
.wa-float svg { flex-shrink: 0; }

/* ---------- Testimonios ---------- */
.testimonials { padding: 50px 20px 30px; }
.t-rating {
  text-align: center;
  color: #1a1a1a;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 1.02em;
  margin: 10px 0 32px;
}
.t-stars { color: var(--gold); letter-spacing: 2px; }
.carousel {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.32,0.72,0,1);
}
.carousel-track .t-card {
  flex: 0 0 100%;
  margin: 0;
}
.t-card {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.t-card .stars {
  color: var(--gold);
  font-size: 17px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.t-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08em;
  line-height: 1.55;
  color: #2d2d2d;
  margin: 0 0 16px;
  flex: 1;
}
.t-card figcaption {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88em;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a1a1a;
}

.car-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
}
.car-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.7);
  color: #1a1a1a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}
.car-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}
.car-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.car-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.car-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}

/* ---------- Pilares (La Terapia) ---------- */
.pillars {
  margin: 20px 0 14px;
}
.pillar {
  font-family: var(--font-serif);
  font-size: 1.5em;
  font-weight: 600;
  color: #2d4a3e;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.4px;
}
.pillar-note {
  max-width: 720px;
  margin: 6px auto 0;
  font-style: italic;
  font-size: 1.05em;
  color: var(--dark);
}

/* ---------- Leer más (Ley fundamental) ---------- */
.leer-mas {
  margin: 26px auto 6px;
  max-width: 820px;
}
.leer-mas summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.2em;
  font-weight: 600;
  color: #2d4a3e;
  text-align: center;
  padding: 8px 0;
  list-style: none;
  letter-spacing: 0.5px;
}
.leer-mas summary::-webkit-details-marker { display: none; }
.leer-mas summary::after {
  content: ' +';
  font-weight: 700;
}
.leer-mas[open] summary::after {
  content: ' –';
}
.leer-mas p {
  text-align: center;
  margin-bottom: 12px;
  color: var(--dark);
}

/* ---------- Responsive ---------- */
@media (min-width: 992px) {
  .brand-name { font-size: 18px; letter-spacing: 2px; }
  .lang-switcher { font-size: 14px; }
  .hero-conversion h1 { font-size: 2.6em; }
}
