/* =========================================================
   Penta Electric — premium glassmorphism theme
   Re-skin the whole site from the :root variables below.
   ========================================================= */
:root {
  --bg:        #070a10;   /* page background */
  --bg-2:      #0b0f17;
  --text:      #eef2f8;   /* primary text */
  --text-mut:  #97a3b6;   /* muted text */
  --accent:    #ffb302;   /* electric amber */
  --accent-2:  #ffcd55;   /* lighter amber */
  --cyan:      #43d9ff;   /* cool secondary accent */
  --glass:     rgba(255,255,255,.06);   /* frosted surface */
  --glass-2:   rgba(255,255,255,.09);
  --glass-brd: rgba(255,255,255,.14);   /* glass edge */
  --max:       1160px;
  --radius:    20px;
  --shadow:    0 24px 60px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.25rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- Decorative background ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.blob-1 { width: 620px; height: 620px; top: -180px; right: -120px; background: radial-gradient(circle, rgba(255,179,2,.55), transparent 65%); }
.blob-2 { width: 560px; height: 560px; top: 40%; left: -200px; background: radial-gradient(circle, rgba(67,217,255,.35), transparent 65%); }
.blob-3 { width: 640px; height: 640px; bottom: -240px; right: -100px; background: radial-gradient(circle, rgba(255,179,2,.3), transparent 65%); }
.grid-lines { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 75%); }

/* ---------- Glass utility ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; padding: .8rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #14181f; box-shadow: 0 8px 26px rgba(255,179,2,.28); }
.btn-primary:hover { box-shadow: 0 12px 34px rgba(255,179,2,.42); transform: translateY(-2px); }
.btn-glass { background: var(--glass); color: var(--text); border-color: var(--glass-brd); backdrop-filter: blur(12px); }
.btn-glass:hover { background: var(--glass-2); border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; margin-top: .4rem; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent-2); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .76rem; margin-bottom: .9rem; }
.eyebrow.center { justify-content: center; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; padding: 14px 0; }
.header-inner { display: flex; align-items: center; gap: 1.2rem; padding: .55rem 1.1rem; border-radius: 999px; }
.brand { display: flex; align-items: center; gap: .5rem; }
.brand-logo { height: 52px; width: auto; display: block; }
.footer-logo { height: 40px; margin-bottom: .2rem; }
.brand-mark { color: var(--accent); filter: drop-shadow(0 0 8px rgba(255,179,2,.6)); }
.brand-text strong { color: var(--accent); }
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { color: var(--text-mut); font-weight: 500; font-size: .94rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.phone-link { font-weight: 700; white-space: nowrap; }
.phone-link:hover { color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 8rem) 0 clamp(2.5rem, 6vw, 5rem); }
.hero-bg { position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(7,10,16,.92) 0%, rgba(7,10,16,.75) 45%, rgba(7,10,16,.5) 100%),
              url('assets/meridian-hero.jpg') center/cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--bg)); }
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5rem); margin-bottom: 1.3rem; }
.hero h1 .accent { background: linear-gradient(120deg, var(--accent), var(--accent-2) 60%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--text-mut); max-width: 640px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero-trust { display: inline-flex; align-items: center; gap: 1.4rem; padding: 1rem 1.6rem; border-radius: 18px; }
.trust-item { display: flex; flex-direction: column; line-height: 1.2; }
.trust-item strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; color: var(--text); }
.trust-item span { font-size: .78rem; color: var(--text-mut); }
.trust-sep { width: 1px; height: 30px; background: var(--glass-brd); }

/* ---------- Stats ---------- */
.stats-wrap { margin-top: -1rem; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding: 1.8rem; border-radius: var(--radius); }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -.5rem; top: 50%; transform: translateY(-50%); width: 1px; height: 42px; background: var(--glass-brd); }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 2.7rem; font-weight: 700; display: block; line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: .85rem; color: var(--text-mut); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.section-lead { color: var(--text-mut); margin-top: .7rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
.service-card { position: relative; padding: 1.9rem; border-radius: var(--radius); transition: transform .25s ease, border-color .25s; overflow: hidden; }
.service-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(255,179,2,.12), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(255,179,2,.4); }
.service-card:hover::after { opacity: 1; }
.service-card.feature { border-color: rgba(255,179,2,.45); background: linear-gradient(160deg, rgba(255,179,2,.12), var(--glass)); }
.service-icon { font-size: 2.1rem; margin-bottom: .9rem; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--text-mut); font-size: .95rem; }
.service-tag { position: absolute; top: 1.2rem; right: 1.2rem; font-size: .68rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #14181f; background: var(--accent); padding: .25rem .6rem; border-radius: 999px; }

/* ---------- Featured EV charger section ---------- */
.section-ev { padding-top: clamp(2rem, 5vw, 3rem); }
.ev-feature { display: grid; grid-template-columns: 0.9fr 1.1fr; border-radius: var(--radius); overflow: hidden; padding: 0; }
.ev-feature-media { position: relative; min-height: 440px; background: #11151d; }
.ev-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ev-badge { position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2; font-size: .76rem; font-weight: 700; letter-spacing: .5px; color: #14181f; background: var(--accent); padding: .35rem .8rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.ev-feature-copy { padding: clamp(1.8rem, 3vw, 2.8rem); align-self: center; }
.ev-lead { color: var(--text-mut); margin: .6rem 0 1.2rem; }
.ev-checks { margin-bottom: 1.6rem; }

.ev-brands-label { display: flex; align-items: center; justify-content: center; gap: .5rem; text-align: center; margin: 2.8rem 0 1.4rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; color: var(--accent-2); }
.ev-brands { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
.ev-brand { border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, border-color .25s; }
.ev-brand:hover { transform: translateY(-7px); border-color: rgba(255,179,2,.45); }
/* square media + contain so the whole charger is always visible */
.ev-brand-media { aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 42%, #ffffff, #dfe4ea); }
.ev-brand-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.ev-brand-body { padding: 1.3rem 1.4rem 1.6rem; }
.ev-brand-body h3 { font-size: 1.35rem; }
.ev-brand-model { color: var(--accent-2); font-weight: 600; font-size: .85rem; margin: .1rem 0 .55rem; }
.ev-brand-body p:last-child { color: var(--text-mut); font-size: .92rem; }

/* ---------- Past Jobs slideshow ---------- */
.slideshow { position: relative; border-radius: var(--radius); padding: 0; overflow: hidden; }
.slides { position: relative; aspect-ratio: 16/8; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; }
.slide.active { opacity: 1; }
.slides::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7,10,16,.05) 40%, rgba(7,10,16,.85)); }
.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--glass-brd); background: rgba(7,10,16,.45); backdrop-filter: blur(8px); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: .2s; display: grid; place-items: center; }
.slide-arrow:hover { background: var(--accent); color: #14181f; border-color: var(--accent); }
.slide-arrow.prev { left: 1.1rem; }
.slide-arrow.next { right: 1.1rem; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 2.6rem; z-index: 3; padding: 0 1.8rem; }
.slide-cat { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--accent-2); background: rgba(7,10,16,.5); border: 1px solid var(--glass-brd); padding: .25rem .7rem; border-radius: 999px; margin-bottom: .6rem; }
.slide-caption h3 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: .25rem; }
.slide-caption p { color: #cdd6e4; max-width: 560px; font-size: .98rem; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 1.2rem; z-index: 3; display: flex; justify-content: center; gap: .5rem; }
.slide-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: .2s; }
.slide-dots button.active { background: var(--accent); width: 26px; border-radius: 999px; }
.jobs-cta { text-align: center; margin-top: 1.8rem; }

