/* ===================================================
   OST REPAIR TOOL BOX — Main Stylesheet
   ostrepairtoolbox.com
   =================================================== */

:root {
  --ost-primary: #1a3a5c;
  --ost-primary-light: #2a5080;
  --ost-accent: #e87020;
  --ost-accent-light: #f09040;
  --ost-dark: #0f1e2e;
  --ost-text: #2c3e50;
  --ost-text-muted: #6b7c93;
  --ost-bg: #f7f8fa;
  --ost-white: #ffffff;
  --ost-border: #dde3ec;
  --ost-success: #27ae60;
  --ost-shadow-sm: 0 2px 8px rgba(26,58,92,0.08);
  --ost-shadow-md: 0 6px 24px rgba(26,58,92,0.12);
  --ost-shadow-lg: 0 16px 48px rgba(26,58,92,0.18);
  --ost-radius: 10px;
  --ost-radius-lg: 18px;
  --ost-transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--ost-text);
  background: var(--ost-bg);
  line-height: 1.72;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  color: var(--ost-primary);
  line-height: 1.22;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1.2em; }
a { color: var(--ost-accent); text-decoration: none; transition: var(--ost-transition); }
a:hover { color: var(--ost-primary); }

.ost-lead {
  font-size: 1.15rem;
  color: var(--ost-text-muted);
  line-height: 1.8;
}

.ost-section-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ost-accent);
  display: block;
  margin-bottom: 0.6rem;
}

/* ── LAYOUT UTILITIES ───────────────────────────── */
.ost-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ost-container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.ost-section { padding: 80px 0; }
.ost-section-sm { padding: 50px 0; }

.ost-text-center { text-align: center; }
.ost-mt-1 { margin-top: 0.5rem; }
.ost-mt-2 { margin-top: 1rem; }
.ost-mt-3 { margin-top: 1.5rem; }
.ost-mt-4 { margin-top: 2rem; }
.ost-mb-1 { margin-bottom: 0.5rem; }
.ost-mb-2 { margin-bottom: 1rem; }
.ost-mb-3 { margin-bottom: 1.5rem; }
.ost-mb-4 { margin-bottom: 2rem; }

/* ── BUTTONS ────────────────────────────────────── */
.ost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--ost-transition);
  text-decoration: none;
}
.ost-btn-primary {
  background: var(--ost-accent);
  color: var(--ost-white);
  border-color: var(--ost-accent);
}
.ost-btn-primary:hover {
  background: var(--ost-accent-light);
  color: var(--ost-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,112,32,0.35);
}
.ost-btn-outline {
  background: transparent;
  color: var(--ost-primary);
  border-color: var(--ost-primary);
}
.ost-btn-outline:hover {
  background: var(--ost-primary);
  color: var(--ost-white);
  transform: translateY(-2px);
}
.ost-btn-white {
  background: var(--ost-white);
  color: var(--ost-primary);
  border-color: var(--ost-white);
}
.ost-btn-white:hover {
  background: transparent;
  color: var(--ost-white);
}

/* ── NAVBAR ─────────────────────────────────────── */
#ost-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ost-white);
  border-bottom: 1px solid var(--ost-border);
  box-shadow: var(--ost-shadow-sm);
  transition: var(--ost-transition);
}
#ost-navbar.ost-nav-scrolled { box-shadow: var(--ost-shadow-md); }

.ost-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.ost-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.ost-brand-icon {
  width: 42px; height: 42px;
  background: var(--ost-primary);
  border-radius: var(--ost-radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--ost-white);
  font-size: 1.2rem;
}
.ost-brand-text { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--ost-primary); line-height: 1.1; }
.ost-brand-sub { font-family: 'Source Sans 3', sans-serif; font-size: 0.72rem; color: var(--ost-text-muted); font-weight: 400; letter-spacing: 0.06em; }

.ost-nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.ost-nav-links a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ost-text);
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--ost-transition);
  text-decoration: none;
}
.ost-nav-links a:hover, .ost-nav-links a.ost-active { color: var(--ost-accent); background: rgba(232,112,32,0.08); }
.ost-nav-cta { margin-left: 10px; padding: 9px 22px !important; font-size: 0.88rem !important; }

