/* ========================================
   Dra. Amparo Irías - Premium Design v3
   Palette: #FAFAFA, #E5E5E5, #2E2E2E, #9DB8A0
   Fonts: Playfair Display + Inter
   Inspired by cailico-connect design system
   ======================================== */

:root {
  --white: #FAFAFA;
  --gray: #E5E5E5;
  --gray-warm: #F2F0ED;
  --dark: #2E2E2E;
  --dark-deep: #1a1a1a;
  --sage: #9DB8A0;
  --sage-deep: #7a9e7e;
  --sage-light: rgba(157,184,160,0.1);
  --sage-mid: rgba(157,184,160,0.25);
  --sage-glow: rgba(157,184,160,0.35);
  --text: #333;
  --text-light: #666;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(46,46,46,0.04);
  --shadow: 0 8px 32px rgba(46,46,46,0.08);
  --shadow-lg: 0 20px 60px rgba(46,46,46,0.12);
  --shadow-xl: 0 32px 80px rgba(46,46,46,0.16);
  --shadow-glow: 0 0 40px var(--sage-glow);
  --gradient-sage: linear-gradient(135deg, #9DB8A0 0%, #7a9e7e 100%);
  --gradient-dark: linear-gradient(135deg, #2E2E2E 0%, #1a1a1a 100%);
  --gradient-warm: linear-gradient(135deg, #FAFAFA 0%, #F2F0ED 50%, rgba(157,184,160,0.06) 100%);
  --gradient-section: linear-gradient(180deg, #f7f6f4 0%, #f0eeeb 100%);
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* --- Geometric background patterns --- */
.geometric-bg {
  background-image:
    radial-gradient(circle at 15% 85%, var(--sage-light) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(157,184,160,0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(157,184,160,0.03) 0%, transparent 60%);
}

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.15s; }
.reveal-d2 { transition-delay: 0.3s; }
.reveal-d3 { transition-delay: 0.45s; }
.reveal-d4 { transition-delay: 0.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 24px var(--sage-glow); }
  50% { box-shadow: 0 0 48px rgba(157,184,160,0.5); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.04em; border: none; cursor: pointer;
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0; border-radius: 50px;
  opacity: 0; transition: opacity 0.4s;
}
.btn:hover::after { opacity: 1; }
.btn--primary { background: var(--gradient-sage); color: #fff; box-shadow: 0 6px 28px var(--sage-glow); }
.btn--primary:hover { box-shadow: 0 12px 40px rgba(157,184,160,0.55); transform: translateY(-3px); }
.btn--outline { background: transparent; border: 2px solid var(--dark); color: var(--dark); }
.btn--outline:hover { background: var(--gradient-dark); color: var(--white); border-color: var(--dark); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--white { background: #fff; color: var(--dark); box-shadow: var(--shadow); }
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--whatsapp { background: #3D7B44; color: #fff; box-shadow: none; }
.btn--whatsapp:hover { background: #346b3b; box-shadow: 0 4px 16px rgba(61,123,68,0.3); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }

/* --- Section headings --- */
.section-label {
  font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--sage);
  margin-bottom: 16px; display: block;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.section-subtitle { font-size: 1.1rem; color: var(--dark); line-height: 1.85; max-width: 600px; }
.section-subtitle--center { margin: 0 auto; text-align: center; }
.section-divider {
  width: 48px; height: 3px; margin: 24px 0;
  background: var(--gradient-sage); border-radius: 2px;
}
.section-divider--center { margin: 24px auto; }

/* =========== HEADER =========== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(250,250,250,0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(229,229,229,0.4);
  transition: var(--transition);
}
.header--scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.06); background: rgba(250,250,250,0.96); }
.header--scrolled .header__inner { height: 56px; }
.header--scrolled .header__logo img { height: 44px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; transition: height 0.4s cubic-bezier(0.16,1,0.3,1); }
.header__logo img { height: 56px; width: auto; transition: height 0.4s cubic-bezier(0.16,1,0.3,1); }
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__nav a {
  font-size: 0.85rem; font-weight: 400; color: var(--dark); letter-spacing: 0.02em;
  position: relative; transition: color 0.3s;
}
.header__nav a::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; width: 0; height: 2px;
  background: var(--gradient-sage); transition: all 0.4s cubic-bezier(0.16,1,0.3,1); transform: translateX(-50%);
  border-radius: 1px;
}
.header__nav a:hover { color: var(--sage-deep); }
.header__nav a:hover::after { width: 100%; }
.header__lang {
  font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--sage-deep); background: var(--sage-light);
  border: 2px solid var(--sage-mid); padding: 6px 18px; border-radius: 50px;
  cursor: pointer; transition: var(--transition);
}
.header__lang:hover { background: var(--gradient-sage); color: #fff; border-color: var(--sage); box-shadow: 0 4px 16px var(--sage-glow); }
.header__hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 4px; }
.header__hamburger span { display: block; width: 24px; height: 1.5px; background: var(--dark); transition: all 0.4s ease; border-radius: 2px; }

/* =========== HERO =========== */
.hero {
  margin-top: 80px; position: relative; overflow: hidden;
  height: calc(100vh - 80px);
  background: url('../img/hero-amparo.webp') no-repeat center center / cover;
}
.hero__bg { display: none; }
.hero__content {
  position: absolute; top: 0; left: 0;
  width: 45%; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 3vw 0 5vw;
  z-index: 2;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.8vw;
  font-weight: 700;
  color: #2E2E2E;
  margin-bottom: 1.5vw;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hero__separator { font-weight: 300; opacity: 0.5; }
.hero__text {
  font-family: 'Inter', sans-serif;
  font-size: 1.25vw;
  font-weight: 600;
  line-height: 1.7;
  color: #3a3a3a;
  margin-bottom: 2vw;
}
.hero .btn--whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: #3D7B44; color: #fff;
  padding: 1vw 2vw;
  border-radius: 6px;
  font-size: 1.1vw; font-weight: 600;
  text-decoration: none; border: none;
  box-shadow: none; white-space: nowrap;
  width: fit-content;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.hero .btn--whatsapp svg { width: 1.4vw; height: 1.4vw; flex-shrink: 0; }
.hero .btn--whatsapp:hover { background: #346b3b; box-shadow: 0 4px 16px rgba(61,123,68,0.3); }

/* =========== ABOUT (home) =========== */
.about {
  padding: 100px 0; position: relative; overflow: hidden;
  background: var(--gradient-warm);
}
.about::before {
  content: ''; position: absolute; top: -100px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,184,160,0.1) 0%, transparent 65%); pointer-events: none;
}
.about::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,184,160,0.06) 0%, transparent 60%); pointer-events: none;
}
.about__text { max-width: 640px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.about__intro { font-size: 1.15rem; line-height: 1.95; color: var(--dark); margin-bottom: 40px; }
.about__list { display: flex; flex-direction: column; gap: 16px; text-align: left; display: inline-flex; }
.about__list li {
  position: relative; padding-left: 28px; font-size: 1rem; line-height: 1.7; color: var(--dark);
}
.about__list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--sage-light); border: 2px solid var(--sage);
  box-shadow: 0 0 8px var(--sage-glow);
}

/* =========== CARIES (home) =========== */
.caries {
  padding: 100px 0; position: relative; overflow: hidden;
  background: var(--gradient-section);
}
.caries::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,184,160,0.06) 0%, transparent 60%); pointer-events: none;
}
.caries__header { text-align: center; margin-bottom: 64px; position: relative; z-index: 1; }
.caries__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; position: relative; z-index: 1; }
.caries__item {
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  padding: 44px 28px 36px; border-radius: var(--radius);
  text-align: center; transition: var(--transition);
  border: 1px solid rgba(229,229,229,0.6);
}
.caries__item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--sage-mid);
  border-color: transparent;
  background: #fff;
}
.caries__icon {
  width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(157,184,160,0.12), rgba(157,184,160,0.2));
  display: flex; align-items: center; justify-content: center; color: var(--sage-deep);
  transition: var(--transition);
}
.caries__item:hover .caries__icon {
  background: var(--gradient-sage); color: #fff;
  box-shadow: 0 8px 24px var(--sage-glow);
}
.caries__item h3 { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; line-height: 1.5; }
.caries__cta { text-align: center; position: relative; z-index: 1; }

