/* =========================================================
   Laser Electrical Dunedin — modern site styles
   ========================================================= */
:root {
    --navy: #062b45;
    --navy-deep: #031d30;
    --blue: #00a7df;
    --yellow: #ffe500;
    --ink: #10212d;
    --muted: #62727e;
    --light: #f4f7f8;
    --white: #fff;
    --border: #dfe7eb;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(3, 29, 48, .10);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(6,43,69,.08);
}

.header-inner {
    min-height: 82px;
    width: min(1280px, calc(100% - 40px));
    margin: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo-section { display: flex; align-items: center; flex-shrink: 0; }
.logo-section img { width: 120px; height: auto; display: block; }
.logo-text { color: var(--navy); font-size: 20px; font-weight: 800; margin-left: 8px; }

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: auto;
}

.main-nav a {
    padding: 10px 13px;
    font-size: 14px;
    font-weight: 700;
    color: #3b4c57;
    border-radius: 8px;
    transition: .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); background: #eef7fa; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-link { font-weight: 800; color: var(--navy); white-space: nowrap; }

.header-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 9px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.header-cta { background: var(--yellow); color: var(--navy); }
.header-cta:hover, .btn:hover { transform: translateY(-2px); }

.nav-toggle { display: none; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display:block; width:26px; height:2px; margin:5px; background:var(--navy); }

/* Hero */
.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(3,29,48,.97) 0%, rgba(3,29,48,.87) 42%, rgba(3,29,48,.28) 100%),
        url('https://lh3.googleusercontent.com/d/1n3WuiKebpdpLfmptGzkXzE0fi_H3AoFw') center/cover;
}

.hero-content { padding-top: 30px; padding-bottom: 50px; position: relative; z-index: 2; }
.eyebrow { font-size: 12px; letter-spacing: 2.4px; font-weight: 900; color: var(--yellow); margin-bottom: 16px; }
.eyebrow.dark { color: #078ab9; }

.hero h1 {
    max-width: 720px;
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    line-height: .98;
    letter-spacing: -4px;
    margin-bottom: 25px;
}
.hero h1 strong { color: var(--yellow); }

.hero-lead { max-width: 650px; font-size: 19px; color: rgba(255,255,255,.88); }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:32px; }
.btn-yellow { background:var(--yellow); color:var(--navy); }
.btn-outline { border:1px solid rgba(255,255,255,.55); color:#fff; background:rgba(255,255,255,.04); }
.btn-white { background:#fff; color:var(--navy); }

.hero-trust {
    display:flex;
    flex-wrap:wrap;
    gap: 22px;
    margin-top: 40px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.75);
}

/* Intro */
.intro { padding: 105px 0 90px; }
.intro-grid { display:grid; grid-template-columns: 1fr 1fr; gap:90px; align-items:end; }
h2 { font-size: clamp(2.3rem, 4.5vw, 4rem); line-height:1.05; letter-spacing:-2px; color:var(--navy); }
.intro p { font-size:18px; color:var(--muted); max-width:560px; }
.text-link { display:inline-flex; gap:12px; margin-top:24px; color:var(--navy); font-weight:900; border-bottom:2px solid var(--yellow); padding-bottom:5px; }

/* Services */
.services { padding: 95px 0 110px; background: var(--light); }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:45px; }
.section-heading h2 { max-width:750px; }
.section-heading .text-link { margin-bottom:7px; }

.services-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.service-card {
    min-height:290px;
    position:relative;
    display:flex;
    align-items:flex-end;
    padding:28px;
    overflow:hidden;
    border-radius:var(--radius);
    color:#fff;
    background:var(--navy);
    box-shadow: 0 8px 25px rgba(3,29,48,.08);
    transition:transform .25s ease, box-shadow .25s ease;
}
.service-card::before {
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(3,29,48,.05) 25%, rgba(3,29,48,.95) 100%);
}
.service-card::after {
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(135deg, rgba(0,167,223,.25), transparent 45%);
    opacity:0; transition:.25s ease;
}
.service-card > div, .card-arrow { position:relative; z-index:2; }
.service-card:hover { transform:translateY(-6px); box-shadow:var(--shadow); }
.service-card:hover::after { opacity:1; }