/* ---------- Gallery modal ---------- */
.gallery-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 4vh 4vw; }
.gallery-modal.open { display: flex; }
.gallery-modal-backdrop { position: absolute; inset: 0; background: rgba(4,6,10,.78); backdrop-filter: blur(6px); }
.gallery-modal-inner { position: relative; z-index: 2; width: 100%; max-width: 1100px; max-height: 92vh; border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.gallery-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.gallery-modal-head h3 { font-size: 1.4rem; }
.gallery-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-brd); background: var(--glass); color: var(--text); font-size: 1rem; cursor: pointer; transition: .2s; }
.gallery-close:hover { background: var(--accent); color: #14181f; border-color: var(--accent); }
.gallery-modal-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; overflow-y: auto; padding-right: .4rem; }
.gallery-modal-grid figure { margin: 0; border-radius: 12px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 4/3; }
.gallery-modal-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gallery-modal-grid figure:hover img { transform: scale(1.07); }
.gallery-modal-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem .7rem .5rem; font-size: .78rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(7,10,16,.85)); opacity: 0; transition: opacity .2s; }
.gallery-modal-grid figure:hover figcaption { opacity: 1; }

/* lightbox (single enlarged image) */
.lightbox { position: absolute; inset: 0; z-index: 5; display: none; flex-direction: column; align-items: center; justify-content: center; background: rgba(4,6,10,.9); backdrop-filter: blur(8px); padding: 4vh 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox-cap { color: var(--text-mut); margin-top: 1rem; font-weight: 600; }
.lightbox-close { position: absolute; top: 1.4rem; right: 1.6rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-brd); background: var(--glass); color: var(--text); font-size: 1.1rem; cursor: pointer; }
.lightbox-close:hover { background: var(--accent); color: #14181f; }

/* ---------- Projects (glass cards) ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.3rem; }
.project-card { border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, border-color .25s; }
.project-card:hover { transform: translateY(-7px); border-color: rgba(255,179,2,.4); }
.project-media { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; }
.project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,10,16,.7)); }
.project-cat { position: absolute; top: 1rem; left: 1rem; z-index: 2; font-size: .72rem; font-weight: 600; letter-spacing: .5px; padding: .3rem .7rem; border-radius: 999px; background: rgba(7,10,16,.5); border: 1px solid var(--glass-brd); backdrop-filter: blur(8px); color: var(--accent-2); }
.project-body { padding: 1.2rem 1.3rem 1.4rem; }
.project-body h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.project-body p { color: var(--text-mut); font-size: .9rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.3rem; }
.team-card { border-radius: var(--radius); padding: 1.8rem 1.4rem; text-align: center; transition: transform .25s ease, border-color .25s; }
.team-card:hover { transform: translateY(-6px); border-color: rgba(255,179,2,.4); }
.team-avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; font-weight: 700; color: #14181f; border: 2px solid rgba(255,255,255,.25); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.team-card h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.team-role { color: var(--accent-2); font-weight: 600; font-size: .85rem; margin-bottom: .7rem; }
.team-bio { color: var(--text-mut); font-size: .9rem; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.review { border-radius: var(--radius); padding: 2.1rem; }
.stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 1rem; }
.review p { font-size: 1.12rem; margin-bottom: 1rem; }
.review cite { color: var(--text-mut); font-style: normal; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-lead { color: var(--text-mut); margin-bottom: 1.6rem; }
.contact-list { list-style: none; display: grid; gap: 1.1rem; margin-bottom: 1.6rem; }
.contact-list li { display: flex; flex-direction: column; }
.ci-label { color: var(--accent-2); font-size: .76rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: .2rem; }
.contact-list a { font-weight: 600; }
.social-row { display: flex; gap: .8rem; }
.social { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; transition: .2s; }
.social:hover { background: var(--accent); color: #14181f; border-color: var(--accent); }
.contact-form { border-radius: var(--radius); padding: 2rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: .35rem; color: var(--text-mut); }
input, select, textarea {
  width: 100%; background: rgba(7,10,16,.55); border: 1px solid var(--glass-brd); color: var(--text);
  border-radius: 12px; padding: .8rem .95rem; font-family: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #5d6878; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,179,2,.15); }
textarea { resize: vertical; }
.form-status { margin-top: .8rem; font-weight: 600; font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

/* ---------- Chips ---------- */
.cert-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { background: rgba(255,179,2,.1); color: var(--accent-2); border: 1px solid rgba(255,179,2,.3); padding: .3rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 2rem; border-top: 1px solid var(--glass-brd); background: rgba(7,10,16,.6); backdrop-filter: blur(10px); padding-top: 3rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .brand-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.3rem; }
.footer-brand .brand-text strong { color: var(--accent); }
.footer-brand > p { color: var(--text-mut); margin-top: .8rem; font-size: .92rem; max-width: 300px; }
.footer-h { display: block; font-weight: 700; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); margin-bottom: .9rem; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a, .footer-contact a, .footer-contact span { color: var(--text-mut); font-size: .92rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--glass-brd); padding: 1.2rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; color: var(--text-mut); font-size: .85rem; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { position: fixed; inset: 80px 14px auto 14px; flex-direction: column; padding: 1.2rem; gap: 1rem; border-radius: 18px;
    background: rgba(11,15,23,.92); border: 1px solid var(--glass-brd); backdrop-filter: blur(18px); transform: translateY(-130%); opacity: 0; transition: .3s; }
  .nav.open { transform: none; opacity: 1; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta .btn { display: none; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2,1fr); }
  .ev-feature { grid-template-columns: 1fr; }
  .ev-feature-media { min-height: 320px; }
  .ev-brands { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-modal-grid { grid-template-columns: repeat(3,1fr); }
  .hero-trust { flex-wrap: wrap; gap: 1rem 1.4rem; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2,1fr); gap: 1.6rem; }
  .stat + .stat::before { display: none; }
  .services-grid, .projects-grid, .team-grid, .reviews-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-modal-grid { grid-template-columns: repeat(2,1fr); }
  .footer-bottom .container { flex-direction: column; gap: .6rem; }

  /* Past Jobs slideshow: taller stage so the caption never overlaps controls */
  .slides { aspect-ratio: 3/4; }
  .slide-arrow { top: 38%; width: 42px; height: 42px; font-size: 1.4rem; }
  .slide-arrow.prev { left: .7rem; }
  .slide-arrow.next { right: .7rem; }
  .slide-caption { bottom: 3rem; padding: 0 1.1rem; }
  .slide-caption h3 { font-size: 1.35rem; }
  .slide-caption p { font-size: .9rem; }
  .slide-dots { bottom: 1rem; }

  /* EV feature image: show the charger, not a mid crop */
  .ev-feature-media { min-height: 300px; }
  .ev-feature-media img { object-position: center 28%; }
}

/* Phones: tame the header and the hero headline */
@media (max-width: 480px) {
  .header-inner { gap: .6rem; padding: .5rem .7rem; }
  .brand-logo { height: 40px; }
  .phone-link { font-size: .9rem; }
  .hero { padding-top: 2.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-sub { font-size: 1.02rem; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 3.2rem 0; }
  .gallery-modal-inner { padding: 1rem; max-height: 94vh; }
  .gallery-modal-head h3 { font-size: 1.15rem; }
}

/* Very small phones: drop the header phone number (menu + hero CTA cover it) */
@media (max-width: 380px) {
  .phone-link { display: none; }
  .brand-logo { height: 38px; }
}