/* =========== SERVICES (home) =========== */
.services {
  padding: 100px 0; position: relative;
  background: var(--white);
}
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; margin-bottom: 48px; }
.services__item {
  padding: 40px 32px; border: 1.5px solid var(--gray); border-radius: var(--radius);
  transition: var(--transition); position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fafaf8 100%);
}
.services__item::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
  background: var(--gradient-sage); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.services__item:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-6px);
  border-color: var(--sage-mid);
}
.services__item:hover::before { transform: scaleX(1); }
.services__item h3 { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; line-height: 1.55; }
.services__item:nth-child(1) { background: linear-gradient(135deg, #c8e6c9, #dcedc8); border-color: #a5d6a7; }
.services__item:nth-child(2) { background: linear-gradient(135deg, #bbdefb, #c5cae9); border-color: #90caf9; }
.services__item:nth-child(3) { background: linear-gradient(135deg, #f8bbd0, #e1bee7); border-color: #f48fb1; }
.services__item:nth-child(4) { background: linear-gradient(135deg, #ffe082, #ffcc80); border-color: #ffd54f; }
.services__item:nth-child(5) { background: linear-gradient(135deg, #b2ebf2, #b2dfdb); border-color: #80deea; }
.services__item:nth-child(6) { background: linear-gradient(135deg, #ce93d8, #b39ddb); border-color: #ba68c8; }
.services__cta { text-align: center; }
.service-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--gray);
}
.service-tab {
  padding: 10px 20px; border-radius: 50px;
  font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 500;
  color: var(--dark); background: var(--gray-warm);
  border: 1.5px solid var(--gray);
  transition: var(--transition); text-decoration: none;
}
.service-tab:hover {
  background: var(--sage-light); border-color: var(--sage);
  color: var(--sage-deep); transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--sage-glow);
}
.service-block ul { margin: 12px 0 16px 24px; list-style: disc; }
.service-block li { font-size: 1.02rem; line-height: 1.85; color: var(--dark); margin-bottom: 6px; }
.service-block[id] { scroll-margin-top: 100px; }

/* =========== EMOTIONAL =========== */
.emotional {
  padding: 100px 0; color: var(--white);
  position: relative; overflow: hidden;
  background: var(--gradient-dark);
}
.emotional::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,184,160,0.08) 0%, transparent 60%); pointer-events: none;
}
.emotional::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,184,160,0.05) 0%, transparent 60%); pointer-events: none;
}
.emotional__content { max-width: 640px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.emotional__line { width: 48px; height: 3px; background: var(--gradient-sage); margin: 0 auto 48px; border-radius: 2px; }
.emotional__lead {
  font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500; font-style: italic; line-height: 1.55; margin-bottom: 40px; color: #fff;
}
.emotional__content p { font-size: 1.08rem; line-height: 2; color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.emotional__content p:last-child { margin-bottom: 0; }

/* =========== FAQ =========== */
.faq {
  padding: 100px 0; position: relative; overflow: hidden;
  background: var(--white);
}
.faq::before {
  content: ''; position: absolute; top: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,184,160,0.06) 0%, transparent 60%); pointer-events: none;
}
.faq__header { text-align: center; margin-bottom: 64px; }
.faq__list { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid rgba(229,229,229,0.8); }
.faq__item:first-child { border-top: 1px solid rgba(229,229,229,0.8); }
.faq__item summary {
  padding: 28px 0; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 500;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  transition: color 0.3s;
}
.faq__item summary:hover { color: var(--sage-deep); }
.faq__item summary::after {
  content: '+'; font-size: 1.4rem; font-weight: 300; flex-shrink: 0;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1.5px solid var(--gray);
  transition: var(--transition); background: transparent;
}
.faq__item[open] summary::after {
  content: '−'; background: var(--gradient-sage); border-color: var(--sage); color: #fff;
  box-shadow: 0 4px 16px var(--sage-glow);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { padding: 0 0 28px; font-size: 0.95rem; line-height: 1.9; color: var(--text-light); overflow: hidden; transition: max-height 0.35s ease, opacity 0.3s ease, padding-bottom 0.35s ease; }

/* =========== CTA =========== */
.cta {
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--gray-warm) 0%, var(--gray) 30%, rgba(157,184,160,0.15) 70%, rgba(157,184,160,0.08) 100%);
}
.cta::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,184,160,0.12) 0%, transparent 60%); pointer-events: none;
}
.cta::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,184,160,0.08) 0%, transparent 60%); pointer-events: none;
}
.cta .section-title { max-width: 560px; margin: 0 auto 16px; position: relative; z-index: 1; }
.cta .section-subtitle { max-width: 480px; margin: 0 auto 44px; text-align: center; position: relative; z-index: 1; }
.cta .btn-row { position: relative; z-index: 1; }