.ost-nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.4rem; color: var(--ost-primary);
  cursor: pointer;
}

@media (max-width: 900px) {
  .ost-nav-toggle { display: block; }
  .ost-nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--ost-white);
    border-bottom: 1px solid var(--ost-border);
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .ost-nav-links.ost-open { display: flex; }
  .ost-nav-links a { padding: 12px 16px; width: 100%; }
}

/* ── HERO ────────────────────────────────────────── */
#ost-hero-editorial {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--ost-dark);
  overflow: hidden;
}
.ost-hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/banner.jpg');
  background-size: cover; background-position: center;
  opacity: 0.28;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
#ost-hero-editorial:hover .ost-hero-bg { transform: scale(1); }

.ost-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15,30,46,0.92) 45%, rgba(26,58,92,0.55) 100%);
}

.ost-hero-content {
  position: relative; z-index: 2;
  padding: 100px 0 80px;
}

.ost-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,112,32,0.18);
  border: 1px solid rgba(232,112,32,0.45);
  color: var(--ost-accent-light);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  opacity: 0;
  animation: ost-fade-up 0.6s ease forwards 0.2s;
}
.ost-hero-title {
  color: var(--ost-white);
  margin-bottom: 20px;
  opacity: 0;
  animation: ost-fade-up 0.7s ease forwards 0.4s;
}
.ost-hero-title span { color: var(--ost-accent); }
.ost-hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 36px;
  opacity: 0;
  animation: ost-fade-up 0.7s ease forwards 0.6s;
}
.ost-hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  opacity: 0;
  animation: ost-fade-up 0.7s ease forwards 0.8s;
}
.ost-hero-stats {
  display: flex; gap: 40px; margin-top: 60px; flex-wrap: wrap;
  opacity: 0;
  animation: ost-fade-up 0.7s ease forwards 1s;
}
.ost-hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--ost-white);
  line-height: 1;
}
.ost-hero-stat-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem; color: rgba(255,255,255,0.6);
  margin-top: 3px;
}

@keyframes ost-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── BEFORE / AFTER SLIDER ──────────────────────── */
#ost-before-after-section { background: var(--ost-white); }

.ost-ba-slider-wrap {
  position: relative;
  width: 100%; max-width: 860px;
  margin: 0 auto;
  border-radius: var(--ost-radius-lg);
  overflow: hidden;
  box-shadow: var(--ost-shadow-lg);
  cursor: ew-resize;
  user-select: none;
}
.ost-ba-img { display: block; width: 100%; height: 460px; object-fit: cover; }
.ost-ba-after-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
  width: 50%;
  transition: none;
}
.ost-ba-after-wrap img { position: absolute; top: 0; left: 0; height: 100%; width: 860px; max-width: none; }
.ost-ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: 50%;
  width: 44px;
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.ost-ba-handle-line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--ost-white);
  transform: translateX(-50%);
}
.ost-ba-handle-btn {
  width: 44px; height: 44px;
  background: var(--ost-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 1;
  color: var(--ost-primary);
  font-size: 1rem;
}
.ost-ba-label {
  position: absolute;
  top: 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ost-white);
  background: rgba(15,30,46,0.6);
  padding: 5px 12px; border-radius: 4px;
}
.ost-ba-label-before { left: 16px; }
.ost-ba-label-after { right: 16px; }

/* ── SERVICES ───────────────────────────────────── */
#ost-services-section { background: var(--ost-bg); }

