/* ============================================
   SummitEdge Contractors - Version B
   "Clean Professional" Design System
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --- Design Tokens --- */
:root {
  /* Colors */
  --navy: #1B3A5C;
  --navy-dark: #12283F;
  --navy-light: #2C5A8A;
  --teal: #2A9D8F;
  --teal-dark: #21847A;
  --teal-light: #3BB8A9;
  --gold: #D4A843;
  --gold-light: #E8C96A;
  --white: #FFFFFF;
  --warm-gray: #F7F5F2;
  --blue-gray: #F0F4F8;
  --light-border: #E2E8F0;
  --medium-gray: #94A3B8;
  --text: #1E293B;
  --text-light: #64748B;
  --text-muted: #94A3B8;
  --shadow-sm: 0 1px 3px rgba(27, 58, 92, 0.06);
  --shadow-md: 0 4px 12px rgba(27, 58, 92, 0.08);
  --shadow-lg: 0 8px 30px rgba(27, 58, 92, 0.12);
  --shadow-xl: 0 20px 50px rgba(27, 58, 92, 0.15);

  /* Typography */
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Header */
  --header-height: 80px;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1400px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 48px;
}

.text-center {
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 157, 143, 0.35);
}

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

.btn--secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  background: var(--warm-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
  height: var(--header-height);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--light-border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo img {
  height: 48px;
  width: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.2;
}

.header__logo-text span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header__nav a {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition-base);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__nav a:hover {
  color: var(--navy);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
}

.header__phone svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.header__phone:hover {
  color: var(--teal);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 120px 32px 40px;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-nav.active {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  padding: 16px 0;
  border-bottom: 1px solid var(--light-border);
  width: 100%;
  text-align: center;
}

.mobile-nav a:last-of-type {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--teal);
}

.mobile-nav__phone {
  margin-top: 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--teal);
}

.mobile-nav__cta {
  margin-top: 16px;
}

/* --- Hero Section --- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(165deg, #F0F4F8 0%, #FFFFFF 50%, #F7F5F2 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(42, 157, 143, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27, 58, 92, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 157, 143, 0.1);
  color: var(--teal-dark);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--teal);
}

.hero__desc {
  font-size: 1.1875rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--light-border);
}

.hero__stat {
  text-align: left;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Section Styles --- */
.section {
  padding: var(--section-padding);
}

.section--gray {
  background: var(--warm-gray);
}

.section--blue {
  background: var(--blue-gray);
}

.section--navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy p {
  color: rgba(255, 255, 255, 0.8);
}

.section--navy .section-label {
  color: var(--gold);
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
}

.trust-bar__icon {
  width: 56px;
  height: 56px;
  background: var(--blue-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal);
}

.trust-bar__icon svg {
  width: 28px;
  height: 28px;
}

.trust-bar__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.trust-bar__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--light-border);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(42, 157, 143, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.9375rem;
}

.card--service {
  text-align: center;
  padding: 48px 32px;
}

.card--service .card__icon {
  margin: 0 auto 20px;
}

.card--service:hover .card__icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Empathy Section --- */
.empathy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.empathy__content {
  max-width: 520px;
}

.empathy__content h2 {
  margin-bottom: 20px;
}

.empathy__content p {
  margin-bottom: 16px;
  font-size: 1.0625rem;
}

.empathy__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.empathy__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text);
}

.empathy__list svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.empathy__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue-gray), var(--warm-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  position: relative;
}

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

.empathy__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

/* --- Process Section --- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process__grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  z-index: 0;
}

.process__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process__number {
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal);
  margin: 0 auto 20px;
  position: relative;
}

.process__step:hover .process__number {
  background: var(--teal);
  color: var(--white);
}

.process__step h4 {
  margin-bottom: 8px;
  color: var(--navy);
}

.process__step p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--light-border);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-card__text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
}

.testimonial-card__source {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42, 157, 143, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 540px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-section__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* --- Gallery --- */
.gallery-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.gallery-filter {
  padding: 10px 24px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  border: 1px solid var(--light-border);
  background: var(--white);
  transition: all var(--transition-base);
  cursor: pointer;
}

