/* ============================================
   ColorWave Painting — Modern redesign
   Palette inspired by colorwave-painting.com
   ============================================ */

:root {
  --color-bg: #faf8f6;
  --color-surface: #ffffff;
  --color-surface-soft: #f3efe9;
  --color-border: #e6ddd3;
  --color-text: #202020;
  --color-text-muted: #59493b;
  --color-heading: #202020;
  --color-magenta: #c45da8;
  --color-magenta-dark: #a84a90;
  --color-blue: #75b8d8;
  --color-blue-dark: #4a9bc0;
  --color-green: #bad082;
  --color-green-dark: #8fb85a;
  --color-orange: #faa21e;
  --color-peach: #efa693;
  --color-navy: #304254;
  --color-primary: var(--color-magenta);
  --color-primary-hover: var(--color-magenta-dark);
  --color-accent: var(--color-blue);
  --color-danger: #c0392b;
  --color-success: #2d8a5e;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 12px 40px rgba(32, 32, 32, 0.08);
  --shadow-sm: 0 4px 16px rgba(32, 32, 32, 0.06);
  --max-width: 1120px;
  --header-height: 76px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* ColorWave painting scene — full site background */
  background-color: #e8e4de;
  background-image:
    linear-gradient(
      180deg,
      rgba(250, 248, 246, 0.55) 0%,
      rgba(250, 248, 246, 0.42) 45%,
      rgba(250, 248, 246, 0.62) 100%
    ),
    url("../images/bg-tile.jpg");
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
}

@media (max-width: 700px) {
  body {
    background-attachment: scroll, scroll;
    background-size: auto, cover;
    background-position: center, center top;
  }
}

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

a {
  color: var(--color-magenta);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-magenta-dark);
}

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

