/* Purpose: Site-wide design system and component styles for Last Time Painting & Maintenance. */

@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=Outfit:wght@400;500;600;700;800&display=swap");

/* =========================
   Design Tokens
========================= */
:root {
  --color-bg: #fff8f1;
  --color-surface: #ffffff;
  --color-surface-alt: #ffe7d2;
  --color-text: #25161c;
  --color-muted: #5f4d54;
  --color-accent: #f05a28;
  --color-accent-dark: #b83020;
  --color-accent-soft: #ffd6b8;
  --color-border: #e3c8c0;
  --color-success: #1f7a59;

  --paint-orange: #ff6a2a;
  --paint-red: #ef3f3f;
  --paint-yellow: #ffd447;
  --paint-blue: #2b7fff;
  --paint-teal: #00a8a8;

  --font-heading: "Archivo Black", Impact, sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  --radius-sm: 0.5rem;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-pill: 999px;

  --shadow-sm: 0 10px 30px rgba(37, 22, 28, 0.12);
  --shadow-md: 0 22px 52px rgba(37, 22, 28, 0.2);
  --shadow-lg: 0 34px 72px rgba(37, 22, 28, 0.28);

  --container-max: 1140px;
  --header-height: 84px;

  --transition-base: 220ms ease;
  --transition-slow: 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

@property --button-shine {
  syntax: "<percentage>";
  inherits: false;
  initial-value: -140%;
}

/* =========================
   Base
========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.06rem;
  color: var(--color-text);
  background:
    radial-gradient(
      circle at 11% 4%,
      rgba(255, 106, 42, 0.22),
      transparent 42%
    ),
    radial-gradient(circle at 94% 9%, rgba(43, 127, 255, 0.2), transparent 40%),
    radial-gradient(
      circle at 86% 60%,
      rgba(0, 168, 168, 0.18),
      transparent 46%
    ),
    linear-gradient(180deg, #fff8f2 0%, #fff2e4 52%, #ffeede 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(0.5px);
}

body::before {
  width: 36rem;
  height: 36rem;
  top: -12rem;
  left: -10rem;
  background: radial-gradient(
    circle,
    rgba(255, 212, 71, 0.42),
    rgba(255, 212, 71, 0)
  );
  animation: drift-one 16s ease-in-out infinite;
}

body::after {
  width: 30rem;
  height: 30rem;
  right: -8rem;
  top: 28%;
  background: radial-gradient(
    circle,
    rgba(239, 63, 63, 0.26),
    rgba(239, 63, 63, 0)
  );
  animation: drift-two 20s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--color-muted);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.85rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

input,
textarea,
button,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
  background: var(--color-accent);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  z-index: 1000;
}

.container {
  width: min(var(--container-max), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: var(--space-8) 0;
}

.section-tight {
  position: relative;
  padding: var(--space-7) 0;
}

.section + .section::before,
.section-tight + .section-tight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(540px, 75%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(151, 112, 82, 0.34),
    transparent
  );
}

.section-title {
  max-width: 760px;
  margin-bottom: var(--space-5);
}

.section-title p {
  margin-top: var(--space-3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem;
  background: linear-gradient(90deg, #ffe8cf, #ffd8da);
  border: 1px solid rgba(200, 60, 40, 0.6);
  color: #81271f;
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--paint-red), var(--paint-orange));
}

.highlight {
  color: var(--color-accent-dark);
}

/* =========================
   Header & Navigation
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.site-header.scrolled {
  background: linear-gradient(
    180deg,
    rgba(255, 247, 239, 0.95),
    rgba(255, 238, 223, 0.93)
  );
  backdrop-filter: blur(18px) saturate(1.4);
  border-color: #e4c1b6;
  box-shadow: 0 12px 36px rgba(31, 26, 22, 0.14);
}

.header-wrap {
  min-height: var(--header-height);
  padding-block: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(1.06rem, 1.1vw, 1.22rem);
  letter-spacing: 0.01em;
  color: #2a191f;
  display: inline-block;
  position: relative;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.66);
}

.brand-name::after {
  content: "";
  display: block;
  width: 72%;
  height: 2px;
  margin-top: 0.2rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(240, 90, 40, 0.92),
    rgba(43, 127, 255, 0.32)
  );
  transform-origin: left;
  transition: width var(--transition-base);
}

.brand:hover .brand-name::after,
.brand:focus-visible .brand-name::after {
  width: 100%;
}

.brand-tagline {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  line-height: 1.1;
  color: #403730;
  position: relative;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(255, 106, 42, 0.15);
  color: #2f2721;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.08rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--paint-red), var(--paint-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.phone-link {
  font-weight: 700;
  color: #2f2721;
  white-space: nowrap;
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--paint-orange);
  background: linear-gradient(180deg, #fffdfa, #ffeedf);
}

.phone-link:hover {
  border-color: var(--paint-red);
}

.header-contact .btn {
  padding: 0.45rem 1rem;
  font-size: 1rem;
  white-space: nowrap;
  line-height: 1.1;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--paint-orange);
  background: var(--color-surface);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  bottom: -6px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: var(--space-4) 0 var(--space-5);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav .nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.mobile-nav .nav-link {
  padding: 0.65rem 1rem;
}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: var(--radius-pill);
  border: 0;
  padding: 0.72rem 1.22rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base),
    color var(--transition-base);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 35%,
    transparent 65%
  );
  translate: var(--button-shine) 0;
  transition: translate 600ms ease;
}

.btn:hover::before {
  --button-shine: 140%;
}

.btn:focus-visible {
  outline: 3px solid rgba(196, 98, 45, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(
    132deg,
    var(--paint-red),
    var(--paint-orange) 48%,
    #ff8740
  );
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 24px rgba(239, 63, 63, 0.34);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(239, 63, 63, 0.46);
  background: linear-gradient(132deg, #ff5145, #ff6a2a 52%, #ff9752);
}

.btn-secondary {
  background: linear-gradient(180deg, #ffffff, #fff5e8);
  border: 1px solid var(--paint-orange);
  color: #2c2218;
  box-shadow: 0 2px 8px rgba(31, 26, 22, 0.07);
}

.btn-secondary:hover {
  border-color: var(--paint-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(31, 26, 22, 0.14);
}

.btn-block {
  width: 100%;
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  overflow-x: clip;
  padding: calc(var(--space-8) + 0.5rem) 0 var(--space-8);
}

.hero > .container {
  position: relative;
}

.hero > .container::before,
.hero > .container::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
}

.hero > .container::before {
  width: 190px;
  height: 160px;
  left: -30px;
  top: -18px;
  opacity: 0.62;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220'%3E%3Cpath fill='%23ff6a2a' fill-opacity='0.9' d='M66 33c16-20 39-33 65-27 18 4 34 17 47 30 15 15 27 34 22 55-5 24-24 41-45 51-21 11-43 18-67 13-23-5-44-21-55-43-11-22-8-52 9-71 8-9 17-5 24-8z'/%3E%3Ccircle cx='48' cy='156' r='13' fill='%23ffd447' fill-opacity='0.92'/%3E%3Ccircle cx='198' cy='44' r='9' fill='%23ef3f3f' fill-opacity='0.88'/%3E%3Ccircle cx='216' cy='104' r='6' fill='%232b7fff' fill-opacity='0.86'/%3E%3C/svg%3E");
  animation: splat-float 12s ease-in-out infinite;
}

.hero > .container::after {
  width: 210px;
  height: 170px;
  right: -34px;
  bottom: -16px;
  opacity: 0.58;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 230'%3E%3Cpath fill='%232b7fff' fill-opacity='0.86' d='M197 27c31 10 56 34 63 66 7 32-8 67-33 88-25 21-59 29-92 24-25-4-49-16-65-35-16-19-23-45-18-70 7-36 30-70 66-78 16-4 31 0 46 5 10 4 21-4 33 0z'/%3E%3Cpath fill='%2300a8a8' fill-opacity='0.6' d='M82 62c17-4 34 7 42 23 8 16 7 37-4 52-13 16-37 22-55 11C48 138 41 115 48 96c5-16 17-30 34-34z'/%3E%3Ccircle cx='242' cy='60' r='12' fill='%23ef3f3f' fill-opacity='0.82'/%3E%3Ccircle cx='58' cy='181' r='10' fill='%23ffd447' fill-opacity='0.9'/%3E%3C/svg%3E");
  animation: splat-float 14s ease-in-out infinite reverse;
}

.hero > .container > * {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(1200px, 94%);
  height: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    124deg,
    rgba(255, 255, 255, 0.88),
    rgba(255, 247, 239, 0.56)
  );
  border: 1px solid transparent;
  border-top-width: 0;
  border-image: linear-gradient(
      90deg,
      var(--paint-orange),
      var(--paint-red) 33%,
      var(--paint-yellow) 66%,
      var(--paint-blue)
    )
    1;
  z-index: -1;
}

.hero-rainbow-top {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(1200px, 94%);
  height: 4px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--paint-orange),
    var(--paint-red) 20%,
    var(--paint-yellow) 40%,
    var(--paint-blue) 60%,
    var(--paint-teal) 80%,
    var(--paint-orange)
  );
  background-size: 200% 100%;
  animation: rainbow-slide 5s linear infinite;
  opacity: 0.92;
}

.hero::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 10%;
  width: 240px;
  height: 200px;
  background:
    radial-gradient(
      circle at 22% 28%,
      rgba(255, 106, 42, 0.4) 0 20%,
      transparent 24%
    ),
    radial-gradient(
      circle at 68% 22%,
      rgba(43, 127, 255, 0.33) 0 14%,
      transparent 18%
    ),
    radial-gradient(
      circle at 78% 62%,
      rgba(239, 63, 63, 0.35) 0 19%,
      transparent 24%
    ),
    radial-gradient(
      circle at 28% 80%,
      rgba(0, 168, 168, 0.3) 0 15%,
      transparent 21%
    );
  border-radius: 49% 51% 58% 42% / 44% 55% 45% 56%;
  filter: blur(0.3px);
  opacity: 0.78;
  z-index: -1;
  animation: splat-float 13s ease-in-out infinite;
}

body[data-page="home"] .hero > .container::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220'%3E%3Cpath fill='%23ff6a2a' fill-opacity='0.92' d='M66 33c16-20 39-33 65-27 18 4 34 17 47 30 15 15 27 34 22 55-5 24-24 41-45 51-21 11-43 18-67 13-23-5-44-21-55-43-11-22-8-52 9-71 8-9 17-5 24-8z'/%3E%3Ccircle cx='48' cy='156' r='13' fill='%23ffd447' fill-opacity='0.94'/%3E%3Ccircle cx='198' cy='44' r='9' fill='%23ef3f3f' fill-opacity='0.9'/%3E%3Ccircle cx='216' cy='104' r='6' fill='%232b7fff' fill-opacity='0.84'/%3E%3C/svg%3E");
}

body[data-page="home"] .hero > .container::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 230'%3E%3Cpath fill='%232b7fff' fill-opacity='0.84' d='M197 27c31 10 56 34 63 66 7 32-8 67-33 88-25 21-59 29-92 24-25-4-49-16-65-35-16-19-23-45-18-70 7-36 30-70 66-78 16-4 31 0 46 5 10 4 21-4 33 0z'/%3E%3Cpath fill='%23ff6a2a' fill-opacity='0.5' d='M82 62c17-4 34 7 42 23 8 16 7 37-4 52-13 16-37 22-55 11C48 138 41 115 48 96c5-16 17-30 34-34z'/%3E%3Ccircle cx='242' cy='60' r='12' fill='%23ef3f3f' fill-opacity='0.8'/%3E%3Ccircle cx='58' cy='181' r='10' fill='%23ffd447' fill-opacity='0.88'/%3E%3C/svg%3E");
}

body[data-page="about"] .hero > .container::before {
  transform: rotate(-8deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220'%3E%3Cpath fill='%2300a8a8' fill-opacity='0.82' d='M66 33c16-20 39-33 65-27 18 4 34 17 47 30 15 15 27 34 22 55-5 24-24 41-45 51-21 11-43 18-67 13-23-5-44-21-55-43-11-22-8-52 9-71 8-9 17-5 24-8z'/%3E%3Ccircle cx='48' cy='156' r='13' fill='%23ffd447' fill-opacity='0.86'/%3E%3Ccircle cx='198' cy='44' r='9' fill='%232b7fff' fill-opacity='0.84'/%3E%3Ccircle cx='216' cy='104' r='6' fill='%23ef3f3f' fill-opacity='0.75'/%3E%3C/svg%3E");
}

body[data-page="about"] .hero > .container::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 230'%3E%3Cpath fill='%23ffd447' fill-opacity='0.76' d='M197 27c31 10 56 34 63 66 7 32-8 67-33 88-25 21-59 29-92 24-25-4-49-16-65-35-16-19-23-45-18-70 7-36 30-70 66-78 16-4 31 0 46 5 10 4 21-4 33 0z'/%3E%3Cpath fill='%2300a8a8' fill-opacity='0.5' d='M82 62c17-4 34 7 42 23 8 16 7 37-4 52-13 16-37 22-55 11C48 138 41 115 48 96c5-16 17-30 34-34z'/%3E%3Ccircle cx='242' cy='60' r='12' fill='%232b7fff' fill-opacity='0.72'/%3E%3Ccircle cx='58' cy='181' r='10' fill='%23ff6a2a' fill-opacity='0.72'/%3E%3C/svg%3E");
}

body[data-page="services"] .hero > .container::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220'%3E%3Cpath fill='%23ef3f3f' fill-opacity='0.9' d='M66 33c16-20 39-33 65-27 18 4 34 17 47 30 15 15 27 34 22 55-5 24-24 41-45 51-21 11-43 18-67 13-23-5-44-21-55-43-11-22-8-52 9-71 8-9 17-5 24-8z'/%3E%3Ccircle cx='48' cy='156' r='13' fill='%23ff6a2a' fill-opacity='0.9'/%3E%3Ccircle cx='198' cy='44' r='9' fill='%23ffd447' fill-opacity='0.86'/%3E%3Ccircle cx='216' cy='104' r='6' fill='%232b7fff' fill-opacity='0.68'/%3E%3C/svg%3E");
}

body[data-page="services"] .hero > .container::after {
  transform: rotate(10deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 230'%3E%3Cpath fill='%23ff6a2a' fill-opacity='0.84' d='M197 27c31 10 56 34 63 66 7 32-8 67-33 88-25 21-59 29-92 24-25-4-49-16-65-35-16-19-23-45-18-70 7-36 30-70 66-78 16-4 31 0 46 5 10 4 21-4 33 0z'/%3E%3Cpath fill='%23ef3f3f' fill-opacity='0.54' d='M82 62c17-4 34 7 42 23 8 16 7 37-4 52-13 16-37 22-55 11C48 138 41 115 48 96c5-16 17-30 34-34z'/%3E%3Ccircle cx='242' cy='60' r='12' fill='%232b7fff' fill-opacity='0.72'/%3E%3Ccircle cx='58' cy='181' r='10' fill='%23ffd447' fill-opacity='0.82'/%3E%3C/svg%3E");
}

body[data-page="projects"] .hero > .container::before {
  transform: rotate(-8deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220'%3E%3Cpath fill='%232b7fff' fill-opacity='0.9' d='M66 33c16-20 39-33 65-27 18 4 34 17 47 30 15 15 27 34 22 55-5 24-24 41-45 51-21 11-43 18-67 13-23-5-44-21-55-43-11-22-8-52 9-71 8-9 17-5 24-8z'/%3E%3Ccircle cx='48' cy='156' r='13' fill='%2300a8a8' fill-opacity='0.86'/%3E%3Ccircle cx='198' cy='44' r='9' fill='%23ffd447' fill-opacity='0.72'/%3E%3Ccircle cx='216' cy='104' r='6' fill='%23ef3f3f' fill-opacity='0.66'/%3E%3C/svg%3E");
}

body[data-page="projects"] .hero > .container::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 230'%3E%3Cpath fill='%2300a8a8' fill-opacity='0.78' d='M197 27c31 10 56 34 63 66 7 32-8 67-33 88-25 21-59 29-92 24-25-4-49-16-65-35-16-19-23-45-18-70 7-36 30-70 66-78 16-4 31 0 46 5 10 4 21-4 33 0z'/%3E%3Cpath fill='%232b7fff' fill-opacity='0.56' d='M82 62c17-4 34 7 42 23 8 16 7 37-4 52-13 16-37 22-55 11C48 138 41 115 48 96c5-16 17-30 34-34z'/%3E%3Ccircle cx='242' cy='60' r='12' fill='%23ffd447' fill-opacity='0.72'/%3E%3Ccircle cx='58' cy='181' r='10' fill='%23ff6a2a' fill-opacity='0.68'/%3E%3C/svg%3E");
}

body[data-page="contact"] .hero > .container::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 220'%3E%3Cpath fill='%23ff6a2a' fill-opacity='0.86' d='M66 33c16-20 39-33 65-27 18 4 34 17 47 30 15 15 27 34 22 55-5 24-24 41-45 51-21 11-43 18-67 13-23-5-44-21-55-43-11-22-8-52 9-71 8-9 17-5 24-8z'/%3E%3Ccircle cx='48' cy='156' r='13' fill='%23ffd447' fill-opacity='0.92'/%3E%3Ccircle cx='198' cy='44' r='9' fill='%23ef3f3f' fill-opacity='0.78'/%3E%3Ccircle cx='216' cy='104' r='6' fill='%2300a8a8' fill-opacity='0.7'/%3E%3C/svg%3E");
}

body[data-page="contact"] .hero > .container::after {
  transform: rotate(10deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 230'%3E%3Cpath fill='%23ffd447' fill-opacity='0.8' d='M197 27c31 10 56 34 63 66 7 32-8 67-33 88-25 21-59 29-92 24-25-4-49-16-65-35-16-19-23-45-18-70 7-36 30-70 66-78 16-4 31 0 46 5 10 4 21-4 33 0z'/%3E%3Cpath fill='%23ff6a2a' fill-opacity='0.5' d='M82 62c17-4 34 7 42 23 8 16 7 37-4 52-13 16-37 22-55 11C48 138 41 115 48 96c5-16 17-30 34-34z'/%3E%3Ccircle cx='242' cy='60' r='12' fill='%23ef3f3f' fill-opacity='0.72'/%3E%3Ccircle cx='58' cy='181' r='10' fill='%232b7fff' fill-opacity='0.66'/%3E%3C/svg%3E");
}

.hero-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy p {
  margin-top: var(--space-4);
  max-width: 62ch;
}

.headline-accent {
  display: block;
  color: var(--color-accent-dark);
}

body[data-page="contact"] .hero-copy h1 {
  max-width: 14ch;
  line-height: 1.04;
  text-wrap: balance;
}

body[data-page="contact"] .hero-copy .headline-accent {
  font-size: 0.9em;
  margin: 0.12em 0 0.08em;
}

.hero-actions {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-notes {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  color: #473d35;
  font-size: 1rem;
  font-weight: 600;
}

.hero-notes span {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(240, 90, 40, 0.45);
  background: rgba(255, 255, 255, 0.82);
  padding: 0.35rem 0.68rem;
}

.hero-card {
  background: linear-gradient(165deg, #fffefc, #fff5e8);
  border: 1px solid transparent;
  border-image: linear-gradient(
      135deg,
      var(--paint-orange),
      var(--paint-yellow) 50%,
      var(--paint-blue)
    )
    1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card-content {
  padding: var(--space-5);
}

/* =========================
   Layout Helpers
========================= */
.grid-2 {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(170deg, #fff 0%, #fdf9f3 60%, #f9f4eb 100%);
  border: 1px solid transparent;
  border-top-width: 0;
  border-image: linear-gradient(
      135deg,
      var(--paint-orange),
      var(--paint-red) 33%,
      var(--paint-yellow) 66%,
      var(--paint-blue)
    )
    1;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-slow),
    box-shadow var(--transition-slow),
    border-color var(--transition-base);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--paint-orange),
    var(--paint-red) 20%,
    var(--paint-yellow) 40%,
    var(--paint-blue) 60%,
    var(--paint-teal) 80%,
    var(--paint-orange)
  );
  background-size: 200% 100%;
  opacity: 0.92;
  animation: rainbow-slide 5s linear infinite;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(37, 22, 28, 0.23);
  border-color: #d7a99f;
}

