/* ===================================================
   SUMMERVILLE CONTRACTORS LTD — SHARED STYLESHEET
   =================================================== */

/* Font is loaded via <link> tags in each page <head> for non-render-blocking
   delivery and to preconnect to fonts.gstatic.com. Weights kept lean: 400/500/600/700/800 + italic 400. */

/* === TOKENS === */
:root {
  --white:      #FFFFFF;
  --bg-alt:     #F5F7F9;
  --bg-dark:    #0D1B2A;
  --dark:       #0D1B2A;
  --body:       #3B4D5C;
  --muted:      #7A8D9A;
  --border:     #DDE3E9;
  --brand:      #0BAFE8;
  --brand-dark: #0891C4;
  --brand-pale: #EBF7FD;
  --font:       'Montserrat', sans-serif;
  --max-w:      1200px;
  --nav-h:      100px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body { font-family: var(--font); color: var(--body); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
/* Picture wrappers should be invisible to layout so existing `.x img` rules
   keep targeting the inner <img> as if there were no <picture> in between. */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; }
p { line-height: 1.75; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

/* === SECTION SPACING === */
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 60px 0; } }
@media (max-width: 480px) { .section { padding: 44px 0; } }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.section-header { margin-bottom: 56px; }
@media (max-width: 480px) { .section-header { margin-bottom: 36px; } }
.section-header--center { text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--muted); max-width: 560px; font-size: 1rem; }
.section-header--center p { margin: 0 auto; }

/* === NAV === */
#nav-root {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo img { height: 59px; width: auto; transition: opacity 0.2s, transform 0.25s; }
.nav-logo img:hover { opacity: 0.85; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > .nav-dropdown-label {
  display: block;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.18s;
  cursor: pointer;
}
.nav-links > li > a,
.nav-links > li > .nav-dropdown-label { position: relative; }
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > li > .nav-dropdown-label:hover,
.nav-links > li > .nav-dropdown-label.active { color: var(--brand); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 14px;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 40px rgba(13,27,42,0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
}
/* Transparent bridge prevents mouse gap between nav link and dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown a {
  display: block;
  padding: 12px 22px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--body);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease, background 0.15s ease, padding-left 0.18s ease;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--brand);
  background: var(--brand-pale);
  padding-left: 26px;
  outline: none;
}

/* Parent-link active state while dropdown is open */
.nav-links > li.has-dropdown:hover > a,
.nav-links > li.has-dropdown:focus-within > a,
.nav-links > li.has-dropdown:hover > .nav-dropdown-label,
.nav-links > li.has-dropdown:focus-within > .nav-dropdown-label { color: var(--brand); }

/* Chevron indicator */
.nav-links > li.has-dropdown > a::after,
.nav-links > li.has-dropdown > .nav-dropdown-label::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.6;
  transform-origin: center 30%;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-links > li.has-dropdown:hover > a::after,
.nav-links > li.has-dropdown:focus-within > a::after,
.nav-links > li.has-dropdown:hover > .nav-dropdown-label::after,
.nav-links > li.has-dropdown:focus-within > .nav-dropdown-label::after {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-phone {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.15s;
}
.nav-phone:hover { color: var(--brand); }
.nav-phone svg { flex-shrink: 0; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), opacity 0.2s ease, background 0.2s ease;
  transform-origin: center;
}
.nav-hamburger:hover span { background: var(--brand); }

/* Open state — morphs into X */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #f9fafb;
  overflow-y: auto;
  padding: 8px 0 32px;
  border-top: 2px solid var(--brand);
  z-index: 199;
  flex-direction: column;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile > a {
  display: block;
  padding: 15px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: color 0.15s, background 0.15s;
}
.nav-mobile > a:hover { color: var(--brand); background: rgba(11,175,232,0.04); }
.nav-mobile .mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s cubic-bezier(0.22,1,0.36,1);
  background: #f1f3f5;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.05), inset 0 -1px 0 rgba(0,0,0,0.05);
}
.nav-mobile .mobile-sub.open { max-height: 540px; }
.nav-mobile .mobile-sub a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 24px 13px 40px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--body);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: color 0.15s, background 0.15s, padding-left 0.18s ease;
}
.nav-mobile .mobile-sub a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.35;
  flex-shrink: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.nav-mobile .mobile-sub a:last-child { border-bottom: none; }
