:root {
  --bg: #f8f2ed;
  --ink: #211617;
  --muted: #6f5b56;
  --accent: #b44f51;
  --accent-2: #ac8548;
  --card: #fffaf6;
  --line: #e5d6ca;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 12px 35px rgba(49, 20, 16, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 15%, #f3e1d7 0%, transparent 35%),
    radial-gradient(circle at 85% 10%, #f6ead9 0%, transparent 30%),
    var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(248, 242, 237, 0.9);
  border-bottom: 1px solid rgba(33, 22, 23, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  width: 170px;
  max-width: min(42vw, 170px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
}

.nav-links a {
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 210px;
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.45rem;
  z-index: 50;
}

.dropdown-menu a {
  display: block;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: grid;
  gap: 0.3rem;
}

.menu-btn {
  display: none;
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  background-color: #291a1b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(18, 10, 11, 0.78) 0%, rgba(18, 10, 11, 0.38) 48%, rgba(18, 10, 11, 0.24) 100%);
}

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

.hero-copy {
  max-width: 680px;
  color: #fff5ef;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin: 0;
}

.hero p {
  color: #f4e6db;
  max-width: 55ch;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--line);
  background: transparent;
}

.section {
  padding: 2rem 0 3.5rem;
}

/* Alternate section background colors */
main > .section:nth-child(odd) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(243, 225, 215, 0.3) 100%);
}

main > .section:nth-child(even) {
  background: linear-gradient(180deg, rgba(242, 237, 231, 0.8) 0%, rgba(248, 242, 237, 0.6) 100%);
}

/* ── Carousel ────────────────────────────────────────────── */
.carousel-track-wrap {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.1rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-track .card {
  flex: 0 0 calc((100% - 2.2rem) / 3);
  min-width: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.carousel-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.carousel-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.carousel-dots {
  display: flex;
  gap: 0.35rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 760px) {
  .carousel-track .card {
    flex: 0 0 100%;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .carousel-track .card {
    flex: 0 0 calc((100% - 1.1rem) / 2);
  }
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.2rem;
}

.section-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
}

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

.grid {
  display: grid;
  gap: 1.1rem;
}

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

.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(22, 33, 46, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 200px auto;
}

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

.card-body {
  padding: 1rem;
}

.badge {
  display: inline-flex;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  font-size: 0.74rem;
  color: #663235;
  background: #f3d9cd;
  margin-bottom: 0.6rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #33414f;
}

.surface {
  background: #fff;
  border: 1px solid rgba(22, 33, 46, 0.09);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.2rem;
}

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

label {
  display: block;
  font-size: 0.85rem;
  color: #3e4d59;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}

.page-hero {
  padding: 3.2rem 0 1.2rem;
}

.page-hero h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.page-hero p {
  color: var(--muted);
  max-width: 68ch;
}

.timeline {
  display: grid;
  gap: 0.95rem;
}

.timeline-item {
  border-left: 3px solid var(--accent);
  background: #fff;
  border-radius: 0 14px 14px 0;
  padding: 0.9rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 120px;
}

.timeline-item h4 {
  margin: 0 0 0.35rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline-item img {
  width: 120px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
}

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

.stat {
  background: #fff;
  border-radius: 15px;
  border: 1px solid rgba(22, 33, 46, 0.08);
  padding: 1rem;
}

.stat b {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
}

.gallery-grid {
  columns: 3 220px;
  column-gap: 0.9rem;
}

.gallery-grid img {
  margin-bottom: 0.9rem;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.015);
}

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

.customer-card {
  background: #fff;
  border: 1px solid rgba(22, 33, 46, 0.08);
  border-radius: 14px;
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  box-shadow: var(--shadow);
}

.customer-logo {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: saturate(0.95);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 28, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 60;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  width: min(95vw, 1000px);
  max-height: 90vh;
  object-fit: contain;
}

.site-footer {
  margin-top: 2rem;
  background: #1a1215;
  color: #b0a099;
  padding: 2.4rem 0 1.4rem;
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr 1.2fr 0.8fr;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid h4 {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: inherit;
}

.footer-grid p {
  margin: 0 0 0.4rem;
  color: #9a8e88;
}

.footer-grid a {
  color: #b0a099;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  font-size: 0.78rem;
  color: #5a4f4a;
}

.coming {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.coming-box {
  width: min(92vw, 700px);
  padding: 2rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(22, 33, 46, 0.1);
  box-shadow: var(--shadow);
}

.reveal {
  animation: reveal 0.7s ease both;
}

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

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 88px 0 auto;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    box-shadow: none;
    border: 1px solid var(--line);
    margin-top: 0.45rem;
    width: 100%;
  }

  .hero-grid,
  .grid-3,
  .filters,
  .timeline-item,
  .stats,
  .customers-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    border-radius: 14px;
    border-left: 0;
    border-top: 3px solid var(--accent);
  }

  .timeline-item img {
    width: 100%;
    height: 180px;
  }
}
