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

:root {
  --terracotta: #B85C38;
  --terracotta-dark: #9A4B2E;
  --sand: #E8D5C4;
  --sand-light: #F5EDE5;
  --sand-lighter: #FAF6F2;
  --cream: #FDF9F5;
  --charcoal: #2C2420;
  --charcoal-light: #4A3F38;
  --warm-gray: #7A6E66;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 249, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(44, 36, 32, 0.08);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal-light);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

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

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

.nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s ease;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--terracotta) 0%, #C47A5A 30%, var(--sand) 70%, var(--sand-light) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184, 92, 56, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(232, 213, 196, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(154, 75, 46, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--charcoal-light);
  border-color: var(--charcoal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 36, 32, 0.25);
}

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

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

/* ─── SECTION LABEL ─── */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

/* ─── ABOUT ─── */
.about {
  padding: 120px 0;
  background: var(--cream);
}

.about h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.about p {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  margin-bottom: 20px;
  max-width: 560px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.split-image img {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.values-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--charcoal-light);
}

.values-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
  margin-top: 8px;
}

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

.services .section-label {
  margin-bottom: 12px;
}

.services h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

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

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  border: 1px solid var(--sand);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(44, 36, 32, 0.1);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--sand-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 24px;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--terracotta);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
}

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

/* ─── ENVIRONMENT ─── */
.environment {
  padding: 120px 0;
  background: var(--cream);
}

.environment .section-label {
  margin-bottom: 12px;
}

.environment h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

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

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
}

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

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

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

.contact .section-label {
  margin-bottom: 12px;
}

.contact h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

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

.contact-info p {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  margin-bottom: 36px;
  max-width: 440px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--terracotta);
}

.contact-item a {
  color: var(--charcoal);
  transition: color 0.2s ease;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

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

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

.form-success {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-top: 8px;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 6px;
  line-height: 1.6;
}

.footer-brand a {
  color: var(--sand);
  transition: color 0.2s ease;
}

.footer-brand a:hover {
  color: var(--white);
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-nav a:hover {
  color: var(--sand);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── MOBILE MENU ─── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 32, 0.5);
  z-index: 99;
}

.nav-overlay.active {
  display: block;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .nav a {
    font-size: 1.1rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

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

  .hero {
    padding-top: 72px;
  }

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

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .about,
  .services,
  .environment,
  .contact {
    padding: 80px 0;
  }
}

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

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

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