.service-number { display:block; color:var(--yellow); font-size:12px; font-weight:900; letter-spacing:2px; margin-bottom:12px; }
.service-card h3 { font-size:27px; line-height:1.05; margin-bottom:8px; }
.service-card p { color:rgba(255,255,255,.78); font-size:14px; max-width:280px; }
.card-arrow { position:absolute !important; top:24px; right:24px; width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.35); border-radius:50%; font-size:20px; }

.service-card.electrical { background: linear-gradient(135deg,#075276,#092e46); }
.service-card.commercial { background: linear-gradient(135deg,#113c58,#061f31); }
.service-card.fire { background: linear-gradient(135deg,#7b3d30,#351b19); }
.service-card.security { background: linear-gradient(135deg,#244b5d,#092b3d); }
.service-card.data { background: linear-gradient(135deg,#075e78,#04374d); }
.service-card.pa { background: linear-gradient(135deg,#27445a,#102a3d); }

/* Booking CTA */
.booking-strip { background:var(--navy); color:#fff; padding:85px 0; }
.booking-grid { display:grid; grid-template-columns:1fr auto; gap:50px; align-items:center; }
.booking-strip h2 { color:#fff; }
.booking-strip p { margin-top:12px; color:rgba(255,255,255,.7); font-size:17px; }
.booking-actions { display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; }

/* Footer */
.site-footer { background:#021b2c; color:#fff; padding:75px 0 25px; }
.footer-top { display:grid; grid-template-columns:1.5fr 1fr; gap:100px; padding-bottom:60px; }
.footer-logo img { width:100px; filter:brightness(0) invert(1); }
.footer-brand p { max-width:360px; color:rgba(255,255,255,.62); margin:18px 0; }
.footer-phone { font-size:27px; font-weight:900; }
.footer-links { display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.footer-links h3 { color:var(--yellow); font-size:12px; text-transform:uppercase; letter-spacing:2px; margin-bottom:17px; }
.footer-links a { display:block; color:rgba(255,255,255,.75); margin:9px 0; font-size:14px; }
.footer-links a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding-top:20px; display:flex; justify-content:space-between; color:rgba(255,255,255,.45); font-size:12px; }

/* Responsive */
@media (max-width: 1050px) {
    .main-nav { gap:0; }
    .main-nav a { padding:9px 8px; font-size:13px; }
    .phone-link { display:none; }
}
@media (max-width: 800px) {
    .header-inner { min-height:72px; }
    .main-nav, .header-actions { display:none; }
    .nav-toggle { display:block; margin-left:auto; }
    .nav-open .main-nav {
        display:flex; position:absolute; top:72px; left:0; right:0;
        padding:15px 20px; background:#fff; flex-direction:column; align-items:stretch;
        box-shadow:0 18px 30px rgba(0,0,0,.12);
    }
    .nav-open .main-nav a { padding:13px 16px; }
    .nav-open .header-actions { display:flex; position:absolute; top:390px; left:20px; right:20px; }
    .hero { min-height:650px; }
    .hero h1 { letter-spacing:-2.5px; }
    .intro-grid, .booking-grid, .footer-top { grid-template-columns:1fr; gap:35px; }
    .services-grid { grid-template-columns:1fr 1fr; }
    .section-heading { align-items:start; flex-direction:column; }
    .booking-actions { justify-content:flex-start; }
}
@media (max-width: 560px) {
    .container { width:min(100% - 32px, 1180px); }
    .logo-section img { width:65px; }
    .logo-text { font-size:17px; }
    .hero { min-height:690px; }
    .hero h1 { font-size:3.35rem; }
    .hero-lead { font-size:16px; }
    .hero-trust { flex-direction:column; gap:8px; }
    .intro, .services { padding:70px 0; }
    .services-grid { grid-template-columns:1fr; }
    .service-card { min-height:240px; }
    .footer-links { gap:20px; }
    .footer-bottom { flex-direction:column; gap:6px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; }
}
