/* DKI Restotech — public site styles.
   Tokens match the source site (Montserrat/Roboto, teal/navy/red).
   Swap the variables to re-skin the whole site. */

:root {
  --brand-teal: #113d3c;     /* headings / primary dark (from source h1) */
  --brand-navy: #0a1a3a;     /* dark section + footer backgrounds */
  --brand-navy-2: #0b2341;
  --brand-red: #dc3545;      /* CTA buttons */
  --brand-red-dark: #b52d3a;
  --brand-orange: #eb5e28;   /* accent */
  --ink: #1f2937;
  --muted: #5b6470;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-soft: #f2f2f2;
  --radius: 6px;
  --container: 1200px;
  --font-head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--brand-red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--brand-teal); margin-top: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .3px; font-size: .95rem;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: var(--brand-red-dark); color: #fff; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--brand-teal); }

/* --- Top bar --- */
.topbar { background: var(--brand-navy); color: #fff; font-size: 0.9rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 20px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar .phone { font-weight: 700; font-size: 1.05rem; }

/* --- Header / nav --- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 20px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 46px; width: auto; display: block; }
.footer-logo { background: #fff; border-radius: 6px; padding: 10px 12px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 40px; width: auto; display: block; }
.main-nav { display: flex; gap: 20px; align-items: center; }
.main-nav > .nav-item { position: relative; }
.main-nav > .nav-item > a { color: var(--brand-teal); font-weight: 600; font-family: var(--font-head); padding: 10px 0; display: inline-block; font-size: .95rem; }
.main-nav .submenu {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.12);
  padding: 8px; display: none;
}
.main-nav .nav-item:hover .submenu { display: block; }
.main-nav .submenu a { display: block; padding: 9px 12px; color: var(--ink); border-radius: 4px; font-size: .92rem; }
.main-nav .submenu a:hover { background: var(--bg-soft); text-decoration: none; }

/* --- Hero --- */
.hero {
  position: relative; color: #fff; padding: 90px 0;
  background: linear-gradient(rgba(10,26,58,.78), rgba(10,26,58,.72)),
    url("/static/hero.jpg") center/cover no-repeat;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 16px; max-width: 900px; }
.hero p { font-size: 1.2rem; max-width: 660px; opacity: .96; }
.hero .cta-row { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .phone-cta { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: #fff; }

/* --- Trust badges --- */
.trust-row { background: var(--brand-teal); }
.trust-row .container { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; padding: 16px 20px; }
.trust-row .badge { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; font-size: 0.95rem; font-family: var(--font-head); }
.trust-row .badge::before { content: "✓"; color: var(--brand-orange); font-weight: 800; }

/* --- Sections --- */
section.block { padding: 60px 0; }
section.block.alt { background: var(--bg-soft); }
section.block.dark { background: var(--brand-navy); color: #fff; }
section.block.dark h2, section.block.dark h3 { color: #fff; }
.section-title { text-align: center; margin: 0 0 8px; font-size: 2.1rem; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 38px; max-width: 660px; }
section.block.dark .section-sub { color: #cdd8e4; }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.09); transform: translateY(-3px); }
.card h3 { margin-top: 0; color: var(--brand-teal); }
.card a.more { font-weight: 700; font-family: var(--font-head); color: var(--brand-red); }
.icon-card { text-align: center; }
.icon-card .ico { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--brand-red); }

.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 18px 0; }
.prose ul { padding-left: 1.2em; }

.breadcrumbs { font-size: 0.9rem; color: var(--muted); padding: 16px 0; }
.breadcrumbs a { color: var(--muted); }

/* --- FAQ --- */
.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq h3 { margin: 0 0 6px; font-size: 1.15rem; color: var(--brand-teal); }

/* --- Testimonials --- */
.testimonial { background: #fff; border-radius: var(--radius); padding: 24px; color: var(--ink); }
.testimonial .stars { color: var(--brand-orange); font-size: 1.1rem; }
.testimonial .who { font-weight: 700; font-family: var(--font-head); color: var(--brand-teal); margin-top: 10px; }

/* --- CTA band --- */
.cta-band { background: var(--brand-red); color: #fff; text-align: center; padding: 52px 0; }
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band .phone { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; }
.cta-band a { color: #fff; }

/* --- Footer --- */
.site-footer { background: var(--brand-navy); color: #cdd8e4; padding: 52px 0 24px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-family: var(--font-head); }
.site-footer a { color: #cdd8e4; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid var(--brand-navy-2); margin-top: 32px; padding-top: 16px; font-size: 0.85rem; text-align: center; }

/* --- Lead form --- */
.lead-form label { display: block; margin-bottom: 14px; font-weight: 600; font-family: var(--font-head); color: var(--brand-teal); font-size: .92rem; }
.lead-form input, .lead-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--brand-red); border-color: var(--brand-red); }
.lead-form .err { color: var(--brand-red); font-size: .85rem; }
.lead-form button { margin-top: 6px; }

/* --- Sticky mobile call button --- */
.sticky-call { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: none; background: var(--brand-red); color: #fff; text-align: center; padding: 14px; font-weight: 700; font-family: var(--font-head); }
.sticky-call a { color: #fff; }

@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .main-nav { display: none; }
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .sticky-call { display: block; }
  body { padding-bottom: 56px; }
  .hero { padding: 60px 0; }
}
