/*
  ARA ELECTRICAL SERVICES — STANDALONE CSS
  ----------------------------------------
  This file is deliberately organized by page area. Start at the variables,
  then read the sections from top to bottom. You can change the whole visual
  identity by editing the colors and spacing in :root.
*/

:root {
  --navy-950: #07151e;
  --navy-900: #0b202b;
  --navy-700: #1a4657;
  --ink: #17252b;
  --muted: #61727a;
  --line: #d9e3e5;
  --paper: #f7f9f7;
  --white: #ffffff;
  --amber: #f1a22c;
  --amber-bright: #ffbd4a;
  --mint: #e9f0ec;
  --surface: #ffffff;
  --heading: #07151e;
  --container: 1180px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e6edef;
  --muted: #a6b5ba;
  --line: #34464e;
  --paper: #101a20;
  --mint: #1a2a31;
  --surface: #18262d;
  --heading: #e6edef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: 'Manrope', Arial, sans-serif; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
::selection { color: var(--navy-950); background: var(--amber); }

.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.site-shell { overflow: hidden; }
.eyebrow, .announcement-bar, .brand-copy small, .proof-card-top, .service-number, .service-link, .form-card-heading, .form-status, .form-note, .visual-stamp, .stats-note, .footer-bottom, .status-label { font-family: 'DM Mono', monospace; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--amber); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.light-eyebrow { color: var(--amber-bright); }
.eyebrow-line { width: 28px; height: 1px; background: currentColor; }
.preloader { position: fixed; z-index: 9999; inset: 0; display: grid; width: 100vw; height: 100vh; place-items: center; background: var(--navy-950); opacity: 1; visibility: visible; transition: opacity .55s ease, visibility .55s ease; }
.preloader[hidden] { display: none; }
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-box { width: 58px; height: 58px; background: #f1a22c; animation: preloader-rotate 1.5s linear infinite, preloader-colors 5s ease-in-out infinite; }
@keyframes preloader-rotate { to { transform: rotate(360deg); } }
@keyframes preloader-colors {
  0%, 100% { background-color: #f1a22c; }
  33% { background-color: #36c7b0; }
  66% { background-color: #5688f5; }
}
.section { padding: 132px 0; }
.section-title { margin: 0; color: var(--heading); font-family: 'Space Grotesk', sans-serif; font-size: clamp(42px, 5vw, 72px); font-weight: 600; letter-spacing: -.065em; line-height: .98; }
.section-title em { color: var(--amber); font-style: normal; }
.section-lead { max-width: 545px; margin: 25px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.body-copy { max-width: 520px; margin: 17px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* HEADER AND NAVIGATION */
.site-header { position: fixed; z-index: 20; top: 0; width: 100%; color: var(--white); transition: background-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(7, 21, 30, .92); box-shadow: 0 10px 35px rgba(0, 0, 0, .14); backdrop-filter: blur(15px); }
.announcement-bar { border-bottom: 1px solid rgba(255, 255, 255, .11); color: rgba(255, 255, 255, .78); font-size: 10px; }
.announcement-inner { display: flex; align-items: center; min-height: 34px; gap: 9px; }
.announcement-inner a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--amber-bright); text-decoration: none; }
.live-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(241, 162, 44, .15); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; }
.brand-mark { position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 39px; overflow: hidden; color: var(--navy-950); background: transparent; border: 0; box-shadow: none; }
.brand-mark::after { position: absolute; top: 0; right: 0; width: 3px; height: 100%; content: ''; background: var(--amber); }
.brand-mark img { display: block; width: calc(100% - 6px); height: 100%; object-fit: cover; object-position: center; border: 0 !important; box-shadow: none !important; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-family: 'Space Grotesk', sans-serif; font-size: 19px; letter-spacing: .08em; line-height: 1; }
.brand-copy small { color: rgba(255, 255, 255, .55); font-size: 8px; letter-spacing: .14em; }
.primary-nav { display: flex; align-items: center; gap: clamp(8px, 1.15vw, 17px); font-size: 11px; font-weight: 700; }
.nav-top-link, .nav-group > a { position: relative; color: rgba(255, 255, 255, .86); text-decoration: none; white-space: nowrap; }
.nav-top-link:hover, .nav-group > a:hover, .nav-top-link[aria-current="page"], .nav-group > a[aria-current="page"] { color: var(--amber-bright); }
.nav-cta[aria-current="page"] { outline: 2px solid var(--amber-bright); outline-offset: 3px; }
.nav-group { position: relative; display: flex; align-items: center; gap: 5px; }
.nav-disclosure { display: grid; place-items: center; width: 23px; height: 30px; padding: 0; color: rgba(255, 255, 255, .78); background: transparent; }
.nav-disclosure span { display: none; }
.nav-disclosure i { font-size: 9px; transition: transform .2s ease; }
.nav-disclosure[aria-expanded="true"] i { transform: rotate(180deg); }
.nav-submenu { position: absolute; z-index: 25; top: calc(100% + 13px); left: -14px; display: none; width: max-content; min-width: 220px; max-width: calc(100vw - 32px); padding: 10px; color: white; background: #0b202b; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 18px 38px rgba(0, 0, 0, .28); }
.nav-group:hover > .nav-submenu, .nav-group:focus-within > .nav-submenu, .nav-submenu.is-open { display: block; }
.nav-group.is-dismissed > .nav-submenu { display: none !important; }
.nav-submenu > a, .nav-submenu-group > a { display: block; padding: 10px 12px; color: rgba(255, 255, 255, .86); font-size: 11px; line-height: 1.45; text-decoration: none; white-space: normal; }
.nav-submenu > a:hover, .nav-submenu-group > a:hover, .nav-submenu > a[aria-current="page"] { color: var(--amber-bright); background: rgba(255, 255, 255, .06); }
.nav-group-services > .nav-submenu { right: auto; left: 50%; width: min(660px, calc(100vw - 32px)); transform: translateX(-50%); }
.nav-submenu-services { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nav-group-services:hover > .nav-submenu-services, .nav-group-services:focus-within > .nav-submenu-services, .nav-submenu-services.is-open { display: grid; }
.nav-submenu-group h2 { margin: 0; padding: 12px; color: var(--amber-bright); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; color: var(--navy-950) !important; background: var(--amber); }
.nav-cta:hover { background: var(--amber-bright); }
.nav-contact { display: none; }
.resources-section { background: var(--mint); }
.theme-toggle { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; color: white; background: transparent; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.theme-toggle:hover { color: var(--navy-950); background: var(--amber); border-color: var(--amber); }
.menu-toggle { display: none; width: 42px; height: 42px; color: white; background: transparent; }

/* HERO */
.hero-section { position: relative; min-height: 770px; padding: 210px 0 105px; color: white; background: var(--navy-950); isolation: isolate; }
.hero-image-layer, .hero-gradient, .hero-grid { position: absolute; inset: 0; }
.hero-image-layer { z-index: -2; overflow: hidden; }
.hero-image-layer img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08); }
.hero-gradient { z-index: 1; background: linear-gradient(90deg, rgba(7, 21, 30, .97), rgba(7, 21, 30, .8) 44%, rgba(7, 21, 30, .33)), linear-gradient(0deg, rgba(7, 21, 30, .72), transparent 55%); }
.hero-grid { z-index: 2; opacity: .13; background-image: linear-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .15) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, black, transparent 85%); }
.hero-layout { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: center; gap: 7vw; }
.hero-content h1 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(56px, 8vw, 110px); font-weight: 600; letter-spacing: -.08em; line-height: .88; }
.hero-content h1 em { color: var(--amber-bright); font-style: normal; }
.hero-lead { max-width: 575px; margin: 31px 0 0; color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 18px; font-size: 12px; font-weight: 800; text-decoration: none; transition: transform .18s var(--ease-out), background-color .18s ease; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: scale(.97); }
.button-primary { color: var(--navy-950); background: var(--amber); }
.button-primary:hover { background: var(--amber-bright); }
.button-dark { color: white; background: var(--navy-950); }
.button-dark:hover { background: var(--navy-700); }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; text-decoration: none; }
.light-link { color: white; }
.dark-link { color: var(--heading); }
.text-link i { transition: transform .2s var(--ease-out); }
.text-link:hover i { transform: translate(3px, -3px); }
.trust-row { display: flex; align-items: center; gap: 14px; margin-top: 73px; color: rgba(255, 255, 255, .53); font-family: 'DM Mono', monospace; font-size: 10px; }
.trust-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--amber-bright); }
.trust-separator { width: 32px; height: 1px; background: rgba(255, 255, 255, .25); }
.hero-proof-card { align-self: end; padding: 20px; color: white; background: rgba(12, 38, 52, .75); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(18px); }
.proof-card-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .13); color: rgba(255, 255, 255, .48); font-size: 9px; }
.status-label { display: inline-flex; align-items: center; gap: 7px; color: var(--amber-bright); font-size: 9px; }
.status-label .live-dot { width: 5px; height: 5px; }
.proof-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-top: 26px; color: var(--amber-bright); background: rgba(241, 162, 44, .13); }
.proof-kicker { margin: 26px 0 10px; color: var(--amber-bright); font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.hero-proof-card h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 25px; }
.hero-proof-card p:not(.proof-kicker) { margin: 13px 0 24px; color: rgba(255, 255, 255, .62); font-size: 12px; line-height: 1.7; }
.proof-link { display: inline-flex; align-items: center; gap: 9px; color: white; font-size: 11px; font-weight: 800; text-decoration: none; }
.react-spotlight { margin-top: 22px; padding: 14px 15px; border: 1px solid rgba(255,255,255,.14); background: rgba(255, 255, 255, 0.04); }
.react-spotlight__header { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--amber-bright); font-size: 9px; font-family: 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.react-spotlight__header::before { content: ''; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber-bright); box-shadow: 0 0 0 4px rgba(255, 189, 74, 0.18); }
.react-spotlight__title { display: block; margin-bottom: 4px; color: white; font-family: 'Space Grotesk', sans-serif; font-size: 20px; line-height: 1.1; }
.react-spotlight__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: rgba(255,255,255,.7); font-size: 10px; font-family: 'DM Mono', monospace; }
.hero-scroll-hint { position: absolute; z-index: 3; right: 32px; bottom: 35px; color: rgba(255, 255, 255, .53); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-90deg) translateX(100%); transform-origin: right bottom; }