.nav-mobile .mobile-sub a:hover,
.nav-mobile .mobile-sub a:active {
  color: var(--brand);
  background: rgba(11,175,232,0.07);
  padding-left: 44px;
}
.nav-mobile .mobile-sub a:hover::before { opacity: 1; transform: scale(1.3); }
.mobile-services-row {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.mobile-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 24px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.mobile-services-toggle:hover { color: var(--brand); background: rgba(11,175,232,0.04); }
.mobile-services-toggle.open { color: var(--brand); background: rgba(11,175,232,0.06); }
.mobile-services-toggle svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(11,175,232,0.1);
  color: var(--brand);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), background 0.15s;
}
.mobile-services-toggle.open svg { transform: rotate(180deg); background: var(--brand); color: #fff; }

/* Mobile contact button — hidden on desktop */
.nav-contact-btn { display: none; }

@media (max-width: 960px) {
  .nav-inner { justify-content: flex-start; }
  .nav-logo { margin-right: auto; }
  .nav-links, .nav-phone { display: none; }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .nav-actions .nav-quote-btn { display: none !important; }
  .nav-contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: none;
    border-radius: 0;
    white-space: nowrap;
    position: relative;
    isolation: isolate;
    filter: drop-shadow(0 2px 6px rgba(11,175,232,0.32));
    transition: filter 0.2s ease;
  }
  .nav-contact-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand-dark);
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    z-index: -2;
  }
  .nav-contact-btn::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    clip-path: polygon(9px 0%, 100% 0%, calc(100% - 9px) 100%, 0% 100%);
    z-index: -1;
  }
  .nav-contact-btn:hover,
  .nav-contact-btn:active { filter: drop-shadow(0 4px 12px rgba(11,175,232,0.45)); }
  .nav-contact-btn { margin-right: 10px; }
  .nav-hamburger { display: flex; margin-left: 0; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  :root { --nav-h: 72px; }
  .nav-logo img { height: 56px; }
}
@media (max-width: 480px) {
  .nav-logo img { height: 48px; }
  .nav-contact-btn { padding: 0.55rem 1.3rem; font-size: 0.72rem; }
}
/* Homepage only: shrink mobile Contact Us button by 20% */
@media (max-width: 960px) {
  body.home .nav-contact-btn {
    padding: 0.48rem 1.36rem;
    font-size: 0.624rem;
    letter-spacing: 0.05em;
  }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 1.7rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }

/* All buttons share a parallelogram shape with a visible blue edge drawn via
   pseudos (clip-path eats CSS borders on the diagonal sides). */
.btn-primary,
.btn-outline,
.btn-outline-white {
  background: transparent;
  border: none;
}
.btn-primary  { color: var(--white); --btn-fill: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); filter: drop-shadow(0 2px 6px rgba(11,175,232,0.32)); }
.btn-outline       { color: var(--dark);  --btn-fill: var(--white); }
.btn-outline-white { color: var(--white); --btn-fill: var(--bg-dark); }

.btn-primary::before,
.btn-outline::before,
.btn-outline-white::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-dark);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  z-index: -2;
}
.btn-primary::after,
.btn-outline::after,
.btn-outline-white::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: var(--btn-fill);
  clip-path: polygon(9px 0%, 100% 0%, calc(100% - 9px) 100%, 0% 100%);
  z-index: -1;
  transition: background 0.25s ease;
}

.btn-primary:hover { filter: drop-shadow(0 4px 12px rgba(11,175,232,0.45)); }
.btn-primary:hover::after { background: linear-gradient(135deg, #1cc2fb 0%, var(--brand) 100%); }

.btn-outline:hover,
.btn-outline-white:hover { color: var(--white); }
.btn-outline:hover::after,
.btn-outline-white:hover::after {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
}
.btn-lg { padding: 0.55rem 1.4rem; font-size: 0.82rem; }
.btn svg { flex-shrink: 0; }
@media (max-width: 600px) {
  .btn { padding: 0.95rem 1.7rem; }
  .btn-lg { padding: 0.95rem 1.6rem; }
}

/* === PAGE HERO BANNER === */
.page-banner {
  background: var(--bg-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 88px 0 76px;
  border-bottom: 3px solid var(--brand);
  position: relative;
  overflow: hidden;
}
/* Dark gradient overlay over the banner image */
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13,27,42,0.93) 0%, rgba(13,27,42,0.72) 55%, rgba(11,175,232,0.12) 100%),
    linear-gradient(to bottom, rgba(13,27,42,0.3) 0%, rgba(13,27,42,0.6) 100%);
  z-index: 1;
}
.page-banner .container {
  position: relative;
  z-index: 2;
}
.page-banner .eyebrow { color: rgba(255,255,255,0.55); }
.page-banner h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 16px; overflow-wrap: anywhere; }
.page-banner p { color: rgba(255,255,255,0.65); max-width: 580px; font-size: 0.95rem; }
@media (max-width: 600px) { .page-banner { padding: 56px 0 48px; } .page-banner h1 { line-height: 1.15; } }
@media (max-width: 480px) { .page-banner { padding: 44px 0 38px; } .page-banner p { font-size: 0.88rem; } .breadcrumb { font-size: 0.7rem; margin-bottom: 14px; flex-wrap: wrap; } }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.7); font-weight: 600; }
.breadcrumb svg { opacity: 0.4; }

