:root {
  --bg: #f6efe7;
  --bg-soft: #fbf8f3;
  --surface: rgba(255, 250, 244, 0.88);
  --surface-strong: #fff9f2;
  --text: #1f1a17;
  --muted: #6f6257;
  --line: rgba(69, 47, 24, 0.12);
  --accent: #9a4f1b;
  --accent-dark: #6d3210;
  --accent-soft: #f1dece;
  --shadow: 0 20px 50px rgba(57, 30, 12, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(154, 79, 27, 0.18), transparent 28%),
    radial-gradient(circle at right 20%, rgba(120, 87, 54, 0.14), transparent 18%),
    linear-gradient(180deg, #fcf8f2 0%, #f5ede3 46%, #f7f0e7 100%);
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 240, 231, 0.76);
  border-bottom: 1px solid rgba(60, 34, 12, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.brand span {
  display: grid;
  gap: 3px;
}

.brand strong {
  font-size: 1rem;
}

.brand small,
.site-nav,
.lead,
.section-header p,
.section-heading p,
.testimonial-card p,
.contact-copy p,
.site-footer p,
.trust-grid p,
.category-grid p,
.steps p,
.feature-list p,
.hero-points,
.contact-list span,
.contact-card li {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff7f0;
  box-shadow: 0 18px 40px rgba(122, 62, 20, 0.28);
}

.button-secondary {
  border: 1px solid rgba(108, 58, 20, 0.16);
  background: rgba(255, 251, 246, 0.85);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  padding: 0;
  background: rgba(255, 250, 244, 0.9);
  border-radius: 14px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  padding: 52px 0 44px;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.eyebrow,
.trust-label {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.5rem, 7vw, 6.4rem);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.9rem;
}

p {
  margin: 0;
  line-height: 1.75;
}

.lead {
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #d59058);
  box-shadow: 0 0 0 6px rgba(154, 79, 27, 0.11);
}

.hero-visual {
  position: relative;
}

.hero-main-card,
.floating-card,
.image-pair img,
.process-visual img,
.gallery-card,
.testimonial-card,
.contact-panel,
.contact-card,
.category-grid article,
.trust-grid,
.feature-list article {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-main-card {
  overflow: hidden;
  aspect-ratio: 0.9;
}

.hero-main-card img,
.gallery-card img,
.image-pair img,
.process-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stack {
  position: absolute;
  right: -18px;
  bottom: -30px;
  display: grid;
  gap: 18px;
  width: min(46%, 250px);
}

.floating-card {
  overflow: hidden;
  background: rgba(255, 249, 241, 0.94);
}

.floating-card.portrait {
  aspect-ratio: 0.8;
}

.floating-card.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-card {
  padding: 18px;
  backdrop-filter: blur(14px);
}

.stat-card span {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-card strong {
  font-size: 1rem;
  line-height: 1.5;
}

.trust-strip {
  padding: 14px 0 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 26px 28px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.9), rgba(244, 229, 214, 0.84)),
    url("assets/images/49.jpg") center/cover;
  overflow: hidden;
  position: relative;
}

.trust-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 248, 241, 0.8);
}

.trust-grid > * {
  position: relative;
}

.section-header,
.footer-wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-header {
  margin-bottom: 36px;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.feature-list article,
.category-grid article,
.contact-card {
  background: rgba(255, 250, 244, 0.76);
  border: 1px solid var(--line);
}

.feature-list article {
  padding: 22px 24px;
}

.image-pair {
  position: relative;
  min-height: 620px;
}

.image-pair .large {
  height: 88%;
}

.image-pair .small {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 48%;
  height: 40%;
  border: 10px solid rgba(251, 246, 239, 0.96);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.category-grid article {
  padding: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  grid-auto-rows: 230px;
}

.gallery-card {
  overflow: hidden;
  position: relative;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(18, 9, 3, 0.18) 100%);
}

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

.gallery-card.tall {
  grid-row: span 2;
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.steps article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.steps article:last-child {
  border-bottom: 1px solid var(--line);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.process-visual img {
  min-height: 620px;
}

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

.testimonial-card {
  padding: 28px;
  background: rgba(255, 249, 241, 0.78);
  border: 1px solid var(--line);
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.person img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.person span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.93rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 247, 238, 0.95), rgba(242, 227, 211, 0.84)),
    url("assets/images/41.jpg") center/cover;
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 248, 241, 0.88);
}

.contact-panel > * {
  position: relative;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-list a {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: rgba(255, 251, 246, 0.78);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.contact-card {
  padding: 28px;
}

.contact-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.site-footer {
  padding: 30px 0 48px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .reverse,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

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

  .gallery-card.wide,
  .gallery-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero-stack {
    width: min(42%, 220px);
  }

  .process-visual {
    order: 2;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 249, 241, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.menu-open .nav-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .trust-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .section-header,
  .footer-wrap {
    align-items: start;
    flex-direction: column;
  }

  .hero-stack {
    right: 12px;
    bottom: -22px;
  }

  .image-pair {
    min-height: 520px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 26px;
  }

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

  .gallery-grid {
    grid-auto-rows: 260px;
  }

  .hero-main-card {
    aspect-ratio: 0.82;
  }

  .hero-stack {
    position: static;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
  }

  .floating-card.portrait {
    aspect-ratio: 1;
  }

  .image-pair {
    min-height: 0;
    display: grid;
    gap: 16px;
  }

  .image-pair .small {
    position: static;
    width: 100%;
    height: auto;
    border-width: 0;
  }

  .steps article {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 24px;
  }
}
