/* ============= RESET & BASE ============= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #F8F4ED;
  color: #2C211A;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-gold { color: #C9A66C; }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.hidden { display: none; }

h1, h2, h3, h4 { font-family: 'Playfair Display', 'Inter', serif; font-weight: 700; line-height: 1.2; color: #fff; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; font-family: 'Inter', sans-serif; font-weight: 600; }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.25s ease; border: none; text-decoration: none;
  white-space: nowrap;
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, #A07F4B 0%, #C9A66C 50%, #C9A66C 100%);
  color: #F8F4ED;
  box-shadow: 0 8px 30px rgba(201, 166, 108, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201, 166, 108, 0.5); }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid rgba(201, 166, 108, 0.5);
}
.btn-outline:hover { border-color: #C9A66C; background: rgba(201, 166, 108, 0.1); }
.btn i { width: 18px; height: 18px; }

/* ============= NAVBAR ============= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(201, 166, 108, 0.15);
  transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(10, 10, 10, 0.95); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 56px; width: auto; filter: brightness(1.08) saturate(1.12) drop-shadow(0 2px 7px rgba(0, 0, 0, 0.45)); transition: filter 0.3s ease; }
.nav-logo img:hover { filter: brightness(1.16) saturate(1.2) drop-shadow(0 4px 11px rgba(0, 0, 0, 0.55)); }
.nav-logo-text { font-family: 'Playfair Display', serif; font-weight: 700; color: #fff; font-size: 1.05rem; display: none; }
.nav-links { display: none; gap: 28px; }
.nav-links a { font-size: 0.92rem; color: #2C211A; transition: color 0.2s; }
.nav-links a:hover { color: #C9A66C; }
.nav-cta { display: none; }
.nav-toggle {
  background: none; border: none; color: #C9A66C; cursor: pointer; padding: 8px;
  display: flex; align-items: center;
}
.nav-toggle i { width: 28px; height: 28px; }

@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
  .nav-logo-text { display: block; }
}

/* ============= MOBILE MENU ============= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: #F8F4ED; padding: 40px 32px;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-close {
  background: none; border: none; color: #C9A66C; align-self: flex-end;
  cursor: pointer; padding: 8px;
}
.mobile-close i { width: 32px; height: 32px; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.mobile-menu ul a {
  font-size: 1.4rem; font-weight: 600; color: #fff;
}

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse at top right, rgba(201, 166, 108, 0.12), transparent 50%),
              linear-gradient(180deg, #F8F4ED 0%, #EBE4D6 100%);
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(201, 166, 108, 0.15), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr; gap: 50px;
  align-items: center; position: relative; z-index: 1;
}
.hero-text { max-width: 640px; }
.hero-title-line { display: block; }
.hero h1 { color: #2C211A; margin-bottom: 24px; }
.hero-lead { font-size: 1.2rem; color: #2C211A; margin-bottom: 16px; }
.hero-sub { font-size: 1rem; color: #7A6B5A; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-bottom: 32px;
}
.hero-feature {
  display: flex; gap: 12px; padding: 14px 16px;
  background: rgba(201, 166, 108, 0.08); border: 1px solid rgba(201, 166, 108, 0.18);
  border-radius: 14px;
}
.hero-feature i { width: 22px; height: 22px; color: #C9A66C; flex-shrink: 0; margin-top: 2px; }
.hero-feature strong { display: block; color: #fff; font-size: 0.92rem; margin-bottom: 2px; }
.hero-feature span { color: #7A6B5A; font-size: 0.82rem; line-height: 1.4; }
.hero-contact {
  display: flex; flex-wrap: wrap; gap: 16px; padding: 16px 20px;
  background: rgba(44, 33, 26, 0.04); border-radius: 14px;
  margin-bottom: 28px; font-size: 0.9rem;
}
.hero-contact span { display: flex; align-items: center; gap: 8px; color: #2C211A; }
.hero-contact i { width: 16px; height: 16px; color: #C9A66C; }
.hero-stats { display: flex; align-items: center; gap: 14px; }
.hero-stats strong { color: #fff; font-size: 1.05rem; }
.stars { color: #C9A66C; letter-spacing: 2px; }
.avatars { display: flex; }
.avatars .avatar-circle { margin-left: -10px; border: 2px solid #F8F4ED; }
.avatars .avatar-circle:first-child { margin-left: 0; }
.avatar-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #A07F4B, #C9A66C);
  display: inline-flex; align-items: center; justify-content: center;
  color: #F8F4ED; font-weight: 700; font-size: 0.95rem;
}
.hero-image {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4/5; background: #1a1a1a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 166, 108, 0.2);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image.img-missing { background: linear-gradient(135deg, #2a1f15, #F8F4ED); }
.hero-image.img-missing::after {
  content: 'Foto pendiente'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #7A6B5A; font-size: 0.95rem;
}
.hero-image-overlay {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  padding: 50px 24px 20px; border-radius: 0 0 16px 16px;
}
.hero-image-eyebrow { color: #C9A66C; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-image-title { display: block; color: #fff; font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; margin-top: 4px; }
.scroll-indicator {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #C9A66C; animation: bounce 2s infinite;
}
.scroll-indicator i { width: 32px; height: 32px; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-12px); } }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 80px; }
  .hero { padding: 140px 0 100px; }
}

/* ============= SECTIONS ============= */
.section {
  padding: 80px 0;
  background: #EBE4D6;
}
.section-dark { background: #F8F4ED; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; color: #C9A66C; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 12px; font-weight: 600;
}
.section-head p { color: #7A6B5A; font-size: 1.05rem; margin-top: 12px; }
.lead { font-size: 1.1rem; color: #2C211A; margin-bottom: 28px; }

/* ============= GRIDS ============= */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 60px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============= SERVICE CARDS ============= */
.service-card {
  background: linear-gradient(180deg, #FFFFFF, #EBE4D6);
  border: 1px solid rgba(201, 166, 108, 0.15);
  border-radius: 18px; overflow: hidden;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px); border-color: rgba(201, 166, 108, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.service-img { aspect-ratio: 16/10; overflow: hidden; background: #1a1a1a; position: relative; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-img.img-missing { background: linear-gradient(135deg, #2a1f15, #F8F4ED); }
.service-img.img-missing::after { content: 'Imagen'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #7A6B5A; font-size: 0.85rem; }
.service-body { padding: 24px; }
.service-body h3 { margin-bottom: 10px; }
.service-body p { color: #7A6B5A; font-size: 0.95rem; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  font-size: 0.78rem; padding: 4px 10px; border-radius: 999px;
  background: rgba(201, 166, 108, 0.12); color: #C9A66C; font-weight: 500;
}

/* ============= ABOUT IMAGE ============= */
.about-img { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; background: #1a1a1a; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img.img-missing::after { content: 'Foto del equipo'; display: flex; align-items: center; justify-content: center; color: #7A6B5A; height: 100%; }
.features-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.features-list li { display: flex; gap: 14px; }
.features-list i { width: 24px; height: 24px; color: #C9A66C; flex-shrink: 0; margin-top: 2px; }
.features-list strong { display: block; color: #fff; margin-bottom: 4px; }
.features-list span { color: #7A6B5A; font-size: 0.95rem; }

/* ============= CASE CARDS (antes/después) ============= */
.case-card {
  background: #F8F4ED; border: 1px solid rgba(201, 166, 108, 0.12);
  border-radius: 18px; overflow: hidden;
}
.case-images { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #C9A66C; }
.case-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #1a1a1a; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-img.img-missing::after { content: 'Foto'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #7A6B5A; font-size: 0.78rem; }
.badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(10, 10, 10, 0.8); color: #fff;
  font-size: 0.7rem; padding: 3px 9px; border-radius: 999px; font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-gold { background: #C9A66C; color: #F8F4ED; }
.case-body { padding: 18px 20px; }
.case-body h4 { color: #fff; margin-bottom: 4px; }
.case-body p { color: #7A6B5A; font-size: 0.9rem; }

/* ============= VIDEOS ============= */
.videos-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-items: center;
}
.video-embed { width: 100%; max-width: 360px; min-height: 600px; }
.tiktok-embed { margin: 0 auto !important; }

/* ============= BLOG ============= */
.blog-card {
  background: #F8F4ED; border: 1px solid rgba(201, 166, 108, 0.12);
  border-radius: 18px; overflow: hidden;
  transition: all 0.3s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(201, 166, 108, 0.4); }
.blog-img { aspect-ratio: 16/9; overflow: hidden; background: #1a1a1a; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-img.img-missing::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #2a1f15, #F8F4ED); }
.blog-body { padding: 22px 24px 26px; }
.tag-pill {
  display: inline-block; font-size: 0.72rem; padding: 4px 10px; border-radius: 999px;
  background: rgba(201, 166, 108, 0.15); color: #C9A66C; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px;
}
.blog-body h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.3; }
.blog-body p { color: #7A6B5A; font-size: 0.92rem; margin-bottom: 14px; }
.read-more { color: #C9A66C; font-weight: 600; font-size: 0.9rem; }

/* ============= TESTIMONIALS ============= */
.testimonial {
  background: linear-gradient(180deg, #FFFFFF, #EBE4D6);
  border: 1px solid rgba(201, 166, 108, 0.15);
  border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column;
}
.testimonial p { color: #2C211A; font-size: 0.98rem; margin: 16px 0 24px; flex: 1; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-author strong { display: block; color: #fff; font-size: 0.95rem; }
.testimonial-author span { color: #7A6B5A; font-size: 0.82rem; }
.testimonial-cta {
  background: linear-gradient(135deg, #A07F4B, #C9A66C);
  color: #F8F4ED; text-align: center; align-items: center; justify-content: center;
}
.testimonial-cta h3 { color: #F8F4ED; margin-bottom: 8px; }
.testimonial-cta p { color: rgba(10, 10, 10, 0.8); margin-bottom: 20px; }
.testimonial-cta .btn { background: #F8F4ED; color: #C9A66C; }

/* ============= CONTACT FORM ============= */
.contact-form {
  background: #FFFFFF; border: 1px solid rgba(201, 166, 108, 0.15);
  border-radius: 18px; padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; color: #2C211A; font-size: 0.88rem; margin-bottom: 6px; font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: #F8F4ED; border: 1px solid rgba(44, 33, 26, 0.1);
  color: #fff; padding: 12px 14px; border-radius: 10px; font-size: 0.95rem;
  font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: #C9A66C;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { color: #7A6B5A; font-size: 0.78rem; text-align: center; margin-top: 12px; }
.form-note a { color: #C9A66C; text-decoration: underline; }

/* ============= CONTACT INFO ============= */
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-whatsapp {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, #25D366, #128C7E); color: #fff;
  padding: 20px 24px; border-radius: 16px;
  transition: transform 0.2s;
}
.contact-whatsapp:hover { transform: translateY(-2px); }
.contact-whatsapp i { width: 36px; height: 36px; }
.contact-whatsapp strong { display: block; font-size: 1.05rem; }
.contact-whatsapp span { font-size: 0.88rem; opacity: 0.9; }
.contact-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card {
  display: flex; gap: 12px; padding: 16px;
  background: #FFFFFF; border: 1px solid rgba(201, 166, 108, 0.12); border-radius: 14px;
}
.contact-card i { width: 22px; height: 22px; color: #C9A66C; flex-shrink: 0; margin-top: 2px; }
.contact-card strong { display: block; color: #fff; font-size: 0.92rem; margin-bottom: 4px; }
.contact-card span, .contact-card a { color: #7A6B5A; font-size: 0.88rem; }
.contact-card a:hover { color: #C9A66C; }
.contact-map { border-radius: 16px; overflow: hidden; height: 280px; border: 1px solid rgba(201, 166, 108, 0.15); }
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* ============= FOOTER ============= */
.footer { background: #2C211A; padding: 60px 0 24px; border-top: 1px solid rgba(201, 166, 108, 0.1); }
.footer-inner {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
@media (min-width: 700px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand img { height: 64px; width: auto; margin-bottom: 16px; filter: drop-shadow(0 6px 20px rgba(201, 166, 108, 0.5)) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3)); }
.footer-brand p { color: #7A6B5A; font-size: 0.92rem; max-width: 320px; margin-bottom: 20px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(44, 33, 26, 0.05); display: inline-flex; align-items: center; justify-content: center;
  color: #7A6B5A; transition: all 0.2s;
}
.socials a:hover { background: #C9A66C; color: #F8F4ED; }
.socials i { width: 18px; height: 18px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-family: 'Inter', sans-serif; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul li { display: flex; align-items: center; gap: 8px; color: #7A6B5A; font-size: 0.9rem; }
.footer ul a { color: #7A6B5A; transition: color 0.2s; }
.footer ul a:hover { color: #C9A66C; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(44, 33, 26, 0.05);
  color: #7A6B5A; font-size: 0.85rem;
}

/* ============= WHATSAPP FAB ============= */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ============= RESPONSIVE FIXES ============= */
@media (max-width: 700px) {
  .section { padding: 60px 0; }
  .hero-features { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============= VIDEO CARDS (nueva versión con título) ============= */
.video-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid rgba(201, 166, 108, 0.18);
  border-radius: 18px;
  padding: 18px;
  width: 100%;
  max-width: 360px;
}
.video-title {
  color: #C9A66C;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  text-align: center;
  margin: 0;
  font-weight: 700;
}
.video-mp4 {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9/16;
  display: flex;
}
.video-mp4 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.videos-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-items: center;
  align-items: start;
}

/* ============= TESTIMONIO VIDEO FEATURED ============= */
.testimonial-video-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, #FFFFFF, #F8F4ED);
  border: 1px solid rgba(201, 166, 108, 0.25);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
@media (min-width: 800px) {
  .testimonial-video-feature {
    grid-template-columns: 1fr 1.2fr;
    padding: 40px;
    gap: 48px;
  }
}
.testimonial-video-wrap {
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9/16;
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
  box-shadow: 0 10px 40px rgba(201, 166, 108, 0.15);
}
.testimonial-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-video-text h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 12px 0 14px;
  color: #fff;
}
.testimonial-video-text p {
  color: #2C211A;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.testimonial-video-text .stars {
  font-size: 1.4rem;
  letter-spacing: 4px;
}

/* Avatar img (SVG ilustrado) en testimonios */
.avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
  border: 2px solid rgba(201, 166, 108, 0.4);
  flex-shrink: 0;
}

/* Service card como link */
.service-card-link {
  display: block; text-decoration: none; color: inherit;
  cursor: pointer;
}
.service-card-link:hover .service-link-arrow {
  color: #C9A66C;
}
.service-link-arrow {
  display: inline-block;
  margin-top: 14px;
  color: #A07F4B;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s, transform 0.25s;
}
.service-card-link:hover .service-link-arrow {
  transform: translateX(4px);
}

/* ============= VIDEO MODAL HERO ============= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.video-modal.open {
  display: flex;
  opacity: 1;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.video-modal-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9/16;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 90px rgba(201, 166, 108, 0.25), 0 0 0 1px rgba(201, 166, 108, 0.3);
  animation: modalIn 0.3s ease-out;
}
@keyframes modalIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.video-modal-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-modal-close {
  position: absolute;
  top: -52px;
  right: 0;
  background: rgba(44, 33, 26, 0.1);
  border: 1px solid rgba(44, 33, 26, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s ease;
  z-index: 3;
}
.video-modal-close:hover {
  background: #C9A66C;
  color: #F8F4ED;
  border-color: #C9A66C;
  transform: scale(1.05);
}
@media (max-width: 700px) {
  .video-modal-inner { max-width: 360px; }
  .video-modal-close { top: -50px; }
}

/* Video del hero (reemplaza la imagen estática) */
.hero-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============= LEGAL MODALS ============= */
.legal-modal {
  position: fixed; inset: 0; z-index: 400;
  display: none; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity 0.25s ease;
}
.legal-modal.open { display: flex; opacity: 1; }
.legal-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(6px);
  cursor: pointer;
}
.legal-modal-inner {
  position: relative; z-index: 2;
  background: #FFFFFF;
  border: 1px solid rgba(201, 166, 108, 0.25);
  border-radius: 18px;
  width: 100%; max-width: 760px;
  max-height: 90vh; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: legalIn 0.3s ease-out;
}
.legal-modal-small { max-width: 560px; }
@keyframes legalIn {
  from { transform: scale(0.95) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.legal-modal-header {
  padding: 28px 32px 18px; border-bottom: 1px solid rgba(201, 166, 108, 0.15);
}
.legal-modal-header h2 {
  font-size: 1.4rem; color: #fff; margin: 0 0 6px;
  display: flex; align-items: center; gap: 10px;
}
.legal-modal-header h2 i { width: 24px; height: 24px; color: #C9A66C; }
.legal-modal-header .legal-sub { color: #7A6B5A; font-size: 0.92rem; margin: 0; }
.legal-modal-body {
  padding: 22px 32px; overflow-y: auto; flex: 1;
  font-size: 0.92rem; line-height: 1.7; color: #2C211A;
}
.legal-modal-body section { margin-bottom: 22px; }
.legal-modal-body section:last-child { margin-bottom: 0; }
.legal-modal-body h3 { color: #fff; font-size: 1rem; margin: 0 0 8px; font-family: 'Inter', sans-serif; font-weight: 600; }
.legal-modal-body p { margin: 0 0 8px; color: #2C211A; }
.legal-bullets { list-style: disc; padding-left: 22px; margin: 8px 0; }
.legal-bullets li { color: #2C211A; margin-bottom: 6px; }
.legal-bullets li strong { color: #fff; }
.legal-card {
  background: #F8F4ED; border: 1px solid rgba(201, 166, 108, 0.2);
  border-radius: 12px; padding: 16px 18px;
}
.legal-card-title { color: #fff; font-weight: 600; margin: 0 0 8px !important; }
.legal-card ul { list-style: none; padding: 0; margin: 0; }
.legal-card li { color: #2C211A; margin-bottom: 4px; font-size: 0.9rem; }
.legal-card li span { color: #7A6B5A; }
.legal-contact-grid { display: flex; flex-direction: column; gap: 8px; }
.legal-contact-grid p {
  display: flex; align-items: center; gap: 8px; margin: 0; color: #2C211A; font-size: 0.9rem;
}
.legal-contact-grid i { width: 16px; height: 16px; color: #C9A66C; flex-shrink: 0; }
.legal-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  background: rgba(44, 33, 26, 0.08); color: #C9A66C;
  border: 1px solid rgba(201, 166, 108, 0.3); border-radius: 50%;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.legal-modal-close:hover { background: #C9A66C; color: #F8F4ED; }
.legal-modal-footer {
  padding: 16px 32px; border-top: 1px solid rgba(201, 166, 108, 0.12);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.legal-foot-text { color: #7A6B5A; font-size: 0.78rem; margin: 0; }
.legal-modal-onload .legal-modal-footer { justify-content: flex-end; }
@media (max-width: 700px) {
  .legal-modal-header, .legal-modal-body, .legal-modal-footer { padding-left: 22px; padding-right: 22px; }
  .legal-modal-header h2 { font-size: 1.2rem; }
}

/* ============= CHAT BUBBLE (Prometheo IA) ============= */
.chat-bubble {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 85;
  background: linear-gradient(135deg, #FFFFFF, #F8F4ED);
  border: 1px solid rgba(201, 166, 108, 0.4);
  border-radius: 16px;
  padding: 14px 18px;
  width: 280px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(201, 166, 108, 0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease;
  animation: bubbleIn 0.4s ease-out 1.5s backwards;
}
.chat-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(201, 166, 108, 0.12);
  border-color: #C9A66C;
}
.chat-bubble.hidden { display: none; }
@keyframes bubbleIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.chat-bubble-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #A07F4B, #C9A66C);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #F8F4ED;
  position: relative;
}
.chat-bubble-avatar::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  background: #22c55e;
  border: 2px solid #F8F4ED;
  border-radius: 50%;
  bottom: -1px; right: -1px;
}
.chat-bubble-text strong {
  display: block; color: #fff; font-size: 0.92rem; line-height: 1.2; margin-bottom: 2px;
}
.chat-bubble-text span {
  display: block; color: #7A6B5A; font-size: 0.78rem;
}
.chat-bubble-close {
  position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #FFFFFF; color: #C9A66C;
  border: 1px solid rgba(201, 166, 108, 0.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; line-height: 1;
}
.chat-bubble-close:hover { background: #C9A66C; color: #F8F4ED; }
@media (max-width: 700px) {
  .chat-bubble { right: 16px; bottom: 88px; width: 240px; padding: 12px 14px; }
}

/* ============= SECCIÓN DOCTORES ============= */
.doctors-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .doctors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .doctors-grid { grid-template-columns: repeat(4, 1fr); } }

.doctor-card {
  background: linear-gradient(180deg, #FFFFFF, #EBE4D6);
  border: 1px solid rgba(201, 166, 108, 0.18);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.doctor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 166, 108, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.doctor-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
}
.doctor-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.doctor-card:hover .doctor-photo img { transform: scale(1.04); }
.doctor-photo.img-missing {
  background: linear-gradient(135deg, #2a1f15, #F8F4ED);
}
.doctor-photo.img-missing::after {
  content: 'Foto del doctor';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #7A6B5A; font-size: 0.85rem; letter-spacing: 0.5px;
}

.doctor-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.doctor-specialty {
  display: inline-block;
  color: #C9A66C;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.doctor-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.25;
}
.doctor-cedula {
  font-size: 0.78rem;
  color: #7A6B5A;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}
.doctor-bio {
  color: #2C211A;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.doctor-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  background: rgba(201, 166, 108, 0.12);
  border: 1px solid rgba(201, 166, 108, 0.4);
  color: #C9A66C;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.doctor-cta:hover {
  background: linear-gradient(135deg, #A07F4B, #C9A66C);
  color: #F8F4ED;
  border-color: #C9A66C;
  transform: translateY(-1px);
}
.doctor-cta i { width: 16px; height: 16px; }

/* ============= DOCTOR FEATURED CARD + ACTIONS ============= */
.doctor-featured {
  border-color: rgba(201, 166, 108, 0.4) !important;
  box-shadow: 0 0 0 1px rgba(201, 166, 108, 0.15);
}
.doctor-badge {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(135deg, #A07F4B, #C9A66C);
  color: #F8F4ED; font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(201, 166, 108, 0.4);
}
.doctor-actions {
  display: flex; gap: 8px;
}
.doctor-cta-secondary {
  background: transparent !important;
  color: #C9A66C !important;
}
.doctor-cta-secondary:hover {
  background: rgba(201, 166, 108, 0.12) !important;
  color: #C9A66C !important;
  border-color: #C9A66C !important;
}
.doctor-actions .doctor-cta {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.82rem;
}

/* ============= DOCTOR MODAL ============= */
.doctor-modal { max-width: 820px; }
.doctor-modal-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 32px 0;
  align-items: center;
}
@media (min-width: 700px) {
  .doctor-modal-hero { grid-template-columns: 220px 1fr; gap: 32px; }
}
.doctor-modal-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: #1a1a1a;
}
.doctor-modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-modal-info h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: #fff; margin: 8px 0 6px;
}
.doctor-modal-tagline {
  color: #C9A66C; font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; margin: 0 0 8px;
}
.doctor-modal-cedula {
  color: #7A6B5A; font-size: 0.85rem; margin: 0;
}
.doctor-modal-body { padding-top: 24px; }
.doctor-modal-intro {
  font-size: 1rem;
  color: #2C211A;
  line-height: 1.7;
  margin-bottom: 24px;
}
.doctor-modal-section { margin-bottom: 24px; }
.doctor-modal-section h3 {
  display: flex; align-items: center; gap: 10px;
  color: #C9A66C !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 1.15rem !important;
  margin-bottom: 10px !important;
}
.dms-icon { font-size: 1.2rem; }
.doctor-modal-footer {
  justify-content: center !important;
}
.doctor-modal-footer .btn {
  width: 100%;
  max-width: 380px;
}

/* ============= FAQ SECTION ============= */
.faq-grid {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: linear-gradient(180deg, #FFFFFF, #EBE4D6);
  border: 1px solid rgba(201, 166, 108, 0.18);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item[open] { border-color: rgba(201, 166, 108, 0.45); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  position: relative;
  transition: color 0.2s;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #C9A66C; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201, 166, 108, 0.15);
  color: #C9A66C;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  transition: all 0.25s;
}
.faq-item[open] summary::after {
  content: '−';
  background: #C9A66C;
  color: #F8F4ED;
  transform: translateY(-50%) rotate(180deg);
}
.faq-item p {
  padding: 0 22px 20px;
  color: #2C211A;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}
.faq-item p a { color: #C9A66C; text-decoration: underline; }
.faq-item p strong { color: #fff; }

/* ============= LUXURY LIGHT THEME OVERRIDES ============= */
/* Paleta: Cream Bone + Sand + Champagne + Bronze + Sage + Espresso */

body {
  background: #F8F4ED !important;
  color: #2C211A !important;
  font-family: 'Manrope', 'Inter', system-ui, sans-serif !important;
}

/* Tipografía Cormorant para hero */
h1, .hero h1 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
  letter-spacing: -0.015em;
  font-weight: 600 !important;
}
h2 {
  font-family: 'Playfair Display', Georgia, serif !important;
  letter-spacing: -0.01em;
}
h3, h4 { font-family: 'Playfair Display', Georgia, serif !important; }

p, span, div, li { font-family: 'Manrope', 'Inter', system-ui, sans-serif !important; }

.text-gold { color: #A07F4B !important; }

/* Botones */
.btn-primary {
  background: #C9A66C !important;
  color: #2C211A !important;
  box-shadow: 0 6px 20px rgba(201, 166, 108, 0.3) !important;
  font-weight: 500 !important;
}
.btn-primary:hover {
  background: #A07F4B !important;
  color: #F8F4ED !important;
  box-shadow: 0 10px 30px rgba(160, 127, 75, 0.4) !important;
}
.btn-outline {
  color: #2C211A !important;
  border-color: #2C211A !important;
  background: transparent !important;
}
.btn-outline:hover {
  background: rgba(201, 166, 108, 0.12) !important;
  border-color: #C9A66C !important;
  color: #2C211A !important;
}

/* Navbar - Verde Bosque */
.navbar {
  background: rgba(27, 67, 50, 0.95) !important;
  border-bottom: 1px solid rgba(201, 166, 108, 0.30) !important;
  backdrop-filter: blur(14px);
}
.navbar.scrolled {
  background: rgba(20, 52, 39, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.22);
}
.nav-logo-text { color: #F0EADD !important; }
.nav-links a { color: #E4DECF !important; }
.nav-links a:hover { color: #C9A66C !important; }
.nav-toggle { color: #C9A66C !important; }

/* Mobile menu */
.mobile-menu { background: #F8F4ED !important; }
.mobile-menu ul a { color: #2C211A !important; }
.mobile-close { color: #A07F4B !important; }

/* HERO */
.hero {
  background: radial-gradient(ellipse at top right, rgba(201, 166, 108, 0.15), transparent 55%),
              linear-gradient(180deg, #F8F4ED 0%, #EBE4D6 100%) !important;
}
.hero h1 { color: #2C211A !important; }
.hero-lead { color: #2C211A !important; }
.hero-sub { color: #7A6B5A !important; }
.hero-feature {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
  box-shadow: 0 2px 8px rgba(44, 33, 26, 0.04);
}
.hero-feature i { color: #A07F4B !important; }
.hero-feature strong { color: #2C211A !important; }
.hero-feature span { color: #7A6B5A !important; }
.hero-contact {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5;
  box-shadow: 0 2px 8px rgba(44, 33, 26, 0.04);
}
.hero-contact span { color: #2C211A !important; }
.hero-contact i { color: #A07F4B !important; }
.hero-stats strong { color: #2C211A !important; }
.stars { color: #C9A66C !important; }
.avatars .avatar-circle { border-color: #F8F4ED !important; }
.avatar-circle { background: linear-gradient(135deg, #A07F4B, #C9A66C) !important; color: #FFFFFF !important; }

/* Hero image overlay */
.hero-image-overlay {
  background: linear-gradient(180deg, transparent, rgba(44, 33, 26, 0.85)) !important;
}
.hero-image-eyebrow { color: #C9A66C !important; }
.hero-image-title { color: #FFFFFF !important; }

.scroll-indicator { color: #A07F4B !important; }

/* Sections */
.section { background: #F8F4ED !important; }
.section-dark { background: #EBE4D6 !important; }
.section-head p { color: #7A6B5A !important; }
.eyebrow { color: #A07F4B !important; }

/* Service cards */
.service-card {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
  box-shadow: 0 2px 12px rgba(44, 33, 26, 0.04);
}
.service-card:hover {
  border-color: #C9A66C !important;
  box-shadow: 0 16px 40px rgba(44, 33, 26, 0.08) !important;
}
.service-body h3 { color: #2C211A !important; }
.service-body p { color: #7A6B5A !important; }
.service-link-arrow { color: #A07F4B !important; }
.tags span {
  background: rgba(201, 166, 108, 0.15) !important;
  color: #A07F4B !important;
}

/* About / features */
.lead { color: #2C211A !important; }
.about-img { box-shadow: 0 10px 40px rgba(44, 33, 26, 0.1); }
.features-list i { color: #A07F4B !important; }
.features-list strong { color: #2C211A !important; }
.features-list span { color: #7A6B5A !important; }

/* Case cards (antes/después) */
.case-card {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
  box-shadow: 0 2px 12px rgba(44, 33, 26, 0.04);
}
.case-images { background: #C9A66C !important; }
.case-body h4 { color: #2C211A !important; }
.case-body p { color: #7A6B5A !important; }
.badge {
  background: rgba(44, 33, 26, 0.85) !important;
  color: #FFFFFF !important;
}
.badge-gold {
  background: #C9A66C !important;
  color: #2C211A !important;
}

/* Doctor cards */
.doctor-card {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
  box-shadow: 0 2px 12px rgba(44, 33, 26, 0.04);
}
.doctor-card:hover {
  border-color: #C9A66C !important;
  box-shadow: 0 20px 50px rgba(44, 33, 26, 0.1) !important;
}
.doctor-card h3 { color: #2C211A !important; }
.doctor-cedula { color: #7A6B5A !important; }
.doctor-bio { color: #7A6B5A !important; }
.doctor-specialty { color: #A07F4B !important; }
.doctor-badge {
  background: linear-gradient(135deg, #A07F4B, #C9A66C) !important;
  color: #FFFFFF !important;
}
.doctor-cta {
  background: rgba(201, 166, 108, 0.12) !important;
  border-color: #C9A66C !important;
  color: #A07F4B !important;
}
.doctor-cta:hover {
  background: linear-gradient(135deg, #A07F4B, #C9A66C) !important;
  color: #FFFFFF !important;
  border-color: #A07F4B !important;
}
.doctor-cta-secondary {
  background: transparent !important;
  color: #A07F4B !important;
}

/* Video cards */
.video-card {
  background: #FFFFFF !important;
  border-color: #E2D9C5 !important;
  box-shadow: 0 2px 12px rgba(44, 33, 26, 0.04);
}
.video-title { color: #A07F4B !important; }

/* Blog cards */
.blog-card {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
  box-shadow: 0 2px 12px rgba(44, 33, 26, 0.04);
}
.blog-card:hover { border-color: #C9A66C !important; }
.blog-body h3 { color: #2C211A !important; }
.blog-body p { color: #7A6B5A !important; }
.tag-pill {
  background: rgba(201, 166, 108, 0.18) !important;
  color: #A07F4B !important;
}
.read-more { color: #A07F4B !important; }

/* FAQ */
.faq-item {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
  box-shadow: 0 2px 8px rgba(44, 33, 26, 0.04);
}
.faq-item[open] { border-color: #C9A66C !important; }
.faq-item summary { color: #2C211A !important; }
.faq-item summary:hover { color: #A07F4B !important; }
.faq-item summary::after {
  background: rgba(201, 166, 108, 0.15) !important;
  color: #A07F4B !important;
}
.faq-item[open] summary::after {
  background: #C9A66C !important;
  color: #FFFFFF !important;
}
.faq-item p { color: #7A6B5A !important; }
.faq-item p strong { color: #2C211A !important; }
.faq-item p a { color: #A07F4B !important; }

/* Testimonials */
.testimonial {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
  box-shadow: 0 2px 12px rgba(44, 33, 26, 0.04);
}
.testimonial p { color: #2C211A !important; }
.testimonial-author strong { color: #2C211A !important; }
.testimonial-author span { color: #7A6B5A !important; }
.testimonial-cta {
  background: linear-gradient(135deg, #A07F4B, #C9A66C) !important;
  color: #FFFFFF !important;
}
.testimonial-cta h3 { color: #FFFFFF !important; }
.testimonial-cta p { color: rgba(255, 255, 255, 0.92) !important; }
.testimonial-cta .btn { background: #2C211A !important; color: #C9A66C !important; }

/* Testimonial video featured */
.testimonial-video-feature {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
  box-shadow: 0 10px 40px rgba(44, 33, 26, 0.08);
}
.testimonial-video-text h3 { color: #2C211A !important; }
.testimonial-video-text p { color: #7A6B5A !important; }

/* Contact form */
.contact-form {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
  box-shadow: 0 4px 24px rgba(44, 33, 26, 0.06);
}
.form-group label { color: #2C211A !important; }
.form-group input,
.form-group select,
.form-group textarea {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
  color: #2C211A !important;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #C9A66C !important;
  box-shadow: 0 0 0 3px rgba(201, 166, 108, 0.15) !important;
  outline: none;
}
.form-note { color: #7A6B5A !important; }
.form-note a { color: #A07F4B !important; }

/* Contact info */
.contact-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E) !important; color: #FFFFFF !important; }
.contact-card {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
}
.contact-card i { color: #A07F4B !important; }
.contact-card strong { color: #2C211A !important; }
.contact-card span,
.contact-card a { color: #7A6B5A !important; }
.contact-card a:hover { color: #A07F4B !important; }
.contact-map { border-color: #E2D9C5 !important; }

/* FOOTER (mantenemos espresso oscuro para contraste premium) */
.footer {
  background: #2C211A !important;
  border-top: 3px solid #C9A66C !important;
}
.footer-brand p { color: rgba(248, 244, 237, 0.7) !important; }
.footer h4 { color: #FFFFFF !important; }
.footer ul li { color: rgba(248, 244, 237, 0.7) !important; }
.footer ul a { color: rgba(248, 244, 237, 0.7) !important; }
.footer ul a:hover { color: #C9A66C !important; }
.footer-bottom {
  border-top-color: rgba(248, 244, 237, 0.1) !important;
  color: rgba(248, 244, 237, 0.5) !important;
}
.socials a {
  background: rgba(248, 244, 237, 0.08) !important;
  color: rgba(248, 244, 237, 0.7) !important;
}
.socials a:hover {
  background: #C9A66C !important;
  color: #2C211A !important;
}

/* Avatar img testimonios */
.avatar-img {
  background: #F8F4ED !important;
  border-color: #C9A66C !important;
}

/* Nav CTA */
.nav-cta { color: #2C211A !important; }
.nav-cta i { color: #2C211A !important; }

/* WhatsApp FAB (mantener verde brand) */
.whatsapp-fab {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4) !important;
}

/* Modales legales */
.legal-modal-inner {
  background: #FFFFFF !important;
  border: 1px solid #E2D9C5 !important;
  box-shadow: 0 30px 80px rgba(44, 33, 26, 0.3) !important;
}
.legal-modal-header { border-bottom-color: #E2D9C5 !important; }
.legal-modal-header h2 { color: #2C211A !important; }
.legal-modal-header h2 i { color: #C9A66C !important; }
.legal-modal-header .legal-sub { color: #7A6B5A !important; }
.legal-modal-body { color: #2C211A !important; }
.legal-modal-body h3 { color: #2C211A !important; }
.legal-modal-body p { color: #2C211A !important; }
.legal-bullets li { color: #7A6B5A !important; }
.legal-bullets li strong { color: #2C211A !important; }
.legal-card {
  background: #F8F4ED !important;
  border: 1px solid #E2D9C5 !important;
}
.legal-card-title { color: #2C211A !important; }
.legal-card li { color: #7A6B5A !important; }
.legal-card li span { color: #A07F4B !important; }
.legal-contact-grid p { color: #7A6B5A !important; }
.legal-contact-grid i { color: #C9A66C !important; }
.legal-modal-close {
  background: rgba(201, 166, 108, 0.15) !important;
  border-color: #C9A66C !important;
  color: #A07F4B !important;
}
.legal-modal-close:hover { background: #C9A66C !important; color: #FFFFFF !important; }
.legal-modal-footer { border-top-color: #E2D9C5 !important; }
.legal-foot-text { color: #7A6B5A !important; }

/* Doctor modal */
.doctor-modal-info h2 { color: #2C211A !important; }
.doctor-modal-tagline { color: #A07F4B !important; }
.doctor-modal-cedula { color: #7A6B5A !important; }
.doctor-modal-intro { color: #2C211A !important; }
.doctor-modal-section h3 { color: #A07F4B !important; }

/* Video modal */
.video-modal-backdrop {
  background: rgba(44, 33, 26, 0.85) !important;
  backdrop-filter: blur(8px);
}
.video-modal-inner {
  box-shadow: 0 30px 90px rgba(201, 166, 108, 0.25), 0 0 0 1px rgba(201, 166, 108, 0.3) !important;
}
.video-modal-close {
  background: rgba(248, 244, 237, 0.15) !important;
  color: #FFFFFF !important;
  border-color: rgba(248, 244, 237, 0.3) !important;
}
.video-modal-close:hover {
  background: #C9A66C !important;
  color: #2C211A !important;
  border-color: #C9A66C !important;
}

/* ============= Section headlines: white -> Sage Mist ============= */
section h2,
.section-header h2,
.servicios-section h2,
.doctores-section h2,
.antes-despues h2,
.videos-section h2,
.blog-section h2 {
  color: #7B9090 !important;
}
section h2 .text-gold,
.section-header h2 .text-gold {
  color: #A07F4B !important;
}
/* Keep modal h2 readable */
.legal-modal-header h2,
.doctor-modal-info h2 {
  color: #2C211A !important;
}


/* ============= SHARED CASE SLIDER (antes/después) ============= */
.case-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  border-radius: 14px 14px 0 0;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.case-slider.is-dragging { touch-action: none; cursor: grabbing; }
.case-slider:active { cursor: grabbing; }
.case-slider picture, .case-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
.case-slider .case-img-before {
  clip-path: inset(0 50% 0 0);
  z-index: 1;
  will-change: clip-path;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.case-slider .case-img-after { z-index: 0; }
.case-slider .case-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  transform: translate3d(0, 0, 0);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
  will-change: transform;
  backface-visibility: hidden;
}
.case-slider .case-arrows {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 4;
  opacity: 0.95;
}
.case-slider .case-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.15s ease;
  padding: 0;
  line-height: 1;
}
.case-slider .case-arrow:hover { background: rgba(201, 166, 108, 0.9); transform: scale(1.08); }
.case-slider .case-arrow:active { transform: scale(0.95); }


/* ============= INFORMACIÓN LEGAL (sección visible, no popup) ============= */
.legal-info-section {
  padding: 56px 0 40px;
  background: #EBE4D6;
  border-top: 1px solid #E2D9C5;
  border-bottom: 1px solid #E2D9C5;
}
.legal-info-grid {
  max-width: 1100px;
  margin: 0 auto;
}
.legal-info-block { text-align: center; margin-bottom: 32px; }
.legal-info-eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #A07F4B;
  margin-bottom: 10px;
}
.legal-info-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: #2C211A;
  margin: 0 0 10px;
}
.legal-info-block p {
  color: #7A6B5A;
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 auto;
}
.legal-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
@media (min-width: 700px) { .legal-info-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .legal-info-cards { grid-template-columns: repeat(4, 1fr); } }
.legal-info-card {
  background: #fff;
  border: 1px solid #E2D9C5;
  border-radius: 10px;
  padding: 18px 20px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.legal-info-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(44, 33, 26, 0.08); }
.legal-info-card-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A07F4B;
  margin-bottom: 8px;
  font-weight: 600;
}
.legal-info-card strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  color: #2C211A;
  margin-bottom: 4px;
  line-height: 1.3;
}
.legal-info-card p {
  color: #7A6B5A;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}
.legal-info-card p a { color: #A07F4B; text-decoration: none; }
.legal-info-card p a:hover { text-decoration: underline; }

.legal-info-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
@media (min-width: 700px) { .legal-info-links { flex-direction: row; justify-content: center; } }
.legal-info-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #C9A66C;
  color: #2C211A;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.legal-info-link i {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}
.legal-info-link:hover {
  background: #A07F4B;
  color: #F8F4ED;
  transform: translateY(-2px);
}

.legal-info-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: #7A6B5A;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============= ACENTOS POR TIPO DE PAGINA ============= */
:root {
  --accent-home: #3A4A5E;
  --accent-home-soft: rgba(58, 74, 94, 0.08);
  --accent-home-line: rgba(58, 74, 94, 0.18);
  --accent-service: #2D5F6C;
  --accent-service-soft: rgba(45, 95, 108, 0.08);
  --accent-service-line: rgba(45, 95, 108, 0.18);
  --accent-blog: #4A6B5C;
  --accent-blog-soft: rgba(74, 107, 92, 0.08);
  --accent-blog-line: rgba(74, 107, 92, 0.18);
}

/* ============= HOME (Navy Slate) — ritmo visual + acentos ============= */
.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 74, 94, 0.12) 0%, rgba(58, 74, 94, 0) 60%);
  pointer-events: none;
  z-index: 1;
}
.page-home .hero { position: relative; }
.page-home .hero > * { position: relative; z-index: 2; }

.page-home .eyebrow {
  color: #3A4A5E !important;
  position: relative;
  padding-left: 28px;
  display: inline-block;
}
.page-home .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1.5px;
  background: #3A4A5E;
  transform: translateY(-50%);
}

/* Visual rhythm: alternar fondos para no verse plano */
.page-home #servicios { background: #F8F4ED; }
.page-home #doctores {
  background: linear-gradient(180deg, #EBE4D6 0%, #F8F4ED 100%);
  position: relative;
}
.page-home #doctores::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #3A4A5E;
  border-radius: 2px;
}
.page-home #antes-despues { background: #F8F4ED; position: relative; }
.page-home #antes-despues::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #3A4A5E 50%, transparent 100%);
  opacity: 0.4;
}
.page-home #videos {
  background: #2C211A;
  position: relative;
}
.page-home #videos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58, 74, 94, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-home #videos > * { position: relative; z-index: 2; }
.page-home #blog { background: #EBE4D6; }
.page-home #testimonios {
  background: linear-gradient(180deg, #F8F4ED 0%, #EBE4D6 100%);
  position: relative;
}
.page-home #faq {
  background: #F8F4ED;
}
.page-home #faq summary {
  position: relative;
  padding-left: 32px;
}
.page-home #faq summary::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #3A4A5E;
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
}
.page-home #contacto {
  background: #F8F4ED;
  position: relative;
}
.page-home #contacto::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3A4A5E 0%, #C9A66C 50%, #3A4A5E 100%);
}

/* Doctor cards: subtle navy borders on hover */
.page-home .doctor-card { border-left: 3px solid transparent; transition: border-color 0.3s ease; }
.page-home .doctor-card:hover { border-left-color: #3A4A5E; }

/* Quote marks in testimonios */
.page-home .testimonial-card::before {
  color: #3A4A5E !important;
  opacity: 0.18;
}

/* Información Legal section: navy accent */
.page-home .legal-info-eyebrow { color: #3A4A5E !important; }
.page-home .legal-info-card-label { color: #3A4A5E !important; }
.page-home .legal-info-link { border-color: #3A4A5E; }
.page-home .legal-info-link:hover { background: #3A4A5E; color: #F8F4ED; }

/* ============= SERVICIOS (Teal Profundo) ============= */
.page-service .eyebrow {
  color: #2D5F6C !important;
  position: relative;
  padding-left: 28px;
  display: inline-block;
}
.page-service .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1.5px;
  background: #2D5F6C;
  transform: translateY(-50%);
}
.page-service .svc-section-dark {
  background: #2C211A;
  position: relative;
}
.page-service .svc-section-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 95, 108, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-service .svc-section-dark > * { position: relative; z-index: 2; }
.page-service .treatment-grid > * {
  border-top: 3px solid #2D5F6C;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page-service .treatment-grid > *:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(45, 95, 108, 0.15);
}
.page-service .svc-section ul li::marker { color: #2D5F6C; }
.page-service .svc-section h2 .text-gold { color: #2D5F6C !important; }
.page-service .svc-section h3 { color: #2D5F6C; }
.page-service .lead-p strong { color: #2D5F6C !important; }
.page-service .svc-cta-band { background: linear-gradient(135deg, #2D5F6C 0%, #2C211A 100%); }
.page-service .svc-cta-band .btn-primary { background: #C9A66C; color: #2C211A; }
.page-service .svc-cta-band .btn-primary:hover { background: #fff; }

/* ============= BLOG (Forest Sage) ============= */
.page-blog .eyebrow,
.page-blog .blog-tag,
.page-blog .blog-category {
  color: #4A6B5C !important;
}
.page-blog .blog-category {
  background: rgba(74, 107, 92, 0.1);
  border: 1px solid rgba(74, 107, 92, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
}
.page-blog .blog-header { border-bottom: 3px solid #4A6B5C; padding-bottom: 14px; }
.page-blog .blog-content h2 { color: #4A6B5C; }
.page-blog .blog-content h3 { color: #4A6B5C; }
.page-blog .blog-content blockquote {
  border-left: 4px solid #4A6B5C;
  background: rgba(74, 107, 92, 0.05);
  padding: 14px 20px;
  margin: 24px 0;
  font-style: italic;
  color: #2C211A;
}
.page-blog .blog-content a {
  color: #4A6B5C;
  border-bottom: 1px solid rgba(74, 107, 92, 0.4);
}
.page-blog .blog-content a:hover {
  color: #2C211A;
  border-bottom-color: #2C211A;
}
.page-blog .blog-content ul li::marker { color: #4A6B5C; }
.page-blog .blog-meta { color: #4A6B5C; }
.page-blog .blog-meta strong { color: #4A6B5C; }
.page-blog .blog-related { background: rgba(74, 107, 92, 0.06); border-top: 3px solid #4A6B5C; padding: 32px 0; margin-top: 48px; }
.page-blog .blog-related h3 { color: #4A6B5C; }

/* ============= ISLAS FLOTANTES NAVY SLATE (decorativas) ============= */
.floating-island {
  position: absolute;
  background: #3A4A5E;
  pointer-events: none;
  z-index: 0;
  transform: translateX(115%);
  opacity: 0;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease;
  box-shadow: 0 24px 60px rgba(58, 74, 94, 0.28);
  will-change: transform, opacity;
  overflow: hidden;
}
.floating-island.is-visible {
  opacity: 0.96;
  transform: translateX(0);
}
.floating-island::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 166, 108, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.floating-island::after {
  content: "";
  position: absolute;
  bottom: 24px;
  right: 28px;
  width: 56px;
  height: 1.5px;
  background: rgba(201, 166, 108, 0.6);
}

/* DOCTORES — isla a la derecha */
.page-home #doctores { position: relative; overflow: hidden; }
.page-home #doctores > .container { position: relative; z-index: 2; }
.floating-island-doctores {
  top: 14%;
  right: -8%;
  width: 38%;
  height: 70%;
  max-height: 540px;
  border-radius: 36px 0 0 36px;
}

/* TESTIMONIOS — isla a la izquierda (mirror) */
.page-home #testimonios { position: relative; overflow: hidden; }
.page-home #testimonios > .container { position: relative; z-index: 2; }
.floating-island-testimonios {
  bottom: 8%;
  left: -8%;
  width: 36%;
  height: 65%;
  max-height: 480px;
  border-radius: 0 36px 36px 0;
  transform: translateX(-115%);
}
.floating-island-testimonios.is-visible {
  transform: translateX(0);
}
.floating-island-testimonios::after {
  right: auto;
  left: 28px;
}

/* Ocultar islas en móvil para no romper layout */
@media (max-width: 800px) {
  .floating-island-doctores,
  .floating-island-testimonios { display: none; }
}

/* En tablet (800-1100) las islas son más pequeñas y discretas */
@media (min-width: 800px) and (max-width: 1100px) {
  .floating-island-doctores { width: 28%; }
  .floating-island-testimonios { width: 28%; }
}


/* ============= DENTAL TOURISM BUTTON (reemplaza ESP/ENG) ============= */
.dental-tourism-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF7F1 100%);
  border: 1.5px solid #C9A66C;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7B2D3E;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-right: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(123, 45, 62, 0.08);
}
.dental-tourism-btn svg {
  color: #7B2D3E;
  transition: transform 0.25s ease;
}
.dental-tourism-btn:hover {
  background: linear-gradient(135deg, #7B2D3E 0%, #5E2231 100%);
  color: #FFFFFF;
  border-color: #7B2D3E;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(123, 45, 62, 0.28);
}
.dental-tourism-btn:hover svg {
  color: #C9A66C;
  transform: rotate(-10deg) scale(1.1);
}
@media (max-width: 900px) {
  .dental-tourism-btn {
    padding: 5px 10px;
    font-size: 0.7rem;
    margin-right: 6px;
    gap: 6px;
  }
  .dental-tourism-btn svg { width: 14px; height: 14px; }
}
@media (max-width: 480px) {
  .dental-tourism-btn span { display: none; } /* solo ícono en móvil chico */
  .dental-tourism-btn { padding: 7px; }
}