.card h3,
.card h4 {
  margin-bottom: var(--space-3);
}

.card p + p {
  margin-top: var(--space-3);
}

.icon-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: linear-gradient(145deg, #ffe0c8, #ffd5d8);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--paint-red), var(--paint-orange)) 1;
  color: #8f241c;
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.trust-bar {
  background:
    radial-gradient(
      circle at 14% 36%,
      rgba(255, 212, 71, 0.25),
      transparent 38%
    ),
    radial-gradient(
      circle at 88% 20%,
      rgba(43, 127, 255, 0.16),
      transparent 34%
    ),
    linear-gradient(180deg, #fff9f2, #ffeede);
  border-top: 1px solid var(--paint-orange);
  border-bottom: 1px solid var(--paint-teal);
}

.trust-list {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: var(--space-5) 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  color: #3c332c;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--paint-teal), var(--paint-blue));
}

.image-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--paint-orange), var(--paint-red)) 1;
}

.image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.about-hero-image img {
  height: 360px;
}

.home-about-feature {
  height: 100%;
}

.home-about-feature img {
  height: 100%;
  min-height: 340px;
}

.image-card:hover img {
  transform: scale(1.04);
}

.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.location-pill {
  border-radius: var(--radius-pill);
  background: var(--color-surface-alt);
  border: 1px solid rgba(0, 168, 168, 0.6);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  color: #42372f;
}

