/* ============================================================
   RESET & ROOT
============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
}

/* ============================================================
   CSS CUSTOM PROPERTIES — single source of truth
============================================================ */
:root {
  --teal:        #1a9e8f;
  --teal-dark:   #147a6e;
  --teal-light:  #e6f7f5;
  --navy:        #1a2340;
  --gray-bg:     #f7f8fa;
  --gray-mid:    #8892a4;
  --text-muted:  #5a6a80;
  --text-dark:   #4a5568;
  --border:      #e8edf5;
  --white:       #fff;
  --shadow:      0 4px 24px rgba(26,158,143,0.10);
  --shadow-hover:0 8px 40px rgba(26,158,143,0.18);
  --radius:      14px;
  /* Specific transitions only — avoids unnecessary repaints */
  --transition:  color 0.3s ease, background-color 0.3s ease,
                 transform 0.3s ease, box-shadow 0.3s ease,
                 border-color 0.3s ease, opacity 0.3s ease;
}

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 10px; }

/* ============================================================
   UTILITIES
============================================================ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   TOP BAR
============================================================ */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 7px 0;
  text-align: center;
}
.top-bar span { margin: 0 16px; }
.top-bar i { color: var(--teal); margin-right: 5px; }

/* ============================================================
   NAVBAR
============================================================ */
nav {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--teal), #0e7a6d);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}
.logo-text strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.logo-text span {
  font-size: 0.68rem;
  color: var(--gray-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
}
.nav-search input {
  flex: 1;
  padding: 9px 18px;
  border: none;
  outline: none;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
}
.nav-search button {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 0 18px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}
.nav-search button:hover { background: var(--teal-dark); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  padding: 7px 12px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { background: var(--teal-light); color: var(--teal); }
.nav-icons { display: flex; align-items: center; gap: 8px; }
.nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.nav-icon-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  display: block;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  background: linear-gradient(135deg, #f0faf9 0%, #e8f7f5 50%, #f5fbff 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
/* Decorative radial background circle */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,158,143,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid #d4f0ec;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(26,158,143,0.12);
}
.hero-trust i { color: #f59e0b; }
.hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--teal); }
.hero-desc {
  font-size: 0.97rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   BUTTONS
============================================================ */
.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(26,158,143,0.3);
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-white-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--teal);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-white-teal:hover { background: var(--teal-light); transform: translateY(-1px); }

/* ============================================================
   HERO VISUAL
============================================================ */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-img-circle {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4f0ec, #b8e8e3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26,158,143,0.2);
}
.hero-img-circle .doctor-placeholder {
  font-size: 9rem;
  opacity: 0.25;
  color: var(--teal-dark);
}
.hero-img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-float.f1 { top: 20px; left: -30px; }
.hero-float.f2 { bottom: 20px; right: -20px; }
.hero-float .ficon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.hero-float strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.hero-float span { font-size: 0.73rem; color: var(--gray-mid); }

/* ============================================================
   BRAND BAR
============================================================ */
.brand-bar {
  background: var(--white);
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.brand-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #b0bac9;
  transition: var(--transition);
}
.brand-logo:hover { color: var(--teal); }
.brand-logo i { font-size: 1.3rem; }

/* ============================================================
   SECTION HEADER
============================================================ */
.sec-header { text-align: center; margin-bottom: 40px; }
.sec-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.sec-header p { font-size: 0.92rem; color: var(--gray-mid); max-width: 500px; margin: 0 auto; }

/* ============================================================
   WHY + SERVICES
============================================================ */
.why-services { padding: 64px 0; background: var(--gray-bg); }
.ws-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
}
.why-box {
  background: var(--teal);
  border-radius: 20px;
  padding: 36px 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why-box::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.why-box h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; }
.why-box p { font-size: 0.9rem; opacity: 0.9; line-height: 1.7; margin-bottom: 22px; }
.why-features { list-style: none; margin-bottom: 24px; }
.why-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 10px;
  opacity: 0.92;
}
.why-features li i { color: #a8eddf; font-size: 0.9rem; }
.service-cards { display: flex; flex-direction: column; gap: 18px; }
.svc-card {
  background: var(--white);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1.5px solid var(--border);
}
.svc-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: #c0e8e3;
}
.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.svc-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.svc-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}
.svc-link:hover { gap: 9px; }

