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

:root {
  --primary:   #1d4ed8;
  --secondary: #111827;
  --accent:    #f59e0b;
  --text:      #1f2937;
  --muted:     #6b7280;
  --light:     #f9fafb;
  --white:     #ffffff;
  --radius:    8px;
  --shadow:    0 2px 8px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
       color: var(--text); line-height: 1.6; }

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--accent); text-decoration: none; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
}
.btn:hover { opacity: .9; transform: translateY(-1px); }
.btn-primary  { background: var(--accent); color: var(--secondary); }
.btn-outline  { background: transparent; color: var(--white);
                border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--secondary); }

/* ── Nav ─────────────────────────────────────────────────────── */
.site-nav {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.nav-brand { display: flex; align-items: center; gap: .75rem; }
.nav-logo      { height: 44px; width: auto; border-radius: 4px; }
.nav-logo-only { height: 56px; border-radius: 4px; }
.nav-name   { color: var(--secondary); font-size: clamp(.88rem, 3vw, 1.15rem); font-weight: 700;
              line-height: 1.2; }
.nav-trade  { color: var(--primary); font-size: .8rem; font-weight: 500;
              text-transform: uppercase; letter-spacing: .04em; }
.nav-phone  { color: var(--secondary); font-weight: 700;
              font-size: clamp(.72rem, 3vw, 1.05rem);
              white-space: nowrap; }
.nav-phone:hover { color: var(--primary); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--secondary);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
}
.hero-content {
  position: relative;
  padding: 3rem 1.5rem;
  max-width: 700px;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.hero-content p {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Section base ────────────────────────────────────────────── */
section { padding: 4rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: .5rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.accent-bar {
  width: 50px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: .75rem;
}

/* ── Services ────────────────────────────────────────────────── */
.services { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.service-card p  { color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* ── About ───────────────────────────────────────────────────── */
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text p { color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.about-image img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3;
                   object-fit: cover; box-shadow: var(--shadow); }

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery { background: var(--light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact { background: var(--secondary); color: var(--white); }
.contact .section-title { color: var(--white); }
.contact .section-sub   { color: rgba(255,255,255,.65); }
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info p { color: rgba(255,255,255,.8); margin-bottom: .6rem; font-size: .95rem; }
.contact-info strong { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: .9rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.4); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

.sent-msg  { background: #065f46; color: #d1fae5; padding: .75rem 1rem;
             border-radius: var(--radius); margin-bottom: 1rem; font-size: .95rem; }
.error-msg { background: #7f1d1d; color: #fecaca; padding: .75rem 1rem;
             border-radius: var(--radius); margin-bottom: 1rem; font-size: .95rem; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: #0a0f1a;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  padding: 1.5rem;
  text-align: center;
}
.site-footer a { color: rgba(255,255,255,.6); }
.site-footer a:hover { color: var(--accent); }
.footer-upgrade {
  display: inline-block;
  margin-top: .5rem;
  padding: .35rem .9rem;
  background: var(--accent);
  color: var(--secondary) !important;
  font-weight: 700;
  border-radius: 20px;
  font-size: .8rem;
}

/* ── Ad banner (free tier) ───────────────────────────────────── */
.ad-banner {
  background: #fefce8;
  border-bottom: 1px solid #fde68a;
  text-align: center;
  padding: .5rem 1rem;
  font-size: .85rem;
  color: #78350f;
}
.ad-banner a { color: #92400e; font-weight: 600; }

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials { background: var(--secondary); }
.testimonials .section-title { color: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--accent);
}
.testimonial-quote {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial-name {
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq { background: var(--light); }
.faq-container { max-width: 720px; }
.faq-list { display: flex; flex-direction: column; gap: .5rem; margin-top: .5rem; }
.faq-item { background: var(--white); border-radius: var(--radius); border: 1px solid #e5e7eb; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.1rem 1.25rem; font-size: 1rem; font-weight: 600;
  color: var(--text); cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; font-family: inherit;
}
.faq-q:hover { color: var(--primary); }
.faq-icon { font-size: 1.3rem; font-weight: 400; flex-shrink: 0; transition: transform .2s; color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 1.25rem 1.1rem; }
.faq-item.open .faq-a { display: block; }
.faq-a p { color: var(--muted); line-height: 1.7; }

/* ── Nav socials ─────────────────────────────────────────────── */
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-socials { display: flex; align-items: center; gap: .35rem; }
.nav-social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  color: var(--muted);
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-social-icon svg { width: 18px; height: 18px; }
.nav-social-icon:hover { color: var(--accent); background: rgba(255,255,255,.08); }

/* ── House ad (free tier) ────────────────────────────────────── */
.house-ad { background: var(--light); padding: 1.5rem; border-top: 1px solid #e5e7eb; }
.house-ad-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
}
.house-ad-img {
  width: 72px; height: 72px;
  object-fit: contain; border-radius: 6px;
  flex-shrink: 0; background: var(--light); padding: 4px;
}
.house-ad-label {
  display: block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: .2rem;
}
.house-ad-body { flex: 1; min-width: 0; }
.house-ad-body strong { display: block; font-size: 1rem; color: var(--text); line-height: 1.3; margin-bottom: .2rem; }
.house-ad-body p  { font-size: .88rem; color: var(--muted); line-height: 1.4; margin: 0; }
.house-ad-cta {
  display: inline-block; white-space: nowrap; flex-shrink: 0;
  background: var(--accent); color: var(--secondary);
  font-weight: 700; font-size: .88rem;
  padding: .55rem 1.1rem; border-radius: var(--radius); transition: opacity .2s;
}
.house-ad-cta:hover { opacity: .85; color: var(--secondary); }
@media (max-width: 560px) {
  .house-ad-inner { flex-wrap: wrap; }
  .house-ad-cta   { width: 100%; text-align: center; }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .about .container  { grid-template-columns: 1fr; }
  .about-image       { order: -1; }
  .contact .container{ grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .nav-name          { font-size: 1rem; }
}
@media (max-width: 480px) {
  .nav-phone { font-size: .78rem; }
  .nav-name  { font-size: .88rem; }
}
