:root {
  --green: #79ba2f;
  --green-dark: #5aa11a;
  --black: #151515;
  --text: #222222;
  --bg: #f7f7f4;
  --bg-soft: #f1f1ec;
  --card: rgba(255,255,255,.92);
  --line: #e8e8e1;
  --shadow: 0 14px 36px rgba(0,0,0,.08);
  --container: 1520px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(180deg, #fafaf8 0%, #f3f3ee 100%);
  color: var(--text);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: .95rem;
  font-weight: 800;
  position: relative;
  color: var(--black);
  letter-spacing: .005em;
}

.nav-link.active,
.nav-link:hover {
  color: var(--green-dark);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--green), #5f9e20);
  color: #fff;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(121,186,47,.25);
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px 24px 24px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.mobile-menu a { font-weight: 800; }

.mobile-menu.open { display: flex; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 14px 0 28px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 30%, rgba(255,255,255,.96), transparent 32%),
    radial-gradient(circle at 82% 30%, rgba(255,255,255,.82), transparent 35%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 24px;
  align-items: center;
  min-height: 740px;
}

.hero-copy-col {
  padding-left: 6px;
  padding-top: 8px;
}

.brand-block { margin-bottom: 30px; }

.brand-top {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-cross {
  width: 150px;
  flex: 0 0 auto;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: .9;
}

.brand-small,
.brand-big {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  color: #101010;
}

.brand-small { font-size: clamp(2.2rem, 3vw, 3rem); }

.brand-big { font-size: clamp(4.2rem, 6vw, 6.7rem); }

.brand-line {
  width: 82px;
  height: 4px;
  border-radius: 999px;
  background: var(--green);
  margin-top: 18px;
}

.hero-pretitle {
  color: var(--green-dark);
  font-size: clamp(2.05rem, 2.6vw, 3rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(4rem, 5.4vw, 5.9rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .98;
  color: #232323;
  margin-bottom: 20px;
}

.hero-title span { color: var(--green); }

.hero-text {
  max-width: 700px;
  font-size: clamp(1.15rem, 1.7vw, 1.82rem);
  line-height: 1.55;
  margin-bottom: 34px;
  color: #262626;
}

/* BOTONES REDONDOS - OPCIÓN 2 */
.hero-actions {
  display: grid;
  grid-template-columns: repeat(5, 130px);
  gap: 26px;
  max-width: 900px;
  align-items: start;
  margin-top: 34px;
}

.action-card {
  width: 130px;
  min-height: 130px;
  padding: 18px 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #ffffff 0%, #ffffff 38%, #f7f7f3 100%);
  border: 1px solid rgba(121, 186, 47, 0.10);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  color: var(--green-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.action-card:hover {
  transform: translateY(-7px) scale(1.035);
  border-color: rgba(121, 186, 47, 0.45);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.14);
}

.action-card-main {
  background: radial-gradient(circle at 35% 25%, #86ca3e 0%, var(--green) 42%, var(--green-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(90, 161, 26, 0.28);
}

.action-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  position: relative;
}

.action-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

.action-card span:last-child {
  font-size: 0.82rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: currentColor;
}

.hero-visual-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 100%;
}

.pharmacy-wrap {
  position: relative;
  width: min(200%, 820px);
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  perspective: 1600px;
  transform-style: preserve-3d;
}

.pharmacy-shadow {
  position: absolute;
  width: 68%;
  height: 48px;
  right: 7%;
  bottom: 46px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.22) 0%, rgba(0,0,0,.07) 45%, rgba(0,0,0,0) 80%);
  filter: blur(18px);
  transition: transform .18s ease-out, opacity .18s ease-out;
  z-index: 1;
}

.pharmacy-layer {
  position: absolute;
  width: min(100%, 760px);
  right: 0;
  bottom: 60px;
  user-select: none;
  pointer-events: none;
  will-change: transform, filter;
}

.pharmacy-back {
  opacity: .34;
  filter: blur(7px) saturate(1.04) brightness(1.02);
  transform: translate3d(-14px, 16px, -50px) scale(.995);
  z-index: 2;
}

.pharmacy-main {
  filter: drop-shadow(0 22px 26px rgba(0,0,0,.12));
  transform: translate3d(0, 0, 0);
  z-index: 4;
}

.pharmacy-front {
  opacity: .13;
  mix-blend-mode: screen;
  filter: blur(1.2px) brightness(1.18) saturate(1.04);
  transform: translate3d(12px, -10px, 36px) scale(1.002);
  z-index: 5;
}

.pharmacy-highlight {
  position: absolute;
  right: 11%;
  top: 15%;
  width: 240px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.20) 0%, rgba(255,255,255,.05) 45%, rgba(255,255,255,0) 72%);
  filter: blur(12px);
  z-index: 6;
  pointer-events: none;
  transition: transform .18s ease-out, opacity .18s ease-out;
}