/* === CARDS === */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card:hover::before { opacity: 0.30; }
.card--new-builds::before   { background-image: url('brand_assets/optimised/p9-14-1024w.jpg'); }
.card--extensions::before   { background-image: url('brand_assets/P2.JPG'); }
.card--renovations::before  { background-image: url('brand_assets/P7.jpg'); }
.card--attic::before        { background-image: url('brand_assets/p1.JPG'); }
.card--roofing::before      { background-image: url('brand_assets/P6.jpg'); }
.card--carpentry::before    { background-image: url('brand_assets/P5%20(10).jpg'); }
.card--velux::before        { background-image: url('brand_assets/V1.jpg'); }
.card > * { position: relative; z-index: 1; }
.card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 40px rgba(13,27,42,0.1);
  transform: translateY(-3px);
}
@media (max-width: 600px) { .card { padding: 28px 22px; } }
.card-icon {
  width: 52px;
  height: 52px;
  background: var(--brand-pale);
  border: 1px solid rgba(11,175,232,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.card:hover .card-icon { background: rgba(11,175,232,0.15); transform: scale(1.05); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* === GRIDS === */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.grid-3 > * { background: var(--white); }
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } .grid-2 { gap: 40px; } }
@media (max-width: 600px) { .grid-cards { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; gap: 32px; } .grid-3 { grid-template-columns: 1fr; } }

/* === STATS BAR === */
.stats-bar {
  background: var(--bg-dark);
  padding: 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 40px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-right: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.stat-item:first-child { border-left: 1px solid rgba(255,255,255,0.07); }
.stat-icon {
  width: 46px;
  height: 46px;
  background: rgba(11,175,232,0.12);
  border: 1px solid rgba(11,175,232,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 900px) {
  .stat-item { gap: 12px; padding: 32px 20px; }
  .stat-icon { width: 38px; height: 38px; }
  .stat-number { font-size: 2rem; }
}
@media (max-width: 700px) {
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 24px 16px; gap: 12px; }
  .stat-icon { width: 34px; height: 34px; border-radius: 8px; }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.65rem; letter-spacing: 0.07em; }
}

/* === DIVIDER === */
.divider { width: 48px; height: 3px; background: var(--brand); margin: 0 0 28px; }
.divider--center { margin: 0 auto 28px; }

/* === PROJECT CARDS === */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: brightness(0.9) contrast(1.02);
}
.project-card:hover img { transform: scale(1.05); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, rgba(13,27,42,0.2) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-overlay .tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 6px;
}
.project-card-overlay h4 { color: var(--white); font-size: 1rem; }
.proj-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 16px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  align-self: flex-start;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.project-card:hover .proj-view-btn { opacity: 1; transform: translateY(0); }
@media (max-width: 700px) { .project-grid { grid-template-columns: 1fr; } }

/* === PROCESS STEPS === */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step {
  padding: 36px 28px;
  border-left: 1px solid var(--border);
  position: relative;
}
.process-step:first-child { border-left: none; }
.step-number {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 16px; display: block;
}
.process-step h4 { margin-bottom: 10px; font-size: 1rem; }
.process-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-left: none; }
  .process-step:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 500px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-step:nth-child(n+2) { border-top: 1px solid var(--border); }
}