/* ============================================================
   PRODUCT CARDS
============================================================ */
.products-section  { padding: 64px 0; background: var(--white); }
.featured-section  { padding: 64px 0; background: var(--white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}
.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  width: 100%;
  max-width: 240px;
  text-align: center;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: #c0e8e3;
}
.product-img {
  background: var(--gray-bg);
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.product-card:hover .product-img img { transform: scale(1.07); }
.product-img .img-fallback { font-size: 4.5rem; color: #c5cdd8; display: none; }
.product-img img.errored { display: none; }
.product-img img.errored + .img-fallback { display: flex; }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  z-index: 1;
}
.product-body { padding: 14px 16px; }
.product-body h4 { font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.product-price { font-size: 0.95rem; font-weight: 800; color: var(--teal); margin-bottom: 10px; }
.product-footer { display: flex; justify-content: center; align-items: center; gap: 16px; }
.product-stars { color: #f59e0b; font-size: 0.72rem; }
.add-cart-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal-light);
  color: var(--teal);
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.add-cart-btn:hover { background: var(--teal); color: var(--white); }

/* ============================================================
   PROMO BANNER
============================================================ */
.promo-banner { background: var(--gray-bg); padding: 56px 0; }
.promo-inner {
  background: linear-gradient(135deg, var(--navy) 0%, #263059 100%);
  border-radius: 24px;
  padding: 52px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.promo-inner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(26,158,143,0.12);
  border-radius: 50%;
}
.promo-text { position: relative; z-index: 1; }
.promo-text .promo-tag {
  display: inline-block;
  background: rgba(26,158,143,0.2);
  color: #5de8d4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.promo-text h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--white); margin-bottom: 14px; line-height: 1.25; }
.promo-text p { color: rgba(255,255,255,0.75); font-size: 0.93rem; line-height: 1.7; margin-bottom: 28px; }
.promo-counters { display: flex; gap: 20px; margin-bottom: 28px; }
.counter-box {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.counter-num { font-size: 1.8rem; font-weight: 800; color: #5de8d4; line-height: 1; }
.counter-label { font-size: 0.7rem; color: rgba(255,255,255,0.55); margin-top: 4px; }
.promo-visual { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; }
.promo-img-box {
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 200px;
}
.promo-img-box i { font-size: 7rem; color: rgba(255,255,255,0.2); }

/* ============================================================
   ORTHOSES
============================================================ */
.orthoses-section { padding: 64px 0; background: var(--gray-bg); }
.ortho-grid {
  display: grid;
  /* Info box narrower, products grid wider */
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  align-items: center;
}
.ortho-info-box {
  background: var(--teal);
  border-radius: 20px;
  padding: 36px 30px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.ortho-info-box::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.ortho-info-box h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.ortho-info-box p { font-size: 0.88rem; opacity: 0.9; line-height: 1.65; margin-bottom: 22px; }

/* ============================================================
   ORDER DME
============================================================ */
.dme-section { padding: 64px 0; background: var(--white); }
.dme-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.dme-content h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.dme-content p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }
.dme-features { list-style: none; margin-bottom: 28px; }
.dme-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 12px; }
.dme-features li i { color: var(--teal); font-size: 0.9rem; }
.dme-visual { display: flex; justify-content: center; align-items: center; }
.dme-img-container {
  width: 340px;
  height: 380px;
  background: linear-gradient(160deg, #eef7f6 0%, #d4f0ec 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.dme-img-container i { font-size: 10rem; color: rgba(26,158,143,0.18); }

/* ============================================================
   ALL PRODUCTS
============================================================ */
.all-products-section { padding: 64px 0; background: var(--gray-bg); }
.view-all-wrap { text-align: center; margin-top: 40px; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-section { padding: 64px 0; background: var(--white); }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.testi-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.testi-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.testi-stars { color: #f59e0b; font-size: 0.88rem; margin-bottom: 14px; }
.testi-card p { font-size: 0.9rem; color: var(--text-dark); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.ta1 { background: linear-gradient(135deg, #1a9e8f, #0e7a6d); }
.ta2 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.testi-author strong { display: block; font-size: 0.9rem; color: var(--navy); font-weight: 700; }
.testi-author span { font-size: 0.77rem; color: var(--gray-mid); }

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-section { padding: 64px 0; background: var(--white); }
/* Form column slightly wider to accommodate input fields */
.contact-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.contact-info-side h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.contact-info-side p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }
.contact-detail-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.cd-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cd-text strong { display: block; font-size: 0.82rem; color: var(--gray-mid); margin-bottom: 3px; font-weight: 600; }
.cd-text a, .cd-text span { font-size: 0.93rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.cd-text a:hover { color: var(--teal); }
.contact-form-box {
  background: var(--gray-bg);
  border-radius: 20px;
  padding: 40px 36px;
  border: 1.5px solid var(--border);
}
.contact-form-box h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-group { margin-bottom: 14px; }
.cf-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.cf-group input,
.cf-group select,
.cf-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,158,143,0.1);
}
/* Error state for invalid fields */
.cf-group input.invalid,
.cf-group select.invalid,
.cf-group textarea.invalid {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}
.field-error { display: none; font-size: 0.78rem; color: #e53e3e; margin-top: 4px; font-weight: 600; }
.field-error.visible { display: block; }
.cf-group textarea { resize: vertical; min-height: 105px; }
.cf-submit {
  width: 100%;
  padding: 13px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(26,158,143,0.3);
}
.cf-submit:hover { background: var(--teal-dark); transform: translateY(-2px); }
.cf-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.cf-success {
  display: none;
  text-align: center;
  padding: 20px;
  background: #e8f5e9;
  border-radius: 12px;
  margin-top: 16px;
  color: #2e7d32;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================================
   FEATURES STRIP
============================================================ */
.features-strip {
  background: var(--gray-bg);
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.features-strip-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.feat-item { display: flex; align-items: center; gap: 14px; }
.feat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--white);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.feat-text strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.feat-text span { font-size: 0.78rem; color: var(--gray-mid); }

/* ============================================================
   MODAL POPUP
============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  animation: modalIn 0.3s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-header h2 { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.modal-header .modal-tag {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--teal-light);
  color: var(--teal);
  padding: 4px 12px;
  border-radius: 20px;
  margin-left: 10px;
}
.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gray-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-mid);
  transition: var(--transition);
}
.modal-close:hover { background: #fce4ec; color: #c62828; }
.modal-body {
  overflow-y: auto;
  padding: 24px 28px 28px;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.8;
  scroll-behavior: smooth;
}
.modal-body::-webkit-scrollbar { width: 5px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 6px; }
.modal-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--border);
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 12px; }
.modal-body ul { padding-left: 20px; margin-bottom: 12px; }
.modal-body ul li { margin-bottom: 6px; }
.modal-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}
.modal-footer button {
  padding: 10px 28px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}
.modal-footer button:hover { background: var(--teal-dark); }

/* ============================================================
   FOOTER
============================================================ */
footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.75; max-width: 250px; margin-top: 14px; }
.footer-brand .logo-text strong { color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.92rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: #5de8d4; }
.footer-col ul li a i { font-size: 0.7rem; opacity: 0.5; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item i { color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-contact-item a:hover { color: #5de8d4; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.fsoc {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.fsoc:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.9); }

/* ============================================================
   MOBILE NAV
============================================================ */
.mob-nav { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 18px 24px; }
.mob-nav.open { display: block; }
.mob-nav ul { list-style: none; }
.mob-nav ul li { border-bottom: 1px solid #f0f4f8; }
.mob-nav ul li a { display: block; padding: 13px 0; font-size: 0.95rem; font-weight: 600; color: var(--navy); }

/* ============================================================
   BACK TO TOP
============================================================ */
.btt {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(26,158,143,0.4);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
.btt.show { opacity: 1; pointer-events: all; }
.btt:hover { background: var(--teal-dark); transform: translateY(-3px); }

/* ============================================================
   FADE-UP ANIMATION
============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   MEDIA QUERIES — always declared last
============================================================ */
@media (max-width: 980px) {
  .hero-inner,
  .ws-grid,
  .promo-inner,
  .dme-inner,
  .ortho-grid,
  .contact-inner-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .promo-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-search { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  .cf-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px 20px; }
}
@media (max-width: 640px) {
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-counters { gap: 10px; }
  .features-strip-inner { flex-direction: column; align-items: flex-start; padding: 0 24px; gap: 16px; }
}

/* ============================================================
   ACCESSIBILITY — respect reduced motion preferences
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
}