.side-dots {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d8d8d8;
}

.side-dots span.active { background: var(--green); }

.values-section {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.66) 34%, rgba(245,245,241,.94) 76%),
    linear-gradient(180deg, rgba(242,242,237,.74) 0%, rgba(245,245,241,.94) 100%);
  border-top-left-radius: 50% 16%;
  border-top-right-radius: 50% 16%;
  overflow: hidden;
}

.values-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(158deg, rgba(121,186,47,.05) 0 28%, transparent 28% 100%),
    linear-gradient(336deg, rgba(121,186,47,.045) 0 23%, transparent 23% 100%);
  pointer-events: none;
}

.section-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 64px;
}

.section-head span {
  width: 210px;
  height: 2px;
  background: rgba(121,186,47,.52);
}

.section-head h3 {
  color: var(--green-dark);
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.03em;
  text-shadow: 0 10px 24px rgba(90,161,26,.13);
}

.values-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.value-item {
  min-height: 410px;
  padding: 48px 34px 38px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.9)),
    radial-gradient(circle at 50% 0%, rgba(121,186,47,.08), transparent 58%);
  border: 1px solid rgba(90,161,26,.12);
  box-shadow:
    0 20px 42px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.86);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.value-item:hover {
  transform: translateY(-8px);
  border-color: rgba(121,186,47,.38);
  box-shadow:
    0 28px 54px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.value-icon {
  width: 104px;
  height: 104px;
  margin-bottom: 28px;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.value-img-icon {
  width: 112px;
  height: 112px;
  object-fit: contain;
  display: block;
}

.value-svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-item h4 {
  max-width: 260px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.35rem, 1.55vw, 1.75rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--black);
  margin-bottom: 18px;
}

.value-mini-line {
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  margin-bottom: 26px;
}

.value-item p {
  max-width: 260px;
  font-size: clamp(1rem, 1.1vw, 1.22rem);
  line-height: 1.55;
  color: #333;
}

.content-section {
  padding: 82px 0;
  background: #fff;
}

.content-section.alt { background: #f7f7f3; }

.content-section h3 {
  font-size: 2.2rem;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.content-section p {
  max-width: 920px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #333;
}

.reveal-up {
  opacity: 0;
  transform: translateY(34px);
}

@media (max-width: 1320px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 10px;
  }

  .hero-copy-col {
    order: 2;
    text-align: center;
    padding-left: 0;
  }

  .hero-visual-col {
    order: 1;
    justify-content: center;
  }

  .brand-top { justify-content: center; }

  .brand-line { margin-inline: auto; }

  .hero-text { margin-inline: auto; }

  .hero-actions {
    margin-inline: auto;
    grid-template-columns: repeat(3, 130px);
    justify-content: center;
  }

  .pharmacy-wrap {
    justify-content: center;
    height: 560px;
  }

  .pharmacy-layer { right: auto; }

  .pharmacy-shadow {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .side-dots { display: none; }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    margin-inline: auto;
  }

  .value-item {
    min-height: 360px;
  }
}

@media (max-width: 980px) {
  .nav-left,
  .btn-whatsapp {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .brand-cross { width: 120px; }

  .brand-small { font-size: 1.9rem; }

  .brand-big { font-size: 4.4rem; }

  .hero-title { font-size: 3.7rem; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }

  .hero { padding-top: 10px; }

  .brand-top {
    flex-direction: column;
    gap: 14px;
  }

  .hero-pretitle { font-size: 1.7rem; }

  .hero-title { font-size: 3.1rem; }

  .hero-text { font-size: 1.05rem; }

  .hero-actions {
    grid-template-columns: repeat(2, 118px);
    justify-content: center;
    gap: 18px;
  }

  .action-card {
    width: 118px;
    min-height: 118px;
  }

  .action-icon {
    width: 40px;
    height: 40px;
  }

  .action-card span:last-child {
    font-size: 0.78rem;
  }

  .pharmacy-wrap { height: 380px; }

  .section-head span { width: 54px; }

  .section-head h3 { font-size: 1.6rem; }

  .values-section {
    padding: 56px 0 64px;
  }

  .section-head {
    gap: 14px;
    margin-bottom: 34px;
  }

  .section-head span {
    width: 54px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .value-item {
    min-height: auto;
    padding: 34px 24px 32px;
  }

  .value-icon {
    width: 86px;
    height: 86px;
    margin-bottom: 20px;
  }

  .value-img-icon {
    width: 92px;
    height: 92px;
  }

  .value-item h4 {
    min-height: auto;
  }

  .content-section { padding: 64px 0; }
}

/* =========================================================
   AJUSTE HERO: FARMACIA AL DOBLE + TEXTOS POR ENCIMA
   Pegar al final del style.css
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 84px);
}

/* Mantenemos la grilla, pero permitimos superposición */
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  min-height: calc(100vh - 84px);
}

/* El bloque de texto queda por encima de la farmacia */
.hero-copy-col {
  position: relative;
  z-index: 20;
  padding-left: 6px;
  padding-top: 8px;
}

/* La farmacia pasa a ser una imagen grande de fondo a la derecha */
.hero-visual-col {
  position: absolute;
  top: 0;
  right: -190px;
  width: 78%;
  height: 100%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: auto;
}

/* Contenedor mucho más grande para permitir escala */
.pharmacy-wrap {
  position: relative;
  width: 1640px;
  height: 980px;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  perspective: 1600px;
  transform-style: preserve-3d;
}

/* Imagen al doble aproximadamente */
.pharmacy-layer {
  position: absolute;
  width: 920px;
  max-width: none;
  right: 0;
  bottom: 150px;
  user-select: none;
  pointer-events: none;
  will-change: transform, filter;
}

/* Sombra adaptada al nuevo tamaño */
.pharmacy-shadow {
  width: 72%;
  height: 70px;
  right: 3%;
  bottom: 95px;
}

/* Luz ajustada a la farmacia grande */
.pharmacy-highlight {
  right: 19%;
  top: 20%;
  width: 360px;
  height: 440px;
}

/* Aseguramos que los botones también queden arriba */
.hero-actions {
  position: relative;
  z-index: 25;
}

/* El navegador lateral también queda visible */
.side-dots {
  z-index: 30;
}

/* Responsive: en pantallas medianas volvemos a ordenar */
@media (max-width: 1320px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy-col {
    order: 2;
    text-align: center;
    z-index: 20;
  }

  .hero-visual-col {
    position: relative;
    order: 1;
    right: auto;
    width: 100%;
    height: 620px;
    justify-content: center;
  }

  .pharmacy-wrap {
    width: 100%;
    max-width: 980px;
    height: 620px;
    justify-content: center;
  }

  .pharmacy-layer {
    width: min(115%, 960px);
    right: auto;
    bottom: 60px;
  }

  .pharmacy-shadow {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 52px;
  }

  .pharmacy-highlight {
    right: 24%;
    top: 12%;
  }
}

@media (max-width: 760px) {
  .hero-visual-col {
    height: 430px;
  }

  .pharmacy-wrap {
    height: 430px;
  }

  .pharmacy-layer {
    width: min(130%, 620px);
    bottom: 40px;
  }

  .pharmacy-shadow {
    bottom: 32px;
    height: 46px;
  }

  .pharmacy-highlight {
    width: 220px;
    height: 260px;
    right: 18%;
    top: 12%;
  }
}


/* =========================================================
   NUESTRO EQUIPO
========================================================= */

.team-section {
  position: relative;
  padding: 48px 0 62px;
  background:
    radial-gradient(circle at 16% 18%, rgba(121,186,47,.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f3 100%);
  overflow: hidden;
}

.team-head {
  margin-bottom: 20px;
}

.team-intro {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
  font-size: 1.12rem;
  line-height: 1.7;
  color: #333;
}

.team-carousel {
  position: relative;
}

.team-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 300px);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;
  padding: 12px 8px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(90,161,26,.45) rgba(0,0,0,.06);
}

.team-track::-webkit-scrollbar {
  height: 9px;
}

.team-track::-webkit-scrollbar-track {
  background: rgba(0,0,0,.06);
  border-radius: 999px;
}

.team-track::-webkit-scrollbar-thumb {
  background: rgba(90,161,26,.55);
  border-radius: 999px;
}

.team-card {
  scroll-snap-align: start;
  min-height: 390px;
  padding: 20px 20px 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92)),
    radial-gradient(circle at 50% 0%, rgba(121,186,47,.08), transparent 58%);
  border: 1px solid rgba(90,161,26,.13);
  box-shadow: 0 18px 40px rgba(0,0,0,.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.team-card:hover {
  transform: translateY(-7px);
  border-color: rgba(121,186,47,.38);
  box-shadow: 0 26px 52px rgba(0,0,0,.13);
}

.team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.12;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 20px;
  background:
    linear-gradient(135deg, rgba(230,207,130,.34), rgba(121,186,47,.12)),
    radial-gradient(circle at center, rgba(255,255,255,.90), rgba(245,245,241,.96));
  border: 1px solid rgba(230,207,130,.42);
}

.team-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 10px;
}

