/* ===========================================================
   Angels Insulation LLC — site styles
   Theme: Blue & White, with a warm amber accent on CTAs.
   Mobile-first. Hand-editable: change colors in :root below.
   =========================================================== */

:root {
  /* Brand blues */
  --primary: #0b4a8f;        /* main brand blue */
  --primary-dark: #07346b;   /* darker blue (hover, footer) */
  --navy: #062a55;           /* deep navy for dark bands */
  --header-bg: #043985;      /* exact blue from the company logo */
  --blue-tint: #eaf2fc;      /* very light blue background */
  --blue-tint-2: #d7e6f8;    /* slightly deeper tint */

  /* Warm accent for CTAs */
  --accent: #f59e0b;         /* amber */
  --accent-dark: #d97706;    /* amber hover */
  --on-accent: #1a2230;      /* dark text on amber (high contrast) */

  /* Neutrals */
  --ink: #18222f;            /* body text */
  --muted: #51607a;          /* secondary text */
  --line: #e2e8f0;           /* borders */
  --white: #ffffff;
  --bg: #ffffff;

  /* System */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(7, 52, 107, 0.10);
  --shadow-lg: 0 16px 48px rgba(7, 52, 107, 0.16);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--tint { background: var(--blue-tint); }
.section--navy { background: var(--navy); color: #dbe8fb; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 700;
  font-size: .8rem; color: var(--primary); margin-bottom: .5rem; }
.section--navy .eyebrow { color: var(--accent); }
.visually-hidden { position:absolute!important; width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0); }
.skip-link { position:absolute; left:-999px; top:0; background:var(--accent); color:var(--on-accent);
  padding:10px 16px; z-index:1000; border-radius:0 0 8px 0; font-weight:700; }
.skip-link:focus { left:0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 800; font-size: 1.02rem; line-height: 1;
  padding: 16px 24px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  min-height: 52px; transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-dark); color: var(--on-accent); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-on-dark { background: #fff; color: var(--navy); }
.btn-on-dark:hover { background: var(--blue-tint); color: var(--navy); }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 48px; width: auto; display: block; }

.nav { display: none; align-items: center; gap: 4px; }
.nav a { color: #fff; font-weight: 600; padding: 10px 12px; border-radius: 6px; }
.nav a:hover { background: rgba(255,255,255,.16); text-decoration: none; }
.nav .has-dropdown { position: relative; }
.nav .dropdown { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: 8px; display: none; }
.nav .has-dropdown:hover .dropdown,
.nav .has-dropdown:focus-within .dropdown { display: block; }
.nav .dropdown a { display: block; padding: 9px 12px; color: var(--ink); }
.nav .dropdown a:hover { background: var(--blue-tint); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; }

/* mobile menu toggle */
.menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none;
  border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 20px; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--line); }
