/* ============================================
   Hulett's Home Improvements — Styles
   ============================================ */

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

:root {
  /* Terracotta + Sand palette */
  --terracotta: #c4724e;
  --terracotta-dark: #a85a3a;
  --terracotta-light: #e8a888;
  --sand: #f5ebe0;
  --sand-light: #faf6f1;
  --sand-mid: #ebe0d4;
  --cream: #fdf9f4;
  --charcoal: #2c2420;
  --charcoal-light: #4a3f38;
  --warm-gray: #7a6e66;
  --warm-gray-light: #a89e96;
  --white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.06), 0 1px 2px rgba(44, 36, 32, 0.04);
  --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.08), 0 2px 4px rgba(44, 36, 32, 0.04);
  --shadow-lg: 0 12px 40px rgba(44, 36, 32, 0.12), 0 4px 12px rgba(44, 36, 32, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--sand-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--charcoal);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-size: 0.875rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 600;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

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

.section-desc {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 560px;
  line-height: 1.7;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  padding: 12px 28px;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

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

.btn-white {
  background: var(--white);
  color: var(--terracotta);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--sand);
  border-color: var(--sand);
}

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 114, 78, 0.08);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}
.logo-icon {
  color: var(--terracotta);
}

.logo-light {
  color: var(--white);
}
.logo-light .logo-icon {
  color: var(--terracotta-light);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-light);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}
.main-nav a:not(.btn):hover {
  color: var(--terracotta);
  background: rgba(196, 114, 78, 0.08);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.nav-toggle-line {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 50%, var(--sand-mid) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 114, 78, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 114, 78, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0 100px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 540px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 24px;
}
.hero-eyebrow .eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: 24px;
  font-weight: 700;
}
.hero-title .accent-italic {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--warm-gray);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--sand-mid);
}

/* Hero Visual */
.hero-visual {
  position: relative;
}
.hero-img-stack {
  position: relative;
  height: 600px;
}
.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-main {
  width: 340px;
  height: 440px;
  position: absolute;
  top: 0;
  right: 0;
}
.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-accent {
  width: 260px;
  height: 200px;
  position: absolute;
  bottom: 40px;
  left: 0;
  border: 6px solid var(--sand-light);
}
.hero-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 0;
  right: 40px;
  background: var(--white);
  color: var(--charcoal);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
}
.hero-badge svg {
  color: var(--terracotta);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 60px;
}

/* --- SERVICES --- */
.services {
  padding: 100px 0;
  background: var(--sand-light);
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid rgba(196, 114, 78, 0.06);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 114, 78, 0.12);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(196, 114, 78, 0.12) 0%, rgba(196, 114, 78, 0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.service-desc {
  font-size: 0.925rem;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--terracotta);
  transition: var(--transition);
}
.service-link:hover {
  gap: 10px;
}

/* --- ABOUT --- */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 520px;
}
.about-img-main {
  width: 380px;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: absolute;
  top: 0;
  left: 0;
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-float {
  width: 240px;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: absolute;
  bottom: 0;
  right: 0;
  border: 6px solid var(--white);
}
.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-experience-badge {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.about-experience-badge .exp-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.about-experience-badge .exp-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  opacity: 0.9;
}

.about-content {
  max-width: 480px;
}
.about-content .section-eyebrow {
  margin-bottom: 12px;
}
.about-content .section-title {
  margin-bottom: 24px;
}
.about-text {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 28px 0 32px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-light);
}
.value-item svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* --- GALLERY --- */
.gallery {
  padding: 100px 0;
  background: var(--sand-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: auto;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(1) img,
.gallery-item:nth-child(2) img,
.gallery-item:nth-child(4) img {
  height: 100%;
}
.gallery-item:nth-child(2) { grid-column: span 1; }
.gallery-item:nth-child(5) { grid-column: span 2; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 36, 32, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 100px 0;
  background: var(--white);
}

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

.testimonial-card {
  background: var(--sand-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  border: 1px solid rgba(196, 114, 78, 0.06);
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--terracotta-light);
  margin-bottom: -8px;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta-light), var(--terracotta));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.author-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.author-detail {
  font-size: 0.8rem;
  color: var(--warm-gray);
}

/* --- CTA BANNER --- */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, #3d322c 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 114, 78, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 114, 78, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.cta-content {
  max-width: 480px;
}
.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}
.cta-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

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

/* --- CONTACT --- */
.contact {
  padding: 100px 0;
  background: var(--sand-light);
}

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

.contact-info .section-title {
  margin-bottom: 16px;
}
.contact-desc {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(196, 114, 78, 0.12), rgba(196, 114, 78, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  flex-shrink: 0;
}
.detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 4px;
}
.detail-value {
  display: block;
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.6;
}
.detail-value a {
  color: var(--charcoal);
  transition: color 0.2s;
}
.detail-value a:hover {
  color: var(--terracotta);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(196, 114, 78, 0.06);
}
.form-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--charcoal);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal-light);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sand-mid);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--sand-light);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196, 114, 78, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray-light);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success svg {
  margin: 0 auto 16px;
}
.form-success h4 {
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.form-success p {
  color: var(--warm-gray);
  font-size: 0.95rem;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--terracotta-light);
}
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: var(--terracotta-light);
}
.footer-contact svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
  }
  .hero-img-stack {
    height: 480px;
  }
  .hero-img-main {
    width: 280px;
    height: 360px;
  }
  .hero-img-accent {
    width: 200px;
    height: 160px;
  }
  .about-grid {
    gap: 48px;
  }
  .about-visual {
    height: 420px;
  }
  .about-img-main {
    width: 300px;
    height: 360px;
  }
  .about-img-float {
    width: 200px;
    height: 250px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 246, 241, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    border-bottom: 1px solid rgba(196, 114, 78, 0.1);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  .main-nav a {
    display: block;
    padding: 12px 16px;
    text-align: center;
  }
  .main-nav .btn {
    margin-top: 8px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0 80px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
  .hero-wave svg {
    height: 40px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    height: 360px;
    order: -1;
  }
  .about-img-main {
    width: 100%;
    height: 300px;
  }
  .about-img-float {
    display: none;
  }
  .about-experience-badge {
    bottom: 20px;
    left: 50%;
  }
  .about-content {
    max-width: 100%;
  }
  .about-values {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item:nth-child(1) { grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 1; }
  .gallery-item img {
    height: 220px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-form-wrap {
    padding: 28px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