/* PROMISE RIBBON */
.service-ribbon { position: relative; z-index: 4; color: white; background: var(--navy-900); }
.ribbon-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ribbon-item { display: flex; align-items: center; gap: 14px; min-height: 96px; padding: 18px 25px; border-right: 1px solid rgba(255, 255, 255, .12); }
.ribbon-item:first-child { padding-left: 0; }
.ribbon-item-last { border-right: 0; }
.ribbon-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; color: var(--amber); border: 1px solid rgba(241, 162, 44, .38); }
.ribbon-item strong, .ribbon-item small { display: block; }
.ribbon-item strong { font-size: 12px; }
.ribbon-item small { margin-top: 5px; color: rgba(255, 255, 255, .47); font-size: 10px; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: 10vw; }
.about-visual { position: relative; min-height: 515px; }
.image-frame { overflow: hidden; background: var(--mint); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.about-visual:hover .image-frame-large img { transform: scale(1.04); }
.image-frame-large { position: absolute; top: 0; left: 0; width: 81%; height: 410px; }
.image-frame-small { position: absolute; right: 0; bottom: 0; width: 47%; height: 225px; border: 11px solid var(--paper); }
.experience-chip { position: absolute; top: 36px; right: 2%; display: flex; align-items: center; gap: 10px; padding: 12px 15px; color: white; background: var(--amber); }
.experience-chip strong { font-family: 'Space Grotesk', sans-serif; font-size: 32px; line-height: .8; }
.experience-chip span { font-family: 'DM Mono', monospace; font-size: 9px; line-height: 1.3; text-transform: uppercase; }
.visual-stamp { position: absolute; bottom: 15px; left: -27px; color: var(--muted); font-size: 9px; letter-spacing: .13em; transform: rotate(-90deg); transform-origin: left top; }
.visual-stamp span { margin: 0 6px; color: var(--amber); }
.check-list { display: grid; gap: 14px; margin: 29px 0 34px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink); font-size: 12px; line-height: 1.5; }
.check-list i { flex: 0 0 auto; margin-top: 1px; padding: 3px; color: var(--navy-950); background: var(--amber); border-radius: 50%; font-size: 9px; }

