/*
Theme Name: Powerlec Group
Theme URI: https://powerlecgroup.com.au
Author: Powerlec Group Pty Ltd
Description: Premium light theme for Powerlec Group – Residential & Commercial Electrical, Mackay QLD
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: powerlec
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --red: #D42B2B;
  --red-dark: #a81e1e;
  --red-pale: #fff0f0;
  --black: #0d0d0d;
  --ink: #1a1a1a;
  --ink-2: #2c2c2c;
  --muted: #6b6b6b;
  --border: #e4e4e4;
  --bg: #ffffff;
  --bg-2: #f8f7f5;
  --bg-3: #f2f0ed;
  --white: #ffffff;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --max: 1200px;
  --r: 6px;
  --r-lg: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.3s;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
ul { list-style: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
.pad    { padding: 96px 0; }
.pad-sm { padding: 64px 0; }

/* =============================================
   TYPOGRAPHY HELPERS
============================================= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-title span { color: var(--red); }

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  font-weight: 300;
  line-height: 1.75;
}

/* WP nav menu ul reset */
.main-nav ul,
.main-nav .menu,
.main-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* All nav links */
.main-nav ul li a,
.main-nav .nav-menu li a {
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-radius: var(--r);
  transition: all var(--t);
  position: relative;
  display: block;
  text-decoration: none;
}
.main-nav ul li a::after,
.main-nav .nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.main-nav ul li a:hover,
.main-nav .nav-menu li a:hover {
  color: var(--red);
}
.main-nav ul li a:hover::after,
.main-nav .nav-menu li a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
  transform: scaleX(1);
}
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--red);
}

/* Contact Us button - both the fallback class and WP last item */
.main-nav .nav-quote-btn,
.main-nav ul li:last-child a {
  margin-left: 10px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  border-radius: var(--r) !important;
  transition: background var(--t), transform var(--t) !important;
}
.main-nav .nav-quote-btn::after,
.main-nav ul li:last-child a::after {
  display: none !important;
}
.main-nav .nav-quote-btn:hover,
.main-nav ul li:last-child a:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .main-nav ul,
  .main-nav .menu,
  .main-nav .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }
  .main-nav ul li,
  .main-nav .nav-menu li { width: 100%; }
  .main-nav ul li a,
  .main-nav .nav-menu li a { width: 100%; padding: 10px 16px; }
  .main-nav .nav-quote-btn,
  .main-nav ul li:last-child a {
    margin-left: 0 !important;
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 8px !important;
    display: block !important;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: all var(--t) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,43,43,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  color: white;
}
.btn-red-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-red-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   TOPBAR
============================================= */
.topbar {
  background: var(--ink);
  padding: 9px 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
}
.topbar a {
  color: #888;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color var(--t);
  font-weight: 500;
}
.topbar a:hover { color: var(--red); }
.topbar .pipe { color: #333; }

/* =============================================
   HEADER / NAV
============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06);
  transition: box-shadow var(--t);
}
.site-header.scrolled {
  box-shadow: 0 2px 0 var(--border), 0 8px 32px rgba(0,0,0,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-logo img,
.site-logo .custom-logo,
.site-logo .theme-logo,
.site-logo .custom-logo-link img {
  height: 52px;
  width: auto;
  display: block;
}
.site-logo .custom-logo-link {
  display: flex;
  align-items: center;
}
.site-logo a { display: flex; align-items: center; }
.site-logo .logo-fallback {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo .logo-fallback span { color: var(--red); }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-radius: var(--r);
  transition: all var(--t);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.main-nav a:hover { color: var(--red); }
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after { transform: scaleX(1); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--red); }

.nav-quote-btn {
  margin-left: 10px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  border-radius: var(--r) !important;
  transition: background var(--t), transform var(--t) !important;
  border: none !important;
}
.nav-quote-btn::after { display: none !important; }
.nav-quote-btn:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: all var(--t);
}

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, #0d0d0d 0%, #1a0808 45%, #200808 100%);
  z-index: 0;
}
.hero-slab {
  position: absolute;
  right: -60px;
  top: 0;
  bottom: 0;
  width: 45%;
  background: var(--red);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.07;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 680px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212,43,43,0.15);
  border: 1px solid rgba(212,43,43,0.3);
  color: #ff7070;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-tag .pulse {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  display: block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero h1 .accent {
  font-style: normal;
  color: var(--red);
  display: block;
}
.hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  margin-left: 4px;
}
.hero-phone a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.hero-phone a:hover { color: var(--red); }
.hero-stats {
  position: absolute;
  right: 80px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}
.hero-stat-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 16px 24px;
  min-width: 160px;
  text-align: center;
}
.hero-stat-card .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}
.hero-stat-card .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  display: block;
}

/* =============================================
   MARQUEE STRIP
============================================= */
.marquee-strip {
  background: var(--red);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0 32px;
}
.marquee-track .dot { color: rgba(255,255,255,0.4); padding: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   SERVICES SECTION
============================================= */
.services-section { background: var(--bg-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.svc-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.svc-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
}
.svc-card:hover::before { transform: scaleY(1); }

.svc-num {
  position: absolute;
  right: 20px;
  top: 10px;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  pointer-events: none;
  transition: color var(--t);
}
.svc-card:hover .svc-num { color: rgba(212,43,43,0.07); }

.svc-icon {
  width: 54px;
  height: 54px;
  background: var(--red-pale);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 24px;
  transition: background var(--t), color var(--t);
}
.svc-card:hover .svc-icon { background: var(--red); color: var(--white); }

.svc-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 14px;
}
.svc-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.svc-list { margin-bottom: 32px; }
.svc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid #f5f5f5;
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  transition: gap var(--t);
}
.svc-link:hover { gap: 12px; color: var(--red-dark); }

/* =============================================
   STATS ROW
============================================= */
.stats-row { background: var(--red); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-block {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
  transition: background var(--t);
}
.stat-block:last-child { border-right: none; }
.stat-block:hover { background: rgba(0,0,0,0.1); }
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}
.stat-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  display: block;
  font-weight: 500;
}