/* === TESTIMONIALS === */
.testimonial {
  padding: 36px;
  border: 1px solid var(--border);
  background: var(--white);
}
@media (max-width: 600px) { .testimonial { padding: 26px 22px; } }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 20px; }
.testimonial p { font-size: 0.9rem; line-height: 1.8; color: var(--body); font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 36px; height: 36px;
  background: var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: var(--white);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.85rem; color: var(--dark); }
.testimonial-author span { font-size: 0.75rem; color: var(--muted); }

/* === CTA SECTION === */
.cta-section {
  background: var(--brand);
  padding: 80px 0;
}
.cta-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-section h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
@media (max-width: 700px) { .cta-section .container { flex-direction: column; text-align: center; align-items: center; } .cta-section { padding: 60px 0; } }

/* === CONTACT FORM === */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border);
  outline: none;
  transition: border-color 0.18s;
  -webkit-appearance: none;
}
.form-control:focus { border-color: var(--brand); }
.form-control::placeholder { color: var(--muted); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A8D9A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* === CHECKLIST === */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: var(--body);
}
.checklist li::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  min-width: 18px;
  background: var(--brand-pale);
  border: 1px solid rgba(11,175,232,0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%230BAFE8' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* === INFO BLOCK === */
.info-contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.info-contact-item:first-child { border-top: 1px solid var(--border); }
.info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--brand-pale);
  border: 1px solid rgba(11,175,232,0.2);
  display: flex; align-items: center; justify-content: center;
}
.info-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px; display: block;
}
.info-contact-item a { font-size: 0.9rem; font-weight: 600; color: var(--dark); transition: color 0.15s; }
.info-contact-item a:hover { color: var(--brand); }
.info-contact-item p { font-size: 0.9rem; color: var(--dark); font-weight: 600; }

/* === FOOTER === */
#footer-root {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.55);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 72px 0 48px;
}
.footer-logo img { height: 78px; width: auto; margin-bottom: 20px; }
.footer-tagline { font-size: 0.85rem; line-height: 1.8; max-width: 240px; }
.footer-heading {
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--brand); }
.footer-contact-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; line-height: 1.6;
  margin-bottom: 10px;
}
.footer-contact-line svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-line a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-contact-line a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.75rem;
}
.footer-accreditations { display: flex; gap: 20px; align-items: center; }
.accreditation-badge {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 12px;
}
.accreditation-badge svg { opacity: 0.5; }
.footer-seai { height: 55px; width: auto; opacity: 0.85; background: #fff; padding: 6px 10px; border-radius: 3px; display: block; }
.footer-seai:hover { opacity: 1; }
@media (min-width: 901px) { .footer-seai { height: 66px; } }

/* === LEGAL PAGES PROSE === */
.legal-prose { max-width: 760px; margin: 0 auto; }
.legal-prose h2 { font-size: 1.5rem; margin-top: 48px; margin-bottom: 16px; letter-spacing: -0.01em; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { color: var(--body); margin-bottom: 16px; }
.legal-prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; color: var(--body); }
.legal-prose ul li { line-height: 1.75; margin-bottom: 6px; }
.legal-prose a { color: var(--brand); text-decoration: underline; }
.legal-prose a:hover { color: var(--brand-dark); }
.legal-prose strong { font-weight: 700; color: var(--dark); }
.legal-prose hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.legal-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }

/* === COOKIE CONSENT BANNER === */
#cookie-consent {
  position: fixed;
  bottom: 18px;
  right: 18px;
  left: 18px;
  max-width: 420px;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  box-shadow: 0 12px 40px rgba(13,27,42,0.18);
  padding: 18px 20px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--body);
  z-index: 9999;
  display: none;
  border-radius: 4px;
}
#cookie-consent.is-visible { display: block; animation: cookieIn 0.32s ease-out; }
#cookie-consent p { margin: 0 0 12px; }
#cookie-consent a { color: var(--brand); text-decoration: underline; }
#cookie-consent .cookie-actions { display: flex; justify-content: flex-end; gap: 10px; }
#cookie-consent .btn { padding: 8px 22px; font-size: 0.72rem; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) { #cookie-consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 550px) { .footer-main { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } .footer-accreditations { justify-content: center; flex-wrap: wrap; } }

/* === SERVICE DETAIL PAGE === */
.service-detail-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.service-detail-intro .image-frame {
  position: relative;
}
/* Let each service image render at its native aspect ratio — no enforced
   crop or aspect-ratio constraint. */