/* =========================
   Testimonials, FAQ, Forms
========================= */
.quote {
  position: relative;
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: -1.2rem;
  left: -0.2rem;
  font-size: 3rem;
  line-height: 1;
  color: #e8d6c6;
  font-family: Georgia, serif;
}

.quote p {
  position: relative;
}

.meta {
  margin-top: var(--space-3);
  color: #4b4037;
  font-weight: 700;
  font-size: 1rem;
}

.accordion {
  display: grid;
  gap: var(--space-3);
}

.accordion-item {
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      var(--paint-teal),
      var(--paint-blue) 60%,
      var(--paint-teal)
    )
    1;
  background: var(--color-surface);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  border: 0;
  padding: var(--space-4) var(--space-5);
  background: transparent;
  text-align: left;
  font-weight: 700;
  color: #2f2721;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.accordion-trigger span:last-child {
  font-weight: 800;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height var(--transition-base),
    padding var(--transition-base);
  padding: 0 var(--space-5);
}

.accordion-item.open .accordion-content {
  max-height: 280px;
  padding: 0 var(--space-5) var(--space-4);
}

.form {
  display: grid;
  gap: var(--space-4);
}

.form-row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-weight: 600;
  color: #382f29;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(240, 90, 40, 0.38);
  border-radius: 0;
  padding: 0.68rem 0.82rem;
  background: #fff;
  color: #241d18;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #ef5b31;
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.18);
}