/* STATS */
.stats-band { color: white; background: var(--amber); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; align-items: center; min-height: 155px; }
.big-stat { display: flex; flex-direction: column; gap: 6px; border-right: 1px solid rgba(7, 21, 30, .2); }
.big-stat strong { color: var(--navy-950); font-family: 'Space Grotesk', sans-serif; font-size: 45px; line-height: .9; }
.big-stat span { color: rgba(7, 21, 30, .65); font-family: 'DM Mono', monospace; font-size: 10px; }
.stats-note { display: flex; align-items: center; justify-content: flex-end; gap: 13px; padding-left: 30px; color: rgba(7, 21, 30, .72); font-size: 10px; line-height: 1.6; }
.stats-note .live-dot { background: var(--navy-900); box-shadow: none; }

/* SERVICES */
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 58px; }
.section-lead-short { max-width: 295px; margin: 0 0 5px; font-size: 13px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.service-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s ease; }
.service-card:hover { box-shadow: 0 20px 45px rgba(7, 21, 30, .12); transform: translateY(-8px); }
.service-image { position: relative; height: 208px; overflow: hidden; background: var(--mint); }
.service-image::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg, rgba(7, 21, 30, .48), transparent 52%); }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.service-card:hover .service-image img { transform: scale(1.07); }
.service-number { position: absolute; z-index: 1; top: 13px; left: 14px; color: white; font-size: 10px; }
.service-icon { position: absolute; z-index: 1; right: 13px; bottom: 13px; display: grid; place-items: center; width: 35px; height: 35px; color: var(--navy-950); background: var(--amber); }
.service-card-body { padding: 23px 19px 21px; }
.service-card-body h3 { margin: 0; color: var(--heading); font-family: 'Space Grotesk', sans-serif; font-size: 20px; }
.service-card-body p { min-height: 83px; margin: 11px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.service-link { display: inline-flex; align-items: center; gap: 7px; color: var(--navy-900); font-size: 9px; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; }
.service-link i { color: var(--amber); }

/* PROJECTS */
.projects-section { color: white; background: var(--navy-950); }
.project-layout { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 10vw; }
.light-title { color: white; }
.light-copy { max-width: 445px; margin: 25px 0 34px; color: rgba(255, 255, 255, .61); font-size: 14px; line-height: 1.8; }
.project-list { display: grid; margin-bottom: 37px; }
.project-list > div { display: grid; grid-template-columns: 33px 1fr; grid-template-rows: auto auto; gap: 1px 10px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .13); }
.project-list > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .13); }
.project-list span { grid-row: 1 / span 2; color: var(--amber); font-family: 'DM Mono', monospace; font-size: 10px; }
.project-list strong { font-size: 12px; }
.project-list small { color: rgba(255, 255, 255, .46); font-size: 10px; }
.project-visual { position: relative; min-height: 530px; padding: 0 0 30px 30px; }
.project-visual::before { position: absolute; top: -27px; left: 3px; width: 85%; height: 85%; content: ''; border: 1px solid rgba(241, 162, 44, .55); }
.project-visual img { position: relative; z-index: 1; width: 100%; height: 500px; object-fit: cover; filter: saturate(.65); }
.project-caption { position: absolute; z-index: 2; right: -20px; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; width: 78%; padding: 18px 20px; background: var(--amber); }
.project-caption span { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-950); font-family: 'DM Mono', monospace; font-size: 9px; }
.project-caption .live-dot { width: 5px; height: 5px; background: var(--navy-950); box-shadow: none; }
.project-caption strong { color: var(--navy-950); font-family: 'Space Grotesk', sans-serif; font-size: 14px; }

