/* =============================================================
   Dra. Linda Espinosa — Landing styles
   Paleta inspirada en el logo (mauve / purple)
   ============================================================= */

:root {
  --primary: #7B5E8E;
  --primary-dark: #4D3960;
  --primary-light: #D4C5DC;
  --accent: #B8A0C9;
  --bg: #FAF7FB;
  --bg-alt: #F3EEF6;
  --text: #2E2A33;
  --text-soft: #6B6470;
  --line: #E6DEE9;
  --shadow: 0 10px 40px -10px rgba(75, 50, 95, 0.15);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Dancing Script', cursive;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: 96px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }

.text-soft { color: var(--text-soft); }

img { max-width: 100%; height: auto; }

/* ---------- Language switching ---------- */
.lang-en { display: none; }
html[lang="en"] .lang-es { display: none; }
html[lang="en"] .lang-en { display: revert; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ---------- Accents ---------- */
.accent {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 500;
}

.script-accent {
  font-family: var(--font-script);
  color: var(--primary);
  font-weight: 700;
  font-style: normal;
  font-size: 1.15em;
  padding: 0 0.05em;
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-sub {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

.subsection-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--primary-dark);
  font-weight: 500;
}

/* ---------- Navbar ---------- */
.navbar-custom {
  background: rgba(250, 247, 251, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}

.brand-logo {
  height: 76px;
  width: auto;
}

.navbar-custom .nav-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text);
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color .2s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus { color: var(--primary); }

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.25rem;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.navbar-custom .nav-link:hover::after { transform: scaleX(1); }

.navbar-toggler:focus { box-shadow: none; }

/* Language switch */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--primary);
  border-radius: 999px;
  overflow: hidden;
}
.lang-btn {
  background: transparent;
  border: 0;
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  transition: all .2s ease;
  cursor: pointer;
}
.lang-btn.active {
  background: var(--primary);
  color: #fff;
}
.lang-btn:not(.active):hover { background: var(--primary-light); }

/* ---------- Buttons ---------- */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  padding: 0.7rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: all .25s ease;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.7rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: all .25s ease;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  padding: 5rem 0 6rem;
  background:
    radial-gradient(circle at 90% 10%, var(--primary-light) 0%, transparent 45%),
    radial-gradient(circle at 5% 90%, var(--bg-alt) 0%, transparent 50%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  color: var(--text);
}

.hero .lead {
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 540px;
}

.hero-photo-wrap {
  position: relative;
  display: inline-block;
  max-width: 420px;
  width: 100%;
}

.hero-photo {
  border-radius: 999px / 90%;
  width: 100%;
  display: block;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.hero-photo-frame {
  position: absolute;
  inset: -18px -18px 18px 18px;
  border: 2px solid var(--primary);
  border-radius: 999px / 90%;
  z-index: 1;
  opacity: 0.55;
}

/* ---------- About ---------- */
.rounded-soft { border-radius: 18px; }
.shadow-soft { box-shadow: var(--shadow); }

.about-stats .stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  height: 100%;
  transition: all .25s ease;
}
.about-stats .stat-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
}
.about-stats .stat-card i {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}
.about-stats .stat-card h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.about-stats .stat-card p {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 0;
}

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: all .3s ease;
  height: 100%;
}
.service-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}
.service-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Check list ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.check-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: '\F26B';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 0.55rem;
  color: var(--primary);
  font-size: 1.1rem;
}

/* ---------- Info cards (botox) ---------- */
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem;
}
.info-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--primary-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.info-card h4 i { color: var(--primary); font-size: 1.3rem; }
.info-card ul {
  padding-left: 1.1rem;
  color: var(--text-soft);
}
.info-card ul li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.info-card ul li::marker { color: var(--primary); }

/* ---------- Accordion ---------- */
.accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.accordion-button {
  background: transparent !important;
  color: var(--text) !important;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  padding: 1.25rem 0;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--primary) !important; }
.accordion-button::after {
  filter: hue-rotate(260deg) saturate(0.7) brightness(0.85);
}
.accordion-body {
  font-size: 0.98rem;
  color: var(--text-soft);
  padding: 0 0 1.5rem 0;
}

/* ---------- Tip cards ---------- */
.tip-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: all .3s ease;
}
.tip-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-3px);
}
.tip-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--primary-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}
.tip-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.tip-card p {
  font-size: 0.94rem;
  color: var(--text-soft);
  margin: 0;
}

/* ---------- Contact cards ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all .3s ease;
}
.contact-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}
.contact-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}
.contact-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.contact-card p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.contact-card .price {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ---------- Instagram CTA (contact section) ---------- */
.social-cta {
  margin-top: 3.5rem;
}
.instagram-btn,
.youtube-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all .25s ease;
}
.instagram-btn i,
.youtube-btn i {
  font-size: 1.2rem;
  line-height: 1;
}
.instagram-btn:hover,
.youtube-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Footer ---------- */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-logo {
  height: 92px;
  width: auto;
  opacity: 0.85;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  transition: all .2s ease;
}
.footer-social i { font-size: 1rem; line-height: 1; }
.footer-social:hover {
  background: var(--primary);
  color: #fff;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  body { padding-top: 86px; }
  .brand-logo { height: 64px; }
  .navbar-custom .nav-link { padding: 0.6rem 0 !important; }
  .navbar-custom .nav-link::after { display: none; }
  .lang-switch { margin-top: 0.5rem; }
  .hero { padding: 3rem 0 4rem; text-align: center; }
  .hero-text { margin-bottom: 2rem; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .section { padding: 4rem 0; }
}

@media (max-width: 575.98px) {
  body { padding-top: 76px; }
  .brand-logo { height: 56px; }
  .footer-logo { height: 72px; }
  .section { padding: 3.5rem 0; }
  .hero h1 { font-size: 2rem; }
  .service-card, .tip-card, .info-card, .contact-card { padding: 1.5rem 1.25rem; }
  .btn-primary-custom, .btn-outline-custom { padding: 0.6rem 1.3rem; font-size: 0.88rem; }
}

/* ---------- Subtle entry animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================ Memberships ============================ */
.memberships {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 2rem;
  text-align: center;
}
.memberships-title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #7a6a82;
  margin-bottom: 1.25rem;
}
.memberships-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}
.memberships-logos a {
  display: inline-flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.memberships-logos a:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.memberships-logos img {
  max-height: 120px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
}
@media (max-width: 575.98px) {
  .memberships-logos { gap: 1.75rem; }
  .memberships-logos img { max-height: 84px; max-width: 240px; }
}
