/* ============================================================
   Mahon Glazing & Exteriors — styles
   Palette: deep navy / black, bright blue, brushed silver
   Signature motif: window-pane mullion lines + glass surfaces
   ============================================================ */

:root {
  --bg:        #080b12;
  --bg-2:      #0b101b;
  --surface:   #111a2b;
  --surface-2: #16223a;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.16);

  --blue:      #2b8cf0;
  --blue-2:    #1f6fe0;
  --blue-soft: rgba(43, 140, 240, 0.14);
  --silver:    #c8d1de;
  --silver-2:  #8b97a8;

  --text:      #eef2f8;
  --muted:     #9aa6b8;

  --radius:    20px;
  --radius-sm: 12px;
  --maxw:      1200px;
  --shadow:    0 30px 70px -28px rgba(0, 0, 0, 0.75);
  --grad:      linear-gradient(120deg, #7cc0ff 0%, #2b8cf0 50%, #e2e9f2 100%);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip-link {
  position: absolute; left: -9999px; top: auto; z-index: 200;
  padding: 12px 18px; background: var(--blue); color: #fff;
  font-family: "Sora", sans-serif; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; outline: 2px solid #fff; outline-offset: 2px; }

h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ol, ul { margin: 0; padding: 0; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.eyebrow i { width: 26px; height: 1px; background: var(--blue); display: inline-block; }

/* ---------- brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark svg { display: block; }
.mark-roof  { fill: var(--blue); }
.mark-house { fill: none; stroke: var(--silver); stroke-width: 2; stroke-linejoin: round; }
.mark-m { fill: var(--silver); font-family: "Sora", sans-serif; font-weight: 800; font-size: 16px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: "Sora", sans-serif; font-size: 1.18rem; letter-spacing: 0.14em; color: #fff; }
.brand__text small { font-size: 0.56rem; letter-spacing: 0.26em; color: var(--silver-2); margin-top: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px 0; border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(8, 11, 18, 0.8); backdrop-filter: blur(14px);
  border-bottom-color: var(--line); padding: 10px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 0.92rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__cta {
  color: #fff !important; background: var(--blue); padding: 9px 18px;
  border-radius: 999px; font-weight: 600 !important;
  box-shadow: 0 8px 20px -8px var(--blue);
  transition: transform .2s var(--ease), background .2s;
}
.nav__cta:hover { transform: translateY(-2px); background: var(--blue-2); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn svg { fill: currentColor; }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%); box-shadow: 0 14px 30px -12px var(--blue); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px var(--blue); }
.btn--glass { color: #fff; border-color: var(--line-2); background: rgba(255,255,255,0.06); backdrop-filter: blur(8px); }
.btn--glass:hover { border-color: var(--blue); transform: translateY(-3px); }
.btn--white { color: var(--blue-2); background: #fff; box-shadow: 0 16px 36px -16px rgba(0,0,0,0.6); }
.btn--white:hover { background: #eaf2ff; transform: translateY(-3px); }
.btn--block { width: 100%; }

/* ============================================================
   HERO — full-bleed photo
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 90px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  min-width: 100%; min-height: 100%;
  object-fit: cover; object-position: center 35%;
  transform: scale(1.08);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,11,18,0.92) 0%, rgba(8,11,18,0.72) 38%, rgba(8,11,18,0.30) 70%, rgba(8,11,18,0.55) 100%),
    linear-gradient(180deg, rgba(8,11,18,0.7) 0%, transparent 25%, transparent 60%, rgba(8,11,18,0.95) 100%);
}
/* window-pane mullion motif over the photo */
.hero__panes {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 140px 140px;
  -webkit-mask-image: radial-gradient(120% 90% at 85% 30%, #000 0%, transparent 65%);
  mask-image: radial-gradient(120% 90% at 85% 30%, #000 0%, transparent 65%);
}

.hero__inner { padding-block: 40px; }
.hero__copy { max-width: 660px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.hero__lead { color: #d4dbe6; font-size: 1.16rem; max-width: 46ch; margin-top: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* glass stat bar pinned at hero base */
.hero__bar { position: relative; margin-top: auto; border-top: 1px solid var(--line); background: rgba(8,11,18,0.55); backdrop-filter: blur(10px); }
.hero__bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0; }
.hero__stat { display: flex; flex-direction: column; position: relative; padding-left: 18px; }
.hero__stat::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: var(--blue); }
.hero__stat strong { font-family: "Sora", sans-serif; font-size: 1.45rem; color: #fff; }
.hero__stat span { font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 100px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,0.018), transparent); border-block: 1px solid var(--line); overflow: hidden; }
.section__head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.95rem); font-weight: 700; }
.section__head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* shared window-pane background for alt sections */
.panes-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%);
}
.section--alt > .container { position: relative; z-index: 1; }

