/* ============================================
   BOYLE HOME IMPROVEMENT, LLC
   Belleview, FL - Home Improvement Contractor

   Palette: Slate gray + forest green + warm wood + clean white
   Fonts: DM Serif Display (headings) + Inter (body)
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Primary Palette */
  --slate-900: #1e293b;
  --slate-800: #2d3a4a;
  --slate-700: #3d4f63;
  --slate-600: #546a7f;
  --slate-500: #6b8299;
  --slate-400: #8da0b5;
  --slate-300: #b0c1d0;
  --slate-200: #d3dde6;
  --slate-100: #edf1f5;
  --slate-50: #f7f9fb;

  /* Forest Green (Primary Accent) */
  --green-900: #1a3a2a;
  --green-800: #234e39;
  --green-700: #2d6a4f;
  --green-600: #358560;
  --green-500: #40916c;
  --green-400: #52a67d;
  --green-300: #74c49a;
  --green-200: #a5dbb8;
  --green-100: #d4eede;
  --green-50: #edf8f1;

  /* Warm Wood Tones */
  --wood-900: #3b2a1a;
  --wood-800: #5c3d24;
  --wood-700: #7a5230;
  --wood-600: #96673e;
  --wood-500: #b07d4f;
  --wood-400: #c49768;
  --wood-300: #d4b48e;
  --wood-200: #e5d1b8;
  --wood-100: #f2e8da;
  --wood-50: #faf5ee;

  /* Semantic */
  --white: #ffffff;
  --bg: #f8fafb;
  --text-primary: #1e293b;
  --text-secondary: #546a7f;
  --text-muted: #8da0b5;
  --border: #d3dde6;
  --border-light: #edf1f5;

  /* Accents */
  --primary: #2d6a4f;
  --primary-dark: #234e39;
  --primary-light: rgba(45, 106, 79, 0.08);
  --primary-hover: #358560;
  --cta: #2d6a4f;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(30, 41, 59, 0.06), 0 1px 2px rgba(30, 41, 59, 0.04);
  --shadow-md: 0 4px 16px rgba(30, 41, 59, 0.08), 0 2px 4px rgba(30, 41, 59, 0.04);
  --shadow-lg: 0 12px 40px rgba(30, 41, 59, 0.12), 0 4px 12px rgba(30, 41, 59, 0.06);
  --shadow-xl: 0 20px 60px rgba(30, 41, 59, 0.15), 0 8px 20px rgba(30, 41, 59, 0.08);

  /* Layout */
  --nav-height: 72px;
  --nav-height-scrolled: 64px;
  --container-max: 1200px;
  --container-padding: 24px;
  --section-padding: 100px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--slate-900);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ---- Focus Styles ---- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--slate-900);
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-description {
  margin-left: auto;
  margin-right: auto;
}

.required {
  color: #dc3545;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

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

.btn--primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--slate-900);
  border-color: var(--slate-300);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

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

.btn--white:hover {
  background: var(--green-50);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn__loading {
  display: none;
}

.btn--loading .btn__text {
  visibility: hidden;
}

.btn--loading .btn__loading {
  display: flex;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(248, 250, 251, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.35s var(--ease);
}

.nav--scrolled {
  height: var(--nav-height-scrolled);
  background: rgba(248, 250, 251, 0.95);
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav__logo-mark {
  color: var(--primary);
  display: flex;
  align-items: center;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--slate-900);
}

.nav__logo-sub {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* Nav Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--primary);
}

.nav__link:hover::after {
  width: 100%;
}

/* Nav Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 1001;
  padding: 2px;
}

.nav__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--slate-800);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(248, 250, 251, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease);
}

.mobile-menu--open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-menu__link {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: var(--slate-800);
  transition: color 0.25s var(--ease);
}

.mobile-menu__link:hover {
  color: var(--primary);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--slate-50) 0%, var(--white) 30%, var(--green-50) 70%, var(--wood-50) 100%);
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(45, 106, 79, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(176, 125, 79, 0.05) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 80px;
}

.hero__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(45, 106, 79, 0.15);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  color: var(--slate-900);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero__title em {
  font-style: italic;
  color: var(--primary);
}

.hero__description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

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

/* Hero Visual - Before/After Cards */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero__card {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease);
}

.hero__card--before {
  width: 260px;
  height: 320px;
  left: 10%;
  top: 10%;
  transform: rotate(-4deg);
  z-index: 1;
}

.hero__card--after {
  width: 280px;
  height: 350px;
  right: 5%;
  bottom: 5%;
  transform: rotate(3deg);
  z-index: 2;
}

.hero__card:hover {
  transform: rotate(0deg) scale(1.02);
  z-index: 3;
}

.hero__card-img {
  width: 100%;
  height: 100%;
}

