/* ============================================================
   MediCare Pharmacy — style.css
   Palette: White #FFFFFF | Blue #4DA6FF | Green #43C59E | Gray #F8FAFC
   ============================================================ */

/* ── 1. CSS Variables ───────────────────────────────────────── */
:root {
  --blue:       #4DA6FF;
  --blue-dark:  #2E8FE8;
  --blue-light: #E8F4FF;
  --green:      #43C59E;
  --green-dark: #2EA882;
  --green-light:#E6F9F4;
  --white:      #FFFFFF;
  --gray-bg:    #F8FAFC;
  --gray-100:   #EEF2F7;
  --gray-200:   #D9E2EC;
  --gray-400:   #94A3B8;
  --gray-600:   #64748B;
  --gray-800:   #1E293B;
  --text:       #1E293B;
  --text-muted: #64748B;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(77,166,255,.13);
  --shadow-lg:  0 8px 32px rgba(77,166,255,.18);
  --shadow-card:0 2px 12px rgba(30,41,59,.08);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --transition: 0.25s cubic-bezier(.4,0,.2,1);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Segoe UI', sans-serif;

  --max-w: 1280px;
  --nav-h: 72px;
}

/* ── 2. Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 3. Typography ──────────────────────────────────────────── */
h1 { font-family: var(--font-display); font-size: clamp(2rem,5vw,3.6rem); font-weight: 700; line-height: 1.15; }
h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3.5vw,2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem,2vw,1.35rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { font-size: clamp(.9rem,1.5vw,1.025rem); color: var(--text-muted); }

/* ── 4. Utility Classes ─────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem,4vw,2.5rem); }
.section    { padding: clamp(3rem,8vw,6rem) 0; }
.section-alt{ background: var(--gray-bg); }

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--blue-light); color: var(--blue-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  padding: .3rem .85rem; border-radius: 100px; text-transform: uppercase;
  margin-bottom: 1rem;
}
.badge.green { background: var(--green-light); color: var(--green-dark); }

.section-header { text-align: center; margin-bottom: clamp(2rem,5vw,3.5rem); }
.section-header p { max-width: 560px; margin: .6rem auto 0; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius-lg);
  font-size: .95rem; font-weight: 600; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: var(--white);
  box-shadow: 0 4px 14px rgba(77,166,255,.4);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(77,166,255,.5); }

.btn-secondary {
  background: var(--white); color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-secondary:hover { background: var(--blue-light); transform: translateY(-2px); }

.btn-green {
  background: var(--green); color: var(--white);
  box-shadow: 0 4px 14px rgba(67,197,158,.4);
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }

.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }

/* ── 5. Navigation ──────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--gray-100);
  height: var(--nav-h);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 700;
  color: var(--text);
}
.nav-logo .logo-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg,var(--blue),var(--green));
  border-radius: var(--radius-sm); display: grid; place-items: center;
  color: white; font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em;
  font-family: var(--font-body);
}
.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex; align-items: center; gap: .25rem;
}
.nav-links a {
  padding: .45rem .9rem; border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 500; color: var(--gray-600);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); background: var(--blue-light); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; padding: .5rem; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
  transform-origin: center;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-100);
    padding: 1rem 1.5rem 1.5rem; gap: .25rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open a { padding: .7rem 1rem; font-size: 1rem; }
}

/* ── 6. Hero ────────────────────────────────────────────────── */
.hero {
  min-height: calc(92vh - var(--nav-h));
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2rem,5vw,5rem); padding: clamp(3rem,7vw,5rem) 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; right: -8%; top: -10%;
  width: 60%; height: 130%; border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  background: linear-gradient(135deg,var(--blue-light) 0%,var(--green-light) 100%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-content h1 span { color: var(--blue); }
.hero-content p  { font-size: clamp(1rem,1.8vw,1.15rem); margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-image {
  position: relative; z-index: 1;
  display: flex; justify-content: center;
}
.hero-img-wrap {
  width: clamp(280px,40vw,480px); height: clamp(280px,40vw,480px);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.hero-pill {
  position: absolute; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: .75rem 1.1rem;
  display: flex; align-items: center; gap: .65rem; animation: float 4s ease-in-out infinite;
}
.hero-pill:nth-child(2) { top: 5%; right: -6%; animation-delay: 1s; }
.hero-pill:nth-child(3) { bottom: 10%; left: -8%; animation-delay: 2s; }
.hero-pill-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; }
.hero-pill-icon.blue { background: var(--blue-light); }
.hero-pill-icon.green { background: var(--green-light); }
.hero-pill-text strong { display: block; font-size: .85rem; color: var(--text); font-weight: 700; }
.hero-pill-text span  { font-size: .72rem; color: var(--text-muted); }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.hero-stats {
  display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap;
}
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--blue); font-weight: 700; }
.hero-stat span   { font-size: .82rem; color: var(--text-muted); font-weight: 500; }

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero::before { display: none; }
  .hero-image { margin-top: 2rem; }
  .hero-content p, .hero-actions, .hero-stats { justify-content: center; }
  .hero-pill { display: none; }
}