/* =========== FOOTER =========== */
.footer { background: var(--gradient-dark); color: var(--white); padding: 80px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer__brand img { height: 90px !important; width: auto !important; margin-bottom: 20px; filter: brightness(10); }
.footer__brand p { font-size: 0.9rem; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer__address { margin-top: 8px; font-size: 0.85rem !important; color: rgba(255,255,255,0.25) !important; }
.footer h4 {
  font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 24px; color: var(--sage);
}
.footer__links a, .footer__contact a, .footer__contact p {
  display: block; font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-bottom: 12px; transition: all 0.3s;
}
.footer__links a:hover, .footer__contact a:hover { color: var(--sage); transform: translateX(4px); }
.footer__bottom { padding: 28px 0; }
.footer__bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.2); text-align: center; }

/* =========== WHATSAPP FLOAT =========== */
.whatsapp-float {
  position: fixed; bottom: 32px; right: 32px; width: 64px; height: 64px;
  background: linear-gradient(135deg, #25D366 0%, #1fb855 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45); z-index: 999;
  transition: var(--transition); animation: waPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 14px 48px rgba(37,211,102,0.65); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 32px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 8px 52px rgba(37,211,102,0.7); }
}

/* =========== PAGE HERO (internal) =========== */
.page-hero {
  margin-top: 80px; padding: 72px 0 56px; color: #fff;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 30% 20%, rgba(80,90,110,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 75% 60%, rgba(60,70,90,0.4) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 50% 90%, rgba(40,50,70,0.3) 0%, transparent 50%),
    var(--gradient-dark);
}
.page-hero::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,184,160,0.1) 0%, transparent 60%); pointer-events: none;
}
.page-hero--image {
  background-size: cover; background-position: center center; min-height: 400px;
  display: flex; align-items: center;
}
.page-hero--image::before, .page-hero--image::after { display: none !important; }
.page-hero--image h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
.page-hero--image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.4) 40%, transparent 70%);
}
.page-hero--image .container { position: relative; z-index: 1; text-align: center; padding-left: 45%; }
.page-hero--image h1, .page-hero--image .page-hero__subtitle { text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
.page-hero::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 250px; height: 250px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,184,160,0.08) 0%, transparent 60%); pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 16px; position: relative; z-index: 1; }
.page-hero__subtitle { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 300; color: rgba(255,255,255,0.55); position: relative; z-index: 1; }
.page-hero--image .page-hero__subtitle { color: #fff; font-weight: 600; opacity: 0.9; font-size: 1.4rem; }

/* =========== ABOUT PAGE =========== */
.about-page { display: grid; grid-template-columns: 3fr 2fr; gap: 72px; align-items: start; }
.about-page__text p { font-size: 1.08rem; line-height: 1.95; color: var(--dark); margin-bottom: 20px; }
.about-page__quote { margin-top: 32px; padding: 24px 0; border-top: 1.5px solid var(--sage-mid); font-size: 1.15rem; line-height: 1.8; color: var(--sage-dark, #5a7a5e); }
.about-page__image { position: relative; position: sticky; top: 120px; }
.about-page__image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-page__image::after {
  content: ''; position: absolute; bottom: -24px; right: -24px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage-mid) 0%, transparent 70%); z-index: -1;
}
.about-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.about-card {
  padding: 48px; border-radius: var(--radius);
  border: 1.5px solid transparent; transition: var(--transition);
  background: linear-gradient(180deg, #fff 0%, var(--gray-warm) 100%);
}
.about-card:hover { border-color: var(--sage-mid); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.about-card h2 { font-size: 1.5rem; margin-bottom: 20px; }
.about-card .section-divider { margin: 0 0 20px; }
.about-card p { font-size: 0.95rem; line-height: 1.9; color: var(--text); }

/* =========== ABOUT PLACES =========== */
.about-places {
  padding: 80px 0;
  background: #1a1a1a;
}
.about-places__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.about-places__card {
  text-align: center;
}
.about-places__card img {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  margin-bottom: 24px;
}
.about-places__card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 500; font-style: italic;
  line-height: 1.75; color: rgba(255,255,255,0.85);
}

/* =========== ABOUT LOGOS =========== */
.about-logos__row {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.about-logos__row img {
  height: auto; width: auto; max-height: 85px; max-width: 180px; object-fit: contain;
  filter: grayscale(0.3); opacity: 0.8;
  transition: all 0.3s ease;
}
.about-logos__row img:hover { filter: grayscale(0); opacity: 1; }

/* =========== ABOUT SUNSET =========== */
.about-sunset {
  position: relative; height: 500px; overflow: hidden;
}
.about-sunset canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.about-sunset__text {
  position: relative; z-index: 1; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 32px;
}
.about-sunset__quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-style: italic; font-weight: 500;
  color: #fff; text-align: center;
  max-width: 750px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 4px 40px rgba(0,0,0,0.3);
}

/* =========== DIFF CARDS =========== */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.diff-card {
  background: linear-gradient(180deg, #fff 0%, #faf9f7 100%);
  border: 1.5px solid rgba(229,229,229,0.7); border-radius: var(--radius-lg);
  transition: var(--transition); position: relative; overflow: hidden;
  display: flex; flex-direction: row;
}
.diff-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0;
  background: var(--gradient-sage); transition: height 0.6s cubic-bezier(0.16,1,0.3,1);
}
.diff-card:hover {
  border-color: var(--sage-mid); transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--sage-mid);
}
.diff-card:hover::before { height: 100%; }
.diff-card__img {
  overflow: hidden; border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  width: 160px; min-width: 160px; flex-shrink: 0;
}
.diff-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.diff-card:hover .diff-card__img img { transform: scale(1.06); }
.diff-card__body { padding: 36px 40px 40px; }
.diff-card__number {
  font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 600;
  line-height: 1; margin-bottom: 16px; display: block;
  background: linear-gradient(135deg, rgba(157,184,160,0.4), rgba(157,184,160,0.15));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.diff-card h3 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.diff-card p { font-size: 0.98rem; line-height: 1.85; color: var(--text); }

/* =========== SERVICE BLOCKS =========== */
.service-block { padding: 48px 0; border-bottom: 1px solid rgba(229,229,229,0.6); display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.service-block:last-child { border-bottom: none; }
.service-block h2 { font-size: 1.5rem; }
.service-block p { font-size: 1.05rem; line-height: 1.9; color: var(--dark); }
.service-block--with-img { grid-template-columns: 1fr 1fr; align-items: center; }
.service-block__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-block__img img { width: 100%; transition: transform 0.6s ease; }
.service-block:hover .service-block__img img { transform: scale(1.03); }

/* =========== BLOG =========== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: linear-gradient(180deg, #fff 0%, #faf9f7 100%);
  border: 1.5px solid rgba(229,229,229,0.7); border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); border-color: var(--sage-mid); }
.blog-card__img { overflow: hidden; height: 220px; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__body { padding: 28px; }
.blog-card__date { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sage-deep); font-weight: 700; margin-bottom: 10px; display: block; }
.blog-card__body h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.45; margin-bottom: 10px; }
.blog-card__body p { font-size: 0.9rem; line-height: 1.75; color: var(--text-light); }
a.blog-card { display: block; color: inherit; text-decoration: none; cursor: pointer; }
a.blog-card h3 { transition: color 0.3s ease; }
a.blog-card:hover h3 { color: var(--sage-deep); }

/* =========== BLOG POST (individual) =========== */
.blog-post { max-width: 780px; margin: 0 auto; }
.blog-post__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.blog-post__back { font-size: 0.85rem; font-weight: 500; color: var(--sage-deep); text-decoration: none; transition: color 0.3s ease; }
.blog-post__back:hover { color: var(--dark); }
.blog-post__img { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius); margin-bottom: 40px; box-shadow: var(--shadow); }
.blog-post h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin: 40px 0 16px; color: var(--dark); }
.blog-post h3 { font-size: 1.15rem; margin: 28px 0 12px; color: var(--dark); }
.blog-post p { font-size: 1.05rem; line-height: 1.95; color: var(--dark); margin-bottom: 16px; }
.blog-post ul, .blog-post ol { margin: 12px 0 20px 28px; }
.blog-post li { font-size: 1.02rem; line-height: 1.85; color: var(--dark); margin-bottom: 8px; }
.blog-post em { color: var(--text); }
.blog-post strong { font-weight: 600; }
.blog-post__author { margin-top: 48px; padding-top: 28px; border-top: 1.5px solid var(--gray); font-style: italic; color: var(--sage-deep); font-weight: 500; }
.blog-post__author small { font-style: normal; font-weight: 400; color: var(--text-light); }

/* =========== COLOMBIA PAGE =========== */
.colombia-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.colombia-text h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 28px; }
.colombia-text p { font-size: 1.05rem; line-height: 1.95; color: var(--dark); margin-bottom: 20px; }
.colombia-image img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.colombia-invite { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.colombia-invite__img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.colombia-invite__text p { font-size: 1.05rem; line-height: 2; color: var(--text); margin-bottom: 16px; }
.colombia-invite__author { font-style: italic; color: var(--sage-deep) !important; font-weight: 500; }
.colombia-invite__author small { font-style: normal; font-weight: 400; color: var(--text-light); }

/* =========== CONTACT PAGE =========== */
.contact-page { padding: 72px 0; }
.contact-page__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; }
.contact-page__intro { font-size: 1.08rem; color: var(--text); line-height: 1.9; margin-bottom: 56px; max-width: 560px; }
.contact-form h2 { font-size: 1.6rem; margin-bottom: 12px; }
.contact-form > p { font-size: 0.95rem; color: var(--text); line-height: 1.8; margin-bottom: 32px; }
.contact-form__group { margin-bottom: 24px; }
.contact-form__group label {
  display: block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; color: var(--dark);
}
.contact-form__group input, .contact-form__group textarea {
  width: 100%; padding: 16px 20px; border: 2px solid var(--gray); border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-size: 0.95rem; background: #fff; color: var(--dark);
  transition: var(--transition);
}
.contact-form__group input:focus, .contact-form__group textarea:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 4px var(--sage-light), 0 0 16px var(--sage-glow);
}
.contact-form__group textarea { resize: vertical; }
.contact-page__aside {
  padding: 48px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--gray-warm) 0%, rgba(157,184,160,0.1) 50%, rgba(157,184,160,0.15) 100%);
  border: 1.5px solid var(--sage-mid);
  box-shadow: var(--shadow-sm);
}
.contact-info-block { margin-bottom: 28px; }
.contact-info-block:last-child { margin-bottom: 0; }
.contact-info-block h3 {
  font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--sage-deep); margin-bottom: 6px;
}
.contact-info-block p, .contact-info-block a { font-size: 0.95rem; color: var(--text); line-height: 1.7; }
.contact-info-block a:hover { color: var(--sage-deep); }