.service-detail-intro img {
  width: 100%; height: auto; display: block;
}
.service-detail-intro .image-frame::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  right: 24px; bottom: 24px;
  border: 2px solid var(--brand);
  z-index: -1;
  opacity: 0.3;
}
@media (max-width: 860px) {
  .service-detail-intro { grid-template-columns: 1fr; }
  .service-detail-intro .image-frame::before { top: 0; left: 0; right: 12px; bottom: 12px; }
}

/* === ABOUT PAGE === */
.value-item {
  padding: 32px;
  border-top: 3px solid transparent;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
}
.value-item h4 { margin-bottom: 10px; font-size: 1rem; }
.value-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; }

/* === SERVICES PAGE GRID === */
.svc-grid { display: flex; flex-wrap: wrap; gap: 2px; }
.svc-card { background: var(--white); padding: 48px; display: flex; gap: 32px; align-items: flex-start; transition: background 0.2s; flex: 0 0 calc((100% - 2px) / 2); }
.svc-card:hover, .svc-card:focus-within { background: var(--brand-pale); }
@media (max-width: 700px) { .svc-card { flex: 0 0 100%; } }
@media (max-width: 600px) { .svc-card { padding: 24px 20px; gap: 16px; } }

/* === SERVICE DETAIL 2-COL GRID === */
.svc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 768px) { .svc-detail-grid { grid-template-columns: 1fr; gap: 40px; } }

/* === ABOUT PAGE === */
.about-img-badge { position: absolute; bottom: -20px; right: -20px; background: var(--brand); padding: 24px 28px; box-shadow: 0 8px 40px rgba(11,175,232,0.25); }
@media (max-width: 768px) { .about-img-badge { bottom: 0; right: 0; } }
.county-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
@media (max-width: 480px) { .county-grid { grid-template-columns: 1fr; } }

/* === UTILITY === */
.text-brand { color: var(--brand); }
.text-muted { color: var(--muted); }
.text-dark { color: var(--dark); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===================================================
   ANIMATIONS & HOVER EFFECTS
   =================================================== */

/* --- Hero load animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-anim-1 { animation: fadeUp 0.65s 0.05s cubic-bezier(0.22,1,0.36,1) both; }
.hero-anim-2 { animation: fadeUp 0.65s 0.18s cubic-bezier(0.22,1,0.36,1) both; }
.hero-anim-3 { animation: fadeUp 0.65s 0.3s  cubic-bezier(0.22,1,0.36,1) both; }
.hero-anim-4 { animation: fadeUp 0.65s 0.44s cubic-bezier(0.22,1,0.36,1) both; }
.hero-anim-5 { animation: fadeUp 0.65s 0.58s cubic-bezier(0.22,1,0.36,1) both; }
.hero-anim-img { animation: slideInRight 0.85s 0.1s cubic-bezier(0.22,1,0.36,1) both; }

/* --- Scroll reveal --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"] {
  transform: translateX(-24px);
}
[data-reveal="left"].is-visible {
  transform: translateX(0);
}
[data-reveal="right"] {
  transform: translateX(24px);
}
[data-reveal="right"].is-visible {
  transform: translateX(0);
}
[data-reveal="fade"] {
  transform: none;
}
[data-reveal="fade"].is-visible {
  transform: none;
}

/* --- Enhanced card hover --- */
.card {
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.card:hover::after { transform: scaleX(1); }
.card:hover .card-icon { background: rgba(11,175,232,0.18); }

/* --- Nav link animated underline (uses ::before to avoid conflict with chevron ::after) --- */
.nav-links > li > a {
  position: relative;
}
.nav-links > li > a::before {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.24s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.nav-links > li > a:hover::before,
.nav-links > li > a.active::before {
  transform: scaleX(1);
  transform-origin: left center;
}

/* --- Button arrow nudge --- */
.btn svg {
  transition: transform 0.2s cubic-bezier(0.22,1,0.36,1);
}
.btn:hover svg { transform: translateX(4px); }

/* --- Testimonial hover --- */
.testimonial {
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s cubic-bezier(0.22,1,0.36,1);
}
.testimonial:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 32px rgba(13,27,42,0.08);
  transform: translateY(-4px);
}

/* --- Stat item pulse on enter --- */
@keyframes statPulse {
  0%   { transform: scale(0.85); opacity: 0; }
  60%  { transform: scale(1.05); }
  100% { transform: scale(1);    opacity: 1; }
}
.stat-item.is-visible .stat-number {
  animation: statPulse 0.55s cubic-bezier(0.22,1,0.36,1) both;
}

/* --- Image reveal with overlay wipe --- */
.img-reveal {
  position: relative;
  overflow: hidden;
}
.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-alt);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.75s 0.15s cubic-bezier(0.77,0,0.18,1);
}
.img-reveal.is-visible::after { transform: scaleX(0); }

