
/* ============================================================
   DOVES DENT HAIL REPAIR — Main Stylesheet
   Brand: Navy #1B2847 | Gold #C6A25A | Silver #8C94A0
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Open Sans', sans-serif; color: #1a1a2e; background: #fff; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ── Brand Variables ── */
:root {
  --navy:       #1B2847;
  --navy-dark:  #111827;
  --navy-mid:   #243458;
  --gold:       #C6A25A;
  --gold-dark:  #b8913f;
  --silver:     #8C94A0;
  --cream:      #F5F2EB;
  --white:      #FFFFFF;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(27,40,71,.12);
  --shadow-lg:  0 10px 48px rgba(27,40,71,.2);
  --trans:      .25s ease;
}

/* ── Typography ── */
h1,h2,h3,h4,h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { line-height: 1.78; color: var(--muted); }

.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.mt-2  { margin-top: 12px; }
.mt-4  { margin-top: 24px; }
.mt-8  { margin-top: 48px; }
.mb-4  { margin-bottom: 24px; }

/* ── Layout ── */
.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 24px;
}
.section { padding: 88px 0; }
.section-cream  { background: var(--cream); }
.section-white  { background: var(--white); }
.section-navy   { background: var(--navy); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header .subtitle {
  font-size: 1.05rem; color: var(--muted);
  max-width: 620px; margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
  transition: all var(--trans); line-height: 1;
}
.btn-gold         { background: var(--gold);   color: var(--navy);  border-color: var(--gold); }
.btn-gold:hover   { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(198,162,90,.35); }
.btn-navy         { background: var(--navy);   color: var(--white); border-color: var(--navy); }
.btn-navy:hover   { background: var(--navy-mid); transform: translateY(-2px); }
.btn-outline-white{ background: transparent;   color: var(--white); border-color: rgba(255,255,255,.65); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-outline-navy { background: transparent;   color: var(--navy);  border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-lg    { padding: 16px 36px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ── Honeypot field (anti-spam) ── */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy); transition: box-shadow var(--trans);
}
.navbar.scrolled { box-shadow: 0 2px 28px rgba(0,0,0,.45); }
.nav-inner {
  display: flex; align-items: center; gap: 20px; height: 76px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 50px; width: auto; border-radius: 6px; }
.nav-brand {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 1rem; color: var(--white); line-height: 1.3;
}
.nav-brand span {
  display: block; color: var(--gold);
  font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 2px; margin-left: auto;
}
.nav-links a {
  padding: 8px 13px; color: rgba(255,255,255,.82);
  font-family: 'Montserrat', sans-serif; font-size: .88rem; font-weight: 500;
  border-radius: 6px; transition: all var(--trans);
}
.nav-links a:hover { color: var(--gold); background: rgba(255,255,255,.06); }
.nav-ctas { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-ctas .btn { padding: 9px 16px; font-size: .83rem; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  background-image: url('../images/hero-bg.jpg');
  background-size: cover; background-position: center top;
  padding-top: 76px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(17,24,39,.90) 0%, rgba(27,40,71,.78) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 820px; padding: 88px 0;
}
.hero-badge {
  display: inline-block;
  background: rgba(198,162,90,.18); border: 1px solid var(--gold);
  color: var(--gold); padding: 6px 18px; border-radius: 50px;
  font-family: 'Montserrat', sans-serif; font-size: .83rem; font-weight: 600;
  letter-spacing: .6px; margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero > div p { font-size: 1.13rem; color: rgba(255,255,255,.78); max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust span {
  color: rgba(255,255,255,.68);
  font-family: 'Montserrat', sans-serif; font-size: .87rem;
}

/* ── Trust Bar ── */
.trust-bar { background: var(--gold); padding: 18px 0; }
.trust-items {
  display: flex; align-items: center;
  justify-content: space-around; flex-wrap: wrap; gap: 16px;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { font-size: 1.7rem; }
.trust-item strong {
  display: block; font-family: 'Montserrat', sans-serif;
  font-size: .93rem; color: var(--navy);
}
.trust-item span { font-size: .78rem; color: rgba(27,40,71,.68); }

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service-icon { font-size: 2.7rem; margin-bottom: 18px; }
.service-card h3 { color: var(--navy); margin-bottom: 10px; }
.service-card p   { margin-bottom: 18px; }
.service-link {
  color: var(--gold); font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: .88rem; transition: color var(--trans);
}
.service-link:hover { color: var(--navy); }

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step {
  text-align: center; padding: 36px 24px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.step-num {
  width: 56px; height: 56px; background: var(--navy); color: var(--gold);
  border-radius: 50%; font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { color: var(--navy); margin-bottom: 10px; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--navy);
  background-image: url('../images/cta-bg.jpg');
  background-size: cover; background-position: center;
  padding: 88px 0; text-align: center; position: relative;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(17,24,39,.85);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2  { color: var(--white); margin-bottom: 16px; }
.cta-banner > div > p {
  color: rgba(255,255,255,.74); font-size: 1.08rem; margin-bottom: 36px;
  max-width: 580px; margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Why Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.why-card {
  padding: 32px; border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg); text-align: center;
  transition: box-shadow var(--trans), border-color var(--trans);
}
.why-card:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.why-card .icon { font-size: 2.4rem; margin-bottom: 14px; }
.why-card h3    { color: var(--navy); margin-bottom: 10px; }

/* ── Reviews ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.review-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text  { font-style: italic; color: var(--muted); margin-bottom: 18px; line-height: 1.82; }
.reviewer-name { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); }
.reviewer-loc  { font-size: .83rem; color: var(--silver); }

/* ── FAQ ── */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid #e5e7eb; border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 20px 24px; background: var(--white);
  border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .97rem; color: var(--navy);
  transition: background var(--trans);
}
.faq-q:hover { background: var(--cream); }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--gold); flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q  { background: var(--navy); color: var(--white); }
.faq-item.open .faq-q::after { content: '\2212'; color: var(--gold); }
.faq-a { display: none; padding: 20px 24px; background: var(--cream); line-height: 1.82; }
.faq-item.open .faq-a { display: block; }

/* ── Contact ── */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start;
}
.contact-info h2   { color: var(--navy); margin-bottom: 18px; }
.contact-info > p  { margin-bottom: 32px; }
.contact-details   { display: flex; flex-direction: column; gap: 22px; }
.contact-detail    { display: flex; align-items: flex-start; gap: 14px; }
.contact-detail .ico { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; color: var(--navy); font-family: 'Montserrat', sans-serif; font-size: .9rem; margin-bottom: 3px; }
.contact-detail a  { color: var(--gold); font-weight: 600; font-size: .95rem; }
.contact-detail a:hover { color: var(--navy); }
.contact-detail span { font-size: .88rem; color: var(--muted); }
.form-wrap  {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-lg);
}
.form-wrap h3 {
  color: var(--navy); font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem; margin-bottom: 24px;
  padding-bottom: 14px; border-bottom: 2px solid var(--gold);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: .82rem; color: var(--navy);
  margin-bottom: 5px; letter-spacing: .3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 15px; border: 1.5px solid #e0e4ec;
  border-radius: var(--radius); font-family: 'Open Sans', sans-serif;
  font-size: .93rem; color: var(--text); background: #fafbfc;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(198,162,90,.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note  { font-size: .78rem; color: var(--silver); text-align: center; margin-top: 10px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--navy); padding: 120px 0 56px; text-align: center;
}
.page-hero h1   { color: var(--white); margin-bottom: 14px; }
.page-hero .sub { color: rgba(255,255,255,.72); font-size: 1.08rem; max-width: 600px; margin: 0 auto; }
.breadcrumb     { font-size: .83rem; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.breadcrumb a   { color: var(--gold); }

/* ── Services page detail ── */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%;
}
.service-detail .sd-text h2  { color: var(--navy); margin-bottom: 16px; }
.service-detail .sd-text p   { margin-bottom: 20px; }
.sd-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.sd-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .93rem; }
.sd-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── Footer ── */
footer { background: var(--navy-dark); color: rgba(255,255,255,.72); padding: 64px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 48px;
}
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-row img  { height: 54px; border-radius: 6px; }
.footer-biz-name      { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--white); line-height: 1.35; }
.footer-biz-name span { display: block; color: var(--gold); font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-tagline { font-size: .88rem; line-height: 1.72; margin-bottom: 0; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif; color: var(--white);
  font-size: .78rem; letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--gold); display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--trans);
}
.footer-col ul a:hover { color: var(--gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list a {
  color: rgba(255,255,255,.78); display: flex; align-items: center; gap: 10px;
  font-size: .88rem; transition: color var(--trans);
}
.footer-contact-list a:hover { color: var(--gold); }
.footer-contact-list .meta { color: rgba(255,255,255,.42); font-size: .8rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.4);
}

/* ── Mobile sticky action bar ── */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: var(--navy-dark); border-top: 2px solid var(--gold);
}
.mobile-bar a {
  flex: 1; padding: 13px 10px; text-align: center;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.mobile-bar a:first-child { color: var(--white); border-right: 1px solid rgba(255,255,255,.15); }
.mobile-bar a:last-child  { background: var(--gold); color: var(--navy); }

/* ── FAQ full page ── */
.faq-categories { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; justify-content: center; }
.faq-cat-btn {
  padding: 8px 20px; border-radius: 50px; border: 2px solid var(--navy);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .85rem;
  cursor: pointer; background: var(--white); color: var(--navy); transition: all var(--trans);
}
.faq-cat-btn.active,
.faq-cat-btn:hover { background: var(--navy); color: var(--white); }

/* ── Contact page service map ── */
.map-placeholder {
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  margin-top: 32px;
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

.map-caption {
  margin: 0;
  padding: 12px 14px;
  font-size: .86rem;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
}
@media (max-width: 768px) {
  .nav-links,
  .nav-ctas  { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--navy-dark); padding: 16px 24px; gap: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
  }
  .nav-links.open a { padding: 12px; font-size: .95rem; }
  .hamburger     { display: flex; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 36px; }
  .hero-actions  { flex-direction: column; align-items: flex-start; }
  .form-row      { grid-template-columns: 1fr; }
  .trust-items   { justify-content: center; }
  .mobile-bar    { display: flex; }
  body           { padding-bottom: 60px; }
  .hero-content  { padding: 60px 0; }
}
@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .cta-actions { flex-direction: column; align-items: center; }
}