/* =============================================
   ABOUT SECTION
============================================= */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; padding-bottom: 24px; padding-right: 24px; }
.about-img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1a1a1a, #2a0a0a);
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 320px;
}
.about-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  box-shadow: 0 12px 40px rgba(212,43,43,0.4);
  z-index: 2;
}
.about-badge strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.about-badge span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
  margin-top: 4px;
  display: block;
}
.about-deco {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--red);
  border-radius: var(--r-lg);
  opacity: 0.2;
  z-index: 0;
}
.about-content p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 16px;
  font-weight: 300;
  line-height: 1.8;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
}
.feat-check {
  width: 22px; height: 22px;
  background: var(--red-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}

/* =============================================
   WHY US (dark section)
============================================= */
.why-section {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,43,43,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.why-section .section-label { color: #ff6b6b; }
.why-section .section-label::before { background: #ff6b6b; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why-card {
  background: rgba(255,255,255,0.03);
  padding: 44px 28px;
  transition: background var(--t);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.why-card:hover { background: rgba(255,255,255,0.06); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 24px;
  transition: all var(--t);
}
.why-card:hover .why-icon {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  font-weight: 300;
}

/* =============================================
   CTA BAND
============================================= */
.cta-section {
  background: var(--bg-2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  left: -40px; top: -40px;
  width: 300px; height: 300px;
  border: 60px solid var(--border);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  right: 10%; bottom: -60px;
  width: 200px; height: 200px;
  border: 40px solid var(--border);
  border-radius: 50%;
  opacity: 0.4;
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.cta-text h2 span { color: var(--red); }
.cta-text p { color: var(--muted); font-size: 1rem; font-weight: 300; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* =============================================
   CONTACT PAGE
============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.form-heading { margin-bottom: 32px; }
.form-heading p { color: var(--muted); font-weight: 300; font-size: 0.95rem; margin-top: 8px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(212,43,43,0.08);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-success {
  background: #f0fff4;
  border: 2px solid #48bb78;
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 24px;
  color: #276749;
}

.contact-side {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: 44px 36px;
  color: white;
  position: sticky;
  top: 100px;
}
.contact-side h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.info-icon {
  width: 40px; height: 40px;
  background: rgba(212,43,43,0.15);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
  transition: all var(--t);
}
.info-row:hover .info-icon { background: var(--red); color: white; }
.info-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.info-text a, .info-text span { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.info-text a:hover { color: var(--red); }
.areas-section { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.areas-section h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.areas-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.area-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.76rem;
  transition: all var(--t);
}
.area-pill:hover {
  background: rgba(212,43,43,0.15);
  border-color: rgba(212,43,43,0.3);
  color: rgba(255,255,255,0.8);
}

/* =============================================
   PAGE HERO (inner pages)
============================================= */
.page-hero {
  background: var(--ink);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,43,43,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 16px;
  margin-bottom: 0;
}
.page-hero h1 span { color: var(--red); }
.page-hero p { color: rgba(255,255,255,0.5); max-width: 560px; margin-top: 12px; font-weight: 300; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.breadcrumb a { color: rgba(255,255,255,0.35); transition: color var(--t); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--red); }

/* =============================================
   SERVICES PAGE (detailed)
============================================= */
.service-block { padding: 80px 0; border-bottom: 1px solid var(--border); }
.service-block:last-child { border-bottom: none; }
.service-block-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-block-layout.reverse { direction: rtl; }
.service-block-layout.reverse > * { direction: ltr; }
.service-block-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a1a1a, #2a0a0a);
}
.service-block-img img { width: 100%; height: 100%; object-fit: cover; }
.service-block-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.12);
}
.tick-list { margin: 20px 0 28px; }
.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.tick-list li svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }

/* =============================================
   GALLERY
============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  background: var(--bg-3);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(212,43,43,0.75);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--t);
  color: white;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: var(--black);
  padding: 72px 0 0;
  border-top: 3px solid var(--red);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 52px;
  padding-bottom: 52px;
}
.footer-brand img,
.footer-brand .custom-logo,
.footer-brand .theme-logo,
.footer-brand .custom-logo-link img {
  height: 44px;
  width: auto;
  margin-bottom: 4px;
}
.footer-brand .custom-logo-link { display: inline-flex; }
.footer-brand p {
  color: rgba(255,255,255,0.35);
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 270px;
  margin: 16px 0 24px;
  font-weight: 300;
}
.lic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,43,43,0.12);
  border: 1px solid rgba(212,43,43,0.25);
  color: #ff6b6b;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  font-weight: 300;
  transition: color var(--t);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul li a::before {
  content: '→';
  color: var(--red);
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--t);
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  font-weight: 300;
}
.footer-contact li svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer-contact li a { color: rgba(255,255,255,0.55); }
.footer-contact li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* =============================================
   SCROLL REVEAL
============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   DEFAULT PAGE CONTENT
============================================= */
.page-content {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
  max-width: 860px;
  margin: 0 auto;
}
.page-content h2, .page-content h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  margin: 32px 0 12px;
  color: var(--ink);
}
.page-content p { margin-bottom: 16px; }
.page-content ul { margin: 0 0 16px 20px; list-style: disc; }
.page-content ul li { margin-bottom: 6px; }
.page-content a { color: var(--red); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .service-block-layout { grid-template-columns: 1fr; }
  .service-block-layout.reverse { direction: ltr; }
  /* About page credentials grid */
  [style*="grid-template-columns:1fr 1fr;gap:64px"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .pad { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-block { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-block:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .stat-block:nth-child(even) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .about-grid { gap: 48px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 16px; }
  .nav-quote-btn { margin-left: 0 !important; width: 100%; justify-content: center; margin-top: 8px; }
  .menu-toggle { display: flex; }
  .topbar-inner { justify-content: center; flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-phone { display: none; }
  .why-grid { grid-template-columns: 1fr; }
}