.team-photo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(90,161,26,.42);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.team-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.team-card p {
  color: var(--green-dark);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
}

.team-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(90,161,26,.28);
  transition: transform .22s ease, box-shadow .22s ease;
}

.team-arrow:hover {
  transform: translateY(-50%) scale(1.07);
  box-shadow: 0 20px 38px rgba(90,161,26,.34);
}

.team-arrow-prev {
  left: -12px;
}

.team-arrow-next {
  right: -12px;
}

@media (max-width: 980px) {
  .team-track {
    grid-auto-columns: minmax(230px, 280px);
  }

  .team-arrow-prev {
    left: 2px;
  }

  .team-arrow-next {
    right: 2px;
  }
}

@media (max-width: 760px) {
  .team-section {
    padding: 42px 0 52px;
  }

  .team-track {
    grid-auto-columns: minmax(220px, 76vw);
    gap: 18px;
  }

  .team-arrow {
    width: 42px;
    height: 42px;
    font-size: 2rem;
  }
}

/* =========================================================
   HORARIOS
========================================================= */

.hours-section {
  position: relative;
  padding: 84px 0 92px;
  background:
    radial-gradient(circle at 18% 22%, rgba(230, 207, 130, 0.28), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f6f1dd 45%, #ffffff 100%);
  overflow: hidden;
}

.hours-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.34) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,.34) 2px, transparent 2px);
  background-size: 76px 76px;
  opacity: .28;
  pointer-events: none;
}