/* ── 7. Services (Home preview) ─────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem; box-shadow: var(--shadow-card);
  transition: var(--transition); border: 1px solid var(--gray-100);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,var(--blue),var(--green));
  transform: scaleX(0); transition: var(--transition); transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px; border-radius: var(--radius-sm);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem;
}
.service-icon.blue  { background: var(--blue-light); }
.service-icon.green { background: var(--green-light); }
.service-icon.teal  { background: #E8F8FF; }
.service-icon.rose  { background: #FFF0F3; }
.service-card h3 { margin-bottom: .5rem; }

/* ── 8. Products ────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px,1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); overflow: hidden;
  transition: var(--transition); border: 1px solid var(--gray-100);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-img {
  height: 180px; background: var(--gray-bg);
  display: grid; place-items: center; font-size: 3.5rem;
  position: relative; overflow: hidden;
}
.product-badge {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--green); color: var(--white);
  font-size: .7rem; font-weight: 700; padding: .25rem .6rem;
  border-radius: 100px;
}
.product-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-category {
  font-size: .73rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .4rem;
}
.product-body h3 { font-size: 1rem; margin-bottom: .4rem; }
.product-body p  { font-size: .85rem; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.product-price { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--blue); }
.product-price del { font-size: .8rem; color: var(--gray-400); font-weight: 400; margin-right: .25rem; font-family: var(--font-body); }

/* Search + Filter */
.products-toolbar {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  margin-bottom: 2rem;
}
.search-box {
  display: flex; align-items: center; gap: .5rem;
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: .55rem 1rem;
  flex: 1; min-width: 200px; transition: var(--transition);
}
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(77,166,255,.15); }
.search-box input { border: none; outline: none; width: 100%; font-family: inherit; font-size: .93rem; background: transparent; }
.search-box svg { color: var(--gray-400); flex-shrink: 0; }

.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-tab {
  padding: .45rem 1rem; border-radius: 100px;
  font-size: .83rem; font-weight: 600; border: 1.5px solid var(--gray-200);
  color: var(--gray-600); transition: var(--transition); background: var(--white);
}
.filter-tab.active, .filter-tab:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── 9. Offers ──────────────────────────────────────────────── */
.offers-banner {
  background: linear-gradient(135deg,var(--blue) 0%,var(--blue-dark) 50%,var(--green-dark) 100%);
  border-radius: var(--radius-lg); padding: clamp(2rem,5vw,3.5rem);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem;
  color: var(--white); overflow: hidden; position: relative;
  margin-bottom: 2.5rem;
}
.offers-banner::before {
  content: ''; position: absolute; right: -5%; bottom: -20%;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.offers-banner h2 { color: var(--white); margin-bottom: .6rem; }
.offers-banner p  { color: rgba(255,255,255,.8); max-width: 480px; }
.banner-discount {
  background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius-md); padding: 1.25rem 2rem; text-align: center;
  backdrop-filter: blur(8px); flex-shrink: 0;
}
.banner-discount .pct { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; line-height: 1; }
.banner-discount span { font-size: .85rem; opacity: .85; }

@media (max-width: 640px) {
  .offers-banner { grid-template-columns: 1fr; }
  .banner-discount { display: none; }
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 1.5rem;
}
.offer-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); overflow: hidden;
  border: 1px solid var(--gray-100); transition: var(--transition);
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.offer-card-top {
  padding: 1.5rem; background: linear-gradient(135deg,var(--blue-light),var(--green-light));
  display: flex; align-items: center; justify-content: space-between;
}
.offer-icon { font-size: 2.5rem; }
.offer-badge {
  background: var(--green); color: var(--white);
  font-size: .8rem; font-weight: 700; padding: .35rem .8rem;
  border-radius: 100px;
}
.offer-body { padding: 1.25rem 1.5rem 1.5rem; }
.offer-body h3 { margin-bottom: .4rem; }
.offer-body p  { font-size: .88rem; margin-bottom: 1rem; }

