/* ============================================
   DRA. ANA RIVERA — SITIO WEB OFICIAL
   Manual de Marca v1.0 · Mayo 2026
   ============================================ */

:root {
  --marron:  #3D2B22;
  --terra:   #C17F6B;
  --taupe:   #8C7165;
  --beige:   #D4C4BA;
  --crema:   #F5F0EB;
  --blanco:  #FFFFFF;
  --transition: 0.22s ease;
  --shadow: 0 4px 24px rgba(61,43,34,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--crema); color: var(--marron); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* TYPOGRAPHY */
.label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--terra); }
.divider { width: 40px; height: 2px; background: var(--terra); margin: 14px 0 20px; }
.divider--center { margin-left: auto; margin-right: auto; }
h1, h2, h3 { color: var(--marron); line-height: 1.15; }

/* BUTTONS */
.btn { display: inline-block; padding: 13px 30px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; transition: all 0.22s ease; cursor: pointer; border: none; font-family: 'Montserrat', sans-serif; }
.btn--primary { background: var(--terra); color: #fff; }
.btn--primary:hover { background: #a96a58; transform: translateY(-1px); }
.btn--outline { background: transparent; border: 1.5px solid var(--terra); color: var(--terra); }
.btn--outline:hover { background: var(--terra); color: #fff; }
.btn--outline-light { background: transparent; border: 1.5px solid var(--beige); color: var(--beige); }
.btn--outline-light:hover { background: var(--beige); color: var(--marron); }
.btn--white { background: #fff; color: var(--marron); font-weight: 700; }
.btn--white:hover { background: var(--crema); transform: translateY(-1px); }
.btn--border-white { background: transparent; border: 1.5px solid rgba(255,255,255,0.6); color: #fff; }
.btn--border-white:hover { background: rgba(255,255,255,0.12); }
.btn--wa { background: #25D366; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.btn--wa:hover { background: #1ebe5d; transform: translateY(-1px); }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: var(--marron); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav__inner { max-width: 1180px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand-name { font-size: 0.88rem; font-weight: 700; color: var(--crema); letter-spacing: 0.06em; }
.nav__brand-sub { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav__link { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; color: var(--beige); transition: color 0.2s; position: relative; }
.nav__link::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1.5px; background: var(--terra); transition: width 0.2s; }
.nav__link:hover { color: var(--terra); }
.nav__link:hover::after { width: 100%; }
.nav__hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--crema); padding: 4px; }
.nav__mobile { display: none; background: var(--marron); padding: 20px 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.nav__mobile.open { display: block; }
.nav__mobile-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.nav__mobile-link { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--beige); font-weight: 500; }

/* HERO */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(61,43,34,0.92) 0%, rgba(61,43,34,0.72) 50%, rgba(61,43,34,0.18) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 80px 28px; width: 100%; }
.hero__inner { max-width: 620px; }
.hero__h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--crema); line-height: 1.12; margin-bottom: 24px; }
.hero__body { font-size: 1rem; line-height: 1.82; color: var(--beige); margin-bottom: 36px; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__locations { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); }

/* CRED BAR */
.cred-bar { background: var(--marron); border-top: 1px solid rgba(255,255,255,0.05); overflow-x: auto; }
.cred-bar__inner { max-width: 1180px; margin: 0 auto; padding: 16px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.cred-bar__item { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--beige); white-space: nowrap; }
.cred-bar__sep { color: var(--terra); }

/* SECTIONS */
.section { padding: 96px 28px; }
.section--crema { background: var(--crema); }
.section--beige { background: var(--beige); }
.section--marron { background: var(--marron); }
.section--sm { padding: 72px 28px; }
.container { max-width: 1180px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
.section-head p { margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; color: var(--taupe); font-size: 0.92rem; line-height: 1.75; }
.section-head--light h2 { color: var(--crema); }
.section-head--light p { color: var(--beige); }

/* BENEFITS */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.benefit { border-left: 3px solid var(--terra); padding: 4px 0 4px 24px; }
.benefit__icon { width: 44px; height: 44px; background: rgba(193,127,107,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.benefit h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.benefit p { font-size: 0.88rem; color: var(--taupe); line-height: 1.8; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-content h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 700; margin-bottom: 24px; }
.about-content p { font-size: 0.92rem; line-height: 1.9; color: var(--marron); margin-bottom: 18px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.about-stat { background: rgba(61,43,34,0.07); padding: 14px 16px; }
.about-stat__label { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe); margin-bottom: 5px; }
.about-stat__value { font-size: 0.84rem; font-weight: 700; color: var(--marron); line-height: 1.3; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: 540px; object-fit: cover; object-position: top center; }
.about-photo__badge { position: absolute; bottom: -20px; left: -20px; background: var(--terra); padding: 18px 22px; max-width: 200px; }
.about-photo__badge p { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 4px; }
.about-photo__badge strong { font-size: 0.85rem; color: #fff; font-weight: 600; display: block; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--blanco); border-top: 3px solid var(--terra); padding: 28px; }
.service-card__title { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); margin-bottom: 18px; font-weight: 600; }
.service-card ul { list-style: none; }
.service-card li { font-size: 0.87rem; color: var(--marron); padding: 8px 0; border-bottom: 1px solid rgba(61,43,34,0.08); line-height: 1.4; }
.service-card li:last-child { border-bottom: none; }
.service-card__footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--beige); }
.service-card__footer p { font-size: 0.83rem; color: var(--taupe); line-height: 1.7; }
.service-card__link { font-size: 0.8rem; font-weight: 600; color: var(--terra); letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.service-card__link:hover { gap: 10px; }

/* OR BANNER */
.or-banner { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.or-banner__photo { height: 440px; overflow: hidden; }
.or-banner__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.or-banner__photo:hover img { transform: scale(1.03); }
.or-banner__text { background: var(--marron); padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.or-banner__text h3 { color: var(--crema); font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; line-height: 1.25; }
.or-banner__text p { color: var(--beige); font-size: 0.9rem; line-height: 1.82; }

/* GASTRO */
.gastro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.gastro-card { background: var(--blanco); border-top: 3px solid var(--terra); padding: 36px; }
.gastro-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.gastro-card p { font-size: 0.88rem; line-height: 1.85; color: var(--taupe); margin-bottom: 18px; }
.gastro-card p:last-of-type { margin-bottom: 0; }
.alert-box { background: rgba(193,127,107,0.1); border-left: 3px solid var(--terra); padding: 16px 20px; margin-top: 20px; }
.alert-box strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--marron); margin-bottom: 5px; }
.alert-box p { font-size: 0.84rem; color: var(--taupe); line-height: 1.7; margin-bottom: 0 !important; }

/* COLONOSCOPIA */
.colo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.colo-list { background: var(--marron); padding: 32px; list-style: none; }
.colo-list li { color: var(--beige); font-size: 0.87rem; padding: 12px 0; border-bottom: 1px solid rgba(212,196,186,0.15); line-height: 1.5; }
.colo-list li:last-child { border-bottom: none; }
.colo-types { display: grid; gap: 12px; margin: 24px 0; }
.colo-type { background: var(--beige); padding: 18px 20px; border-left: 3px solid var(--terra); }
.colo-type strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--marron); margin-bottom: 4px; }
.colo-type p { font-size: 0.84rem; color: var(--taupe); line-height: 1.6; }

/* CREDENTIALS */
.creds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.cred-card { background: rgba(255,255,255,0.05); border-top: 2px solid var(--terra); padding: 28px; }
.cred-card h3 { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); margin-bottom: 16px; }
.cred-card ul { list-style: none; }
.cred-card li { color: var(--beige); font-size: 0.87rem; padding: 9px 0; border-bottom: 1px solid rgba(212,196,186,0.12); line-height: 1.5; }
.cred-card li:last-child { border-bottom: none; }
.badges-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.badge { border: 1px solid rgba(212,196,186,0.2); padding: 20px 16px; text-align: center; }
.badge p { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); line-height: 1.6; }