/* GALLERY */
.gallery-showcase { display: grid; gap: 22px; }
.gallery-stage { position: relative; max-width: 1200px; margin: 0 auto; overflow: hidden; background: linear-gradient(135deg, rgba(7,21,30,.96), rgba(12,37,46,.92)); border: 1px solid rgba(255,255,255,.11); border-radius: 24px; box-shadow: 0 25px 50px rgba(7,21,30,.12); }
.gallery-stage img { display: block; width: 100%; height: 520px; object-fit: cover; filter: saturate(.82) contrast(1.05); }
.gallery-caption { position: absolute; right: 32px; bottom: 26px; left: 32px; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 18px 22px; color: white; background: rgba(7,21,30,.52); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; }
.gallery-caption span { color: var(--amber-bright); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.gallery-caption h3 { margin: 0; color: white; font-family: 'Space Grotesk', sans-serif; font-size: clamp(22px, 2vw, 34px); }
.gallery-nav { position: absolute; top: 50%; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; color: white; background: rgba(7,21,30,.7); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; backdrop-filter: blur(8px); transform: translateY(-50%); transition: background .2s ease, transform .2s ease; }
.gallery-nav:hover { background: rgba(18,49,62,.88); }
.gallery-nav:active { transform: translateY(-50%) scale(.98); }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gallery-thumb { overflow: hidden; padding: 0; background: transparent; border: 2px solid transparent; border-radius: 14px; transition: border-color .2s ease, transform .2s ease; }
.gallery-thumb img { width: 100%; height: 110px; object-fit: cover; opacity: .72; border-radius: 12px; }
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: var(--amber); }
.gallery-thumb.is-active img { opacity: 1; }