/* Countdown */
.countdown-section {
  background: var(--gray-800); color: var(--white);
  border-radius: var(--radius-lg); padding: clamp(2rem,4vw,3rem);
  text-align: center; margin: 2.5rem 0;
}
.countdown-section h3 { color: var(--white); font-size: clamp(1.1rem,2vw,1.4rem); margin-bottom: .4rem; }
.countdown-section p  { color: rgba(255,255,255,.6); margin-bottom: 1.75rem; }
.countdown-timer {
  display: flex; justify-content: center; gap: clamp(.75rem,3vw,2rem); flex-wrap: wrap;
}
.countdown-block { text-align: center; }
.countdown-num {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); width: clamp(60px,12vw,90px); height: clamp(60px,12vw,90px);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: clamp(1.5rem,4vw,2.5rem); font-weight: 700;
  color: var(--green); margin-bottom: .4rem;
}
.countdown-label { font-size: .75rem; color: rgba(255,255,255,.5); letter-spacing: .08em; text-transform: uppercase; }

/* ── 10. Testimonials ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 1.75rem;
  border: 1px solid var(--gray-100); transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quote-mark { font-size: 3rem; color: var(--blue-light); line-height: .5; font-family: Georgia; margin-bottom: .5rem; }
.testimonial-card p { font-size: .92rem; color: var(--gray-600); font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg,var(--blue),var(--green));
  display: grid; place-items: center; color: white; font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: .92rem; }
.author-title { font-size: .78rem; color: var(--text-muted); }
.stars { color: #FBBF24; font-size: .85rem; margin-bottom: .1rem; }

/* ── 11. FAQ ────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); border: 1px solid var(--gray-100); overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem; font-size: .97rem; font-weight: 600; color: var(--text);
  text-align: left; gap: 1rem; transition: var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: grid; place-items: center; font-size: 1rem; flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.5rem;
}
.faq-answer p { font-size: .9rem; padding-bottom: 1.25rem; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ── 12. Contact Preview (Home) ─────────────────────────────── */
.contact-preview {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem);
  align-items: center;
}
.contact-preview-info h2 { margin-bottom: 1rem; }
.contact-preview-info p  { margin-bottom: 1.75rem; }
.contact-chips { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.contact-chip {
  display: flex; align-items: center; gap: .55rem;
  background: var(--white); border-radius: var(--radius-lg);
  padding: .6rem 1.1rem; box-shadow: var(--shadow-card);
  font-size: .88rem; font-weight: 500;
}
.contact-chip .chip-icon { font-size: 1.1rem; }
.map-placeholder {
  height: clamp(250px,35vw,380px); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.map-placeholder iframe { width: 100%; height: 100%; border: none; }

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

/* ── 13. Services Page ──────────────────────────────────────── */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 2rem;
}
.service-page-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 2rem;
  border: 1px solid var(--gray-100); transition: var(--transition);
  display: flex; flex-direction: column; gap: 1rem;
}
.service-page-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.service-page-icon {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  display: grid; place-items: center; font-size: 1.8rem;
}
.service-page-card ul { display: flex; flex-direction: column; gap: .4rem; }
.service-page-card ul li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .88rem; color: var(--gray-600);
}
.service-page-card ul li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ── 14. Contact Page ───────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem,5vw,4rem); align-items: start;
}
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info-card {
  background: linear-gradient(145deg,var(--blue),var(--green-dark));
  color: var(--white); border-radius: var(--radius-md); padding: 2.5rem;
}
.contact-info-card h3 { color: var(--white); margin-bottom: .5rem; }
.contact-info-card > p { color: rgba(255,255,255,.8); margin-bottom: 2rem; }