.form-note {
  font-size: 0.98rem;
}

/* =========================
   Gallery
========================= */
.gallery-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid transparent;
  border-image: linear-gradient(
      135deg,
      var(--paint-blue),
      var(--paint-teal) 50%,
      var(--paint-yellow)
    )
    1;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-slow),
    box-shadow var(--transition-slow);
}

.gallery-item:hover {
  transform: translateY(-9px) scale(1.012);
  box-shadow: 0 24px 52px rgba(31, 26, 22, 0.26);
}

.gallery-grid-compact .gallery-item img {
  height: 230px;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition:
    transform var(--transition-slow),
    filter var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  padding: var(--space-4);
}

.gallery-caption h3 {
  margin-bottom: var(--space-2);
}

.gallery-caption p {
  margin: 0;
  color: var(--color-muted);
}

.gallery-meta {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(240, 90, 40, 0.45);
  background: linear-gradient(90deg, #fff5e7, #ffe6d6);
  color: var(--color-accent-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateY(-0.18rem);
}

.gallery-placeholder-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  background: linear-gradient(135deg, #faf7f2, #f3ede2);
}

.gallery-placeholder {
  text-align: center;
  color: var(--color-muted);
}

.gallery-placeholder svg {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-3);
  opacity: 0.6;
}

.gallery-placeholder p {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

/* =========================
   Projects & Filters
========================= */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.projects-layout {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-5);
}

.gallery-toolbar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.96), #fff3e6);
  box-shadow: 0 16px 32px rgba(37, 22, 28, 0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  backdrop-filter: blur(4px);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--paint-orange), var(--paint-blue))
    1;
}