/* TESTIMONIALS */
.testimonial-section { background: var(--mint); }
.testimonial-layout { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 12vw; }
.testimonial-controls { display: flex; align-items: center; gap: 16px; margin-top: 51px; font-family: 'DM Mono', monospace; font-size: 10px; }
.testimonial-controls button { display: grid; place-items: center; width: 39px; height: 39px; color: var(--heading); border: 1px solid var(--heading); background: transparent; }
.testimonial-controls button:hover { color: white; background: var(--navy-950); }
.testimonial-controls strong { color: var(--amber); }
.testimonial-card { position: relative; min-height: 355px; padding: 42px 47px; background: var(--surface); box-shadow: 18px 18px 0 rgba(7, 21, 30, .09); opacity: 1; transform: translateX(0) scale(1); transition: transform .5s cubic-bezier(.22, 1, .36, 1), opacity .35s ease, box-shadow .35s ease; }
.testimonial-card.is-changing { opacity: .22; box-shadow: 0 12px 28px rgba(7, 21, 30, .08); }
.testimonial-card.is-changing[data-direction="next"] { transform: translateX(22px) scale(.985); }
.testimonial-card.is-changing[data-direction="previous"] { transform: translateX(-22px) scale(.985); }
.quote-mark { position: absolute; top: 27px; right: 43px; color: var(--amber); font-family: Georgia, serif; font-size: 88px; line-height: 1; }
.stars { display: flex; gap: 4px; color: var(--amber); }
.testimonial-card blockquote { position: relative; max-width: 510px; margin: 28px 0 35px; color: var(--heading); font-family: 'Space Grotesk', sans-serif; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.32; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { display: grid; place-items: center; width: 42px; height: 42px; color: var(--navy-950); background: var(--amber); border-radius: 50%; font-family: 'DM Mono', monospace; font-size: 10px; }
.testimonial-author strong, .testimonial-author span { display: block; }
.testimonial-author strong { color: var(--heading); font-size: 12px; }
.testimonial-author span { margin-top: 4px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 9px; }

/* CONTACT FORM */
.contact-layout { display: grid; grid-template-columns: .86fr 1fr; align-items: start; gap: 10vw; }
.contact-details { display: grid; gap: 18px; margin-top: 39px; }
.contact-details > * { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; gap: 2px 12px; color: inherit; text-decoration: none; }
.contact-details > * > span { display: grid; grid-row: 1 / span 2; place-items: center; width: 36px; height: 36px; color: var(--amber); background: var(--navy-950); }
.contact-details strong { align-self: end; color: var(--heading); font-size: 12px; }
.contact-details small { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 9px; }
.contact-details a:hover strong { color: var(--amber); }
.quote-form-card { position: relative; padding: 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: 15px 15px 0 var(--mint); overflow: hidden; }
.quote-form-card::before { position: absolute; inset: -30% auto auto -12%; width: 220px; height: 220px; content: ''; background: radial-gradient(circle, rgba(241, 162, 44, .22), transparent 62%); animation: form-glow 6s ease-in-out infinite; }
.react-form-badge-root { position: relative; z-index: 1; }
.react-form-animator { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 9px 12px; background: linear-gradient(135deg, rgba(241,162,44,.12), rgba(7,21,30,.04)); border: 1px solid rgba(241,162,44,.2); }
.react-form-animator__label { display: inline-flex; align-items: center; gap: 8px; color: var(--heading); font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.react-form-animator__label::before { content: ''; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse-status 1.6s ease-in-out infinite; box-shadow: 0 0 0 6px rgba(241,162,44,.13); }
.react-form-animator__value { color: var(--heading); font-family: 'Space Grotesk', sans-serif; font-size: 18px; letter-spacing: -.04em; animation: float-badge 4s ease-in-out infinite; }
.form-card-heading { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; }
@keyframes pulse-status { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: .75; } }
@keyframes float-badge { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-3px); } }
@keyframes form-glow { 0%, 100% { transform: translateX(0px) translateY(0px); opacity: .5; } 50% { transform: translateX(18px) translateY(16px); opacity: 1; } }
.form-status { color: #4d8b65; }
.quote-form { position: relative; z-index: 1; display: grid; gap: 18px; }
.quote-form h3 { margin: 30px 0 8px; color: var(--heading); font-family: 'Space Grotesk', sans-serif; font-size: 29px; }
.quote-form > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.quote-form label { display: grid; gap: 7px; color: var(--heading); font-size: 10px; font-weight: 800; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 13px 12px; color: var(--heading); border: 1px solid var(--line); outline: none; background: var(--paper); font-size: 12px; }
.quote-form textarea { min-height: 160px; resize: vertical; padding: 18px 18px 22px; border-radius: 14px; font-size: 18px; line-height: 1.5; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--amber); background: var(--surface); box-shadow: 0 0 0 3px rgba(241, 162, 44, .13); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.whatsapp-action { margin-top: 2px; }
.whatsapp-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 100%; min-height: 68px; padding: 14px 18px; color: #0f172a; text-decoration: none; background: linear-gradient(135deg, #2ad66d 0%, #1ab95f 100%); border-radius: 18px; box-shadow: 0 14px 28px rgba(37, 211, 102, .18); transition: transform .18s var(--ease-out), box-shadow .18s ease; }
.whatsapp-link:hover { transform: translateY(-2px); box-shadow: 0 18px 30px rgba(37, 211, 102, .24); }
.whatsapp-link svg { width: 22px; height: 22px; flex-shrink: 0; }
.whatsapp-link span { font-size: 18px; font-weight: 800; }
.quote-form button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 72px; padding: 0 24px; color: white; background: #081c2a; border-radius: 14px; font-size: clamp(18px, 2vw, 24px); font-weight: 700; }
.quote-form button[type="submit"] i { font-size: 20px; }
.form-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.form-note i { color: #4d8b65; }
.form-success { display: flex; flex-direction: column; justify-content: center; min-height: 475px; }
.form-success h3 { margin: 5px 0 10px; color: var(--heading); font-family: 'Space Grotesk', sans-serif; font-size: 48px; }
.form-success p { max-width: 350px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.success-note { max-width: 360px; margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* FOOTER */
.site-footer { color: rgba(255, 255, 255, .66); background: var(--navy-950); }
.footer-main { display: flex; align-items: center; justify-content: space-between; min-height: 130px; border-bottom: 1px solid rgba(255, 255, 255, .13); }
.footer-main p { margin: 0; font-family: 'DM Mono', monospace; font-size: 10px; }
.footer-socials { display: flex; gap: 9px; }
.footer-socials a { display: grid; place-items: center; width: 29px; height: 29px; color: white; border: 1px solid rgba(255, 255, 255, .22); text-decoration: none; }
.footer-socials a:hover { color: var(--navy-950); background: var(--amber); border-color: var(--amber); }
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 67px; font-size: 9px; }
.footer-bolt { color: var(--amber); }
.footer-bottom button { display: grid; place-items: center; width: 34px; height: 34px; color: var(--navy-950); background: var(--amber); }
.footer-bottom button:hover { background: var(--amber-bright); }

/* JAVASCRIPT REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

/* TABLET */
@media (max-width: 980px) {
  .container { width: min(var(--container), calc(100% - 44px)); }
  .hero-layout { grid-template-columns: 1fr 250px; gap: 5vw; }
  .hero-content h1 { font-size: clamp(53px, 8vw, 83px); }
  .ribbon-item { padding-inline: 14px; }
  .ribbon-item:first-child { padding-left: 0; }
  .about-grid, .project-layout, .contact-layout { gap: 6vw; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-image { height: 240px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-note { grid-column: 1 / -1; justify-content: flex-start; min-height: 65px; padding: 14px 0 0; border-top: 1px solid rgba(7, 21, 30, .2); }
}

/* MOBILE */
@media (max-width: 1050px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .announcement-inner { min-height: 31px; font-size: 8px; }
  .announcement-inner > span:not(.live-dot) { max-width: 185px; line-height: 1.25; }
  .announcement-inner a { font-size: 8px; }
  .nav-inner { min-height: 68px; }
  .menu-toggle { display: grid; place-items: center; }
  .primary-nav { position: absolute; top: 100%; right: 0; display: none; width: min(480px, 100%); max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); overflow-y: auto; overscroll-behavior: contain; padding: 12px; background: #07151e; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 15px 35px rgba(0, 0, 0, .28); }
  .primary-nav.is-open { display: grid; align-items: stretch; gap: 0; }
  .primary-nav > .nav-top-link { display: block; padding: 14px 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-group { display: grid; grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-group > .nav-top-link { display: none; }
  .nav-group > .nav-disclosure { display: flex; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 12px; color: white; font-size: 12px; font-weight: 700; }
  .nav-group > .nav-disclosure span { display: inline; }
  .nav-group > .nav-disclosure[aria-expanded="true"] { color: var(--amber-bright); }
  .nav-submenu, .nav-group-services > .nav-submenu { position: static; display: none; width: auto; min-width: 0; max-width: none; padding: 0 0 10px 10px; background: transparent; border: 0; box-shadow: none; transform: none; }
  .nav-group:hover > .nav-submenu, .nav-group:focus-within > .nav-submenu { display: none; }
  .nav-group > .nav-disclosure[aria-expanded="true"] + .nav-submenu { display: block; }
  .nav-group-services > .nav-disclosure[aria-expanded="true"] + .nav-submenu-services { display: grid; grid-template-columns: 1fr; gap: 6px; }
  .nav-submenu > a, .nav-submenu-group > a { padding: 10px 12px; font-size: 12px; }
  .nav-submenu-group h2 { padding: 12px; }
  .nav-cta { justify-content: center; margin-top: 12px; padding: 14px; font-size: 12px; }
  .nav-contact { display: block; padding: 14px 12px 4px; }
  .nav-contact a { display: inline-flex; align-items: center; gap: 9px; color: white; font-size: 12px; text-decoration: none; }
  .primary-nav .theme-toggle { justify-self: start; margin: 12px; }
  .hero-section { min-height: 820px; padding-top: 170px; padding-bottom: 80px; }
  .hero-layout { display: flex; flex-direction: column; align-items: flex-start; gap: 44px; }
  .hero-content h1 { font-size: clamp(54px, 15vw, 78px); }
  .hero-proof-card { align-self: stretch; max-width: 355px; }
  .trust-row { margin-top: 47px; }
  .hero-scroll-hint { display: none; }
  .ribbon-grid { grid-template-columns: repeat(2, 1fr); }
  .ribbon-item, .ribbon-item:first-child { padding: 16px 0; border-right: 0; }
  .ribbon-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12); }
  .ribbon-item:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .ribbon-item:nth-child(even) { padding-left: 16px; }
  .ribbon-item strong { font-size: 10px; }
  .ribbon-item small { font-size: 8px; }
  .section { padding: 90px 0; }
  .gallery-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .project-layout, .testimonial-layout, .contact-layout { grid-template-columns: 1fr; }
  .about-visual { min-height: 450px; order: 2; }
  .about-copy { order: 1; }
  .image-frame-large { height: 355px; }
  .image-frame-small { height: 190px; }
  .section-heading-row { display: block; margin-bottom: 40px; }
  .section-lead-short { margin-top: 24px; }
  .project-visual { min-height: 385px; padding-left: 15px; }
  .project-visual img { height: 355px; }
  .project-caption { right: -7px; width: 88%; }
  .testimonial-layout { gap: 45px; }
  .testimonial-controls { margin-top: 31px; }
  .contact-layout { gap: 52px; }
  .footer-main { flex-wrap: wrap; gap: 25px; padding: 30px 0; }
  .footer-main p { order: 3; width: 100%; }
}

@media (max-width: 480px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .hero-section { min-height: 850px; }
  .hero-lead { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .trust-row { align-items: flex-start; flex-wrap: wrap; gap: 8px; max-width: 270px; }
  .trust-separator { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 22px 0; padding: 30px 0; }
  .big-stat { border-right: 0; }
  .big-stat:nth-child(odd) { border-right: 1px solid rgba(7, 21, 30, .2); }
  .big-stat strong { font-size: 36px; }
  .stats-note { grid-column: 1 / -1; padding-top: 20px; }
  .gallery-thumbs { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-image { height: 220px; }
  .about-visual { min-height: 370px; }
  .image-frame-large { width: 88%; height: 285px; }
  .image-frame-small { width: 52%; height: 155px; }
  .experience-chip { top: 22px; right: 0; }
  .visual-stamp { left: 0; bottom: 7px; }
  .testimonial-card { min-height: 405px; padding: 33px 25px; box-shadow: 10px 10px 0 rgba(7, 21, 30, .09); }
  .quote-mark { top: 20px; right: 22px; font-size: 72px; }
  .testimonial-card blockquote { margin-top: 25px; font-size: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form-card { padding: 23px 19px; box-shadow: 9px 9px 0 var(--mint); }
  .form-success { min-height: 430px; }
  .footer-bottom { gap: 18px; padding: 20px 0 70px; flex-wrap: wrap; }
  .footer-bottom button { position: absolute; bottom: 18px; left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .preloader-box { animation: none; }
}

html[data-theme="dark"] .theme-toggle { color: white; }
html[data-theme="dark"] .testimonial-controls button:hover { color: var(--navy-950); }
html[data-theme="dark"] .quote-form input::placeholder,
html[data-theme="dark"] .quote-form textarea::placeholder { color: #82949b; }
