./* =========================================================
   FUSION PRO — Home & Multi-Storey Electrical Specialists
   styles.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --ink:        #0e1117;
  --ink-soft:   #1a1f2b;
  --muted:      #6b7280;
  --muted-soft: #8b93a3;

  --orange:      #ff6a1a;
  --orange-deep: #e8480a;
  --orange-soft: #fff1e8;
  --amber:       #ffb020;

  --line: #e9ebf0;
  --bg:   #ffffff;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 14px rgba(14, 17, 23, .06);
  --shadow:    0 18px 40px rgba(14, 17, 23, .10);
  --shadow-lg: 0 30px 70px rgba(14, 17, 23, .18);

  --max: 1180px;
  --pad: 28px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helper ---------- */
.section-shell {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  height: 54px;        /* was 40px */
  width: auto;
  max-width: 260px;    /* was 190px */
  object-fit: contain;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--orange);
  border-radius: 2px;
  transition: width .25s ease;
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

/* =========================================================
   BUTTONS
   ========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ff7a2f 0%, #ef4f08 100%);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(239, 79, 8, .28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 32px rgba(239, 79, 8, .34);
}

.button:active { transform: translateY(0); }

.button span { font-size: 12px; opacity: .85; }

.button-small {
  padding: 11px 17px;
  font-size: 13px;
}

.button-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

.button-light:hover {
  background: #f4f5f7;
  filter: none;
}

/* WhatsApp glyph inside buttons */
.wa {
  width: 17px;
  height: 17px;
  flex: none;
  fill: currentColor;
}

.button-light .wa { fill: #22c55e; }

.text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.text-link span { color: var(--orange); margin-left: 2px; }

.text-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
  padding-block: 80px 100px;
}

.hero h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 700;
  max-width: 15ch;
}

.hero h1 span {
  background: linear-gradient(100deg, #ff8a3d 0%, #ef4f08 55%, #d62f6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  margin: 26px 0 0;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-soft);
  letter-spacing: .01em;
}

.trust-row span { color: var(--orange); }

/* Hero visual */
.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.glow {
  position: absolute;
  z-index: 1;
  inset: auto -8% -12% -8%;
  height: 65%;
  background: radial-gradient(60% 70% at 50% 50%, rgba(255, 106, 26, .55), transparent 70%);
  filter: blur(48px);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(14, 17, 23, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}

.hero-badge b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}

.hero-badge span {
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #d7dae2;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-section {
  padding-block: 90px 100px;
}

.section-heading h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  max-width: 20ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.card {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  opacity: 0;
  transition: opacity .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #ffd9c2;
  box-shadow: var(--shadow);
}

.card:hover::before { opacity: 1; }

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-deep);
}

.icon svg { width: 23px; height: 23px; }

.card h3 {
  margin: 24px 0 10px;
  font-size: 19px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.services-note {
  margin: 40px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}

.services-note a {
  color: var(--orange-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 72, 10, .3);
  transition: border-color .2s ease;
}

.services-note a:hover { border-color: var(--orange-deep); }

/* =========================================================
   PROCESS
   ========================================================= */
.process {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  padding-block: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-intro h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  max-width: 14ch;
}

.process-text {
  margin: 20px 0 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  align-content: start;
}

.step b {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--orange);
}

.step h3 {
  margin: 16px 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* =========================================================
   WHY US
   ========================================================= */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  padding-block: 100px;
}

.why-copy h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
}

.why-text {
  margin: 22px 0 32px;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.why-list li {
  display: grid;
  gap: 4px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.why-list li:last-child { border-bottom: 1px solid var(--line); }

.why-list b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.why-list span {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* =========================================================
   CTA PANEL
   ========================================================= */
.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-block: 20px 90px;
  padding-block: 62px;
  padding-inline: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #1a1f2b 0%, #0e1117 60%, #331a08 100%);
  color: #fff;
}

.cta::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -40%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 106, 26, .38), transparent 68%);
  pointer-events: none;
}

.cta > * { position: relative; z-index: 2; }

.cta .eyebrow { color: var(--amber); }

.cta h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  max-width: 22ch;
}

.cta p:not(.eyebrow) {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: #b9bfcd;
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.whatsapp-float {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 12px 28px rgba(34, 197, 94, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  opacity: .55;
  animation: pulse 2.6s ease-out infinite;
  z-index: -1;
}

.whatsapp-float:hover {
  transform: scale(1.07);
  box-shadow: 0 16px 34px rgba(34, 197, 94, .55);
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin-inline: auto;
  padding: 26px var(--pad) 34px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-soft);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .nav { display: none; }

  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-block: 56px 80px;
  }

  .hero-visual { order: -1; }

  .hero h1 { max-width: 18ch; }

  .cards { grid-template-columns: repeat(2, 1fr); }

  .process {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .why {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 80px;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 34px;
    padding-block: 48px;
  }
}

@media (max-width: 680px) {
  :root { --pad: 20px; }

  .site-header { height: 70px; }

  .site-header .button-small span,
  .site-header .button-small .wa { display: none; }

  .brand-mark { height: 46px; max-width: 220px; }

  .hero { padding-block: 40px 64px; }

  .hero h1 { font-size: 38px; }

  .hero-text { font-size: 16px; }

  .hero-actions { gap: 16px; }

  .hero-actions .button { width: 100%; justify-content: center; }

  .trust-row { font-size: 11px; gap: 8px; }

  .cards { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; gap: 30px; }

  .cta {
    border-radius: 18px;
    padding-inline: 24px;
    margin-block: 10px 60px;
  }

  .cta .button-light { width: 100%; justify-content: center; }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 18px;
    bottom: 18px;
  }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}


/* ===== LOGO — final override, do not move ===== */
.site-header a.brand img.brand-mark {
  height: 72px !important;
  max-width: 360px !important;
  width: auto !important;
}

.site-header {
  height: 100px !important;
}

@media (max-width: 680px) {
  .site-header a.brand img.brand-mark {
    height: 80px !important;
    max-width: 380px !important;
    width: auto !important;
  }
  .site-header {
    height: 110px !important;
  }
  .site-header .button-small {
    padding: 9px 12px !important;
    font-size: 12px !important;
  }
}

/* ===== BOTTOM CTA — green WhatsApp button + highlighted phone number ===== */
.cta .button-light {
  background: linear-gradient(135deg, #2ecc71 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 140, 126, .45);
}

.cta .button-light:hover {
  background: linear-gradient(135deg, #37e07f 0%, #15a89a 100%);
  filter: none;
  box-shadow: 0 16px 36px rgba(18, 140, 126, .58);
}

.cta .button-light .wa {
  fill: #ffffff;
}

.cta p strong {
  display: inline-block;
  padding: 2px 10px;
  margin: 0 2px;
  border-radius: 6px;
  background: #25d366;
  color: #08160e;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 2px 10px rgba(37, 211, 102, .35);
}