.hours-section::after {
  content: "";
  position: absolute;
  left: -60px;
  top: 0;
  width: 430px;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(230,207,130,.55), rgba(230,207,130,0)),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.55) 0 2px,
      transparent 2px 58px
    );
  opacity: .46;
  pointer-events: none;
}

.hours-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90)),
    radial-gradient(circle at 0% 0%, rgba(230,207,130,.34), transparent 48%);
  border: 1px solid rgba(90,161,26,.14);
  box-shadow: 0 24px 54px rgba(0,0,0,.10);
}

.hours-title-block {
  padding: 12px 10px;
}

.hours-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  background: #e6cf82;
  color: #0b4a5c;
  font-size: .86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 18px;
}

.hours-title-block h3 {
  font-size: clamp(2.7rem, 4.5vw, 5rem);
  line-height: .95;
  color: var(--green-dark);
  letter-spacing: -.05em;
  margin-bottom: 18px;
}

.hours-title-block p {
  max-width: 390px;
  font-size: 1.14rem;
  line-height: 1.65;
  color: #333;
}

.hours-table {
  display: grid;
  gap: 14px;
}

.hours-row {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(230,207,130,.46);
  box-shadow: 0 12px 28px rgba(0,0,0,.055);
}

.hours-day {
  color: var(--black);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hours-time {
  color: #222;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}

.hours-time span {
  color: var(--green-dark);
  font-weight: 900;
  margin: 0 5px;
}

.hours-time strong {
  color: var(--green-dark);
  text-transform: uppercase;
  font-size: .96em;
}

@media (max-width: 980px) {
  .hours-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .hours-title-block {
    text-align: center;
  }

  .hours-title-block p {
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .hours-section {
    padding: 62px 0 70px;
  }

  .hours-card {
    padding: 24px;
    border-radius: 26px;
  }

  .hours-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .hours-title-block h3 {
    font-size: 3rem;
  }
}




/* =========================================================
   FARMACIA DE TURNO
========================================================= */

.turno-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(121,186,47,.07), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f3 100%);
}

.turno-card {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
  align-items: center;
  padding: 42px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92)),
    radial-gradient(circle at 0% 0%, rgba(121,186,47,.08), transparent 52%);
  border: 1px solid rgba(90,161,26,.13);
  box-shadow: 0 24px 54px rgba(0,0,0,.10);
}

