:root {
  --bg: #f6f1ea;
  --surface: #fffdf9;
  --surface-alt: #ece3d8;
  --text: #281f18;
  --muted: #6c5f54;
  --brand: #9a5d31;
  --brand-dark: #5a3117;
  --line: #d8c8b8;
  --shadow: 0 18px 44px rgba(55, 35, 20, 0.14);
  --shadow-soft: 0 10px 20px rgba(55, 35, 20, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 10%, rgba(154, 93, 49, 0.13), transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(90, 49, 23, 0.08), transparent 24%),
    repeating-linear-gradient(
      90deg,
      rgba(154, 93, 49, 0.03),
      rgba(154, 93, 49, 0.03) 1px,
      transparent 1px,
      transparent 36px
    ),
    var(--bg);
  line-height: 1.55;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 74vh;
  background:
    linear-gradient(120deg, rgba(26, 18, 14, 0.92), rgba(63, 40, 28, 0.82)),
    url("rsc/background.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -170px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 173, 119, 0.2), rgba(238, 173, 119, 0));
  filter: blur(3px);
  pointer-events: none;
}

.nav,
.hero-content {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1rem;
  margin-top: 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(34, 24, 18, 0.36);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.brand {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #f5ece2;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: #f5ece2;
}

.hero-content {
  padding: 4.2rem 0 5.5rem;
  max-width: 700px;
  animation: fadeUp 700ms ease both;
}

.eyebrow {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
}

.hero .eyebrow {
  color: #ffd8b4;
}

h1,
h2,
h3 {
  font-family: "Archivo", sans-serif;
  line-height: 1.16;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5.8vw, 4rem);
  margin-bottom: 0.8rem;
}

.lead {
  color: #efe1d4;
  font-size: 1.12rem;
  max-width: 62ch;
}

.hero-points {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-points li {
  padding: 0.46rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  color: #f8ecdf;
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-cta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, #ab6a3c, #885028);
  box-shadow: 0 12px 24px rgba(82, 48, 25, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #9a5e35;
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 4.25rem 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #9a5d31, #d39b6f);
  opacity: 0;
  transition: opacity 220ms ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(55, 35, 20, 0.18);
  border-color: #cdb397;
}

.card:hover::before,
.card:focus-within::before {
  opacity: 1;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.pricing-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pricing {
  width: 100%;
  border-collapse: collapse;
}

.pricing th,
.pricing td {
  text-align: left;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
}

.pricing th {
  background: linear-gradient(180deg, #e9dece, #e2d4c1);
  font-family: "Archivo", sans-serif;
}

.pricing tbody tr:nth-child(even) {
  background: #fcf7f0;
}

.pricing-note {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-item img {
  width: 100%;
  height: clamp(150px, 18vw, 210px);
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-item figcaption {
  margin: 0;
  padding: 0.6rem 0.8rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.gallery-item:hover,
.gallery-item:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(55, 35, 20, 0.18);
}

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

.gallery-item--wide {
  grid-column: span 2;
}

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

.placeholder-box {
  min-height: 215px;
  display: grid;
  place-items: center;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #7f6e5e;
  background:
    linear-gradient(135deg, #f6eee4, #ede0d0),
    repeating-linear-gradient(
      -45deg,
      rgba(138, 79, 39, 0.15),
      rgba(138, 79, 39, 0.15) 10px,
      rgba(138, 79, 39, 0.08) 10px,
      rgba(138, 79, 39, 0.08) 20px
    );
}

.contact-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact-grid > div:first-child {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.contact-slogan {
  margin-top: 0;
  color: var(--muted);
  max-width: 56ch;
}

.contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.contact-list a {
  color: var(--brand-dark);
  text-decoration-thickness: 2px;
}

.map-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.footer {
  padding: 1rem 0 calc(1.25rem + env(safe-area-inset-bottom));
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

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

.reveal {
  animation: fadeUp 650ms ease both;
  animation-timeline: view();
  animation-range: entry 10% cover 35%;
}

.floating-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: none;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, #9a5d31, #77431f);
  box-shadow: 0 16px 28px rgba(55, 35, 20, 0.36);
}

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

@media (max-width: 980px) {
  .nav {
    border-radius: 18px;
  }

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

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

  .gallery-item--wide {
    grid-column: auto;
  }

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

@media (max-width: 680px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.8rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-content {
    padding-top: 3.8rem;
  }

  .hero-points {
    gap: 0.4rem;
  }

  .hero-points li {
    font-size: 0.82rem;
  }

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

  .gallery-item img {
    height: 190px;
  }

  .pricing th,
  .pricing td {
    padding: 0.7rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .floating-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
