/* ============================================================
   FARMACIA EJEMPLO — web de demostración (onepage)
   Paleta e identidad propias, independientes del resto del sitio.
   ============================================================ */

:root {
  --green:        #17A673;
  --green-dark:   #12855c;
  --green-tint:   #e7f6ef;
  --green-border: #cbe9da;

  --navy:   #0b1f2d;
  --navy-2: #12293b;
  --ink:    #101c26;
  --slate:  #55677a;
  --muted:  #8b9aab;
  --border: #eaeef1;
  --bg-soft:#f5f8f7;

  --font-display: 'Sora', sans-serif;
  --font-body:    'Inter', sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--green); color: #fff; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-tint); border: 1px solid var(--green-border);
  border-radius: 100px; font-size: 12.5px; font-weight: 600; letter-spacing: .3px;
  text-transform: uppercase; color: var(--green-dark); padding: 7px 14px; margin-bottom: 18px;
}
.badge--light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.24); color: #fff; }

.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--green-dark); margin-bottom: 10px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-lg { padding: 15px 26px; font-size: 15.5px; }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 9px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(23,166,115,.28); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--green-dark); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.btn-white:hover { transform: translateY(-2px); }
.btn-link { color: var(--green-dark); font-weight: 600; font-size: 15px; }
.btn-link:hover { color: var(--green); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--green);
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo__text { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.logo__text strong { color: var(--green-dark); }

.site-nav { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; color: var(--slate); }
.site-nav a:hover { color: var(--green-dark); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 130px 28px 110px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,31,45,.94) 0%, rgba(11,31,45,.88) 42%, rgba(11,31,45,.55) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800; font-size: 44px;
  line-height: 1.12; letter-spacing: -1.2px; color: #fff; margin: 0 0 18px;
}
.hero p { font-size: 17px; line-height: 1.65; color: #cdd8e0; margin-bottom: 34px; }
.hero__actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { padding: 20px 28px; border-bottom: 1px solid var(--border); }
.trust__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.trust__muted { font-size: 13px; color: var(--muted); font-weight: 500; }
.trust__item { font-size: 13px; color: var(--slate); font-weight: 600; }
.sep { color: var(--border); }

/* ============================================================
   SECTIONS (genérico)
   ============================================================ */
.section { padding: 96px 28px; }
.section--tight { padding-top: 0; padding-bottom: 96px; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 36px;
  line-height: 1.15; letter-spacing: -1px; color: var(--ink); margin: 0 0 14px;
}
.section-head p { font-size: 17px; line-height: 1.6; color: var(--slate); margin: 0; }

/* ============================================================
   SOBRE NOSOTROS
   ============================================================ */
.about {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 0.85fr; gap: 64px; align-items: center;
}
.about__copy h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 34px;
  line-height: 1.16; letter-spacing: -1px; color: var(--ink); margin: 0 0 16px;
}
.about__copy p { font-size: 16px; line-height: 1.7; color: var(--slate); margin-bottom: 22px; }
.about__copy strong { color: var(--ink); font-weight: 600; }
.check-list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.check-ico {
  width: 22px; height: 22px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.schedule-box {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--green-tint); border: 1px solid var(--green-border);
  border-radius: 14px; padding: 16px 18px;
}
.schedule-box strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.schedule-box span { font-size: 13px; color: var(--slate); }
.about__media img {
  width: 100%; border-radius: 20px; aspect-ratio: 4/5; object-fit: cover;
  box-shadow: 0 30px 60px -20px rgba(11,31,45,.32);
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.services {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -18px rgba(11,31,45,.22); }
.service-card__media { aspect-ratio: 16/10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__tag {
  position: absolute; margin: 14px; font-size: 11px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; color: #fff; background: rgba(11,31,45,.55);
  padding: 5px 10px; border-radius: 100px; backdrop-filter: blur(4px);
}
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); margin: 20px 22px 8px; }
.service-card p { font-size: 14.5px; line-height: 1.6; color: var(--slate); margin: 0 22px 18px; }
.service-card__link { margin: 0 22px 22px; font-size: 14px; font-weight: 600; color: var(--green-dark); }
.service-card__link:hover { color: var(--green); }
.services__more { text-align: center; margin-top: 40px; }