.turno-copy h3 {
  font-size: clamp(2.3rem, 3.6vw, 4rem);
  color: var(--green-dark);
  margin-bottom: 16px;
}

.turno-copy p {
  max-width: 520px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #333;
}

.turno-copy strong {
  color: var(--green-dark);
  font-weight: 800;
}

.turno-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(121,186,47,.14);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
  overflow: hidden;
}

.turno-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 980px) {
  .turno-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .turno-copy {
    text-align: center;
  }

  .turno-copy p {
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .turno-card {
    padding: 22px;
    border-radius: 26px;
  }

  .turno-image-wrap {
    padding: 10px;
    border-radius: 22px;
  }
}

/* =========================================================
   SERVICIOS
========================================================= */

.services-section {
  background: #ffffff;
}

.services-section h3 {
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  color: var(--green-dark);
  margin-bottom: 14px;
}

.services-section p {
  max-width: 820px;
  margin-bottom: 28px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1040px;
}

.service-pill {
  padding: 16px 22px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,247,243,.94));
  border: 1px solid rgba(121,186,47,.25);
  color: var(--black);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.service-pill::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 760px) {
  .services-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-pill {
    width: 100%;
  }
}

/* =========================================================
   CONTACTO
========================================================= */

.contact-section {
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 18% 20%, rgba(121, 186, 47, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f3 100%);
}

.contact-section h3 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  color: var(--green-dark);
  margin-bottom: 14px;
}

.contact-section > .container > p {
  max-width: 780px;
  font-size: 1.16rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 30px;
  align-items: stretch;
}

.contact-info-card,
.contact-map-card {
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(90,161,26,.12);
  box-shadow: 0 20px 42px rgba(0,0,0,.08);
  overflow: hidden;
}

.contact-info-card {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.contact-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f9f9f6);
  border: 1px solid rgba(121,186,47,.10);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-item:hover {
  transform: translateY(-4px);
  border-color: rgba(121,186,47,.40);
  box-shadow: 0 16px 30px rgba(0,0,0,.08);
}