/* ============================================================
   SERVICES — bento with real photos
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  justify-content: flex-end; padding: 22px; isolation: isolate;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  cursor: pointer; text-align: left; width: 100%;
  font: inherit; color: inherit; background: none; appearance: none;
}
.card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--img); background-size: cover; background-position: center;
  transition: transform .6s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,11,18,0.05) 0%, rgba(8,11,18,0.45) 45%, rgba(8,11,18,0.92) 100%);
  transition: background .4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(43,140,240,0.5); box-shadow: var(--shadow); }
.card:hover::before { transform: scale(1.08); }
.card:hover::after { background: linear-gradient(180deg, rgba(31,111,224,0.18) 0%, rgba(8,11,18,0.5) 45%, rgba(8,11,18,0.95) 100%); }

.card--lg { grid-column: span 2; grid-row: span 2; }
.card--wide { grid-column: span 2; }

.card__icon {
  position: absolute; top: 18px; left: 18px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(8,11,18,0.55); border: 1px solid var(--line-2); backdrop-filter: blur(6px);
}
.card__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__body h3 { font-size: 1.15rem; font-weight: 600; }
.card--lg .card__body h3 { font-size: 1.7rem; }
.card__body p { color: #c4cdd9; font-size: 0.9rem; margin-top: 6px; max-width: 42ch; opacity: 0; max-height: 0; transition: opacity .35s, max-height .35s; }
.card--lg .card__body p { opacity: 1; max-height: 80px; }
.card:hover .card__body p { opacity: 1; max-height: 80px; }
.card__go {
  position: absolute; top: 20px; right: 20px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.85rem; color: #fff;
  background: rgba(43,140,240,0.85); padding: 6px 12px; border-radius: 999px;
  opacity: 0; transform: translateY(-6px); transition: .35s var(--ease);
}
.card:hover .card__go { opacity: 1; transform: none; }

/* ============================================================
   SERVICE MODAL
   ============================================================ */
.service-modal {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.service-modal.is-open { opacity: 1; visibility: visible; }
.service-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 6, 11, 0.88);
  backdrop-filter: blur(8px);
}
.service-modal__panel {
  position: relative; z-index: 1;
  width: min(100%, 920px); max-height: min(90vh, 900px);
  overflow: auto; border-radius: 20px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow);
  padding: 28px 24px 24px;
  transform: translateY(16px) scale(0.98);
  transition: transform .35s var(--ease);
}
.service-modal.is-open .service-modal__panel { transform: none; }
.service-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(8, 11, 18, 0.7);
  color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.service-modal__close:hover { background: var(--blue); border-color: var(--blue); }
.service-modal__head { padding-right: 44px; margin-bottom: 24px; }
.service-modal__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 4px; }
.service-modal__head p { color: var(--muted); margin-top: 12px; max-width: 60ch; }
.service-modal__section { margin-bottom: 26px; }
.service-modal__section h3 {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.service-modal__styles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.service-style {
  display: grid; grid-template-columns: 88px 1fr; gap: 12px;
  align-items: center; padding: 10px;
  border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.service-style__img {
  width: 88px; height: 72px; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--line);
}
.service-style strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.service-style span { color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.service-modal__gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.service-shot {
  margin: 0; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg);
}
.service-shot img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
}
.service-shot figcaption {
  padding: 10px 12px; font-size: 0.84rem; color: var(--silver);
  border-top: 1px solid var(--line);
}
.service-modal__foot {
  display: flex; justify-content: flex-end; gap: 12px;
  padding-top: 8px; border-top: 1px solid var(--line);
}

