/* ─────────────────────────────────────────
   Farmacia Montebello — Design: Cielo Vivo
   Brand: Sky Blue / Navy / Teal
───────────────────────────────────────── */

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

:root {
  /* Brand colours */
  --navy:        #1A3D7C;
  --navy-dark:   #0D2247;
  --sky:         #4CB8E8;
  --sky-mid:     #2AA5D8;
  --sky-light:   #E8F6FD;
  --sky-pale:    #F0FAFF;
  --teal:        #2CC9A0;
  --teal-dark:   #1FAF8A;
  --teal-light:  #D8F6EE;

  /* Text */
  --ink:         #0C1E36;
  --ink-soft:    #3A5270;
  --muted:       #6888A8;

  /* Surfaces */
  --rule:        #C8E0F0;
  --bg:          #F8FCFF;
  --white:       #FFFFFF;

  /* Typography */
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Layout */
  --container:   1160px;
  --header-h:    72px;

  /* Shape */
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow:      0 4px 24px rgba(12, 30, 54, .08);
  --shadow-lg:   0 16px 48px rgba(12, 30, 54, .14);
  --shadow-sky:  0 8px 32px rgba(76, 184, 232, .25);
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { transition: color .15s; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 252, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--sky-light);
  padding-top: env(safe-area-inset-top);
}
@media (max-width: 760px) {
  .site-header { height: auto; padding: 12px 0 10px; }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo img { height: 44px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: background .15s, color .15s;
}
.site-nav a:hover { background: var(--sky-light); color: var(--sky-mid); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switcher {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--muted);
  background: none;
  border: 1.5px solid var(--rule);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color .15s, color .15s;
  text-decoration: none;
  display: inline-block;
}
.lang-switcher:hover { border-color: var(--sky); color: var(--sky-mid); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .15s, color .15s, transform .1s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sky     { background: var(--sky);   color: var(--white); }
.btn-sky:hover { background: var(--sky-mid); box-shadow: var(--shadow-sky); }
.btn-navy    { background: var(--navy);  color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  font-size: 15px;
  font-weight: 600;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }
.btn-sky-lg  { font-size: 16px; font-weight: 800; padding: 16px 36px; }
.btn-sm      { font-size: 14px; padding: 10px 20px; }

/* ── Section helpers ── */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky-mid);
  background: var(--sky-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-eyebrow-plain {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky-mid);
  margin-bottom: 12px;
}

/* ── Hero ── */
.hero { position: relative; overflow: hidden; }
.hero-photo-bg {
  position: relative;
  min-height: 600px;
  background: linear-gradient(
    to right,
    rgba(12,30,54,.92) 0%,
    rgba(26,61,124,.80) 45%,
    rgba(26,61,124,.30) 75%,
    transparent 100%
  );
  display: flex;
  align-items: center;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-content {
  padding: 96px 0;
  width: 100%;
}
.hero-inner { max-width: 580px; }
.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76,184,232,.2);
  border: 1px solid rgba(76,184,232,.4);
  color: var(--sky);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--teal); }
.hero-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-sub em { font-style: normal; color: rgba(255,255,255,.95); font-weight: 600; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Quick Facts Strip ── */
.quick-facts {
  background: var(--white);
  border-top: 4px solid var(--sky);
  box-shadow: var(--shadow-lg);
}
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.quick-fact {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.quick-fact:last-child { border-right: none; }
.fact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sky-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.fact-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 3px;
}
.fact-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--sky-mid);
  line-height: 1.2;
}
.fact-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ── Services ── */
.services {
  padding: 96px 0;
  background: var(--sky-pale);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 500px;
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  border: 1px solid var(--rule);
  transition: box-shadow .25s, transform .25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ── Transfer Band ── */
.transfer-band {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.transfer-band::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,184,232,.12) 0%, transparent 70%);
  top: -150px; left: -100px;
}
.transfer-band::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,201,160,.10) 0%, transparent 70%);
  bottom: -100px; right: -80px;
}
.transfer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.transfer-text h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.transfer-text p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
}
.transfer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.transfer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* ── About ── */
.about {
  background: var(--white);
  padding: 96px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-content .section-eyebrow { display: inline-block; }
.about-content h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.about-content p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.about-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky-light);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rule);
}

/* ── Contact ── */
.contact {
  padding: 96px 0;
  background: var(--sky-pale);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.contact-info > p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--sky-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1px solid var(--rule);
}
.contact-item-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sky-mid);
  margin-bottom: 3px;
}
.contact-item-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.contact-item-value a {
  color: inherit;
  text-decoration: none;
}
.contact-item-value a:hover { color: var(--sky-mid); }
.contact-item-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--sky);
  aspect-ratio: 4/3;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Reviews ── */
.reviews {
  background: var(--sky-pale);
  padding: 96px 0;
  border-top: 1px solid var(--rule);
}
.reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.reviews-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.reviews-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.rating-stars {
  font-size: 20px;
  color: #F5A623;
  letter-spacing: 2px;
}
.rating-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.rating-meta {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.rating-count {
  font-size: 11px;
  color: var(--sky-mid);
  font-weight: 700;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}
.review-stars {
  font-size: 18px;
  color: #F5A623;
  letter-spacing: 2px;
}
.review-text {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.reviews-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.reviews-cta p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 16px;
}
.footer-col p,
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  line-height: 1.9;
  display: block;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── 404 ── */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  background: var(--bg);
}
.page-404-num {
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 800;
  color: var(--sky-light);
  line-height: 1;
  margin-bottom: 16px;
}
.page-404 h1 { font-size: clamp(22px, 4vw, 32px); font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.page-404 p  { font-size: 16px; color: var(--ink-soft); margin-bottom: 32px; }
.page-404 img { height: 48px; margin: 0 auto 32px; }
.page-404-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .site-nav         { display: none; }
  .about-grid       { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .quick-facts-grid { grid-template-columns: 1fr; }
  .quick-fact       { border-right: none; border-bottom: 1px solid var(--rule); padding: 16px 20px; }
  .quick-fact:last-child { border-bottom: none; }
}
@media (max-width: 720px) {
  .services-grid    { grid-template-columns: 1fr; }
  .transfer-inner   { flex-direction: column; }
  .reviews-grid     { grid-template-columns: 1fr; }
  .reviews-header   { flex-direction: column; align-items: flex-start; }
  .footer-grid      { grid-template-columns: 1fr; }
}
