/* ============================================================
   VitalCare Medicals — styles.css
   Palette: white / clinical blue / healing green
   Type: Sora (display) + Nunito Sans (body)
   ============================================================ */

:root {
  /* Color tokens */
  --ink: #0d2b3e;          /* deep clinical navy — headings */
  --body: #3d5666;         /* body text */
  --blue: #0f6fb5;         /* primary blue */
  --blue-deep: #084c7f;    /* deep blue */
  --blue-soft: #e6f1fa;    /* soft blue tint */
  --green: #0fa37f;        /* healing green */
  --green-soft: #e7f6f0;   /* mint tint */
  --ice: #f3f8fc;          /* section tint */
  --white: #ffffff;
  --line: #dce8f1;

  --grad-hero: linear-gradient(160deg, #f6fbff 0%, #eaf4fb 45%, #e7f6f0 100%);
  --grad-cta: linear-gradient(135deg, var(--blue) 0%, #0d8ea0 60%, var(--green) 130%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(13, 43, 62, 0.08);
  --shadow-lg: 0 24px 60px rgba(13, 43, 62, 0.14);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  --nav-h: 74px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
code { background: var(--blue-soft); padding: 0.1em 0.4em; border-radius: 6px; font-size: 0.85em; color: var(--blue-deep); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 18px; z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container-narrow { width: min(820px, 92%); }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tint { background: var(--ice); }

.hidden-field { display: none !important; }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.eyebrow-light { color: #8fd4c2; }
.dot-green { background: #35c79d; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: 1.05rem; }
.section-head-light h2 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 10px 24px rgba(15, 111, 181, 0.32); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(15, 111, 181, 0.42); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(15, 163, 127, 0.3); }
.btn-green:hover { background: #0c8c6d; color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.7); border-color: var(--line); color: var(--ink); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn-white { background: #fff; color: var(--blue-deep); box-shadow: 0 8px 20px rgba(8, 76, 127, 0.25); }
.btn-white:hover { color: var(--blue); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }

.link-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.88rem;
  color: var(--green); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--blue-deep); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink); color: #cfe6f5; font-size: 0.84rem;
}
.topbar-inner {
  display: flex; align-items: center; gap: 10px; padding: 8px 0; flex-wrap: wrap;
}
.topbar-call { color: #7fe0c3; font-weight: 700; margin-left: auto; }
.topbar-call:hover { color: #fff; }
.topbar-pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #ff5f5f; flex: none;
  animation: blink 1.6s ease infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(13,43,62,0.07); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); }
.brand-text { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.brand-text strong { color: var(--blue); }
.brand-light, .brand-light .brand-text { color: #fff; }
.brand-light .brand-text strong { color: #6fd0b4; }

.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  color: var(--ink); position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--green); border-radius: 2px; transition: width 0.22s ease;
}
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  padding: clamp(64px, 8vw, 110px) 0 clamp(72px, 9vw, 120px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.hero-orb-a { width: 420px; height: 420px; background: #bfe3ff; top: -140px; right: -100px; }
.hero-orb-b { width: 360px; height: 360px; background: #c2f0e2; bottom: -160px; left: -120px; }

/* Signature ECG pulse line */
.ecg { position: absolute; left: 0; right: 0; top: 52%; width: 100%; height: 220px; opacity: 0.5; }
.ecg-path {
  fill: none; stroke: var(--green); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 2900; stroke-dashoffset: 2900;
  animation: ecg-draw 7s linear infinite;
}
@keyframes ecg-draw {
  0% { stroke-dashoffset: 2900; opacity: 0; }
  8% { opacity: 1; }
  70% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.hero-inner {
  position: relative; display: grid;
  grid-template-columns: 1.35fr 0.9fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.lede { font-size: 1.12rem; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }

.trust-badges {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  font-size: 0.9rem; font-weight: 700; color: var(--ink);
}
.trust-badges li { display: inline-flex; align-items: center; gap: 8px; }
.trust-badges svg { color: var(--green); flex: none; }

/* Glass card */
.glass {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
}
.hero-card { padding: 30px 28px; }
.hero-card h2 { font-size: 1.4rem; }
.hero-card p { font-size: 0.96rem; }
.hero-card-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.pulse-ring {
  width: 9px; height: 9px; border-radius: 50%; background: #35e0a1; position: relative;
}
.pulse-ring::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid #35e0a1; animation: ring 1.8s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.hero-card-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(13,43,62,0.12);
  text-align: center;
}
.hero-card-stats strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--blue-deep); }
.hero-card-stats span { font-size: 0.76rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-card h3 { color: var(--blue-deep); }
.about-card p { margin: 0; font-size: 0.96rem; }
.about-card-stat { grid-column: 1 / -1; background: var(--grad-cta); border: none; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stat-row strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: #fff; }
.stat-row span { color: #d9f1ff; font-size: 0.88rem; }

/* ---------- Services ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #bfe0d4; }
.service-card p { margin: 0; font-size: 0.95rem; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--green-soft); color: var(--green);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:nth-child(even) .service-icon { background: var(--blue-soft); color: var(--blue); }

/* ---------- Products ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--white); color: var(--body);
  transition: all 0.18s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card.is-hidden { display: none; }

.product-media { height: 170px; display: grid; place-items: center; }
.product-media svg { width: 84px; height: 84px; }
.media-blue { background: linear-gradient(140deg, #eaf4fc, #d7ebf9); color: var(--blue); }
.media-green { background: linear-gradient(140deg, #e9f7f1, #d6f0e5); color: var(--green); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }

.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body p { font-size: 0.92rem; flex: 1; }
.tags { display: flex; gap: 8px; margin-bottom: 10px; }
.tag {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.tag-sale { background: var(--blue-soft); color: var(--blue-deep); }
.tag-rent { background: var(--green-soft); color: #0a7c60; }

.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.products-note { text-align: center; margin-top: 34px; font-size: 0.98rem; }

/* ---------- Why choose us (deep section) ---------- */
.section-deep {
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(15, 163, 127, 0.22), transparent 65%),
    linear-gradient(150deg, #0b3a5c 0%, var(--ink) 70%);
  color: #c7dcea;
}
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 24px;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.why-item:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-4px); }
.why-item h3 { color: #fff; font-size: 1.05rem; }
.why-item p { margin: 0; font-size: 0.93rem; color: #b6cfdf; }

/* ---------- Process ---------- */
.process {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  counter-reset: step;
}
.process-step {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px 22px; text-align: left;
}
.process-step h3 { font-size: 1rem; }
.process-step p { margin: 0; font-size: 0.88rem; }
.step-no {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-cta); color: #fff;
  font-family: var(--font-display); font-weight: 700;
  margin-bottom: 14px;
}
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: -18px;
  width: 18px; height: 2px; background: var(--line);
}

/* ---------- Testimonials ---------- */
.testimonial {
  margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: #f4a825; letter-spacing: 3px; margin-bottom: 12px; font-size: 1.05rem; }
.testimonial blockquote { margin: 0 0 18px; font-size: 0.97rem; flex: 1; font-style: italic; }
.testimonial figcaption strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 0.95rem; }
.testimonial figcaption span { font-size: 0.82rem; }

/* ---------- Service areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--ink);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.area-card:hover { border-color: var(--green); transform: translateY(-2px); }
.area-card svg { color: var(--green); flex: none; }
.area-card small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--body); font-size: 0.76rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0 22px;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--blue); }
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink);
  padding: 18px 30px 18px 0; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; color: var(--green); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding-bottom: 18px; margin: 0; font-size: 0.95rem; }

/* ---------- Enquiry form ---------- */
.glass-solid {
  background: linear-gradient(150deg, #ffffff 55%, #f2faf7 100%);
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.enquiry-wrap {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 5vw, 56px);
}
.enquiry-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.enquiry-points li {
  display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 0.95rem;
}
.enquiry-points li::before {
  content: "✓"; display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--green-soft); color: var(--green); font-size: 0.8rem; font-weight: 800;
}

.enquiry-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label, .field-label {
  display: block; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 111, 181, 0.14);
}
.field textarea { resize: vertical; }

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); font-family: var(--font-display);
  font-size: 0.88rem; font-weight: 600; color: var(--body);
  transition: all 0.15s ease; cursor: pointer;
}
.radio input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.radio input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.form-status { min-height: 1.4em; font-weight: 700; margin: 12px 0 0; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c94747; }
.form-privacy { font-size: 0.78rem; margin: 8px 0 0; opacity: 0.75; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card {
  display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px;
  color: var(--ink); transition: border-color 0.18s ease, transform 0.18s ease;
}
.contact-card:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--ink); }
.contact-label {
  display: block; font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 5px;
}
.contact-card strong { font-size: 0.95rem; line-height: 1.45; font-weight: 700; }
.contact-card-alert { background: #fff4f2; border-color: #f3cdc5; }
.contact-card-alert .contact-label { color: #c94747; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a9c4d5; font-size: 0.92rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 34px; padding: clamp(48px, 6vw, 72px) 0 36px;
}
.footer-brand p { margin-top: 14px; font-size: 0.9rem; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: #a9c4d5; }
.footer-col a:hover { color: #6fd0b4; }
.footer-col p { margin: 0; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #cfe6f5; transition: background 0.18s, color 0.18s;
}
.socials a:hover { background: var(--green); color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0 26px;
  font-size: 0.82rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Floating buttons ---------- */
.float-btn {
  position: fixed; right: 20px; z-index: 90;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  color: #fff; box-shadow: 0 10px 26px rgba(13, 43, 62, 0.3);
  transition: transform 0.18s ease;
}
.float-btn:hover { transform: scale(1.08); color: #fff; }
.float-wa { bottom: 24px; background: #25d366; }
.float-call { bottom: 92px; background: var(--blue); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ecg-path { animation: none; stroke-dashoffset: 0; opacity: 0.6; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .cards-3, .product-grid, .why-grid, .about-grid { grid-template-columns: repeat(2, 1fr); }
  .about-card-stat { grid-column: 1 / -1; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process-step::after { display: none; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; top: calc(var(--nav-h)); left: 0; right: 0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(16px);
    flex-direction: column; gap: 4px; padding: 18px 6%;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    box-shadow: 0 20px 40px rgba(13,43,62,0.12);
  }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid var(--ice); }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }

  .topbar-inner { font-size: 0.78rem; }
  .topbar-call { margin-left: 0; }

  .cards-3, .product-grid, .why-grid, .about-grid,
  .contact-cards, .enquiry-form .form-row { grid-template-columns: 1fr; }
  .enquiry-wrap { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr 1fr; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .float-btn { width: 52px; height: 52px; right: 14px; }
}

@media (max-width: 460px) {
  .process, .areas-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-card-stats { grid-template-columns: 1fr 1fr 1fr; }
}