/* LOCATIONS */
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.location-card { background: var(--blanco); border-top: 3px solid var(--terra); padding: 28px; }
.location-card__zone { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); font-weight: 600; margin-bottom: 8px; }
.location-card h3 { font-size: 0.96rem; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.location-card address { font-style: normal; font-size: 0.84rem; color: var(--taupe); line-height: 1.75; margin-bottom: 16px; }
.location-card a { font-size: 0.78rem; font-weight: 600; color: var(--terra); letter-spacing: 0.05em; transition: opacity 0.2s; }
.location-card a:hover { opacity: 0.7; }

/* TARGET */
.target-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.target-card { background: var(--blanco); border-top: 3px solid var(--terra); padding: 28px; }
.target-card h3 { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); margin-bottom: 14px; font-weight: 600; }
.target-card p { font-size: 0.88rem; color: var(--taupe); line-height: 1.82; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 820px; margin: 0 auto; }
details.faq { background: var(--blanco); border-top: 2px solid var(--terra); }
details.faq summary { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; cursor: pointer; list-style: none; gap: 20px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary h3 { font-size: 0.93rem; font-weight: 600; color: var(--marron); line-height: 1.4; flex: 1; }
.faq__icon { width: 28px; height: 28px; border: 1.5px solid var(--terra); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--terra); font-size: 1.1rem; font-weight: 300; transition: all 0.2s; }
details.faq[open] .faq__icon { background: var(--terra); color: #fff; }
.faq__body { padding: 0 26px 26px; font-size: 0.9rem; color: var(--taupe); line-height: 1.85; }
.faq__body p + p { margin-top: 12px; }
.faq__tag { display: inline-block; background: rgba(193,127,107,0.1); color: var(--terra); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; margin-bottom: 12px; font-weight: 600; }

/* CTA FINAL */
.cta-final { background: var(--terra); padding: 96px 28px; text-align: center; }
.cta-final h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: #fff; max-width: 680px; margin: 0 auto 20px; line-height: 1.2; }
.cta-final p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.8; max-width: 520px; margin: 0 auto 36px; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-final__sub { margin-top: 24px; font-size: 0.72rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); text-transform: uppercase; }