.gallery-filter:hover,
.gallery-filter.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue-gray), var(--warm-gray));
  cursor: pointer;
  position: relative;
  transition: all var(--transition-base);
  border: 1px solid var(--light-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(27, 58, 92, 0.8) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
}

.gallery-item__category {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.gallery-item__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.8125rem;
  gap: 8px;
}

.gallery-item__placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.4;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lightbox__close svg {
  width: 28px;
  height: 28px;
}

.lightbox__content {
  max-width: 900px;
  max-height: 80vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  color: var(--text-muted);
  font-size: 1rem;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lightbox__nav svg {
  width: 24px;
  height: 24px;
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  background: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--blue-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-info-card h3 {
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info__item:last-child {
  margin-bottom: 0;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-info__value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
}

.contact-info__value a {
  color: var(--navy);
}

.contact-info__value a:hover {
  color: var(--teal);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-border);
  height: 260px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.footer__logo img {
  height: 44px;
  width: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--teal);
  color: var(--white);
}

.footer__social a svg {
  width: 18px;
  height: 18px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--teal-light);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact-item a:hover {
  color: var(--teal-light);
}

.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a:hover {
  color: var(--teal-light);
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(165deg, var(--blue-gray) 0%, var(--white) 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
}

.page-header--overlay {
  background-size: cover;
  background-position: center;
}

.page-header--overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(27, 58, 92, 0.85) 0%, rgba(27, 58, 92, 0.7) 100%);
  z-index: 0;
}

.page-header--overlay .container {
  position: relative;
  z-index: 1;
}

.page-header--overlay h1,
.page-header--overlay p,
.page-header--overlay .breadcrumb {
  color: var(--white);
}

.page-header--overlay .breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.page-header--overlay .breadcrumb__sep,
.page-header--overlay .breadcrumb span {
  color: rgba(255, 255, 255, 0.7);
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--teal);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb__sep {
  color: var(--light-border);
}

/* --- About Page --- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story__content h2 {
  margin-bottom: 20px;
}

.about-story__content p {
  font-size: 1.0625rem;
  margin-bottom: 16px;
}

.about-story__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue-gray), var(--warm-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  border: 1px solid var(--light-border);
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.value-card__icon {
  width: 64px;
  height: 64px;
  background: var(--blue-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  margin-bottom: 12px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.credential-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
}

.credential-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(42, 157, 143, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--teal);
}

.credential-card__icon svg {
  width: 24px;
  height: 24px;
}

.credential-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.credential-card p {
  font-size: 0.8125rem;
}

/* --- Service Detail --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--light-border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) .service-detail__content {
  order: 2;
}

.service-detail:nth-child(even) .service-detail__image {
  order: 1;
}

.service-detail__content h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-detail__content p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.service-detail__features {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-detail__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text);
}

.service-detail__features svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

.service-detail__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue-gray), var(--warm-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  border: 1px solid var(--light-border);
}

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

/* --- Service Areas --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.area-tag {
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-border);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--navy);
  text-align: center;
  transition: all var(--transition-fast);
}

.area-tag:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

.reveal--left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive: 1024px --- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
    --header-height: 72px;
  }

  .header__nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 130px 0 80px;
    min-height: auto;
  }

  .hero__stats {
    gap: 32px;
  }

  .empathy {
    gap: 40px;
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process__grid::before {
    display: none;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-story {
    gap: 40px;
  }

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Responsive: 768px --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --container-padding: 0 20px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero__stat {
    min-width: 120px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .empathy {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .empathy__image {
    order: -1;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

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

  .cta-section {
    padding: 60px 0;
  }

  .cta-section__buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .page-header {
    padding: 120px 0 48px;
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .about-story__image {
    order: -1;
  }

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

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

  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail:nth-child(even) .service-detail__content {
    order: unset;
  }

  .service-detail:nth-child(even) .service-detail__image {
    order: -1;
  }

  .service-detail__image {
    order: -1;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header__phone {
    display: none;
  }
}

/* --- Responsive: 480px --- */
@media (max-width: 480px) {
  .trust-bar__grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .hero__stats {
    flex-direction: column;
  }

  .gallery-filters {
    flex-direction: column;
    align-items: center;
  }
}
