/* DG Healthcare Services — light, modern single-page theme */

:root {
  --navy: #0f2b5b;
  --blue: #1d4f91;
  --sky: #2a7de1;
  --teal: #18a999;
  --ink: #1b2536;
  --muted: #5b6b82;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eef4fc;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 43, 91, 0.08);
  --shadow-hover: 0 18px 40px rgba(15, 43, 91, 0.14);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--sky); }

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .9em;
}

.accent {
  background: linear-gradient(90deg, var(--blue), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid var(--navy);
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(29, 79, 145, .25); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--bg-tint); border-color: var(--bg-tint); color: var(--navy); }
.btn-sm { padding: .55em 1.2em; font-size: .92rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { width: 190px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .98rem; position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--sky); transition: width .2s;
}
.site-nav a:not(.btn):hover { color: var(--navy); }
.site-nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(42, 125, 225, .09), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, rgba(24, 169, 153, .08), transparent 70%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 1.18rem; color: var(--ink); font-weight: 500; }
.hero-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.hero-art svg { width: 100%; height: auto; }

/* Sections */
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p:last-child { color: var(--muted); }

/* About */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.about-grid > div:first-child p { color: var(--muted); }
.about-grid > div:first-child strong { color: var(--navy); }
.approach {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.approach-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.approach-list li { display: flex; gap: 16px; align-items: flex-start; }
.approach-list strong { display: block; color: var(--navy); }
.approach-list span:not(.icon) { color: var(--muted); font-size: .95rem; }

.icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: #fff;
  color: var(--sky);
  box-shadow: 0 4px 14px rgba(15, 43, 91, .08);
}
.icon svg { width: 22px; height: 22px; }

/* Services */
.services { background: var(--bg-soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--line); }
.service-body { padding: 24px 26px 28px; }
.service-body p { color: var(--muted); font-size: .97rem; margin: 0; }

.service-cta {
  padding: 36px;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border: none;
  color: #dbe6f7;
}
.service-cta h3 { color: #fff; font-size: 1.5rem; }
.service-cta p { margin-bottom: 1.6em; }
.service-cta .btn { align-self: flex-start; }

/* Contact */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: stretch; }
.contact-grid > div:first-child > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { background: var(--bg-tint); box-shadow: none; }
.contact-list .label {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.contact-list a, .contact-list address { font-style: normal; color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 380px;
}
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--bg-tint); border-top: 1px solid var(--line); padding-top: 56px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-grid p { color: var(--muted); max-width: 380px; margin-top: 14px; font-size: .95rem; }
.footer-logo { width: 170px; }
.site-footer nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.site-footer nav a { color: var(--ink); font-weight: 500; }
.site-footer nav a:hover { color: var(--sky); }
.footer-bottom { border-top: 1px solid #d6e1f0; margin-top: 40px; padding: 20px 24px; }
.footer-bottom p { margin: 0; font-size: .88rem; color: var(--muted); }

/* Responsive */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    box-shadow: 0 12px 24px rgba(15, 43, 91, .08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; }

  .hero { padding: 48px 0 64px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .section { padding: 72px 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .brand img { width: 160px; }
  .approach { padding: 26px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