main {
  flex: 1;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(250, 248, 246, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(200px, 48vw);
  object-fit: contain;
}

.footer-brand .logo-img {
  height: 56px;
  max-width: 220px;
  filter: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.15rem;
  align-items: center;
}

.nav-links a {
  color: var(--color-text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
  background: var(--color-surface-soft);
}

.nav-links a.nav-cta {
  background: var(--color-magenta);
  color: #fff;
  margin-left: 0.35rem;
}

.nav-links a.nav-cta:hover {
  background: var(--color-magenta-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.55rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  font-family: inherit;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-magenta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(196, 93, 168, 0.3);
}

.btn-primary:hover {
  background: var(--color-magenta-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-magenta);
  color: var(--color-text);
  background: #fff;
}

.btn-blue {
  background: var(--color-blue);
  color: #163043;
  box-shadow: 0 8px 20px rgba(117, 184, 216, 0.35);
}

.btn-blue:hover {
  background: var(--color-blue-dark);
  color: #fff;
}

.btn-full {
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 55% at 90% 10%, rgba(196, 93, 168, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 45% at 5% 80%, rgba(117, 184, 216, 0.18), transparent 55%),
    radial-gradient(ellipse 35% 40% at 55% 100%, rgba(186, 208, 130, 0.2), transparent 50%),
    radial-gradient(ellipse 30% 30% at 70% 50%, rgba(250, 162, 30, 0.1), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-grid--solo {
  grid-template-columns: 1fr;
  max-width: 40rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 3px rgba(186, 208, 130, 0.35);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
  font-weight: 800;
  color: var(--color-heading);
}

.hero h1 .highlight {
  background: linear-gradient(100deg, var(--color-magenta), var(--color-blue) 55%, var(--color-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--color-text-muted);
  max-width: 40ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.palette-strip {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.palette-strip span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-badge {
  position: absolute;
  left: -0.75rem;
  bottom: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow);
  max-width: 200px;
}

.hero-badge strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-magenta);
  line-height: 1.1;
}

.hero-badge span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Full-bleed brand banner on homepage */
.brand-banner {
  padding: 2.5rem 0 0;
}

.brand-banner-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: min(52vw, 420px);
}

.brand-banner-inner img {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
}

/* Animated ColorWave flow (CSS stand-in for Imagine video) */
.brand-anim {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.brand-anim-wave {
  position: absolute;
  width: 160%;
  height: 70%;
  left: -30%;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.85;
  mix-blend-mode: multiply;
  animation: wave-drift 10s ease-in-out infinite;
}

.brand-anim-wave.w1 {
  top: 8%;
  background: linear-gradient(
    90deg,
    #75b8d8,
    #bad082,
    #faa21e,
    #c45da8,
    #75b8d8
  );
  background-size: 200% 100%;
  animation-name: wave-drift, wave-shift;
  animation-duration: 12s, 8s;
  animation-timing-function: ease-in-out, linear;
  animation-iteration-count: infinite, infinite;
}

.brand-anim-wave.w2 {
  top: 28%;
  height: 55%;
  opacity: 0.75;
  background: linear-gradient(
    90deg,
    #c45da8,
    #efa693,
    #faa21e,
    #75b8d8,
    #c45da8
  );
  background-size: 200% 100%;
  animation-name: wave-drift-alt, wave-shift;
  animation-duration: 14s, 9s;
  animation-timing-function: ease-in-out, linear;
  animation-iteration-count: infinite, infinite;
  animation-delay: -2s, 0s;
}

.brand-anim-wave.w3 {
  top: 48%;
  height: 50%;
  opacity: 0.65;
  background: linear-gradient(
    90deg,
    #faa21e,
    #c45da8,
    #75b8d8,
    #bad082,
    #faa21e
  );
  background-size: 200% 100%;
  animation-name: wave-drift, wave-shift;
  animation-duration: 11s, 7s;
  animation-timing-function: ease-in-out, linear;
  animation-iteration-count: infinite, infinite;
  animation-delay: -4s, -1s;
}

.brand-anim-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    rgba(196, 93, 168, 0.18),
    rgba(117, 184, 216, 0.12),
    transparent 70%
  );
  animation: glow-pulse 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes wave-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scaleY(1) rotate(-2deg);
  }
  50% {
    transform: translate3d(6%, 4%, 0) scaleY(1.08) rotate(2deg);
  }
}

@keyframes wave-drift-alt {
  0%,
  100% {
    transform: translate3d(4%, 2%, 0) scaleY(1.05) rotate(1deg);
  }
  50% {
    transform: translate3d(-5%, -3%, 0) scaleY(0.95) rotate(-2deg);
  }
}

@keyframes wave-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Optional video hero when Imagine clip is provided */
.brand-video-wrap {
  position: relative;
  width: 100%;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  background: #fff;
  aspect-ratio: 16 / 10;
  max-height: 520px;
}

.brand-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .brand-anim-wave,
  .brand-anim-glow {
    animation: none !important;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.84);
  border-block: 1px solid var(--color-border);
}

.section-soft {
  background: linear-gradient(
    180deg,
    rgba(250, 248, 246, 0.45) 0%,
    rgba(240, 247, 251, 0.7) 45%,
    rgba(245, 248, 236, 0.75) 100%
  );
}

.section-header {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.section-header.center {
  text-align: center;
  margin-inline: auto;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-magenta);
  margin-bottom: 0.6rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
  font-weight: 800;
  color: var(--color-heading);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ---------- About band ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.about-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.about-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.about-card p {
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.stat-box {
  background: var(--color-surface-soft);
  border-radius: var(--radius-sm);
  padding: 1rem 0.75rem;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-magenta);
  line-height: 1.1;
}

.stat-box span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ---------- Why choose us ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #e0c8d9;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #fff;
}

.feature-card:nth-child(3n + 1) .feature-icon {
  background: linear-gradient(135deg, var(--color-magenta), #e08bc8);
}

.feature-card:nth-child(3n + 2) .feature-icon {
  background: linear-gradient(135deg, var(--color-blue), #9fd0e8);
  color: #163043;
}

.feature-card:nth-child(3n + 3) .feature-icon {
  background: linear-gradient(135deg, var(--color-green), #d4e6a8);
  color: #33441a;
}

.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
  font-weight: 800;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- Services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.service-card:nth-child(1)::before {
  background: var(--color-magenta);
}

.service-card:nth-child(2)::before {
  background: var(--color-blue);
}

.service-card:nth-child(3)::before {
  background: var(--color-orange);
}

.service-card:nth-child(4)::before {
  background: var(--color-green);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 0.35rem;
}

.service-card p {
  color: var(--color-text-muted);
  flex: 1;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0 0.5rem;
}

.service-card li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
}

.service-card .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

/* ---------- Reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: #f5b301;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.review-stars .star {
  color: #f5b301;
}

.review-card blockquote {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
  quotes: none;
}

.review-card cite {
  font-style: normal;
  font-weight: 800;
  color: var(--color-text);
  font-size: 0.95rem;
}

/* ---------- Projects gallery ---------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.project-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-surface-soft);
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(196, 93, 168, 0.12), rgba(117, 184, 216, 0.14)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.35) 8px,
      rgba(255, 255, 255, 0.35) 16px
    );
  color: var(--color-text-muted);
}

.project-placeholder span {
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-text);
}

.project-placeholder small {
  font-size: 0.75rem;
  font-weight: 600;
  word-break: break-all;
  max-width: 90%;
}

.project-card.is-placeholder .project-image img {
  display: none;
}

.project-card.is-placeholder .project-placeholder {
  display: flex;
}

.project-info {
  padding: 1rem 1.15rem 1.2rem;
}

.project-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.project-info p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, #c45da8 0%, #8e6bb8 40%, #75b8d8 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 2.75rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.cta-band p {
  opacity: 0.95;
  max-width: 38ch;
  margin: 0 auto 1.5rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--color-magenta-dark);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: #fff8fc;
  color: var(--color-text);
}

.cta-band .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---------- Page hero ---------- */

.page-hero {
  padding: 3.25rem 0 1.5rem;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 70% at 95% 0%, rgba(196, 93, 168, 0.12), transparent),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(117, 184, 216, 0.12), transparent);
  pointer-events: none;
  z-index: -1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
  font-weight: 800;
}

.page-hero p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 48ch;
}