/* ============================================================
   PARAFARMACIA ONLINE
   ============================================================ */
.online-cta {
  max-width: var(--maxw); margin: 0 auto;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 24px; padding: 72px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  position: relative; overflow: hidden;
}
.online-cta__copy h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 32px;
  line-height: 1.18; letter-spacing: -.8px; color: #fff; margin: 0 0 16px;
}
.online-cta__copy p { font-size: 15.5px; line-height: 1.7; color: #b8c4cf; margin-bottom: 28px; max-width: 440px; }
.online-cta__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.pill-tag {
  font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18); padding: 7px 14px; border-radius: 100px;
}
.online-cta__visual { position: relative; }
.online-cta__visual img {
  width: 100%; height: 100%; min-height: 300px; object-fit: cover; border-radius: 18px;
  box-shadow: 0 30px 60px -18px rgba(0,0,0,.45);
}

/* ============================================================
   COMPROMISO
   ============================================================ */
.commitment {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.commitment-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px;
  text-align: center;
}
.commitment-card__icon {
  width: 50px; height: 50px; border-radius: 14px; background: var(--green-tint);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.commitment-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: var(--ink); margin-bottom: 8px; }
.commitment-card p { font-size: 14.5px; line-height: 1.6; color: var(--slate); margin: 0; }
.commitment-card__link { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--green-dark); }
.commitment-card__link:hover { color: var(--green); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq__item[open] { border-color: var(--green-border); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__item summary .plus::before,
.faq__item summary .plus::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: var(--green-dark); border-radius: 2px;
  transition: transform .2s ease;
}
.faq__item summary .plus::before { width: 13px; height: 2px; transform: translate(-50%,-50%); }
.faq__item summary .plus::after  { width: 2px; height: 13px; transform: translate(-50%,-50%); }
.faq__item[open] summary .plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__answer { padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: var(--slate); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); padding: 64px 28px 0; }
.site-footer__top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.logo--footer .logo__text { color: #fff; }
.logo--footer .logo__text strong { color: #6ad6ac; }
.site-footer__brand p { font-size: 13.5px; line-height: 1.7; color: #93a3b3; margin: 16px 0 20px; max-width: 300px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #cdd8e0;
}
.social-row a:hover { background: var(--green); color: #fff; }

.site-footer__col h4 { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #fff; margin: 0 0 16px; }
.site-footer__col { display: flex; flex-direction: column; gap: 11px; }
.site-footer__col a { font-size: 13.5px; color: #93a3b3; }
.site-footer__col a:hover { color: #fff; }
.site-footer__contact a, .site-footer__contact .footer-address {
  display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #93a3b3;
}
.authorized-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-size: 12px; font-weight: 600; color: #6ad6ac; background: rgba(23,166,115,.14);
  border: 1px solid rgba(23,166,115,.3); padding: 6px 12px; border-radius: 100px; width: fit-content;
}

.site-footer__bottom {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 22px 0; font-size: 12.5px; color: #64758a;
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px rgba(37,211,102,.4);
  animation: floaty 3.4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.06); }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { order: -1; }
  .services { grid-template-columns: 1fr; }
  .commitment { grid-template-columns: 1fr; }
  .online-cta { grid-template-columns: 1fr; padding: 44px; }
  .online-cta__visual img { min-height: 220px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 28px 16px; border-bottom: 1px solid var(--border); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .site-header__actions .btn-sm { display: none; }
  .hero { padding: 100px 20px 80px; }
  .hero h1 { font-size: 32px; letter-spacing: -.8px; }
  .section { padding: 64px 20px; }
  .section-head h2 { font-size: 28px; }
  .online-cta { border-radius: 18px; padding: 32px; gap: 32px; }
  .online-cta__visual img { min-height: 200px; }
  .site-footer__top { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