.ost-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.ost-service-card {
  background: var(--ost-white);
  border-radius: var(--ost-radius-lg);
  overflow: hidden;
  box-shadow: var(--ost-shadow-sm);
  transition: var(--ost-transition);
  display: flex; flex-direction: column;
}
.ost-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ost-shadow-lg);
}
.ost-service-card-img {
  width: 100%; height: 200px; object-fit: cover;
  display: block;
}
.ost-service-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.ost-service-icon {
  width: 46px; height: 46px;
  background: rgba(26,58,92,0.09);
  border-radius: var(--ost-radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--ost-primary);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.ost-service-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.ost-service-card p { color: var(--ost-text-muted); font-size: 0.92rem; flex: 1; }
.ost-service-card .ost-btn { margin-top: 18px; align-self: flex-start; padding: 9px 20px; font-size: 0.85rem; }

/* Service detail IDs */
#ost-service-card-renovation .ost-service-icon { background: rgba(232,112,32,0.1); color: var(--ost-accent); }
#ost-service-card-plumbing .ost-service-icon { background: rgba(26,58,92,0.1); color: var(--ost-primary); }
#ost-service-card-painting .ost-service-icon { background: rgba(39,174,96,0.1); color: var(--ost-success); }
#ost-service-card-emergency .ost-service-icon { background: rgba(192,57,43,0.1); color: #c0392b; }

/* ── ESTIMATE CALCULATOR ───────────────────────── */
#ost-estimate-section {
  background: linear-gradient(135deg, var(--ost-primary) 0%, var(--ost-dark) 100%);
  position: relative; overflow: hidden;
}
#ost-estimate-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,112,32,0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.ost-estimate-card {
  background: var(--ost-white);
  border-radius: var(--ost-radius-lg);
  padding: 44px 48px;
  box-shadow: var(--ost-shadow-lg);
  max-width: 700px;
  margin: 0 auto;
}
.ost-estimate-card h2 { color: var(--ost-primary); margin-bottom: 8px; }
.ost-estimate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
@media (max-width: 600px) { .ost-estimate-grid { grid-template-columns: 1fr; } }

.ost-form-group { display: flex; flex-direction: column; gap: 7px; }
.ost-form-group label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  color: var(--ost-text); letter-spacing: 0.04em;
}
.ost-form-control {
  padding: 11px 14px;
  border: 1.5px solid var(--ost-border);
  border-radius: var(--ost-radius);
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: var(--ost-text);
  background: var(--ost-white);
  transition: var(--ost-transition);
  outline: none;
  width: 100%;
}
.ost-form-control:focus { border-color: var(--ost-primary); box-shadow: 0 0 0 3px rgba(26,58,92,0.1); }
.ost-form-control.ost-invalid { border-color: #e74c3c; box-shadow: 0 0 0 3px rgba(231,76,60,0.1); }

.ost-estimate-result {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--ost-bg);
  border-radius: var(--ost-radius);
  border-left: 4px solid var(--ost-accent);
  display: none;
}
.ost-estimate-result.ost-visible { display: block; }
.ost-estimate-range {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--ost-primary);
}
.ost-estimate-note { font-size: 0.84rem; color: var(--ost-text-muted); margin-top: 5px; }

/* ── QUIZ ───────────────────────────────────────── */
#ost-quiz-section { background: var(--ost-white); }

.ost-quiz-wrap {
  max-width: 680px; margin: 0 auto;
  background: var(--ost-bg);
  border-radius: var(--ost-radius-lg);
  padding: 42px;
  box-shadow: var(--ost-shadow-md);
}
.ost-quiz-step { display: none; }
.ost-quiz-step.ost-active { display: block; animation: ost-fade-up 0.4s ease; }
.ost-quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.ost-quiz-option {
  padding: 16px 20px;
  border: 2px solid var(--ost-border);
  border-radius: var(--ost-radius);
  background: var(--ost-white);
  cursor: pointer;
  text-align: left;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ost-text);
  transition: var(--ost-transition);
  display: flex; align-items: center; gap: 10px;
}
.ost-quiz-option:hover, .ost-quiz-option.ost-selected {
  border-color: var(--ost-primary);
  background: rgba(26,58,92,0.05);
  color: var(--ost-primary);
}
.ost-quiz-progress { height: 5px; background: var(--ost-border); border-radius: 5px; margin-bottom: 28px; }
.ost-quiz-progress-bar { height: 100%; background: var(--ost-accent); border-radius: 5px; transition: width 0.4s ease; }
.ost-quiz-result {
  background: var(--ost-white);
  border-radius: var(--ost-radius);
  padding: 24px;
  border-left: 4px solid var(--ost-success);
  display: none;
}
.ost-quiz-result.ost-visible { display: block; animation: ost-fade-up 0.4s ease; }
@media (max-width: 560px) { .ost-quiz-options { grid-template-columns: 1fr; } }

