/* ============================================================
   FARMACIA PUNTA - Design System & Styles (Reusable)
   Extracted for multi-page website use
   ============================================================ */

:root{
  --green:        oklch(0.56 0.115 158);
  --green-600:    oklch(0.50 0.115 159);
  --green-700:    oklch(0.43 0.10 160);
  --green-deep:   oklch(0.30 0.055 162);
  --green-soft:   oklch(0.955 0.028 158);
  --green-tint:   oklch(0.975 0.016 158);
  --bg:           oklch(0.992 0.006 145);
  --paper:        oklch(1 0 0);
  --ink:          oklch(0.245 0.013 162);
  --muted:        oklch(0.50 0.016 162);
  --line:         oklch(0.905 0.012 162);
  --line-soft:    oklch(0.945 0.009 162);
  --amber:        oklch(0.74 0.13 70);
  --red:          oklch(0.58 0.16 25);

  --shadow-sm: 0 1px 2px oklch(0.30 0.04 160 / 0.06), 0 2px 8px oklch(0.30 0.04 160 / 0.05);
  --shadow-md: 0 4px 14px oklch(0.30 0.04 160 / 0.08), 0 12px 32px oklch(0.30 0.04 160 / 0.07);
  --shadow-lg: 0 10px 30px oklch(0.30 0.05 160 / 0.12), 0 24px 60px oklch(0.30 0.05 160 / 0.10);

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --maxw: 1180px;
  --font-head: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; scroll-padding-top: 92px; }
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,h2,h3,h4{ font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
a{ color: inherit; text-decoration: none; }
img{ display: block; max-width: 100%; }
.wrap{ width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
section{ position: relative; }

/* ---- Brand mark: pharmacy cross ---- */
.cross{ position: relative; display: inline-grid; place-items: center; border-radius: 9px; background: var(--green); flex: none; }
.cross::before, .cross::after{ content:""; position:absolute; background: var(--paper); border-radius: 2px; }
.cross::before{ width: 46%; height: 14%; }
.cross::after{ width: 14%; height: 46%; }

/* ---- Buttons ---- */
.btn{ display:inline-flex; align-items:center; gap:9px; font-family: var(--font-body); font-weight:600; font-size:15px; line-height:1; padding:13px 20px; border-radius: 999px; border:1px solid transparent; cursor:pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn svg{ width:17px; height:17px; }
.btn-primary{ background: var(--green); color:#fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--green-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost{ background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--green); color: var(--green-700); transform: translateY(-1px); }
.btn-wa{ background:#1ebe5d; color:#fff; box-shadow: var(--shadow-sm); }
.btn-wa:hover{ background:#19a851; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-soon{ background: var(--green-soft); color: var(--green-700); border-color: oklch(0.56 0.115 158 / 0.22); box-shadow: none; }
.btn-soon:hover{ background: var(--green-soft); transform: none; box-shadow: none; }
.btn-lg{ padding:16px 26px; font-size:16px; }

.btn.disabled,
.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}
.btn-soon.disabled{ opacity: .82; }

.eyebrow{ font-family: var(--font-head); font-weight:600; font-size:13px; letter-spacing:.14em; text-transform:uppercase; color: var(--green-700); display:inline-flex; align-items:center; gap:9px; }
.eyebrow::before{ content:""; width:22px; height:2px; background: var(--green); border-radius:2px; }

/* ---- Header ---- */
header.nav{ position: sticky; top:0; z-index: 60; background: oklch(0.992 0.006 145 / 0.82); backdrop-filter: blur(14px) saturate(1.4); border-bottom:1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
header.nav.scrolled{ border-color: var(--line-soft); box-shadow: 0 1px 0 oklch(0.30 0.04 160 / 0.03); }
.nav-inner{ display:flex; align-items:center; gap:24px; height:72px; }
.brand{ display:flex; align-items:center; gap:11px; }
.brand .cross{ width:34px; height:34px; }
.brand-logo{ height:48px; width:auto; object-fit:contain; flex:none; }
.brand .name{ font-family: var(--font-head); font-weight:700; font-size:20px; letter-spacing:-0.02em; }
.brand .name b{ color: var(--green-700); font-weight:700; }
.nav-links{ display:flex; gap:4px; margin-left:8px; }
.nav-links a{ font-size:15px; font-weight:500; color: var(--muted); padding:9px 14px; border-radius:999px; transition: color .15s, background .15s; }
.nav-links a:hover{ color: var(--ink); background: var(--green-tint); }
.nav-right{ display:flex; align-items:center; gap:12px; margin-left:auto; }
.nav-phone{ display:flex; align-items:center; gap:8px; font-weight:600; font-size:15px; color: var(--ink); padding:9px 6px; white-space:nowrap; }
.nav-phone svg{ width:16px; height:16px; color: var(--green); }
/* ---- Hamburger Mobile Toggle ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 70;
  margin-left: auto;
}
.nav-toggle .hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--ink);
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---- Status pill ---- */
.status{ display:inline-flex; align-items:center; gap:9px; font-weight:600; font-size:14px; padding:8px 14px 8px 12px; border-radius:999px; border:1px solid var(--line); background: var(--paper); }
.status .dot{ width:9px; height:9px; border-radius:50%; position:relative; flex:none; }
.status.is-open{ color: var(--green-700); border-color: oklch(0.56 0.115 158 / 0.35); background: var(--green-tint); }
.status.is-open .dot{ background: var(--green); }
.status.is-open .dot::after{ content:""; position:absolute; inset:-5px; border-radius:50%; background: var(--green); opacity:.30; animation: ping 2s ease-out infinite; }
.status.is-closed{ color: oklch(0.46 0.14 25); border-color: oklch(0.58 0.16 25 / 0.30); background: oklch(0.97 0.02 25); }
.status.is-closed .dot{ background: var(--red); }
@keyframes ping{ 0%{ transform:scale(1); opacity:.30; } 80%,100%{ transform:scale(2.4); opacity:0; } }

/* ---- Hero ---- */
.hero{ padding: 56px 0 40px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items:center; }
.hero h1{ font-size: clamp(42px, 5.4vw, 68px); margin:18px 0 0; }
.hero h1 .em{ color: var(--green-700); position:relative; white-space:nowrap; }
.hero p.lead{ font-size: 19px; color: var(--muted); max-width: 30em; margin-top: 22px; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top: 30px; }
.hero-trust{ display:flex; flex-wrap:wrap; gap:22px 30px; margin-top: 34px; padding-top: 28px; border-top:1px solid var(--line-soft); }
.trust-item{ display:flex; flex-direction:column; gap:2px; }
.trust-item .big{ font-family: var(--font-head); font-weight:700; font-size:26px; color: var(--ink); }
.trust-item .small{ font-size:13.5px; color: var(--muted); }

/* Hero visual */
.hero-visual{ position:relative; }
.hero-photo{
  border-radius: var(--r-xl);
  aspect-ratio: 4/4.5;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
  display: block;
}
.hero-card{ position:absolute; left:-26px; bottom:26px; background: var(--paper); border:1px solid var(--line); border-radius: var(--r-lg); padding:16px 18px; box-shadow: var(--shadow-md); display:flex; flex-direction:column; gap:12px; width: 248px; }
.hero-card .hc-row{ display:flex; align-items:center; gap:11px; }
.hero-card .hc-ic{ width:38px; height:38px; border-radius:11px; background: var(--green-soft); color: var(--green-700); display:grid; place-items:center; flex:none; }
.hero-card .hc-ic svg{ width:19px; height:19px; }
.hero-card .hc-t{ font-weight:600; font-size:14.5px; line-height:1.25; }
.hero-card .hc-s{ font-size:13px; color: var(--muted); }


/* ---- Placeholder image ---- */
.ph{ position:relative; background-color: var(--green-tint); background-image: repeating-linear-gradient(135deg, oklch(0.56 0.115 158 / 0.07) 0 2px, transparent 2px 12px); display:grid; place-items:center; overflow:hidden; }
.ph span{ font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size:12px; letter-spacing:.04em; color: var(--green-700); background: oklch(1 0 0 / 0.7); padding:5px 11px; border-radius:999px; border:1px solid oklch(0.56 0.115 158 / 0.18); }

/* === News Images - Robust handling === */
.nc-img,
.post-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Grid cards - controlled aspect ratio + safety max-height */
.news-card .nc-img {
  aspect-ratio: 16/10;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

/* Featured news (split layout) */
.news-featured .nf-img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
}

/* Post images */
.post-img {
  aspect-ratio: 16/10;
  height: auto;
}

.modal-img {
  aspect-ratio: 16/7;
  object-fit: contain;
  width: 100%;
  display: block;
  background: #f8f8f8; /* light background for letterboxing */
}

.modal-img {
  aspect-ratio: 16/7;
  height: auto;
}

/* ---- Logos / reassurance strip ---- */
.strip{ border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); background: var(--paper); }
.strip-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 0; flex-wrap:wrap; }
.strip-item{ display:flex; align-items:center; gap:11px; color: var(--muted); font-size:14.5px; font-weight:500; }
.strip-item svg{ width:20px; height:20px; color: var(--green); flex:none; }

/* ---- Section heading ---- */
.sec{ padding: 84px 0; }
.sec-head{ max-width: 38em; }
.sec-head h2{ font-size: clamp(30px, 3.6vw, 44px); margin-top:14px; }
.sec-head p{ font-size:18px; color: var(--muted); margin-top:14px; }
.sec-head.center{ margin-inline:auto; text-align:center; }
.sec-head.center .eyebrow{ justify-content:center; }

/* ---- Services ---- */
.serv-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.serv{ background: var(--paper); border:1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; transition: transform .18s ease, box-shadow .22s ease, border-color .2s; }
.serv:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: oklch(0.56 0.115 158 / 0.3); }
.serv .ic{ width:48px; height:48px; border-radius:13px; background: var(--green-soft); color: var(--green-700); display:grid; place-items:center; margin: 0 auto 18px; }
.serv .ic svg{ width:24px; height:24px; }
.serv h3{ font-size:19px; }
.serv p{ font-size:15px; color: var(--muted); margin-top:8px; }

/* ---- Hours + location ---- */
.hl-grid{ display:grid; grid-template-columns: 0.92fr 1.08fr; gap: 30px; margin-top:44px; align-items:stretch; }
.hours-card{ background: var(--paper); border:1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; }
.hours-card .hc-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:6px; }
.hours-card h3{ font-size:21px; }
.hours-list{ margin-top:14px; }
.hours-row{ display:flex; align-items:baseline; justify-content:space-between; gap:14px; padding:13px 12px; border-radius:11px; font-size:15.5px; }
.hours-row .day{ font-weight:600; color: var(--ink); }
.hours-row .time{ color: var(--muted); font-variant-numeric: tabular-nums; text-align:right; }
.hours-row.today{ background: var(--green-tint); }
.hours-row.today .day{ color: var(--green-700); }
.hours-row.today .day::after{ content:"Hoy"; margin-left:9px; font-family: var(--font-head); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:#fff; background: var(--green); padding:2px 8px; border-radius:999px; vertical-align:middle; }
.hours-row.closed .time{ color: oklch(0.58 0.10 25); }
.hours-note{ margin-top:18px; padding-top:16px; border-top:1px dashed var(--line); font-size:13.5px; color: var(--muted); display:flex; gap:9px; align-items:flex-start; }
.hours-note svg{ width:16px; height:16px; color: var(--green); flex:none; margin-top:2px; }

.map-card{ background: var(--paper); border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; }
.map-card iframe {
  flex: 1;
  width: 100%;
  border: 0;
  min-height: 280px;
  display: block;
}
.map-foot{ padding:22px 26px; display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; border-top:1px solid var(--line-soft); }
.addr{ display:flex; gap:12px; }
.addr .pin{ width:40px; height:40px; border-radius:12px; background: var(--green-soft); color: var(--green-700); display:grid; place-items:center; flex:none; }
.addr .pin svg{ width:20px; height:20px; }
.addr .a-t{ font-weight:600; font-size:15.5px; }
.addr .a-s{ font-size:14px; color: var(--muted); }

/* ---- Consejos / blog ---- */
.sec-green{ background: var(--green-soft); }
.blog-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; margin-top:44px; }
.post{ background: var(--paper); border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; transition: transform .18s ease, box-shadow .22s ease; display:flex; flex-direction:column; }
.post:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post .post-img{ aspect-ratio: 16/10; }
.post .post-body{ padding: 22px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.post .tag{ align-self:flex-start; font-family: var(--font-head); font-size:11.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color: var(--green-700); background: var(--green-tint); padding:5px 11px; border-radius:999px; }
.post h3{ font-size:19px; line-height:1.18; }
.post p{ font-size:14.5px; color: var(--muted); }
.post .more{ margin-top:auto; padding-top:6px; font-weight:600; font-size:14.5px; color: var(--green-700); display:inline-flex; align-items:center; gap:7px; }
.post .more svg{ width:15px; height:15px; transition: transform .18s; }
.post:hover .more svg{ transform: translateX(3px); }

/* ---- Noticias / blog ---- */
.news-featured{ display:grid; grid-template-columns: 1.08fr 1fr; background: var(--paper); border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; margin-top:44px; margin-bottom:22px; cursor:pointer; transition: transform .18s ease, box-shadow .22s ease; }
.news-featured:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-featured .nf-img{ min-height: 320px; }
.news-featured .nf-body{ padding: 44px clamp(28px,3.4vw,52px); display:flex; flex-direction:column; justify-content:center; gap:15px; }
.news-flag{ align-self:flex-start; display:inline-flex; align-items:center; gap:7px; font-family: var(--font-head); font-size:11.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:#fff; background: var(--green); padding:5px 12px; border-radius:999px; }
.news-meta{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.news-cat{ font-family: var(--font-head); font-size:11.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color: var(--green-700); background: var(--green-tint); padding:5px 11px; border-radius:999px; }
.news-date{ font-size:13.5px; color: var(--muted); font-weight:500; font-variant-numeric: tabular-nums; }
.news-featured h3{ font-size: clamp(24px, 2.7vw, 33px); line-height:1.12; }
.news-featured p{ font-size:16.5px; color: var(--muted); max-width:42ch; }
.news-readmore{ margin-top:6px; font-weight:600; font-size:14.5px; color: var(--green-700); display:inline-flex; align-items:center; gap:7px; }
.news-readmore svg{ width:15px; height:15px; transition: transform .18s; }
.news-featured:hover .news-readmore svg, .news-card:hover .news-readmore svg{ transform: translateX(3px); }

.news-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; margin-top:22px; }
.news-card{ background: var(--paper); border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; cursor:pointer; display:flex; flex-direction:column; transition: transform .18s ease, box-shadow .22s ease; }
.news-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-card .nc-img{ aspect-ratio: 16/10; }
.news-card .nc-body{ padding: 22px 22px 24px; display:flex; flex-direction:column; gap:11px; flex:1; }
.news-card h3{ font-size:18.5px; line-height:1.18; }
.news-card p{ font-size:14.5px; color: var(--muted); flex:1; }

.news-load-more {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-load-more .btn {
  grid-column: 2;
  width: 100%;
}

.blog-load-more {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-load-more .btn {
  grid-column: 2;
  width: 100%;
}

/* ---- Native dialog container ---- */
dialog.modal-overlay {
  border: none;
  background: transparent;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 48px 20px;
  box-sizing: border-box;
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  inset: 0;
}

dialog.modal-overlay[open] {
  display: flex;
}

/* Backdrop styling */
dialog.modal-overlay::backdrop {
  background: oklch(0.20 0.02 162 / 0.55);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

dialog.modal-overlay[open]::backdrop {
  opacity: 1;
}

.modal {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-xl);
  max-width: 720px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: auto 0;
  opacity: 0;
}

/* Inside dialog animation */
dialog.modal-overlay[open] .modal {
  animation: modalIn 0.3s cubic-bezier(.2,.7,.2,1) forwards;
}

@keyframes modalIn {
  from {
    transform: translateY(20px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.modal-img{ aspect-ratio: 16/7; object-fit: cover; width: 100%; display: block; }
.modal-close{ position:absolute; top:20px; right:20px; width:42px; height:42px; border-radius:50%; background: var(--paper); border:1px solid var(--line); display:grid; place-items:center; cursor:pointer; color: var(--ink); transition: background .15s, transform .25s; box-shadow: var(--shadow-sm); }
.modal-close:hover{ background: var(--green-tint); color: var(--green-700); transform: rotate(90deg); }
.modal-close svg{ width:20px; height:20px; }
.modal-body{ padding: clamp(28px,4vw,48px); }
.modal-body h2{ font-size: clamp(26px,3vw,36px); line-height:1.12; margin-top:16px; }
.modal-article{ margin-top:22px; }
.modal-article p{ font-size:16.5px; color: var(--ink); line-height:1.66; margin-bottom:16px; }
.modal-article p:last-child{ margin-bottom:0; }

/* ---- Compartir (modales de noticias/consejos) ---- */
.news-share{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:18px; padding-top:18px; border-top:1px solid var(--line-soft); }
.share-lbl{ font-size:13px; font-weight:700; color:var(--muted); }
.share-btn{
  display:inline-flex; align-items:center; gap:7px;
  min-height:38px; padding:8px 14px;
  border-radius:999px; border:1px solid var(--line);
  background:var(--paper); color:var(--ink);
  font-family:var(--font-body); font-weight:700; font-size:13.5px; cursor:pointer;
  transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.share-btn svg{ width:17px; height:17px; }
.share-btn:hover{ transform:translateY(-1px); box-shadow:var(--shadow-sm); }
.share-wa{ background:#1ebe5d; color:#fff !important; border-color:transparent; }
.share-wa:hover{ background:#19a852; color:#fff !important; }
.share-copy.is-copied{ background:var(--green-soft); color:var(--green-700); border-color:transparent; }

/* ---- Contact / CTA ---- */
.contact{ padding: 84px 0; }
.cta-card{ position:relative; background: var(--green-deep); color:#fff; border-radius: var(--r-xl); padding: 56px clamp(28px, 5vw, 64px); overflow:hidden; }
.cta-card::before{ content:""; position:absolute; right:-90px; top:-90px; width:320px; height:320px; border-radius:50%; background: oklch(1 0 0 / 0.05); }
.cta-card::after{ content:""; position:absolute; left:-70px; bottom:-120px; width:280px; height:280px; border-radius:50%; background: oklch(1 0 0 / 0.04); }
.cta-grid{ position:relative; display:grid; grid-template-columns: 1.1fr 0.9fr; gap:48px; align-items:center; }
.cta-card h2{ color:#fff; font-size: clamp(30px, 3.6vw, 42px); }
.cta-card .eyebrow{ color: oklch(0.85 0.06 158); }
.cta-card .eyebrow::before{ background: oklch(0.85 0.06 158); }
.cta-card p{ color: oklch(0.90 0.02 158); font-size:17.5px; margin-top:14px; max-width:34em; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.cta-card .btn-ghost{ background: oklch(1 0 0 / 0.10); border-color: oklch(1 0 0 / 0.22); color:#fff; }
.cta-card .btn-ghost:hover{ background: oklch(1 0 0 / 0.18); color:#fff; border-color: oklch(1 0 0 / 0.4); }
.contact-list{ display:flex; flex-direction:column; gap:6px; }
.ci{ display:flex; align-items:center; gap:14px; padding:15px 16px; border-radius:14px; background: oklch(1 0 0 / 0.07); border:1px solid oklch(1 0 0 / 0.10); transition: background .18s; }
.ci:hover{ background: oklch(1 0 0 / 0.12); }
.ci .ci-ic{ width:42px; height:42px; border-radius:11px; background: oklch(1 0 0 / 0.12); display:grid; place-items:center; flex:none; }
.ci .ci-ic svg{ width:19px; height:19px; color:#fff; }
.ci .ci-l{ font-size:12.5px; color: oklch(0.85 0.03 158); letter-spacing:.02em; }
.ci .ci-v{ font-weight:600; font-size:16px; }

/* ---- Footer ---- */
footer{ background: var(--paper); border-top:1px solid var(--line); padding: 56px 0 30px; }
.foot-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:36px; }
.foot-brand .brand{ margin-bottom:14px; }
.foot-brand p{ font-size:14.5px; color: var(--muted); max-width:26em; }
.foot-col h4{ font-family: var(--font-head); font-size:13px; letter-spacing:.1em; text-transform:uppercase; color: var(--ink); margin-bottom:14px; }
.foot-col a, .foot-col p{ display:block; font-size:14.5px; color: var(--muted); padding:5px 0; transition: color .15s; }
.foot-col a:hover{ color: var(--green-700); }
.foot-bottom{ display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; margin-top:44px; padding-top:24px; border-top:1px solid var(--line-soft); font-size:13.5px; color: var(--muted); }

/* ---- WhatsApp float ---- */
.wa-float{ position:fixed; right:24px; bottom:24px; z-index:80; display:flex; align-items:center; gap:0; background:#1ebe5d; color:#fff; border-radius:999px; padding:0; height:58px; box-shadow: 0 8px 24px oklch(0.55 0.13 150 / 0.4); overflow:hidden; transition: transform .2s ease, box-shadow .2s ease; }
.wa-float:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px oklch(0.55 0.13 150 / 0.5); }
.wa-float .wa-ic{ width:58px; height:58px; display:grid; place-items:center; flex:none; }
.wa-float .wa-ic svg{ width:28px; height:28px; }
.wa-float .wa-label{ font-weight:600; font-size:15px; max-width:0; overflow:hidden; white-space:nowrap; transition: max-width .28s ease, padding .28s ease; }
.wa-float:hover .wa-label{ max-width:200px; padding-right:22px; }

/* ---- Reveal animation ---- */
@media (prefers-reduced-motion: no-preference){
  html.reveal-ready .reveal{ opacity:1; transform:none; transition: opacity .25s ease, transform .25s ease; }
  html.reveal-ready .reveal.in{ opacity:1; transform:none; }
}

/* ---- Responsive ---- */
@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; gap:40px; }
  .hero-visual{ max-width:440px; }
  .serv-grid{ grid-template-columns: repeat(2,1fr); }
  .hl-grid{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: 1fr; max-width:440px; }
  .news-featured{ grid-template-columns: 1fr; }
  .news-featured .nf-img{ min-height:0; height: 100%; object-fit: cover; width: 100%; }
  .news-grid{ grid-template-columns: 1fr; max-width:440px; }

  .news-load-more {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .news-load-more .btn {
    grid-column: 1;
  }

  .blog-load-more {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .blog-load-more .btn {
    grid-column: 1;
  }
  .cta-grid{ grid-template-columns: 1fr; gap:32px; }
  .foot-grid{ grid-template-columns: 1fr 1fr; gap:30px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 18px 28px;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 50;
    box-shadow: var(--shadow-md);
  }
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a {
    display: block;
    padding: 12px 16px;
    width: 100%;
    border-radius: var(--r-sm);
  }
  .nav-right .btn-soon.disabled {
    display: inline-flex;
  }
}
@media (max-width: 560px){
  .wrap{ padding-inline:20px; }
  .serv-grid{ grid-template-columns: 1fr; }
  .foot-grid{ grid-template-columns: 1fr; }
  .nav-right{ display:none; }
  .nav-phone span{ display:none; }
  .hero-card{ left:0; }
  .sec{ padding:60px 0; }
}

/* ---- Shift Calendar Card & Modal ---- */
.hero-card-divider {
  height: 1px;
  background: var(--line-soft);
  margin: 4px 0;
}
.card-shift {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--green-tint);
  border: 1px dashed oklch(0.56 0.115 158 / 0.25);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-align: left;
}
.card-shift:hover {
  background: var(--green-soft);
  border-color: var(--green);
}
.card-shift .shift-lbl {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--green-700);
  letter-spacing: 0.04em;
}
.card-shift .shift-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.card-shift .shift-dir {
  font-size: 12px;
  color: var(--muted);
}
.card-shift .shift-btn-action {
  margin-top: 8px;
  padding: 8px 14px;
  font-size: 13px;
  justify-content: center;
  display: flex;
  box-shadow: none;
}

.modal.modal-lg {
  max-width: 900px;
}

.shift-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  margin-top: 22px;
}

.shift-calendar-container h3,
.shift-addresses-container h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.shift-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.shift-day-head {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--line-soft);
}

.shift-day {
  aspect-ratio: 1;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.shift-day .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
}

.shift-day .name {
  font-size: 9px;
  font-weight: 600;
  color: var(--green-700);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shift-day.empty {
  background: transparent;
  border-color: transparent;
  pointer-events: none;
}

.shift-day.today {
  background: var(--green-tint);
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.shift-day.today .num {
  color: var(--green-700);
}

.shift-day.today .name {
  font-weight: 700;
}

.shift-addresses-list {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 6px;
}

.shift-addr-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  margin-bottom: 8px;
  text-align: left;
}

.shift-addr-item h4 {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 700;
}

.shift-addr-item p {
  font-size: 12.5px;
  color: var(--muted);
}

.shift-addr-item.active-shift {
  background: var(--green-tint);
  border-color: oklch(0.56 0.115 158 / 0.3);
}

.shift-addr-item.active-shift h4 {
  color: var(--green-700);
}

.modal-intro {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: 14px;
}

@media (max-width: 820px) {
  .shift-modal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .shift-addresses-list {
    max-height: 240px;
  }
}
@media (max-width: 440px) {
  .shift-calendar-grid {
    gap: 4px;
  }
  .shift-day {
    padding: 3px;
  }
  .shift-day .num {
    font-size: 11px;
  }
  .shift-day .name {
    font-size: 8px;
  }
}