.contact-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: radial-gradient(circle at 35% 25%, #86ca3e 0%, var(--green) 42%, var(--green-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(90,161,26,.24);
}

.contact-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.contact-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--black);
  margin-bottom: 4px;
}

.contact-item em {
  display: block;
  font-style: normal;
  color: #333;
  line-height: 1.35;
}

.contact-map-card {
  min-height: 470px;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 470px;
  border: 0;
  display: block;
  filter: saturate(.95) contrast(1.02);
}

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-card,
  .contact-map-card iframe {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .contact-section {
    padding: 64px 0 72px;
  }

  .contact-info-card {
    padding: 16px;
  }

  .contact-item {
    grid-template-columns: 50px 1fr;
    padding: 15px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .contact-icon svg {
    width: 26px;
    height: 26px;
  }
}


/* =========================================================
   AJUSTE: MENOS ESPACIO ENTRE SECCIONES + VALORES MÁS DINÁMICOS
   Pegar al final del style.css
========================================================= */

.values-section {
  padding-top: 44px;
  padding-bottom: 56px;
}

.section-head {
  margin-bottom: 34px;
}

.hours-section {
  padding-top: 44px;
  padding-bottom: 54px;
}

.contact-section {
  padding-top: 52px;
  padding-bottom: 66px;
}

.content-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

#nosotros,
#horarios,
#contacto,
#servicios,
#turno {
  scroll-margin-top: 92px;
}

.values-grid .value-item {
  opacity: 0;
  transform: translateY(54px);
  will-change: transform, opacity;
}

.no-js .values-grid .value-item {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .values-section {
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .hours-section {
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .contact-section {
    padding-top: 42px;
    padding-bottom: 54px;
  }

  .content-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }
}


/* =========================================================
   AJUSTE EQUIPO: FOTOS COMPLETAS + CARRUSEL
========================================================= */

.team-carousel {
  position: relative;
  overflow: visible;
}

.team-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 300px);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;
  padding: 12px 8px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(90,161,26,.45) rgba(0,0,0,.06);
}

.team-card {
  scroll-snap-align: start;
}

.team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.12;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 20px;
  background:
    linear-gradient(135deg, rgba(230,207,130,.34), rgba(121,186,47,.12)),
    radial-gradient(circle at center, rgba(255,255,255,.90), rgba(245,245,241,.96));
  border: 1px solid rgba(230,207,130,.42);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 10px;
}

.team-photo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(90,161,26,.42);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.team-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(90,161,26,.28);
}

.team-arrow-prev {
  left: -12px;
}

.team-arrow-next {
  right: -12px;
}

@media (max-width: 760px) {
  .team-track {
    grid-auto-columns: minmax(220px, 76vw);
    gap: 18px;
  }

  .team-arrow {
    width: 42px;
    height: 42px;
    font-size: 2rem;
  }
}


/* =========================================================
   AJUSTE EQUIPO: FONDO BLANCO Y FOTO APOYADA ABAJO
========================================================= */

.team-photo {
  background: #ffffff;
  border: 1px solid rgba(230,207,130,.42);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.team-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 0;
  background: #ffffff;
}


/* =========================================================
   AJUSTE HORARIOS: UNIFICADO + FOTO DE ATENCIÓN
========================================================= */

.hours-section {
  position: relative;
  padding: 52px 0 62px;
  background:
    radial-gradient(circle at 18% 18%, rgba(121,186,47,.07), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f3 100%);
  overflow: hidden;
}

.hours-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(158deg, rgba(121,186,47,.045) 0 28%, transparent 28% 100%),
    linear-gradient(336deg, rgba(121,186,47,.04) 0 23%, transparent 23% 100%);
  opacity: 1;
  pointer-events: none;
}

.hours-section::after {
  display: none;
}

.hours-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92)),
    radial-gradient(circle at 0% 0%, rgba(121,186,47,.08), transparent 52%);
  border: 1px solid rgba(90,161,26,.13);
  box-shadow: 0 24px 54px rgba(0,0,0,.10);
}

.hours-kicker {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(90,161,26,.22);
}