.gallery-toolbar-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  cursor: pointer;
}

.gallery-toolbar-label {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5d4a3d;
}

.gallery-toolbar-toggle-icon {
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--paint-orange);
  background: #fff;
  color: #7a2f24;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  transition: transform var(--transition-base);
}

.gallery-toolbar-content {
  margin-top: var(--space-3);
}

.gallery-toolbar.is-collapsed .gallery-toolbar-content {
  display: none;
}

.gallery-toolbar.is-collapsed .gallery-toolbar-toggle-icon {
  transform: rotate(45deg);
}

.gallery-toolbar .filters {
  display: grid;
  gap: var(--space-2);
}

.gallery-stats {
  margin-top: var(--space-4);
  font-size: 1rem;
  font-weight: 600;
  color: #4b4037;
}

.filter-chip {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(43, 127, 255, 0.5);
  background: #fff;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  color: #4f4339;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);
}

.filter-chip:hover {
  border-color: var(--paint-orange);
  background: #fbf1e8;
}

.filter-chip.active {
  border-color: var(--paint-red);
  background: linear-gradient(140deg, #ffe8d5, #ffd9db);
  color: #6d221c;
}

.gallery-toolbar .filter-chip {
  width: 100%;
  text-align: left;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.label {
  display: inline-block;
  margin-top: var(--space-2);
  font-weight: 700;
  font-size: 0.92rem;
  color: #5b4e44;
}

/* =========================
   CTA Banner & Footer
========================= */
.cta-banner {
  position: relative;
  background: linear-gradient(130deg, #2d171f, #4c2722, #7a341f);
  color: #f9f1e8;
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: 0 32px 72px rgba(31, 26, 22, 0.4);
  overflow: hidden;
  border: 1px solid transparent;
  border-image: linear-gradient(
      130deg,
      rgba(255, 212, 71, 0.85),
      rgba(255, 106, 42, 0.75),
      rgba(43, 127, 255, 0.7)
    )
    1;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 14% 20%,
      rgba(255, 212, 71, 0.38) 0%,
      transparent 38%
    ),
    radial-gradient(
      circle at 85% 82%,
      rgba(43, 127, 255, 0.34) 0%,
      transparent 42%
    );
  pointer-events: none;
}

.cta-banner p {
  color: #eaded0;
  margin-top: var(--space-3);
  max-width: 62ch;
}

.cta-banner .hero-actions {
  margin-top: var(--space-5);
}

.cta-banner .btn-secondary {
  border-color: #8c7564;
  color: #fff;
  background: transparent;
}

.site-footer {
  margin-top: var(--space-8);
  background:
    radial-gradient(circle at 14% 0%, rgba(240, 90, 40, 0.35), transparent 40%),
    radial-gradient(
      circle at 92% 12%,
      rgba(43, 127, 255, 0.26),
      transparent 44%
    ),
    #1f1217;
  color: #dccfbe;
  border-top: 1px solid #74464f;
}

.footer-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  padding: var(--space-7) 0;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: var(--space-3);
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #dccfbe;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid #41362f;
  padding: var(--space-4) 0;
  font-size: 0.95rem;
  color: #bcae9f;
}

.floating-call-btn {
  position: fixed;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  z-index: 220;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-right: 0;
  border-radius: 0.9rem 0 0 0.9rem;
  background: linear-gradient(132deg, var(--paint-red), var(--paint-orange));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px rgba(31, 26, 22, 0.25);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
}

.floating-call-btn:hover,
.floating-call-btn:focus-visible {
  transform: translate(-4px, -50%);
  box-shadow: 0 16px 36px rgba(31, 26, 22, 0.34);
  background: linear-gradient(132deg, #ff5145, #ff6a2a);
  outline: none;
}

/* =========================
   Reveal Animations
========================= */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(16px);
}

.grid-2 .reveal:nth-child(2),
.grid-3 .reveal:nth-child(2),
.grid-4 .reveal:nth-child(2),
.gallery-grid .reveal:nth-child(2) {
  transition-delay: 70ms;
}

.grid-3 .reveal:nth-child(3),
.grid-4 .reveal:nth-child(3),
.gallery-grid .reveal:nth-child(3) {
  transition-delay: 140ms;
}

.grid-4 .reveal:nth-child(4),
.gallery-grid .reveal:nth-child(4) {
  transition-delay: 210ms;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift-one {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, 26px);
  }
}

