/* ==========================================================================
   48HDDS — Shared Stylesheet
   Palette derived from the brand logo:
   blue (HOURS wordmark), orange (tooth icon / clock hands),
   purple + red-orange (the "48" faceted gradient)
   ========================================================================== */

:root {
  --blue: #1e73be;
  --blue-dark: #14508a;
  --orange: #f7941d;
  --orange-dark: #d97706;
  --purple: #5b2d82;
  --red-orange: #c1272d;
  --ink: #1c2430;
  --slate: #55606e;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --bg-deep: #0f2a44;
  --line: #e2e8ef;
  --radius: 14px;
  --max: 1160px;
  --shadow: 0 10px 30px -12px rgba(15, 42, 68, 0.18);
}

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.25rem; }

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; display: block; border-radius: var(--radius); }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 0.6em;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 48px; width: auto; border-radius: 0; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
nav.main-nav a.active,
nav.main-nav a:hover { color: var(--blue); }

.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-dark); color: #fff !important; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .nav-toggle {
    display: inline-block;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
  }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(30, 115, 190, 0.10), transparent),
    radial-gradient(900px 400px at -5% 110%, rgba(247, 148, 29, 0.10), transparent),
    var(--bg-alt);
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero h1 span { color: var(--blue); }
.hero .lead {
  font-size: 1.12rem;
  color: var(--slate);
  max-width: 52ch;
}
.hero-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.badge {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

.hero-art {
  background: linear-gradient(160deg, var(--purple), var(--blue-dark));
  border-radius: 20px;
  color: #fff;
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-art::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(247,148,29,0.35), transparent 70%);
}
.hero-art .stat { font-size: 2.6rem; font-weight: 800; font-family: "Poppins", sans-serif; }
.hero-art .stat-label { opacity: 0.85; font-size: 0.95rem; margin-bottom: 22px; }
.hero-art ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero-art li { font-size: 0.92rem; display: flex; gap: 10px; align-items: flex-start; }
.hero-art li::before { content: "→"; color: var(--orange); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: 8px; }

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.service-card .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
}
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.service-card .body { padding: 22px 24px 26px; }
.service-card .note {
  font-size: 0.85rem;
  color: var(--orange-dark);
  font-weight: 600;
  margin-top: 8px;
}

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.feature-list .num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .equip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .equip-grid { grid-template-columns: 1fr; } }
.equip-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.equip-card .thumb { aspect-ratio: 4/3; background: var(--bg-deep); }
.equip-card .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.equip-card .body { padding: 16px 18px 20px; }
.equip-card .tag { font-size: 0.78rem; font-weight: 700; color: var(--orange-dark); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark), var(--purple));
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2, .cta-band p { color: #fff; margin: 0; }
.cta-band p { opacity: 0.9; }
.cta-band .btn-primary { background: var(--orange); }
.cta-band .btn-primary:hover { background: var(--orange-dark); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--bg-deep);
  color: #cfe0ee;
  padding: 56px 0 28px;
}
footer.site-footer h4 { color: #fff; font-size: 1rem; }
footer.site-footer a { color: #cfe0ee; }
footer.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid p, .footer-grid li { font-size: 0.92rem; color: #b9cbdc; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #93a9bc;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
.page-hero p.lead { max-width: 60ch; }

/* ---------- Misht page ---------- */
.misht-hero {
  background: linear-gradient(135deg, #2a1854, #1e3a63);
  color: #fff;
  border-radius: 24px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .misht-hero { grid-template-columns: 1fr; padding: 32px; } }
.misht-hero .tagline { font-size: 1.3rem; color: #ffb15c; font-weight: 700; margin-bottom: 6px; }
.misht-hero .sub { color: #d9c9ff; font-style: italic; margin-bottom: 18px; }
.misht-hero img { border-radius: 16px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-dark);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-detail .ico {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  background: var(--bg-alt); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}

form.contact-form { display: grid; gap: 14px; }
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form label { font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: -8px; }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Notice / info box ---------- */
.notice {
  background: #fff7ec;
  border: 1px solid #f3d9ab;
  border-radius: var(--radius);
  padding: 22px 24px;
}
.notice h3 { color: var(--orange-dark); }
.notice ul { margin: 0; padding-left: 20px; color: var(--ink); }
.notice li { margin-bottom: 8px; }