/* ── ARTICLES ───────────────────────────────────── */
#ost-articles-section { background: var(--ost-bg); }
.ost-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
  margin-top: 50px;
}
.ost-article-card {
  background: var(--ost-white);
  border-radius: var(--ost-radius-lg);
  overflow: hidden;
  box-shadow: var(--ost-shadow-sm);
  transition: var(--ost-transition);
  display: flex; flex-direction: column;
}
.ost-article-card:hover { transform: translateY(-5px); box-shadow: var(--ost-shadow-md); }
.ost-article-card-img { width: 100%; height: 210px; object-fit: cover; display: block; }
.ost-article-card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.ost-article-tag {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ost-accent);
  background: rgba(232,112,32,0.1);
  padding: 4px 10px; border-radius: 50px;
  margin-bottom: 12px;
}
.ost-article-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.ost-article-card p { font-size: 0.9rem; color: var(--ost-text-muted); flex: 1; }
.ost-article-meta {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem; color: var(--ost-text-muted);
}

/* ── TESTIMONIALS ───────────────────────────────── */
#ost-testimonials-section {
  background: var(--ost-primary);
  position: relative; overflow: hidden;
}
#ost-testimonials-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/cta.jpg') center/cover;
  opacity: 0.07;
}

.ost-testimonials-carousel { position: relative; max-width: 820px; margin: 50px auto 0; }
.ost-testimonial-slide { display: none; }
.ost-testimonial-slide.ost-active { display: block; animation: ost-fade-up 0.5s ease; }
.ost-testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--ost-radius-lg);
  padding: 42px 50px;
  text-align: center;
  position: relative;
}
.ost-quote-icon {
  font-size: 3.5rem;
  color: var(--ost-accent);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}
.ost-testimonial-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  line-height: 1.78;
  margin-bottom: 24px;
}
.ost-testimonial-author {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  color: var(--ost-white);
}
.ost-testimonial-role { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 3px; }
.ost-testimonial-stars { color: #f1c40f; font-size: 1rem; margin-bottom: 16px; }

.ost-carousel-controls { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.ost-carousel-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none; cursor: pointer;
  transition: var(--ost-transition);
}
.ost-carousel-dot.ost-active { background: var(--ost-accent); transform: scale(1.3); }

/* ── TEAM ───────────────────────────────────────── */
#ost-team-section { background: var(--ost-bg); }
.ost-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.ost-team-card {
  background: var(--ost-white);
  border-radius: var(--ost-radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--ost-shadow-sm);
  transition: var(--ost-transition);
}
.ost-team-card:hover { transform: translateY(-6px); box-shadow: var(--ost-shadow-md); }
.ost-team-img-wrap { position: relative; overflow: hidden; }
.ost-team-img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ost-team-card:hover .ost-team-img { transform: scale(1.06); }
.ost-team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,58,92,0.78) 0%, transparent 60%);
  opacity: 0; transition: var(--ost-transition);
  display: flex; align-items: flex-end; justify-content: center; padding: 20px;
}
.ost-team-card:hover .ost-team-overlay { opacity: 1; }
.ost-team-social { display: flex; gap: 10px; }
.ost-team-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ost-white); font-size: 0.85rem;
}
.ost-team-info { padding: 20px 16px 24px; }
.ost-team-name { font-size: 1.05rem; margin-bottom: 3px; }
.ost-team-role { font-family: 'Source Sans 3', sans-serif; font-size: 0.82rem; color: var(--ost-text-muted); }

/* ── PROGRESS BARS ──────────────────────────────── */
#ost-stats-section { background: var(--ost-white); }
.ost-progress-list { max-width: 700px; }
.ost-progress-item { margin-bottom: 26px; }
.ost-progress-label {
  display: flex; justify-content: space-between;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  color: var(--ost-text);
  margin-bottom: 8px;
}
.ost-progress-bar-wrap {
  height: 8px; background: var(--ost-border);
  border-radius: 8px; overflow: hidden;
}
.ost-progress-bar {
  height: 100%; border-radius: 8px;
  background: linear-gradient(90deg, var(--ost-primary), var(--ost-accent));
  width: 0%; transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ── GALLERY LIGHTBOX ───────────────────────────── */
#ost-gallery-section { background: var(--ost-bg); }
.ost-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}
@media (max-width: 700px) { .ost-gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .ost-gallery-grid { grid-template-columns: 1fr; } }