.hero__card-img--before {
  background: linear-gradient(135deg, #8b8b7a 0%, #a09d8e 30%, #b5b0a2 60%, #9c9888 100%);
}

.hero__card-img--after {
  background: linear-gradient(135deg, #d4b48e 0%, #e5d1b8 20%, #f2e8da 40%, #e8dcc8 60%, #c49768 80%, #b07d4f 100%);
}

.hero__card-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 100px;
}

.hero__card-label--after {
  background: rgba(45, 106, 79, 0.85);
}

.hero__accent-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 2px dashed var(--border);
  border-radius: 50%;
  opacity: 0.4;
  z-index: 0;
  animation: slowSpin 60s linear infinite;
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

/* Hero Stats */
.hero__stats {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.hero__stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 32px 0;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.25rem;
  color: var(--primary);
  line-height: 1;
}

.hero__stat-suffix {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--primary);
}

.hero__stat-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 72px;
  align-items: start;
}

.about__image-frame {
  position: relative;
}

.about__image-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
}

.about__accent-bar {
  position: absolute;
  bottom: -8px;
  left: -8px;
  width: 60%;
  height: 8px;
  background: var(--primary);
  border-radius: 4px;
}

.about__owner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-top: -32px;
  margin-left: 24px;
  margin-right: 24px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about__owner-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.125rem;
  color: var(--slate-900);
}

.about__owner-title {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
}

.about__lead {
  font-size: 1.125rem;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.about__value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--green-100);
  transition: all 0.3s var(--ease);
}

.about__value:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--green-200);
}

.about__value-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.about__value strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.about__value span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: var(--section-padding) 0;
  background: var(--bg);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

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

.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  color: var(--primary);
  margin-bottom: 20px;
  transition: all 0.35s var(--ease);
}

.service-card:hover .service-card__icon {
  background: var(--primary);
  color: var(--white);
}

.service-card__title {
  font-size: 1.25rem;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.service-card__description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card__features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.service-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.25s var(--ease);
  margin-top: auto;
}

.service-card__cta:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
  padding: var(--section-padding) 0;
  background: var(--white);
}

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

.gallery__item--large {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery__image {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.gallery__item:hover .gallery__image {
  transform: scale(1.05);
}

/* Gallery Gradient Placeholders */
.gallery__image--kitchen {
  background: linear-gradient(135deg, #f2e8da 0%, #d4b48e 25%, #c49768 50%, #e5d1b8 75%, #faf5ee 100%);
}

.gallery__image--bathroom {
  background: linear-gradient(135deg, #d3dde6 0%, #b0c1d0 30%, #8da0b5 60%, #edf1f5 100%);
}

.gallery__image--flooring {
  background: linear-gradient(135deg, #b07d4f 0%, #c49768 25%, #d4b48e 50%, #e5d1b8 75%, #96673e 100%);
}

.gallery__image--painting {
  background: linear-gradient(135deg, #d4eede 0%, #a5dbb8 30%, #74c49a 60%, #edf8f1 100%);
}

.gallery__image--addition {
  background: linear-gradient(135deg, #f7f9fb 0%, #edf1f5 20%, #d3dde6 50%, #b0c1d0 80%, #8da0b5 100%);
}

.gallery__image--general {
  background: linear-gradient(135deg, #e5d1b8 0%, #c49768 30%, #96673e 50%, #7a5230 70%, #5c3d24 100%);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 41, 59, 0.85) 0%, rgba(30, 41, 59, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-300);
  margin-bottom: 4px;
}

.gallery__project-title {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 2px;
}

.gallery__project-location {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  padding: var(--section-padding) 0;
  background: var(--bg);
}

.process__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process__line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.process__step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 48px;
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--primary);
  background: var(--white);
  border: 2px solid var(--green-200);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  transition: all 0.35s var(--ease);
}

.process__step:hover .process__number {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.3);
}

.process__content {
  padding-top: 12px;
}

.process__title {
  font-size: 1.25rem;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.process__description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card--featured {
  background: var(--slate-900);
  border-color: var(--slate-800);
}

.testimonial-card--featured .testimonial-card__quote {
  color: var(--slate-200);
}

.testimonial-card--featured .testimonial-card__name {
  color: var(--white);
}

.testimonial-card--featured .testimonial-card__project {
  color: var(--slate-400);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--slate-900);
  display: block;
}

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

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--primary) 50%, var(--green-800) 100%);
  z-index: 0;
}

.cta-banner__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.02) 40px,
      rgba(255, 255, 255, 0.02) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.02) 40px,
      rgba(255, 255, 255, 0.02) 41px
    );
}

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