/* FOOTER */
.footer { background: var(--marron); padding: 56px 28px 28px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__inner { max-width: 1180px; margin: 0 auto; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand-name { font-size: 0.88rem; font-weight: 700; color: var(--crema); letter-spacing: 0.06em; margin-bottom: 10px; }
.footer__brand p { font-size: 0.83rem; color: var(--taupe); line-height: 1.8; max-width: 280px; }
.footer__col h4 { font-size: 0.67rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col li a { font-size: 0.82rem; color: var(--taupe); transition: color 0.2s; }
.footer__col li a:hover { color: var(--beige); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__copy { font-size: 0.74rem; color: var(--taupe); }
.footer__disclaimer { font-size: 0.7rem; color: var(--taupe); opacity: 0.7; max-width: 400px; text-align: right; line-height: 1.5; }

/* WA FLOAT */
.wa-float { position: fixed; bottom: 28px; right: 28px; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.35); z-index: 999; transition: transform 0.22s, box-shadow 0.22s; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.45); }

/* PAGE HERO */
.page-hero { background: var(--marron); padding: 72px 28px; }
.page-hero__inner { max-width: 1180px; margin: 0 auto; }
.page-hero h1 { color: var(--crema); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 16px; line-height: 1.15; }
.page-hero p { color: var(--beige); font-size: 1rem; line-height: 1.78; max-width: 560px; font-weight: 300; }

/* BREADCRUMB */
.breadcrumb { background: rgba(61,43,34,0.04); padding: 12px 28px; border-bottom: 1px solid rgba(61,43,34,0.1); }
.breadcrumb__inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 0.74rem; color: var(--taupe); }
.breadcrumb a { color: var(--terra); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--beige); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .badges-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 20px; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: block; }
  .benefits { grid-template-columns: 1fr; gap: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .gastro-grid { grid-template-columns: 1fr; }
  .colo-grid { grid-template-columns: 1fr; }
  .creds-grid { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .or-banner { grid-template-columns: 1fr; }
  .or-banner__photo { height: 280px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .footer__disclaimer { text-align: left; }
  .badges-row { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: column; }
  .cta-final__actions { flex-direction: column; align-items: center; }
  .about-stats { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cred-bar__sep { display: none; }
  .hero { min-height: 100svh; }
}