/* --- Service row hover (services.html grid) --- */
.service-row-item {
  transition: background 0.22s;
}
.service-row-item:hover { background: var(--brand-pale) !important; }

/* --- Project card enhanced overlay --- */
.project-item-overlay,
.project-card-overlay {
  transition: opacity 0.35s cubic-bezier(0.22,1,0.36,1);
}
.project-item img,
.project-card img {
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1), filter 0.35s;
}
.project-item:hover img { filter: brightness(0.82) saturate(1.1); }

/* --- Value item hover --- */
.value-item {
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.22s cubic-bezier(0.22,1,0.36,1);
}
.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(13,27,42,0.07);
}

/* --- Page banner subtle parallax text --- */
.page-banner h1 {
  animation: fadeUp 0.6s 0.1s cubic-bezier(0.22,1,0.36,1) both;
}
.page-banner p {
  animation: fadeUp 0.6s 0.22s cubic-bezier(0.22,1,0.36,1) both;
}
.page-banner .breadcrumb {
  animation: fadeIn 0.5s 0.05s ease both;
}
.page-banner .eyebrow {
  animation: fadeIn 0.5s 0.05s ease both;
}

/* ===================================================
   GRADIENT ENHANCEMENTS & BACKGROUND EFFECTS
   =================================================== */

/* Section alt — subtle radial blue glow corner */
.section--alt {
  position: relative;
  overflow: hidden;
}
.section--alt::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(11,175,232,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.section--alt > * { position: relative; z-index: 1; }

/* Stats bar — diagonal stripe texture */
.stats-bar {
  position: relative;
  overflow: hidden;
}
.stats-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.018) 20px,
    rgba(255,255,255,0.018) 21px
  );
  pointer-events: none;
}

/* CTA section — richer gradient */
.cta-section {
  background: linear-gradient(135deg, #0891C4 0%, #0BAFE8 50%, #3DC5F5 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13,27,42,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }

/* Dark section — subtle blue top glow */
.section--dark {
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--brand), transparent);
}

/* Hero section — faint radial glow behind image side */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at right, rgba(11,175,232,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Page banner — grain texture for depth */
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Project grid — subtle gap glow */
.project-grid, .projects-full-grid {
  position: relative;
}

/* Enhanced card icon hover */
.card:hover .card-icon {
  background: linear-gradient(135deg, rgba(11,175,232,0.2) 0%, rgba(11,175,232,0.08) 100%);
  border-color: rgba(11,175,232,0.4);
  transform: scale(1.05);
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}
.card-icon {
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}

/* === PROJECT CAROUSEL === */
.proj-carousel-outer { position: relative; }
.proj-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.proj-carousel-outer { overflow: hidden; }
.proj-carousel-track .project-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
}
.proj-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.proj-carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}
.proj-carousel-btn:hover { border-color: var(--brand); background: var(--brand); color: #fff; transform: scale(1.05); }
.proj-carousel-btn:disabled { opacity: 0.3; pointer-events: none; }
.proj-carousel-dots { display: flex; gap: 8px; }
.proj-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  padding: 0;
}
.proj-carousel-dot.active { background: var(--brand); transform: scale(1.25); }
@media (max-width: 768px) {
  .proj-carousel-track .project-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 500px) {
  .proj-carousel-track .project-card { flex: 0 0 100%; }
}

/* === VALUES REDESIGN === */
.value-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.value-item:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 28px rgba(13,27,42,0.08);
  transform: translateY(-2px);
}
.value-icon {
  width: 52px; height: 52px;
  background: var(--brand-pale);
  border: 1px solid rgba(11,175,232,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.25s ease;
}
.value-item:hover .value-icon { background: rgba(11,175,232,0.15); }
.value-item h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.value-item p { font-size: 0.875rem; color: var(--body); line-height: 1.7; }

/* Footer — subtle brand gradient at top edge */
#footer-root::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(to right, transparent 0%, var(--brand) 30%, var(--brand) 70%, transparent 100%);
}