/* =========== PAGE SECTION =========== */
.page-section { padding: 72px 0; background: var(--white); }
.page-section--alt { background: var(--gradient-section); }
.page-content { max-width: 720px; }
.page-content h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 24px; }
.page-content p { font-size: 1.05rem; line-height: 1.95; color: var(--dark); margin-bottom: 16px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.pillar {
  padding: 40px; border-radius: var(--radius);
  border: 1.5px solid transparent; transition: var(--transition);
  background: linear-gradient(180deg, #fff 0%, var(--gray-warm) 100%);
}
.pillar:hover { box-shadow: var(--shadow-lg); border-color: var(--sage-mid); transform: translateY(-4px); }
.pillar__number {
  font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 600;
  line-height: 1; margin-bottom: 16px; display: block;
  background: linear-gradient(135deg, rgba(157,184,160,0.5), rgba(157,184,160,0.15));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pillar h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.pillar p { font-size: 0.93rem; line-height: 1.9; color: var(--text); }

/* =========== CTA BUTTONS (for inner pages) =========== */
.cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========== RESPONSIVE =========== */
@media (max-width: 1024px) {
  .caries__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .about-page { grid-template-columns: 1fr; gap: 40px; }
  .about-page__image { order: -1; position: static; }
  .about-page__text { order: 1; }
  .about-logos__row img { max-height: 75px; max-width: 160px; }
  .about-page__grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 16px; }
  .service-block h2 { position: static; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .colombia-layout { grid-template-columns: 1fr; gap: 40px; }
  .colombia-layout .colombia-text { order: 2; }
  .colombia-layout .colombia-image { order: 1; }
  .colombia-invite { grid-template-columns: 1fr; gap: 32px; }
  .colombia-invite__img { order: 1; }
  .colombia-invite__text { order: 2; }
  .about-places__grid { grid-template-columns: 1fr; }
  .contact-page__grid { grid-template-columns: 1fr; gap: 48px; }
  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .header__inner { height: 68px; }
  .header__nav {
    position: fixed; top: 68px; left: 0; width: 100%;
    flex-direction: column; background: rgba(250,250,250,0.98);
    backdrop-filter: blur(24px); padding: 32px 24px; gap: 18px;
    border-bottom: 1px solid var(--gray);
    transform: translateY(-120%); opacity: 0;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1); pointer-events: none;
  }
  .header__nav.active { transform: translateY(0); opacity: 1; pointer-events: all; }
  .header__hamburger { display: flex; }
  .header__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .header__hamburger.active span:nth-child(2) { opacity: 0; }
  .header__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
  .hero {
    margin-top: 68px; height: calc(100svh - 68px);
    background: url('../img/hero-amparo-mobile.webp') no-repeat top center / cover;
  }
  .hero__content {
    position: absolute; width: 100%; height: 100%; padding: 0 20px 28px;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(to bottom, transparent 40%, rgba(255,255,255,0.55) 70%, rgba(255,255,255,0.8) 100%);
  }
  .hero h1 {
    font-size: 2rem; font-weight: 700; margin-bottom: 8px;
    color: #2E2E2E;
  }
  .hero__text {
    font-size: 0.9rem; line-height: 1.5; margin-bottom: 14px;
    font-weight: 600; color: #333;
  }
  .hero .btn--whatsapp { padding: 12px 22px; font-size: 0.9rem; border-radius: 6px; }
  .hero .btn--whatsapp svg { width: 18px; height: 18px; }
  .caries__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .about, .services, .caries, .faq, .cta, .emotional { padding: 60px 0; }
  .page-hero { padding: 72px 0 56px; margin-top: 68px; }
  .page-hero--image .page-hero__subtitle { font-size: 0.9rem; }
  .page-section { padding: 56px 0; }
  .section-title { font-size: 1.8rem; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .cta__buttons { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .diff-card { flex-direction: column; }
  .diff-card__img { width: 100%; min-width: unset; border-radius: var(--radius-lg) var(--radius-lg) 0 0; height: 180px; }
  .diff-card__img img { height: 180px; }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