/* ---------- About page ---------- */

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 2.25rem;
  align-items: start;
}

.team-card {
  background: linear-gradient(165deg, #fff 0%, #f8eef5 45%, #eaf5fb 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--color-magenta), var(--color-blue));
  box-shadow: 0 8px 20px rgba(196, 93, 168, 0.25);
}

.team-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
}

.team-card .role {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.team-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.team-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.team-list strong {
  display: block;
  font-size: 0.95rem;
}

.team-list span,
.team-list a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.about-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 1.75rem 0 0.75rem;
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 0.9rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin-top: 0.35rem;
}

.skills li {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
}

.skills li:nth-child(4n + 1) {
  background: rgba(196, 93, 168, 0.1);
  border-color: rgba(196, 93, 168, 0.25);
  color: #8a3f76;
}

.skills li:nth-child(4n + 2) {
  background: rgba(117, 184, 216, 0.14);
  border-color: rgba(117, 184, 216, 0.35);
  color: #2d6d8c;
}

.skills li:nth-child(4n + 3) {
  background: rgba(186, 208, 130, 0.18);
  border-color: rgba(186, 208, 130, 0.45);
  color: #4d6b28;
}

.skills li:nth-child(4n + 4) {
  background: rgba(250, 162, 30, 0.12);
  border-color: rgba(250, 162, 30, 0.35);
  color: #9a6400;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.75rem;
  align-items: start;
}

.contact-info {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-info h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-details .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-weight: 800;
}

.contact-details span {
  color: var(--color-text);
  font-weight: 600;
}

.contact-details a {
  color: var(--color-magenta);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
  width: fit-content;
}

.contact-details a:hover {
  color: var(--color-magenta-dark);
}

.contact-details a[href^="mailto:"],
.contact-details a[href^="tel:"],
.contact-details a[href^="https://wa.me"] {
  color: var(--color-magenta);
}

.contact-form {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-group .hint {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-magenta);
  box-shadow: 0 0 0 3px rgba(196, 93, 168, 0.18);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--color-danger);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  display: none;
  color: var(--color-danger);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.field-error.visible {
  display: block;
}

.form-message {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-message.success {
  display: block;
  background: rgba(45, 138, 94, 0.1);
  border: 1px solid var(--color-success);
  color: var(--color-success);
}

.form-message.error {
  display: block;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid var(--color-danger);
  color: var(--color-danger);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2.25rem 0;
  margin-top: auto;
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 32ch;
  line-height: 1.55;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
  font-weight: 800;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col a[href^="mailto:"] {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

/* ---------- WhatsApp widget ---------- */

.wa-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.wa-panel {
  width: min(300px, calc(100vw - 2.5rem));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(32, 32, 32, 0.16);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.9) translateY(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
}

.wa-widget.open .wa-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wa-panel-header {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 1rem 1.1rem;
}

.wa-panel-header strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.wa-panel-header p {
  font-size: 0.85rem;
  opacity: 0.95;
  margin: 0;
  line-height: 1.4;
}

.wa-contacts {
  list-style: none;
  padding: 0.5rem;
  margin: 0;
}

.wa-contacts a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition);
}

.wa-contacts a:hover {
  background: rgba(37, 211, 102, 0.12);
  color: var(--color-text);
}

.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.wa-avatar--photo {
  background: #e8e4de;
  padding: 0;
}

.wa-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wa-contacts li:nth-child(2) .wa-avatar:not(.wa-avatar--photo) {
  background: linear-gradient(135deg, var(--color-magenta), var(--color-blue));
}

.wa-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.wa-meta .name {
  font-weight: 700;
  font-size: 0.95rem;
}

.wa-meta .role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.wa-meta .action {
  font-size: 0.8rem;
  color: #128c7e;
  font-weight: 600;
}

.wa-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.wa-fab:hover {
  background: #20bd5a;
  transform: scale(1.05);
}

.wa-fab:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 3px;
}

.wa-fab svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.wa-fab .wa-icon-close {
  display: none;
  width: 26px;
  height: 26px;
}

.wa-widget.open .wa-fab .wa-icon-chat {
  display: none;
}

.wa-widget.open .wa-fab .wa-icon-close {
  display: block;
}

.wa-widget.open .wa-fab {
  background: #128c7e;
}

/* ---------- Utilities ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .service-grid,
  .review-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-badge {
    left: 0.75rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
  }

  .nav-links a.nav-cta {
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }

  .feature-grid,
  .service-grid,
  .review-grid,
  .project-grid,
  .footer-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