.contact-detail { display: flex; gap: .85rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-detail-icon {
  width: 44px; height: 44px; background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm); display: grid; place-items: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail-text strong { display: block; color: var(--white); font-size: .92rem; }
.contact-detail-text span  { color: rgba(255,255,255,.75); font-size: .85rem; }

.contact-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.contact-action-btn {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,.15); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25); border-radius: var(--radius-md);
  padding: .85rem 1.25rem; font-size: .93rem; font-weight: 600;
  transition: var(--transition);
}
.contact-action-btn:hover { background: rgba(255,255,255,.25); }
.contact-action-btn.whatsapp { background: rgba(37,211,102,.25); border-color: rgba(37,211,102,.5); }
.contact-action-btn.call    { background: rgba(77,166,255,.25); border-color: rgba(77,166,255,.5); }

.contact-form-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 2.5rem;
  border: 1px solid var(--gray-100);
}
.contact-form-card h3 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--text); margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .7rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .93rem; color: var(--text);
  background: var(--gray-bg); transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(77,166,255,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none; text-align: center; padding: 2rem;
  background: var(--green-light); border-radius: var(--radius-md); border: 1px solid var(--green);
}
.form-success.show { display: block; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h4 { color: var(--green-dark); margin-bottom: .4rem; }
.form-success p  { font-size: .9rem; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; }
.hours-table td { padding: .55rem 0; font-size: .88rem; border-bottom: 1px solid var(--gray-100); }
.hours-table td:last-child { text-align: right; color: var(--blue); font-weight: 600; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-badge { display: inline-block; background: var(--green-light); color: var(--green-dark); font-size: .7rem; font-weight: 700; padding: .15rem .55rem; border-radius: 100px; margin-left: .4rem; }

/* Map full */
.contact-map { margin-top: 3rem; border-radius: var(--radius-md); overflow: hidden; height: 350px; box-shadow: var(--shadow-card); }
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* ── 15. Page Hero (inner pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg,var(--blue-light) 0%,var(--green-light) 100%);
  padding: clamp(3rem,6vw,5rem) 0;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: var(--white); clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { margin-bottom: .6rem; }
.page-hero p  { max-width: 560px; margin: 0 auto; }

/* ── 16. Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--gray-800); color: rgba(255,255,255,.75);
  padding: clamp(3rem,6vw,5rem) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem,4vw,3.5rem);
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-logo .logo-icon { width: 38px; height: 38px; border-radius: var(--radius-sm); background: linear-gradient(135deg,var(--blue),var(--green)); display: grid; place-items: center; color: white; font-weight: 800; font-family: var(--font-body); }
.footer-logo-text { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.footer-logo-text span { color: var(--blue); }
.footer p { font-size: .88rem; line-height: 1.75; }
.footer h4 { color: var(--white); margin-bottom: 1rem; font-size: .95rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--blue); padding-left: .35rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  font-size: .9rem; transition: var(--transition);
}
.social-btn:hover { background: var(--blue); color: var(--white); }
.footer-newsletter input {
  width: 100%; padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); background: rgba(255,255,255,.08);
  color: var(--white); font-family: inherit; font-size: .88rem; margin-bottom: .65rem;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter input:focus { outline: none; border-color: var(--blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0; text-align: center; font-size: .82rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
}

/* ── 17. Back to Top ────────────────────────────────────────── */
#back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: grid; place-items: center; font-size: 1.1rem;
  box-shadow: var(--shadow-md); transition: var(--transition);
  opacity: 0; pointer-events: none; transform: translateY(10px);
}
#back-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
#back-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ── 18. Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── 19. No Results ─────────────────────────────────────────── */
.no-results {
  text-align: center; padding: 4rem 2rem;
  display: none;
}
.no-results.show { display: block; }
.no-results .empty-icon { font-size: 4rem; margin-bottom: 1rem; }

/* ── 20. Misc ───────────────────────────────────────────────── */
.divider { height: 1px; background: var(--gray-100); margin: 0; }
.text-blue  { color: var(--blue); }
.text-green { color: var(--green); }
.highlight-bar { width: 48px; height: 4px; background: linear-gradient(90deg,var(--blue),var(--green)); border-radius: 2px; margin: .75rem auto 0; }

/* Trust strip */
.trust-strip {
  background: var(--gray-800); color: rgba(255,255,255,.7);
  padding: .75rem 0;
}
.trust-strip-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2rem;
  font-size: .82rem;
}
.trust-item { display: flex; align-items: center; gap: .4rem; }
.trust-item span:first-child { color: var(--green); }