/* ============================================================
   InHome Wound Care Supplies — Shared Stylesheet
   ============================================================ */

:root {
  --teal-900: #0b3b3c;
  --teal-700: #0f5c5e;
  --teal-600: #12787a;
  --teal-500: #159a9c;
  --teal-100: #e3f4f3;
  --teal-50:  #f2faf9;
  --sand-50:  #fbf9f5;
  --ink-900:  #1c2a2b;
  --ink-700:  #3d4d4e;
  --ink-500:  #6b7a7b;
  --white:    #ffffff;
  --amber-500:#e2924a;
  --amber-600:#c97a34;
  --success:  #2f8f5b;
  --border:   #dde8e7;
  --shadow:   0 8px 24px rgba(11, 59, 60, 0.08);
  --shadow-lg:0 16px 40px rgba(11, 59, 60, 0.14);
  --radius:   14px;
  --radius-sm:8px;
  --max-w:    1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-900);
  background: var(--sand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  color: var(--teal-900);
  margin: 0 0 0.5em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--ink-700); }

a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

/* ---------- Top bar ---------- */
.topbar {
  background: var(--teal-900);
  color: #cfe9e8;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #cfe9e8; }
.topbar .topbar-links span { margin-left: 18px; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-900);
}
.brand .mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-900));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-family: Georgia, serif;
  font-size: 1.2rem;
}
.brand .mark-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
}
.footer-brand .logo-full-img {
  height: 34px;
  width: auto;
  margin-bottom: 16px;
}
.header-logo-img {
  height: 46px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .header-logo-img { height: 40px; }
}
.brand .brand-text { display: flex; flex-direction: column; }
.brand .brand-text strong { font-size: 1.15rem; font-family: Georgia, serif; }
.brand .brand-text small { font-size: 0.72rem; color: var(--ink-500); letter-spacing: 0.04em; text-transform: uppercase; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--ink-900);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--teal-700);
  border-bottom-color: var(--teal-600);
  text-decoration: none;
}

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: 0.85rem;
}
.header-phone strong { color: var(--teal-800, var(--teal-700)); font-size: 1.05rem; }

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--amber-500);
  color: var(--teal-900);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--amber-600); }
.btn-outline {
  background: transparent;
  border-color: var(--teal-600);
  color: var(--teal-700);
}
.btn-outline:hover { background: var(--teal-50); }
.btn-white {
  background: white;
  color: var(--teal-700);
}
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--teal-900) 0%, var(--teal-700) 55%, var(--teal-600) 100%);
  color: white;
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: #eafbf9;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { color: white; font-size: 2.8rem; margin-bottom: 18px; }
.hero p.lead { color: #d8f0ee; font-size: 1.1rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 22px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-badges div { font-size: 0.82rem; color: #cfe9e8; display: flex; align-items: center; gap: 8px; }

.hero-visual {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(2px);
}
.hero-visual .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hero-visual .stat {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}
.hero-visual .stat strong { display: block; font-size: 1.8rem; font-family: Georgia, serif; color: white; }
.hero-visual .stat span { font-size: 0.78rem; color: #cfe9e8; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--teal-50); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow {
  color: var(--amber-600);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 8px;
  display: block;
}

/* ---------- Cards / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.product-card .thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-50));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--teal-600);
}
.product-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card ul { margin: 0 0 18px; padding-left: 18px; color: var(--ink-700); font-size: 0.92rem; }
.product-card .tag {
  align-self: flex-start;
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.step:last-child { margin-bottom: 0; }
.step .num {
  counter-increment: step;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-700);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: Georgia, serif;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.testimonial .stars { color: var(--amber-500); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial .who .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-100); color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: Georgia, serif;
}
.testimonial .who strong { display: block; font-size: 0.92rem; }
.testimonial .who span { font-size: 0.78rem; color: var(--ink-500); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--teal-700), var(--teal-900));
  color: white;
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: white; margin-bottom: 6px; }
.cta-band p { color: #d8f0ee; margin: 0; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(120deg, var(--teal-900), var(--teal-700));
  color: white;
  padding: 56px 0;
  text-align: center;
}
.page-header h1 { color: white; margin-bottom: 10px; }
.page-header p { color: #d8f0ee; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: 0.82rem; color: #bfe4e2; margin-bottom: 14px; }
.breadcrumb a { color: #bfe4e2; }

/* ---------- Forms ---------- */
.form-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--teal-900); }
.form-group .req { color: var(--amber-600); }
input, select, textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink-900);
  background: var(--sand-50);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: white;
}
textarea { resize: vertical; min-height: 120px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--ink-700); }
.checkbox-row input { margin-top: 3px; width: auto; }
.form-note { font-size: 0.78rem; color: var(--ink-500); margin-top: 14px; }

/* ---------- Contact info blocks ---------- */
.contact-info-card {
  background: var(--teal-900);
  color: white;
  border-radius: var(--radius);
  padding: 34px;
}
.contact-info-card h3 { color: white; }
.contact-info-card .item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-info-card .item .ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-card .item strong { display: block; font-size: 0.9rem; }
.contact-info-card .item span, .contact-info-card .item a { font-size: 0.86rem; color: #cfe9e8; }
.contact-info-card .hours-table { width: 100%; margin-top: 10px; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 14px;}
.contact-info-card .hours-table tr td { padding: 4px 0; color: #cfe9e8; }
.contact-info-card .hours-table tr td:last-child { text-align: right; font-weight: 600; color: white; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--teal-900);
  color: #b9d9d7;
  padding: 56px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: white; font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: #b9d9d7; font-size: 0.88rem; }
.footer-grid a:hover { color: white; }
.footer-brand p { color: #a9cecb; font-size: 0.88rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: #9dc3c0;
}
.footer-bottom a { color: #9dc3c0; }
.disclaimer-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.78rem;
  color: #a9cecb;
  margin-bottom: 30px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.badge-pill {
  background: var(--teal-100);
  color: var(--teal-700);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  nav.main-nav { display: none; }
  .header-phone { display: none; }
  h1 { font-size: 2rem; }
  .hero { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}
