/* =====================================================================
   REUSABLE 5-PAGE TEMPLATE STYLESHEET
   ---------------------------------------------------------------------
   TO RESKIN A NEW CLIENT SITE:
   1. Change the variables in :root below (colors + fonts). That alone
      changes the entire look of every page.
   2. Nothing else in this file should need editing for a normal reskin.
   ===================================================================== */

:root {
  /* ---- BRAND COLORS: change these 5 lines per client ---- */
  --color-primary: #4338ca;       /* main brand color (buttons, links, accents) */
  --color-primary-dark: #3730a3;  /* hover/darker shade of primary */
  --color-accent: #eab308;        /* secondary accent color (badges, highlights) */
  --color-dark: #111827;          /* headings, footer background */
  --color-text: #4b5563;          /* body text */

  /* ---- NEUTRALS: rarely need to change ---- */
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-border: #e5e7eb;
  --color-white: #ffffff;

  /* ---- FONTS: swap the Google Fonts <link> in each HTML <head> to match ---- */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 12px;
  --max-width: 1160px;
  --shadow: 0 4px 20px rgba(17, 24, 39, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a { color: var(--color-primary); text-decoration: none; }

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

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

.section { padding: 72px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header p { color: var(--color-text); }
.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  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-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: var(--color-white); color: var(--color-white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline-dark:hover { background: var(--color-primary); color: var(--color-white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-dark);
}
.nav-logo span { color: var(--color-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--color-dark);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-primary); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-weight: 600; color: var(--color-dark); font-size: 0.95rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--color-dark); }

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-phone { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--color-dark), #1f2937);
  color: var(--color-white);
  padding: 96px 0;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--color-white); font-size: 3rem; margin-bottom: 18px; }
.hero p.lead { color: #d1d5db; font-size: 1.15rem; margin-bottom: 28px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image img { box-shadow: var(--shadow); }
.hero-small {
  padding: 56px 0;
  background: var(--color-dark);
  color: var(--color-white);
  text-align: center;
}
.hero-small h1 { color: var(--color-white); font-size: 2.4rem; }
.hero-small .breadcrumb { color: #9ca3af; margin-top: 8px; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}
.trust-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.trust-bar .stat strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-primary); }
.trust-bar .stat span { font-size: 0.85rem; color: var(--color-text); }

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

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: var(--color-primary);
}
.card h3 { margin-bottom: 10px; }
.card .price { font-weight: 700; color: var(--color-primary); margin-top: 10px; display: block; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--color-white);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.testimonial p { font-style: italic; }
.testimonial .author { font-weight: 600; color: var(--color-dark); font-style: normal; margin-top: 12px; }
.testimonial .author span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--color-text); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 56px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--color-white); }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 520px; margin: 0 auto 24px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-grid img { width: 100%; height: 260px; object-fit: cover; }
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.credentials { list-style: none; margin-top: 20px; }
.credentials li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.credentials li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--color-primary); font-weight: 700;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin-top: 20px; }
.info-list li { margin-bottom: 18px; padding-left: 30px; position: relative; }
.info-list li strong { display: block; color: var(--color-dark); }
.info-list li .icon-dot {
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 28px;
}
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

form.contact-form { background: var(--color-bg-alt); padding: 32px; border-radius: var(--radius); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--color-dark); font-size: 0.9rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--color-text); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: #d1d5db; padding: 56px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--color-white); margin-bottom: 16px; font-size: 1rem; }
.footer-grid p, .footer-grid a { color: #9ca3af; font-size: 0.9rem; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a:hover { color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #6b7280;
}
.footer-bottom a { color: #9ca3af; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