@keyframes drift-two {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-36px, -22px);
  }
}

@keyframes splat-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(16px, -14px) rotate(8deg);
  }
}

@keyframes rainbow-slide {
  from {
    background-position: 0% 0;
  }

  to {
    background-position: 200% 0;
  }
}

/* =========================
   Lightbox
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 14, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(92vw, 1000px);
  max-height: 92dvh;
  width: 100%;
  overflow: hidden;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1015;
  max-height: 65dvh;
  overflow: hidden;
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-height: 65dvh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.lightbox-meta {
  display: inline-block;
  color: var(--color-accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lightbox-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 0;
}

.lightbox-desc {
  color: var(--color-muted);
  margin: 0;
}

.lightbox-counter {
  font-size: 0.92rem;
  color: var(--color-muted);
  font-weight: 600;
}

.lightbox-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-1);
}

.lightbox-filter-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.lightbox-filter-label {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  white-space: nowrap;
}

.lightbox-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.lightbox-filters .filter-chip {
  font-size: 0.88rem;
  padding: 0.25rem 0.65rem;
}

.lightbox-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: rgba(20, 10, 14, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem 0.4rem 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(4px);
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base);
  z-index: 3;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(20, 10, 14, 0.92);
  border-color: rgba(255, 255, 255, 0.7);
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 10, 14, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: var(--radius-pill);
  width: 3.2rem;
  height: 3.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition:
    background-color var(--transition-base),
    transform var(--transition-base);
  z-index: 3;
}

.lightbox-prev {
  left: var(--space-3);
}

.lightbox-next {
  right: var(--space-3);
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  background: rgba(20, 10, 14, 0.88);
  border-color: rgba(255, 255, 255, 0.6);
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.gallery-item .image-card {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px) {
  .hero-grid,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-list {
    grid-template-columns: 1fr 1fr;
  }

  .header-contact .phone-link,
  .header-contact .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .desktop-nav {
    display: none;
  }

  .projects-layout {
    grid-template-columns: 1fr;
  }

  .gallery-toolbar {
    position: static;
  }

  .gallery-toolbar-toggle {
    margin-bottom: var(--space-2);
  }

  .gallery-toolbar .filters {
    display: flex;
    flex-wrap: wrap;
  }

  .gallery-toolbar .filter-chip {
    width: auto;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 74px;
  }

  .section,
  .section-tight {
    padding: var(--space-7) 0;
  }

  .hero {
    padding-top: var(--space-7);
  }

  .hero > .container::before {
    width: 128px;
    height: 108px;
    left: -12px;
    top: 8px;
    opacity: 0.5;
  }

  .hero > .container::after {
    width: 138px;
    height: 112px;
    right: -14px;
    bottom: -4px;
    opacity: 0.48;
  }

  .hero::after {
    right: -8%;
    top: 5%;
    width: 170px;
    height: 140px;
    opacity: 0.62;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .form-row,
  .before-after {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: var(--space-5);
  }

  .image-card img {
    height: 200px;
  }

  .lightbox-panel {
    max-height: 96dvh;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 2rem;
  }

  .about-hero-image img {
    height: 260px;
  }

  .home-about-feature img {
    height: 260px;
    min-height: 260px;
  }

  .floating-call-btn {
    top: auto;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: 0.85rem;
    transform: none;
    border-right: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-pill);
    padding: 0.75rem 1rem;
  }

  .floating-call-btn:hover,
  .floating-call-btn:focus-visible {
    transform: translateY(-2px);
  }
}