.hours-title-block h3 {
  color: var(--green-dark);
}

.hours-service-photo {
  width: min(100%, 360px);
  height: 250px;
  margin-top: 26px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(90,161,26,.14);
  box-shadow: 0 18px 38px rgba(0,0,0,.12);
  background: #ffffff;
}

.hours-service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hours-row {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(121,186,47,.16);
  box-shadow: 0 12px 28px rgba(0,0,0,.055);
}

.hours-time span {
  color: var(--green-dark);
}

.hours-time strong {
  color: var(--green-dark);
}

@media (max-width: 980px) {
  .hours-card {
    grid-template-columns: 1fr;
  }

  .hours-service-photo {
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .hours-section {
    padding: 42px 0 52px;
  }

  .hours-service-photo {
    height: 220px;
  }
}


/* =========================================================
   MOBILE: LOGO ARRIBA DE LA IMAGEN DEL LOCAL
========================================================= */

@media (max-width: 760px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .hero-copy-col {
    display: contents !important;
  }

  .brand-block {
    order: 1 !important;
    width: 100%;
    margin-bottom: 18px !important;
    padding-top: 18px;
    text-align: center;
  }

  .brand-top {
    justify-content: center !important;
  }

  .brand-line {
    margin-inline: auto !important;
  }

  .hero-visual-col {
    order: 2 !important;
    width: 100% !important;
    height: 390px !important;
    position: relative !important;
    right: auto !important;
    justify-content: center !important;
  }

  .hero-copy {
    order: 3 !important;
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .hero-actions {
    order: 4 !important;
    margin-inline: auto !important;
  }
}


/* =========================================================
   MOBILE: MENÚ DESPLEGABLE FIJO EN PANTALLA
   Permite abrir el menú desde cualquier parte del scroll.
========================================================= */

@media (max-width: 980px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .mobile-menu {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    z-index: 9998;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 18px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 18px 36px rgba(0,0,0,.12);
  }

  .mobile-menu.open {
    display: flex !important;
  }

  .mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--black);
    border-bottom: 1px solid rgba(0,0,0,.06);
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
  }

  .mobile-menu a:hover {
    color: var(--green-dark);
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  .mobile-menu {
    top: 84px;
  }
}


/* =========================================================
   AJUSTE MENÚ SUPERIOR CON TODAS LAS SECCIONES
========================================================= */

.nav-left {
  gap: 22px;
}

.nav-link {
  white-space: nowrap;
}

@media (max-width: 1320px) {
  .nav-left {
    gap: 16px;
  }

  .nav-link {
    font-size: .86rem;
  }

  .btn-whatsapp {
    padding: 12px 18px;
    border-radius: 16px;
    font-size: .88rem;
  }
}

@media (max-width: 1100px) {
  .nav-left,
  .btn-whatsapp {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }
}


/* =========================================================
   FIX MENÚ MOBILE FINAL
========================================================= */

@media (max-width: 1100px) {
  .header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
  }

  .nav-left,
  .btn-whatsapp {
    display: none !important;
  }

  .menu-toggle {
    display: block !important;
    margin-left: auto !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--green-dark) !important;
    font-size: 2.4rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    z-index: 100001 !important;
  }

  .mobile-menu {
    position: fixed !important;
    top: 84px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99998 !important;
    display: none !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 12px 28px 18px !important;
    background: rgba(255,255,255,.98) !important;
    backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(0,0,0,.08) !important;
    box-shadow: 0 18px 36px rgba(0,0,0,.12) !important;
  }

  .mobile-menu.open {
    display: flex !important;
  }

  .mobile-menu a {
    display: block !important;
    padding: 16px 0 !important;
    color: var(--black) !important;
    font-size: 1.05rem !important;
    font-weight: 900 !important;
    border-bottom: 1px solid rgba(0,0,0,.06) !important;
  }

  .mobile-menu a:last-child {
    border-bottom: 0 !important;
  }

  body.menu-open {
    overflow: hidden !important;
  }
}