/* ============================================================
   WHY US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.why {
  text-align: center; padding: 32px 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), rgba(11,16,27,0.6));
  transition: transform .3s var(--ease), border-color .3s;
}
.why:hover { transform: translateY(-6px); border-color: rgba(43,140,240,0.4); }
.why__icon { display: grid; place-items: center; margin: 0 auto 16px; width: 60px; height: 60px; border-radius: 50%; background: var(--blue-soft); border: 1px solid rgba(43,140,240,0.3); }
.why__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why h3 { font-size: 0.98rem; font-weight: 600; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: 0.85rem; }

/* ============================================================
   PROCESS — steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; counter-reset: step; }
.step {
  position: relative; padding: 30px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(255,255,255,0.018);
  transition: transform .3s var(--ease), border-color .3s;
}
.step::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 49px; height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
.step:last-child::before { display: none; }
.step:hover { transform: translateY(-5px); border-color: rgba(43,140,240,0.4); }
.step__num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--blue);
  background: var(--blue-soft); border: 1px solid rgba(43,140,240,0.35);
  position: relative; z-index: 1; margin-bottom: 22px;
}
.step h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   GALLERY
   ============================================================ */
.ba {
  margin: 0 0 28px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2); background: #0b101b; box-shadow: var(--shadow);
}
.ba img { width: 100%; height: auto; display: block; }
.ba figcaption { padding: 14px 18px; color: var(--silver); font-size: 0.92rem; text-align: center; border-top: 1px solid var(--line); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__item {
  position: relative; margin: 0; padding: 0; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4/3; cursor: pointer;
  background: var(--surface); font: inherit; color: inherit; display: block; width: 100%;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,11,18,0.85)); }
.gallery__item::before {
  content: ""; position: absolute; z-index: 2; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(8,11,18,0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 15px no-repeat;
  border: 1px solid var(--line-2); opacity: 0; transform: scale(.8); transition: .35s var(--ease);
}
.gallery__cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 1;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.92rem; color: #fff;
  transform: translateY(4px); opacity: 0.9; transition: .35s var(--ease);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.1); }
.gallery__item:hover, .gallery__item:focus-visible { border-color: rgba(43,140,240,0.5); outline: none; }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { transform: none; opacity: 1; }
.gallery__item:hover::before, .gallery__item:focus-visible::before { opacity: 1; transform: none; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.testimonial {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), rgba(11, 16, 27, 0.7));
  transition: transform .3s var(--ease), border-color .3s;
}
.testimonial:hover { transform: translateY(-4px); border-color: rgba(43, 140, 240, 0.35); }
.testimonial--featured {
  grid-row: span 2;
  padding: 36px 30px;
  border-color: rgba(43, 140, 240, 0.35);
  background: linear-gradient(160deg, rgba(43, 140, 240, 0.12), rgba(11, 16, 27, 0.9));
}
.testimonial__stars {
  color: #f5c451;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.testimonial--featured .testimonial__stars { font-size: 1.05rem; }
.testimonial__quote {
  margin: 0;
  flex: 1;
}
.testimonial__quote p {
  color: #dce3ee;
  font-size: 0.95rem;
  line-height: 1.65;
}
.testimonial--featured .testimonial__quote p {
  font-size: 1.12rem;
  line-height: 1.7;
}
.testimonial__author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testimonial__author cite {
  font-family: "Sora", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.testimonial__tag {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(43, 140, 240, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 5vh 4vw; background: rgba(4,6,11,0.92); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { margin: 0; max-width: 1000px; width: 100%; text-align: center; }
.lightbox__stage img {
  max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 14px;
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  transform: scale(.96); transition: transform .3s var(--ease);
}
.lightbox.is-open .lightbox__stage img { transform: scale(1); }
.lightbox__stage figcaption {
  margin-top: 16px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.05rem; color: #fff;
}
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255,255,255,0.08); border: 1px solid var(--line-2); border-radius: 50%;
  transition: background .2s, transform .2s var(--ease), border-color .2s;
}
.lightbox__close { top: 24px; right: 24px; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; line-height: 1; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--blue); border-color: var(--blue); }
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }

