:root {
  --bg: #f4eee6;
  --bg-soft: #efe6dc;
  --surface: rgba(255,255,255,0.74);
  --surface-strong: rgba(255,255,255,0.92);
  --text: #1f1b17;
  --muted: #64574a;
  --line: rgba(93, 74, 57, 0.12);
  --accent: #8e775f;
  --accent-deep: #5f4936;
  --shadow: 0 24px 60px rgba(64, 42, 18, 0.10);
  --shadow-strong: 0 28px 70px rgba(50, 28, 10, 0.16);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.88), transparent 32%),
    linear-gradient(180deg, #f6f1ea 0%, #f4eee6 52%, #f1e9df 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }
.section-padding { padding: 7rem 0; }
.alt-surface {
  background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.62));
  border-top: 1px solid rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.card-depth {
  background: var(--surface-strong);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 238, 230, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 86px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: saturate(0.95) contrast(1.04);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: rgba(95, 73, 54, 0.45);
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 13ch; }
h3 { font-size: 1.25rem; }
p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}
.lead { max-width: 62ch; font-size: 1.08rem; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head p:last-child { margin-top: 1rem; }

.hero {
  overflow: clip;
  position: relative;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 480px;
  height: 480px;
  top: -180px;
  left: -160px;
  border: 1px solid rgba(95,73,54,0.12);
}
.hero::after {
  width: 300px;
  height: 300px;
  right: -80px;
  bottom: 40px;
  background: radial-gradient(circle, rgba(142,119,95,0.18), transparent 66%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; }
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}
.hero-points li {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(95,73,54,0.10);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.95rem;
}
.hero-visual {
  position: relative;
  min-height: 540px;
}
.hero-card {
  position: absolute;
  inset: 0 0 40px 0;
  border-radius: 32px;
  overflow: hidden;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.floating-badge {
  position: absolute;
  left: -22px;
  bottom: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(95,73,54,0.12);
  box-shadow: var(--shadow);
  color: var(--accent-deep);
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep), #7c644c);
  color: #fff;
  box-shadow: 0 14px 30px rgba(95,73,54,0.22);
}
.btn-primary:hover,
.btn-primary:focus-visible { box-shadow: 0 18px 36px rgba(95,73,54,0.28); }
.btn-secondary {
  background: rgba(255,255,255,0.68);
  color: var(--text);
  border-color: rgba(95,73,54,0.12);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.about-copy { display: grid; gap: 1.2rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.stat-card {
  border-radius: 20px;
  padding: 1.35rem;
}
.stat-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}
.stat-card span { color: var(--muted); line-height: 1.6; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(95,73,54,0.10);
}
.premium-card {
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
  box-shadow: 0 10px 30px rgba(64,42,18,0.08);
}
.premium-card:hover,
.premium-card:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(95,73,54,0.18);
  background: rgba(255,255,255,0.96);
}
.service-media {
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.45s ease;
}
.premium-card:hover .service-media img,
.premium-card:focus-within .service-media img {
  transform: scale(1.05);
  filter: saturate(1.04) contrast(1.03);
}
.service-body {
  padding: 1.35rem 1.35rem 1.5rem;
}
.service-body h3 { margin-bottom: 0.65rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.gallery-item {
  grid-column: span 4;
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 16px 35px rgba(64,42,18,0.10);
  background: #ddd;
  isolation: isolate;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.35s ease;
}
.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(27,20,14,0.82));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.04);
}
.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  transform: translateY(0);
  opacity: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 2rem;
  align-items: stretch;
}
.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-list a,
.contact-list p {
  font-size: 1.05rem;
}
.contact-card {
  border-radius: 28px;
  padding: 2rem;
  display: grid;
  align-content: center;
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  background: rgba(255,255,255,0.45);
}
.footer-inner {
  display: flex;
  justify-content: center;
  text-align: center;
}
.footer-inner p { color: var(--accent-deep); font-size: 0.95rem; }

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.modal.is-open,
.lightbox.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.modal-backdrop,
.lightbox::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 17, 13, 0.58);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  padding: 2rem;
  border-radius: 28px;
  background: #fbf8f4;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255,255,255,0.62);
}
.modal-close,
.lightbox-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  z-index: 2;
}
.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-form label {
  display: grid;
  gap: 0.55rem;
  color: var(--accent-deep);
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(95,73,54,0.16);
  background: rgba(255,255,255,0.92);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(142,119,95,0.28);
  border-color: rgba(95,73,54,0.22);
}

.lightbox {
  background: transparent;
}
.lightbox > * { position: relative; z-index: 1; }
.lightbox-image {
  max-width: min(92vw, 1180px);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}
.lightbox-caption {
  margin-top: 1rem;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
}
.reveal.fade-left { transform: translateX(34px); }
.reveal.zoom-in { transform: scale(0.96); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card:last-child { grid-column: span 2; }
  .stats-grid { grid-template-columns: 1fr; }
  .gallery-item { grid-column: span 6; }
}

@media (max-width: 760px) {
  .section-padding { padding: 5rem 0; }
  .nav-wrap { min-height: 78px; }
  .brand img { height: 58px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.25rem;
    padding: 0.6rem;
    border-radius: 20px;
    background: rgba(251,248,244,0.96);
    border: 1px solid rgba(95,73,54,0.10);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav a {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.72);
  }
  .hero-grid,
  .split-grid,
  .contact-grid,
  .services-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .floating-badge {
    left: 12px;
    right: 12px;
    bottom: -8px;
    text-align: center;
  }
  .services-grid .service-card:last-child { grid-column: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { grid-column: auto; aspect-ratio: 1.08 / 1; }
  .hero-points { gap: 0.6rem; }
  .hero-points li { font-size: 0.88rem; }
  .modal-panel { padding: 1.4rem; }
}

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