.ost-gallery-item {
  position: relative;
  border-radius: var(--ost-radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.ost-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.ost-gallery-item:hover img { transform: scale(1.08); }
.ost-gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(15,30,46,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--ost-transition);
  color: var(--ost-white); font-size: 1.8rem;
}
.ost-gallery-item:hover .ost-gallery-item-overlay { opacity: 1; }

/* Lightbox */
#ost-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,18,28,0.93);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
#ost-lightbox.ost-open { display: flex; }
#ost-lightbox-img {
  max-width: 90vw; max-height: 85vh;
  border-radius: var(--ost-radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  object-fit: contain;
  animation: ost-fade-up 0.3s ease;
}
#ost-lightbox-close {
  position: fixed; top: 20px; right: 24px;
  background: none; border: none;
  color: var(--ost-white); font-size: 1.8rem;
  cursor: pointer; z-index: 10000;
  transition: var(--ost-transition);
}
#ost-lightbox-close:hover { color: var(--ost-accent); transform: rotate(90deg); }
#ost-lightbox-caption {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.1);
  color: var(--ost-white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  padding: 8px 20px; border-radius: 50px;
}

/* ── COUNTERS ───────────────────────────────────── */
#ost-counters-section {
  background: linear-gradient(135deg, var(--ost-dark), var(--ost-primary));
}
.ost-counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
  padding: 60px 0;
}
.ost-counter-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem; font-weight: 700;
  color: var(--ost-white); line-height: 1;
}
.ost-counter-num span { color: var(--ost-accent); }
.ost-counter-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  margin-top: 8px; letter-spacing: 0.06em;
}

/* ── FOOTER ─────────────────────────────────────── */
#ost-footer {
  background: var(--ost-dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
}
.ost-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .ost-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ost-footer-grid { grid-template-columns: 1fr; } }

.ost-footer-brand .ost-brand-text { color: var(--ost-white); }
.ost-footer-brand .ost-brand-sub { color: rgba(255,255,255,0.45); }
.ost-footer-desc { font-size: 0.9rem; line-height: 1.7; margin-top: 14px; margin-bottom: 20px; }
.ost-footer-socials { display: flex; gap: 10px; }
.ost-footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.9rem;
  transition: var(--ost-transition);
}
.ost-footer-socials a:hover { background: var(--ost-accent); border-color: var(--ost-accent); color: var(--ost-white); }

.ost-footer-heading {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ost-white); margin-bottom: 16px;
}
.ost-footer-links { list-style: none; }
.ost-footer-links li { margin-bottom: 9px; }
.ost-footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: var(--ost-transition); }
.ost-footer-links a:hover { color: var(--ost-accent); padding-left: 4px; }

.ost-footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.ost-footer-contact-item i { color: var(--ost-accent); margin-top: 3px; flex-shrink: 0; }

.ost-footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.ost-footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.83rem; color: rgba(255,255,255,0.4);
}
.ost-footer-bottom a { color: rgba(255,255,255,0.55); }
.ost-footer-bottom a:hover { color: var(--ost-accent); }

/* ── DIVIDERS ───────────────────────────────────── */
.ost-svg-divider { line-height: 0; overflow: hidden; }
.ost-svg-divider svg { display: block; width: 100%; }

/* ── PAGE HERO (inner pages) ─────────────────────── */
.ost-page-hero {
  background: linear-gradient(120deg, var(--ost-dark) 0%, var(--ost-primary) 100%);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ost-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/article3.png?w=1200&auto=format&fit=crop&q=60') center/cover;
  opacity: 0.1;
}
.ost-page-hero-content { position: relative; z-index: 2; }
.ost-page-hero h1 { color: var(--ost-white); margin-bottom: 14px; }
.ost-breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  list-style: none;
}
.ost-breadcrumb a { color: var(--ost-accent-light); }
.ost-breadcrumb li + li::before { content: '›'; margin-right: 8px; }