.cta-banner__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner__description {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-padding) 0;
  background: var(--bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact__info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.contact__info-title {
  font-size: 1.25rem;
  color: var(--slate-900);
  margin-bottom: 24px;
}

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

.contact__info-item:last-child {
  margin-bottom: 0;
}

.contact__info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  color: var(--primary);
}

.contact__info-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.contact__info-item span,
.contact__info-item a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact__info-item a:hover {
  color: var(--primary);
}

/* Service Areas */
.contact__areas {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
}

.contact__areas-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.contact__area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact__area-tag {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 6px 14px;
  border-radius: 100px;
  transition: all 0.25s var(--ease);
}

.contact__area-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Contact Form */
.contact__form-wrapper {
  position: relative;
}

.contact__form {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact__form-title {
  font-size: 1.25rem;
  color: var(--slate-900);
  margin-bottom: 28px;
}

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

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-800);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: all 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
  background: var(--white);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b8299' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

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

.form-error {
  display: none;
  font-size: 0.8125rem;
  color: #dc3545;
  margin-top: 4px;
}

.form-group--error .form-input {
  border-color: #dc3545;
}

.form-group--error .form-error {
  display: block;
}

/* Form Success */
.contact__success {
  background: var(--white);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-lg);
  padding: 60px 36px;
  text-align: center;
}

.contact__success-icon {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact__success-title {
  font-size: 1.5rem;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.contact__success-text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 64px 0 0;
}

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

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

.footer__logo-mark {
  color: var(--green-400);
  display: flex;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer__logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.125rem;
  color: var(--white);
}

.footer__logo-sub {
  font-size: 0.6875rem;
  color: var(--slate-400);
  font-weight: 500;
}

.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--slate-400);
}

.footer__col-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
}

.footer__link {
  display: block;
  font-size: 0.9375rem;
  color: var(--slate-400);
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.footer__link:hover {
  color: var(--green-300);
}

.footer__contact p {
  font-size: 0.9375rem;
  color: var(--slate-400);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer__contact a {
  color: var(--slate-400);
  transition: color 0.25s var(--ease);
}

.footer__contact a:hover {
  color: var(--green-300);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.footer__fl {
  display: inline;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal-link {
  font-size: 0.8125rem;
  color: var(--slate-500);
  transition: color 0.25s var(--ease);
}

.footer__legal-link:hover {
  color: var(--green-300);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
  z-index: 900;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet: 640px - 1024px */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
    --container-padding: 20px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-bottom: 60px;
  }

  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__visual {
    min-height: 340px;
  }

  .hero__card--before {
    left: 15%;
    width: 220px;
    height: 270px;
  }

  .hero__card--after {
    right: 10%;
    width: 240px;
    height: 300px;
  }

  .hero__stats-inner {
    gap: 32px;
  }

  .about__grid {
    grid-template-columns: 300px 1fr;
    gap: 48px;
  }

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

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery__item--large {
    grid-row: span 2;
  }

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

  .testimonial-card:last-child {
    grid-column: span 2;
  }

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

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

  .footer__brand {
    grid-column: span 2;
  }
}

/* Mobile: < 640px */
@media (max-width: 639px) {
  :root {
    --section-padding: 64px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 0;
  }

  .hero__badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero__visual {
    min-height: 280px;
  }

  .hero__card--before {
    left: 8%;
    width: 180px;
    height: 220px;
  }

  .hero__card--after {
    right: 5%;
    width: 200px;
    height: 250px;
  }

  .hero__accent-ring {
    width: 240px;
    height: 240px;
  }

  .hero__stats-inner {
    flex-direction: column;
    gap: 20px;
    padding: 28px 0;
  }

  .hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero__stat-number {
    font-size: 1.75rem;
  }

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

  .about__image-col {
    max-width: 320px;
    margin: 0 auto;
  }

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

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery__item--large {
    grid-row: span 1;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .gallery__overlay {
    opacity: 1;
  }

  .process__step {
    gap: 20px;
    padding-bottom: 36px;
  }

  .process__number {
    width: 52px;
    height: 52px;
    font-size: 1.0625rem;
  }

  .process__line {
    left: 26px;
  }

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

  .testimonial-card:last-child {
    grid-column: span 1;
  }

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

  .contact__form {
    padding: 28px 20px;
  }

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

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

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

  .footer__brand {
    grid-column: span 1;
  }

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

  .footer__fl {
    display: block;
    margin-top: 4px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }

  .hero__accent-ring {
    animation: none;
  }
}

/* ---- Print Styles ---- */
@media print {
  .nav,
  .back-to-top,
  .cta-banner,
  .hero__visual,
  .hero__stats,
  .mobile-menu,
  .hero__buttons,
  .service-card__cta,
  .contact__form-wrapper {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .footer {
    background: #fff;
    color: #333;
  }
}