.mobile-nav a:hover { background: var(--blue-tint); text-decoration: none; }
.mobile-nav .sub { padding-left: 36px; font-weight: 500; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { background: var(--header-bg); color: #fff; padding: 64px 0; }
.hero h1 { color: #fff; }
.hero p { color: #d6e6fb; font-size: 1.18rem; max-width: 56ch; }
.hero .btn-row { margin-top: 26px; }
.hero-grid { display: grid; gap: 32px; }
.hero-card { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius); padding: 22px; backdrop-filter: blur(2px); }
.hero-photo { background: rgba(255,255,255,.08); border:1px dashed rgba(255,255,255,.4);
  border-radius: var(--radius); min-height: 240px; display:flex; align-items:center;
  justify-content:center; text-align:center; color:#cfe0f7; padding:20px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy); color: #fff; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 8px 28px;
  justify-content: center; align-items: center; padding-top: 14px; padding-bottom: 14px;
  font-weight: 700; text-align: center; }
.trust-strip .dot { color: var(--accent); }
.trust-strip svg { width: 18px; height: 18px; vertical-align: -3px; color: var(--accent); }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease;
  display: flex; flex-direction: column;
}
a.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon-wrap { width: 54px; height: 54px; border-radius: 12px; background: var(--blue-tint);
  color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card .icon-wrap svg { width: 30px; height: 30px; }
.card h3 { color: var(--navy); }
.card p { color: var(--muted); margin-bottom: 14px; }
.card .card-link { margin-top: auto; font-weight: 800; color: var(--primary); }
.card .card-link::after { content: " →"; }

/* ---------- Why choose us ---------- */
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .icon-wrap { flex: none; width: 46px; height: 46px; border-radius: 10px;
  background: var(--blue-tint); color: var(--primary); display:flex; align-items:center; justify-content:center; }
.feature .icon-wrap svg { width: 26px; height: 26px; }
/* inline icons used directly in contact rows + footer (size them down) */
.feature > svg { width: 22px; height: 22px; flex: none; color: var(--primary); margin-top: 2px; }
.footer-contact svg { width: 18px; height: 18px; vertical-align: -4px; flex: none; }
.feature h3 { margin-bottom: .25em; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Service-area / map ---------- */
.area-grid { display: grid; gap: 28px; align-items: center; }
.city-links { display: flex; flex-wrap: wrap; gap: 10px; }
.city-links a { background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-weight: 600; color: var(--primary); }
.city-links a:hover { background: var(--primary); color: #fff; text-decoration: none; }
.map-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); }
.map-wrap svg, .map-wrap img { width: 100%; height: auto; display: block; border-radius: 8px; }
.map-caption { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); }
.stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 8px; }
.review p { font-style: italic; color: var(--ink); }
.review .who { font-style: normal; font-weight: 800; color: var(--navy); margin: 0; }
.todo-badge { display:inline-block; background:#fff3cd; color:#8a6100; border:1px solid #ffe69c;
  font-size:.72rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase;
  padding:3px 8px; border-radius:6px; }

/* ---------- Photo placeholders ---------- */
.photo-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.photo-ph { background: var(--blue-tint); border: 1px dashed var(--blue-tint-2);
  border-radius: var(--radius); min-height: 180px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: var(--primary);
  padding: 18px; font-weight: 600; gap: 8px; }
.photo-ph svg { width: 40px; height: 40px; opacity: .7; }
.photo-ph small { color: var(--muted); font-weight: 500; }

/* ---------- Final CTA band ---------- */
.cta-band { background: var(--header-bg); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e6fb; }
.cta-grid { display: grid; gap: 28px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-lg); color: var(--ink); }
.form-card h3 { margin-top: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); font-size: .95rem; }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-size: 1rem; font-family: inherit;
  border: 1px solid #cbd5e1; border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(11,74,143,.25); border-color: var(--primary);
}
.field textarea { min-height: 96px; resize: vertical; }
.field-error { color: #c0392b; font-size: .85rem; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .field-error { display: block; }
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
.form-note { font-size: .85rem; color: var(--ink); margin-top: 6px; }
.cta-band .form-note { color: var(--ink); }
.form-success { display: none; background: #e7f6ec; border: 1px solid #b6e0c4; color: #1b6b39;
  border-radius: var(--radius); padding: 22px; text-align: center; }
.form-success.show { display: block; }
.form-success svg { width: 46px; height: 46px; color: #1b9e4b; margin: 0 auto 8px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--primary); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--header-bg); color: #fff;
  padding: 48px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d6e6fb; max-width: 60ch; }

/* ---------- Two-column content ---------- */
.content-grid { display: grid; gap: 36px; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  background: var(--accent); border-radius: 50%; }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 10px;
  border: solid var(--on-accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
  display: flex; gap: 0; background: var(--navy); box-shadow: 0 -4px 18px rgba(0,0,0,.2); }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 8px; font-weight: 800; font-size: 1rem; }
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar .mb-call { background: var(--accent); color: var(--on-accent); }
.mobile-bar .mb-quote { background: transparent; color: #fff; }
.mobile-bar svg { width: 20px; height: 20px; }
body { padding-bottom: 64px; } /* room for mobile bar */

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c9d8ee; padding: 48px 0 24px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.site-footer a { color: #c9d8ee; }
.site-footer a:hover { color: #fff; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; }
.footer-logo { height: 56px; width: auto; display: block; margin-bottom: 6px; }
.footer-contact a { font-weight: 700; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px;
  font-size: .85rem; color: #9fb6d6; display:flex; flex-wrap:wrap; gap:8px 18px; justify-content:space-between; }
.footer-reminder { background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.4);
  color: #ffe2ac; border-radius: 10px; padding: 12px 16px; font-weight: 700; margin-bottom: 20px; }

/* =====================================================
   Responsive — scale up from mobile
   ===================================================== */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .area-grid { grid-template-columns: 1.1fr .9fr; }
  .content-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .cta-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }

  .nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .header-phone { display: inline-flex; }
  .brand-logo { height: 56px; }

  /* hide sticky mobile bar on desktop */
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* real photos */
.hero-img { width:100%; height:auto; display:block; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.photo-img { width:100%; height:auto; display:block; border-radius: var(--radius); border:1px solid var(--line); }