/* ── ABOUT PAGE ─────────────────────────────────── */
.ost-timeline { position: relative; max-width: 700px; margin: 0 auto; }
.ost-timeline::before {
  content: '';
  position: absolute; left: 24px; top: 0; bottom: 0;
  width: 2px; background: var(--ost-border);
}
.ost-timeline-item { display: flex; gap: 32px; margin-bottom: 36px; position: relative; }
.ost-timeline-dot {
  width: 48px; height: 48px;
  background: var(--ost-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ost-white); font-size: 1rem;
  flex-shrink: 0; z-index: 1;
}
.ost-timeline-content { padding-top: 10px; }
.ost-timeline-year {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: var(--ost-accent); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 4px;
}

/* ── CONTACT PAGE ───────────────────────────────── */
.ost-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) { .ost-contact-grid { grid-template-columns: 1fr; } }

.ost-contact-info-card {
  background: var(--ost-white);
  border-radius: var(--ost-radius-lg);
  padding: 36px 32px;
  box-shadow: var(--ost-shadow-sm);
}
.ost-contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.ost-contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(26,58,92,0.08);
  border-radius: var(--ost-radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--ost-primary); font-size: 1.1rem;
  flex-shrink: 0;
}
.ost-contact-info-label { font-family: 'Source Sans 3', sans-serif; font-size: 0.78rem; font-weight: 700; color: var(--ost-text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.ost-contact-form-wrap {
  background: var(--ost-white);
  border-radius: var(--ost-radius-lg);
  padding: 40px 36px;
  box-shadow: var(--ost-shadow-sm);
}
.ost-map-embed { margin-top: 32px; border-radius: var(--ost-radius-lg); overflow: hidden; box-shadow: var(--ost-shadow-sm); }
.ost-map-embed iframe { display: block; width: 100%; }

/* ── ARTICLE PAGE ───────────────────────────────── */
.ost-article-longread-layout { max-width: 800px; margin: 0 auto; }
.ost-article-longread-layout img { width: 100%; border-radius: var(--ost-radius-lg); margin: 28px 0; box-shadow: var(--ost-shadow-md); }
.ost-article-longread-layout h2 { margin-top: 40px; margin-bottom: 14px; }
.ost-article-longread-layout h3 { margin-top: 28px; margin-bottom: 10px; color: var(--ost-primary-light); }
.ost-article-longread-layout ul, .ost-article-longread-layout ol { padding-left: 22px; margin-bottom: 1.2em; }
.ost-article-longread-layout li { margin-bottom: 6px; }
.ost-article-longread-layout blockquote {
  border-left: 4px solid var(--ost-accent);
  padding: 16px 24px;
  background: rgba(232,112,32,0.06);
  border-radius: 0 var(--ost-radius) var(--ost-radius) 0;
  font-style: italic; color: var(--ost-primary);
  margin: 24px 0;
}
.ost-article-author-box {
  display: flex; gap: 18px; align-items: center;
  background: var(--ost-bg);
  border-radius: var(--ost-radius-lg);
  padding: 24px;
  margin-top: 44px;
}
.ost-article-author-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* ── LEGAL PAGES ────────────────────────────────── */
.ost-legal-content h2 { font-size: 1.4rem; margin-top: 36px; margin-bottom: 10px; }
.ost-legal-content h3 { font-size: 1.1rem; margin-top: 24px; margin-bottom: 8px; color: var(--ost-primary-light); }
.ost-legal-content ul { padding-left: 20px; margin-bottom: 1em; }
.ost-legal-content li { margin-bottom: 5px; }
.ost-legal-last-updated {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem; color: var(--ost-text-muted);
  background: var(--ost-bg);
  padding: 6px 14px; border-radius: 50px;
  margin-bottom: 32px;
}

/* ── COOKIE BANNER ──────────────────────────────── */
#ost-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 5000;
  background: var(--ost-dark);
  border-top: 2px solid rgba(232,112,32,0.4);
  padding: 20px 28px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#ost-cookie-banner.ost-visible { transform: translateY(0); }
#ost-cookie-banner p { color: rgba(255,255,255,0.8); font-size: 0.88rem; flex: 1; min-width: 220px; margin: 0; }
#ost-cookie-banner p a { color: var(--ost-accent-light); }
.ost-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#ost-cookie-accept { background: var(--ost-accent); color: var(--ost-white); border: none; padding: 10px 22px; border-radius: 50px; cursor: pointer; font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 0.88rem; transition: var(--ost-transition); }
#ost-cookie-accept:hover { background: var(--ost-accent-light); }
#ost-cookie-decline { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.25); padding: 10px 18px; border-radius: 50px; cursor: pointer; font-family: 'Source Sans 3', sans-serif; font-size: 0.88rem; transition: var(--ost-transition); }
#ost-cookie-decline:hover { border-color: rgba(255,255,255,0.5); color: var(--ost-white); }

/* ── THANK YOU / MODAL ──────────────────────────── */
.ost-modal-backdrop {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(10,18,28,0.7);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.ost-modal-backdrop.ost-open { display: flex; }
.ost-modal-box {
  background: var(--ost-white);
  border-radius: var(--ost-radius-lg);
  padding: 50px 44px;
  max-width: 480px; width: 100%;
  text-align: center;
  animation: ost-fade-up 0.4s ease;
}
.ost-modal-icon { font-size: 3rem; color: var(--ost-success); margin-bottom: 16px; }
.ost-modal-close {
  background: none; border: none;
  position: absolute; top: 16px; right: 20px;
  font-size: 1.3rem; color: var(--ost-text-muted);
  cursor: pointer;
}

/* ── SCROLL TO TOP ──────────────────────────────── */
#ost-scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 4000;
  width: 44px; height: 44px;
  background: var(--ost-primary);
  color: var(--ost-white);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  box-shadow: var(--ost-shadow-md);
  opacity: 0; pointer-events: none;
  transition: var(--ost-transition);
}
#ost-scroll-top.ost-visible { opacity: 1; pointer-events: auto; }
#ost-scroll-top:hover { background: var(--ost-accent); transform: translateY(-3px); }

/* ── UTILITIES / SCROLL ANIMATIONS ─────────────── */
.ost-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.ost-reveal.ost-revealed { opacity: 1; transform: translateY(0); }
.ost-reveal-delay-1 { transition-delay: 0.1s; }
.ost-reveal-delay-2 { transition-delay: 0.2s; }
.ost-reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE HELPERS ─────────────────────────── */
@media (max-width: 768px) {
  .ost-section { padding: 60px 0; }
  .ost-estimate-card { padding: 28px 22px; }
  .ost-quiz-wrap { padding: 28px 22px; }
  .ost-testimonial-card { padding: 28px 24px; }
  .ost-contact-form-wrap { padding: 28px 22px; }
}

/* ── BUSINESS HOURS TABLE ───────────────────────── */
.ost-hours-table { width: 100%; border-collapse: collapse; }
.ost-hours-table tr { border-bottom: 1px solid var(--ost-border); }
.ost-hours-table td { padding: 10px 0; font-size: 0.92rem; }
.ost-hours-table td:last-child { text-align: right; color: var(--ost-text-muted); }
.ost-hours-today td { font-weight: 700; color: var(--ost-primary); }
.ost-hours-closed td:last-child { color: #e74c3c; }

/* ── VALUES CARDS ───────────────────────────────── */
.ost-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.ost-value-card {
  background: var(--ost-white);
  border-radius: var(--ost-radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--ost-shadow-sm);
  transition: var(--ost-transition);
  border-bottom: 3px solid transparent;
}
.ost-value-card:hover { transform: translateY(-4px); border-bottom-color: var(--ost-accent); box-shadow: var(--ost-shadow-md); }
.ost-value-icon { font-size: 2rem; color: var(--ost-primary); margin-bottom: 12px; }
.ost-value-card h4 { margin-bottom: 8px; }
.ost-value-card p { font-size: 0.88rem; color: var(--ost-text-muted); margin: 0; }

/* ── TRANSPARENCY BOX ───────────────────────────── */
.ost-transparency-box {
  background: linear-gradient(135deg, rgba(26,58,92,0.05) 0%, rgba(232,112,32,0.05) 100%);
  border: 1px solid var(--ost-border);
  border-radius: var(--ost-radius-lg);
  padding: 36px 40px;
  text-align: center;
  position: relative;
}
.ost-transparency-box::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--ost-accent);
  border-radius: 0 0 4px 4px;
}