/* ============================================================
   PROMISE BAND
   ============================================================ */
.promise { position: relative; background: linear-gradient(135deg, var(--blue-2) 0%, #0f4ba0 55%, #08213f 100%); overflow: hidden; }
.promise__panes {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle at 75% 50%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 75% 50%, #000, transparent 78%);
}
.promise__inner { position: relative; text-align: center; padding: 76px 0; }
.promise h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; }
.promise p { color: rgba(255,255,255,0.88); max-width: 54ch; margin: 16px auto 0; font-size: 1.08rem; }
.promise__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact__info h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.contact__info > p { color: var(--muted); margin-top: 16px; }
.contact__details { list-style: none; margin-top: 32px; display: grid; gap: 18px; }
.contact__details li { display: flex; gap: 16px; align-items: center; }
.contact__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); border: 1px solid rgba(43,140,240,0.3); }
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__details small { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--silver-2); }
.contact__details a, .contact__details div > span { font-family: "Sora", sans-serif; font-weight: 600; color: #fff; font-size: 1.02rem; }
.contact__details a:hover { color: var(--blue); }

.contact__form { background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--silver); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(8,11,18,0.6); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); color: var(--text); padding: 12px 14px; font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field select { appearance: none; cursor: pointer; }
.form__note { margin-top: 14px; font-size: 0.88rem; color: var(--blue); min-height: 1.2em; }
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}
.contact__form .btn:disabled { opacity: 0.7; cursor: wait; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 36px; align-items: start; padding-bottom: 44px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__tag { color: var(--muted); font-style: italic; margin-top: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: var(--muted); font-size: 0.92rem; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 4px; }
.footer__contact small { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--silver-2); margin-top: 8px; }
.footer__contact a { font-family: "Sora", sans-serif; font-weight: 600; color: #fff; }
.footer__contact a:hover { color: var(--blue); }
.footer__base { border-top: 1px solid var(--line); padding: 18px 0; }
.footer__base .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__base span { color: var(--silver-2); font-size: 0.8rem; }
.footer__base a { color: var(--silver); text-decoration: none; transition: color .2s; }
.footer__base a:hover { color: var(--blue); }

/* ---------- floating call button ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 14px 30px -10px var(--blue);
  animation: pulse 2.4s var(--ease) infinite;
}
.fab svg { fill: #fff; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 14px 30px -10px var(--blue), 0 0 0 0 rgba(43,140,240,0.4); }
  50% { box-shadow: 0 14px 30px -10px var(--blue), 0 0 0 12px rgba(43,140,240,0); }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .card--lg { grid-column: span 2; grid-row: span 2; }
  .card--wide { grid-column: span 2; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::before { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .testimonial--featured { grid-row: span 1; grid-column: 1 / -1; }
  .service-modal__styles { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 4px; padding: 90px 24px 30px; background: rgba(8,11,18,0.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); transform: translateY(-110%); transition: transform .4s var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { font-size: 1.1rem; padding: 10px 0; width: 100%; }
  .nav__cta { margin-top: 10px; }

  .hero__bar-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact__inner { grid-template-columns: 1fr; gap: 34px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .service-modal__gallery { grid-template-columns: 1fr; }
  .service-modal__panel { padding: 22px 16px 18px; }
  .section { padding: 72px 0; }
  .fab { display: grid; }
  .card__body p { opacity: 1; max-height: 80px; }
  .gallery__cap { opacity: 1; transform: none; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; bottom: 24px; top: auto; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { right: calc(50% - 56px); }
  .lightbox__nav--prev:hover { transform: translateX(-3px); }
  .lightbox__nav--next:hover { transform: translateX(3px); }
}

@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 170px; }
  .card--lg, .card--wide { grid-column: span 1; }
  .card--lg { grid-row: span 1; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { transform: none; }
}
