/* =========================================================
   Ironclad Wind Damage Repair — Main Stylesheet
   Colors: Gunmetal #2A2D34 | Chartreuse #7CB518 | Pale Lime #F4F7F0
   ========================================================= */

:root {
  --gunmetal: #2A2D34;
  --chartreuse: #7CB518;
  --bg: #F4F7F0;
  --text: #1A1A1A;
  --white: #FFFFFF;
  --light-gray: #E8EDE3;
  --mid-gray: #6B7280;
  --dark-green: #5A8A10;
  --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); background: var(--bg); color: var(--text); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--chartreuse); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.25; color: var(--gunmetal); }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1rem; }

/* ---- Layout Helpers ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section-alt { background: var(--light-gray); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

/* ---- Buttons ---- */
.btn { display: inline-block; padding: .75rem 1.75rem; border-radius: 4px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background .2s, color .2s; border: 2px solid transparent; }
.btn-primary { background: var(--chartreuse); color: var(--gunmetal); border-color: var(--chartreuse); }
.btn-primary:hover { background: var(--dark-green); border-color: var(--dark-green); color: var(--white); text-decoration: none; }
.btn-outline { background: transparent; color: var(--chartreuse); border-color: var(--chartreuse); }
.btn-outline:hover { background: var(--chartreuse); color: var(--gunmetal); text-decoration: none; }
.btn-white { background: var(--white); color: var(--gunmetal); border-color: var(--white); }
.btn-white:hover { background: var(--chartreuse); border-color: var(--chartreuse); color: var(--gunmetal); text-decoration: none; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }

/* ---- Header / Nav ---- */
.site-header { background: var(--gunmetal); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; max-width: 1140px; margin: 0 auto; }
.logo-wrap { display: flex; align-items: center; gap: .75rem; }
.logo-wrap img { height: 52px; max-width: 220px; object-fit: contain; }
.logo-placeholder { background: var(--chartreuse); color: var(--gunmetal); font-weight: 900; font-size: 1.1rem; padding: .5rem 1rem; border-radius: 4px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.logo-tagline { color: var(--light-gray); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: .3s; }

.main-nav ul { display: flex; gap: 1.5rem; align-items: center; }
.main-nav a { color: var(--white); font-weight: 600; font-size: .92rem; letter-spacing: .03em; transition: color .2s; }
.main-nav a:hover { color: var(--chartreuse); text-decoration: none; }
.main-nav .btn { color: var(--gunmetal); }

.nav-cta-phone { color: var(--chartreuse) !important; font-weight: 800 !important; font-size: 1rem !important; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--gunmetal); min-width: 220px; border-top: 3px solid var(--chartreuse); box-shadow: 0 4px 12px rgba(0,0,0,.3); z-index: 200; }
.dropdown li a { display: block; padding: .6rem 1.1rem; font-size: .88rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.has-dropdown:hover .dropdown { display: block; }

/* ---- Hero ---- */
.hero { background: var(--gunmetal); color: var(--white); padding: 5rem 0 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(42,45,52,.95) 50%, rgba(124,181,24,.15) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge { display: inline-block; background: var(--chartreuse); color: var(--gunmetal); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 3px; margin-bottom: 1rem; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--chartreuse); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-phone { color: var(--chartreuse); font-size: 1.3rem; font-weight: 800; }
.hero-phone a { color: inherit; }

/* Image placeholder */
.img-placeholder { background: var(--light-gray); border: 2px dashed #c0c8b8; display: flex; align-items: center; justify-content: center; color: var(--mid-gray); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; border-radius: 6px; min-height: 220px; }

/* ---- Trust Bar ---- */
.trust-bar { background: var(--chartreuse); padding: 1rem 0; }
.trust-bar-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--gunmetal); font-size: .9rem; }
.trust-item svg { width: 20px; height: 20px; fill: var(--gunmetal); flex-shrink: 0; }

/* ---- Services Grid ---- */
.service-card { background: var(--white); border-radius: 8px; padding: 2rem 1.5rem; box-shadow: 0 2px 10px rgba(0,0,0,.07); border-top: 4px solid var(--chartreuse); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.service-icon { width: 48px; height: 48px; background: var(--chartreuse); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-icon svg { width: 24px; height: 24px; fill: var(--gunmetal); }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--mid-gray); font-size: .92rem; margin-bottom: 1rem; }
.service-card a { font-weight: 700; color: var(--chartreuse); font-size: .9rem; }

/* ---- Section Headings ---- */
.section-heading { margin-bottom: 2.5rem; }
.section-heading .eyebrow { display: block; color: var(--chartreuse); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4rem; }
.section-heading h2 { color: var(--gunmetal); }
.section-heading p { color: var(--mid-gray); max-width: 600px; margin-top: .5rem; }

/* ---- Testimonials ---- */
.testimonial-card { background: var(--white); border-radius: 8px; padding: 1.75rem; box-shadow: 0 2px 10px rgba(0,0,0,.07); border-left: 4px solid var(--chartreuse); }
.stars { color: var(--chartreuse); font-size: 1.1rem; margin-bottom: .75rem; letter-spacing: .05em; }
.testimonial-card blockquote { font-style: italic; color: var(--text); margin-bottom: 1rem; font-size: .95rem; }
.reviewer { font-weight: 700; font-size: .88rem; color: var(--gunmetal); }
.reviewer span { font-weight: 400; color: var(--mid-gray); }

/* ---- CTA Band ---- */
.cta-band { background: var(--gunmetal); color: var(--white); padding: 3.5rem 0; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2rem; }
.cta-band .phone-large { font-size: 2rem; font-weight: 900; color: var(--chartreuse); display: block; margin-bottom: 1.5rem; }
.cta-band .phone-large a { color: inherit; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--light-gray); padding: 1.25rem 0; }
.faq-question { font-weight: 700; color: var(--gunmetal); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--chartreuse); flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { display: none; padding-top: .75rem; color: var(--mid-gray); font-size: .95rem; }
.faq-item.open .faq-answer { display: block; }

