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

:root {
  --terracotta: #B85C38;
  --terracotta-dark: #9A4B2C;
  --terracotta-light: #D4845E;
  --sand: #F5EDE4;
  --sand-light: #FAF6F1;
  --sand-dark: #E8DDD3;
  --charcoal: #2A2522;
  --charcoal-light: #4A423D;
  --warm-gray: #8A8078;
  --white: #FFFFFF;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

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

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-size: 0.875rem;
  border-radius: 0 0 6px 6px;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  padding: 0;
}

.site-header.scrolled {
  background: rgba(245, 237, 228, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--sand-dark);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.site-header.scrolled .logo,
.site-header .logo {
  color: var(--white);
}

.site-header.scrolled .logo {
  color: var(--charcoal);
}

.logo em {
  font-style: italic;
  font-weight: 400;
  opacity: 0.7;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.logo-mark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-list a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}

.nav-list a:hover::after,
.nav-list a:focus::after {
  width: 100%;
}

.nav-list a:hover {
  color: var(--white);
}

.site-header.scrolled .nav-list a {
  color: var(--charcoal-light);
}

.site-header.scrolled .nav-list a:hover {
  color: var(--terracotta);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.site-header.scrolled .nav-toggle-line {
  background: var(--charcoal);
}

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

.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: translateY(-6.5px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/4489704/pexels-photo-4489704.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}

.hero:hover .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(42, 37, 34, 0.82) 0%,
    rgba(42, 37, 34, 0.55) 50%,
    rgba(42, 37, 34, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 80px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-headline em {
  font-style: italic;
  color: var(--terracotta-light);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
  opacity: 0;
}

.hero-scroll svg {
  animation: bobble 2s ease-in-out infinite;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bobble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1.5px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 92, 56, 0.3);
}

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

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

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

.btn-outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

/* ─── SECTION COMMON ─── */
.section-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* ─── SERVICES ─── */
.services {
  padding: 8rem 0;
  background: var(--sand-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sand-dark);
  border: 1px solid var(--sand-dark);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 4rem;
}

.service-card {
  background: var(--sand-light);
  padding: 2.5rem 2rem;
  transition: background 0.3s, transform 0.3s;
}

.service-card:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(42, 37, 34, 0.08);
  z-index: 2;
  position: relative;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--terracotta);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ─── ABOUT ─── */
.about {
  padding: 8rem 0;
  background: var(--white);
}

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

.about-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-content .section-title {
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--sand-dark);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--terracotta);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--sand-dark);
}

/* ─── WHY US ─── */
.why {
  padding: 8rem 0;
  background: var(--charcoal);
  color: var(--white);
}

.why .section-title {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.why-item {
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: border-color 0.3s, background 0.3s;
}

.why-item:hover {
  border-color: rgba(184, 92, 56, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

.why-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.why-item p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/8986041/pexels-photo-8986041.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=600') center center / cover no-repeat;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 37, 34, 0.85);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 1rem;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

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

/* ─── CONTACT ─── */
.contact {
  padding: 8rem 0;
  background: var(--sand-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-intro {
  font-size: 1rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-details {
  list-style: none;
}

.contact-row {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row strong {
  display: block;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.contact-row span,
.contact-row a {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

.contact-row a:hover {
  color: var(--terracotta);
}

.contact-map {
  margin-top: 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--sand-dark);
}

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 3rem;
  border: 1px solid var(--sand-dark);
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.form-intro {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  margin-bottom: 2rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--sand-light);
  border: 1px solid var(--sand-dark);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray);
  opacity: 0.6;
}

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

.form-note {
  font-size: 0.8125rem;
  color: var(--warm-gray);
  margin-top: 1rem;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success svg {
  color: var(--terracotta);
  margin: 0 auto 1.5rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--warm-gray);
  margin-bottom: 2rem;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.5);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-brand .logo {
  color: var(--white);
  justify-content: center;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--terracotta-light);
}

.footer-copy {
  font-size: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  text-align: center;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.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; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 3rem;
  }
}

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

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    flex-direction: column;
    background: var(--sand-light);
    padding: 6rem 2.5rem 2.5rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  }

  .nav-list.open {
    transform: translateX(0);
  }

  .nav-list li {
    border-bottom: 1px solid var(--sand-dark);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 1rem 0;
    font-size: 0.9375rem;
    color: var(--charcoal) !important;
  }

  .nav-list a::after {
    display: none;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .services {
    padding: 5rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .about {
    padding: 5rem 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    aspect-ratio: 16/10;
  }

  .about-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .why {
    padding: 5rem 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-banner {
    padding: 5rem 0;
  }

  .contact {
    padding: 5rem 0;
  }

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

  .contact-form-wrap {
    padding: 2rem;
  }

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

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

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

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

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

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