/* ===========================================================
   Albee Lux — Electrical Repairs & Installations
   Clean & professional theme
   =========================================================== */

:root {
  --navy: #0d2440;
  --navy-deep: #081a30;
  --blue: #1f6fd6;
  --blue-dark: #155bb0;
  --amber: #ffc233;
  --amber-dark: #e8a800;
  --ink: #16202c;
  --slate: #51627a;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eef4fb;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(13, 36, 64, .08);
  --shadow: 0 10px 30px rgba(13, 36, 64, .10);
  --shadow-lg: 0 20px 50px rgba(13, 36, 64, .16);
  --maxw: 1140px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

/* Accessibility: skip link + focus visibility */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 11px 18px;
  border-radius: 0 0 10px 10px; font-weight: 700; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; outline: 3px solid var(--amber); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.btn:focus-visible { outline-offset: 3px; }
main:focus { outline: none; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 { line-height: 1.18; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--slate); }

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

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--amber); }

.lead { font-size: 1.12rem; color: var(--slate); max-width: 640px; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(255, 194, 51, .35); }
.btn-primary:hover { background: var(--amber-dark); color: var(--navy-deep); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); font-size: 1.32rem; letter-spacing: -.02em; }
.brand:hover { color: var(--navy); }
.brand .logo {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.brand .logo svg { width: 23px; height: 23px; }
.brand small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .16em; color: var(--blue); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: var(--ink); font-weight: 600; font-size: .98rem;
  padding: 9px 15px; border-radius: 9px;
}
.nav-links a:hover { background: var(--bg-tint); color: var(--navy); }
.nav-links a.active { color: var(--blue); }
.nav-cta { margin-left: 10px; }

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

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(31,111,214,.30), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(255,194,51,.14), transparent 55%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 86px; padding-bottom: 92px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--amber); }
.hero p { color: #cfdcec; font-size: 1.15rem; margin-top: 20px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 40px; }
.hero-trust div { display: flex; align-items: center; gap: 10px; color: #dbe6f3; font-size: .95rem; font-weight: 600; }
.hero-trust svg { width: 20px; height: 20px; color: var(--amber); flex: none; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 34px;
  backdrop-filter: blur(8px);
}
.hero-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.hero-card p { color: #b9c8da; margin-top: 0; font-size: .96rem; }
.hero-card .row { display: flex; align-items: flex-start; gap: 15px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
.hero-card .row:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card .ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(255,194,51,.16); color: var(--amber); }
.hero-card .ic svg { width: 22px; height: 22px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy-deep); color: #fff; }
.trustbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px; padding: 26px 24px; }
.trustbar .stat { text-align: center; }
.trustbar .stat b { display: block; font-size: 1.9rem; color: var(--amber); font-weight: 800; line-height: 1; }
.trustbar .stat span { font-size: .82rem; color: #b9c8da; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0f5; }
.card .ic {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--bg-tint); color: var(--blue);
}
.card .ic svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; }
.card ul { margin-top: 14px; padding-left: 0; list-style: none; }
.card ul li { position: relative; padding-left: 26px; margin: 7px 0; color: var(--slate); font-size: .95rem; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 4px rgba(255,194,51,.18);
}

.section-head { max-width: 680px; margin: 0 auto 52px; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .panel {
  background: linear-gradient(160deg, var(--navy), var(--blue-dark));
  border-radius: 20px; padding: 44px; color: #fff; box-shadow: var(--shadow);
}
.split .panel h3 { color: #fff; }
.checklist { list-style: none; margin-top: 8px; }
.checklist li { position: relative; padding-left: 36px; margin: 16px 0; color: var(--ink); font-weight: 500; }
.checklist li b { color: var(--navy); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/16px no-repeat;
}
.panel .checklist li { color: #eaf1fa; }
.panel .checklist li::before { background: var(--amber); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step .num {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
  background: var(--navy); color: var(--amber);
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255,194,51,.18), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff; border-radius: 22px; padding: 56px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfdcec; max-width: 560px; margin: 14px auto 0; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value .ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-tint); color: var(--blue); margin-bottom: 16px; }
.value .ic svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.12rem; margin-bottom: 6px; }
.value p { font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 12px 30px; }
.info-row { display: flex; align-items: flex-start; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 48px; height: 48px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--bg-tint); color: var(--blue); }
.info-row .ic svg { width: 23px; height: 23px; }
.info-row b { display: block; color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.info-row a, .info-row span { color: var(--slate); font-size: 1.05rem; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
  color: var(--ink); transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: 14px; text-align: center; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 30px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Page banner ---------- */
.page-banner {
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(31,111,214,.34), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff; padding: 70px 0 64px; text-align: center;
}
.page-banner h1 { color: #fff; }
.page-banner p { color: #cfdcec; max-width: 600px; margin: 14px auto 0; font-size: 1.1rem; }
.crumbs { font-size: .9rem; color: #9fb4cc; margin-bottom: 14px; }
.crumbs a { color: var(--amber); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c4d2e3; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand small { color: var(--amber); }
.site-footer p { color: #9fb1c6; font-size: .96rem; }
.foot-links { list-style: none; }
.foot-links li { margin: 9px 0; }
.foot-links a { color: #b6c6d9; font-size: .96rem; }
.foot-links a:hover { color: var(--amber); }
.foot-contact { list-style: none; }
.foot-contact li { display: flex; gap: 11px; margin: 12px 0; color: #b6c6d9; font-size: .96rem; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 3px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #8ea2b8; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .3s ease; visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: 14px 12px; border-radius: 9px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: block; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .values { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .grid-3, .grid-2, .values, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band, .split .panel { padding: 34px 24px; }
  .hero-cta .btn, .cta-band .btn { width: 100%; justify-content: center; }
}