/* ---- Map Embed ---- */
.map-embed { border-radius: 8px; overflow: hidden; border: 3px solid var(--chartreuse); }
.map-embed iframe { width: 100%; height: 400px; border: none; display: block; }

/* ---- Contact Form ---- */
.contact-form { background: var(--white); border-radius: 8px; padding: 2.5rem; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .9rem; color: var(--gunmetal); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: .7rem 1rem; border: 2px solid var(--light-gray); border-radius: 4px; font-size: 1rem; font-family: var(--font-main); transition: border-color .2s; background: var(--bg); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--chartreuse); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-success { display: none; background: #d4edda; border: 1px solid #c3e6cb; color: #155724; padding: 1rem; border-radius: 4px; margin-top: 1rem; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-item { border-radius: 6px; overflow: hidden; background: var(--light-gray); border: 2px dashed #c0c8b8; min-height: 200px; display: flex; align-items: center; justify-content: center; color: var(--mid-gray); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ---- Info Cards ---- */
.info-card { background: var(--white); border-radius: 8px; padding: 1.75rem; box-shadow: 0 2px 8px rgba(0,0,0,.07); }
.info-card h3 { margin-bottom: .75rem; }
.info-card ul { list-style: disc; padding-left: 1.25rem; color: var(--mid-gray); font-size: .93rem; }
.info-card ul li { margin-bottom: .4rem; }

/* ---- Breadcrumb ---- */
.breadcrumb { padding: .75rem 0; font-size: .85rem; color: var(--mid-gray); }
.breadcrumb a { color: var(--chartreuse); }
.breadcrumb span { margin: 0 .4rem; }

/* ---- Page Hero (inner pages) ---- */
.page-hero { background: var(--gunmetal); color: var(--white); padding: 3rem 0 2.5rem; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; margin-top: .75rem; }

/* ---- Footer ---- */
.site-footer { background: var(--gunmetal); color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo-wrap img { height: 50px; max-width: 220px; object-fit: contain; margin-bottom: .75rem; }
.footer-logo-placeholder { background: var(--chartreuse); color: var(--gunmetal); font-weight: 900; font-size: 1rem; padding: .4rem .9rem; border-radius: 4px; display: inline-block; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-col h4 { color: var(--chartreuse); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.75); font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--chartreuse); text-decoration: none; }
.footer-nap p { font-size: .9rem; line-height: 1.8; }
.footer-nap a { color: var(--chartreuse); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.5); }

/* ---- Utility ---- */
.text-accent { color: var(--chartreuse); }
.bg-gunmetal { background: var(--gunmetal); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.fw-bold { font-weight: 700; }
.badge { display: inline-block; background: var(--chartreuse); color: var(--gunmetal); font-size: .75rem; font-weight: 800; padding: .2rem .6rem; border-radius: 3px; text-transform: uppercase; letter-spacing: .07em; }

/* ---- Step List ---- */
.step-list { counter-reset: steps; }
.step-item { display: flex; gap: 1.25rem; margin-bottom: 1.75rem; align-items: flex-start; }
.step-num { background: var(--chartreuse); color: var(--gunmetal); font-weight: 900; font-size: 1.1rem; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-content h3 { margin-bottom: .35rem; }
.step-content p { color: var(--mid-gray); font-size: .93rem; margin: 0; }

/* ---- Area Links ---- */
.area-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.area-links a { background: var(--white); border: 1px solid var(--chartreuse); color: var(--gunmetal); padding: .35rem .85rem; border-radius: 20px; font-size: .85rem; font-weight: 600; transition: background .2s; }
.area-links a:hover { background: var(--chartreuse); text-decoration: none; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--gunmetal); padding: 1rem 1.25rem; border-top: 3px solid var(--chartreuse); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: .25rem; }
  .main-nav ul li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav ul li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: .6rem 0; }
  .dropdown { position: static; box-shadow: none; border-top: none; padding-left: 1rem; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .cta-band .phone-large { font-size: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 2.5rem 0; }
}

@media (max-width: 480px) {
  .trust-bar-inner { gap: .75rem 1rem; }
  .trust-item { font-size: .8rem; }
}
