:root {
  --bg: #f4efe6;
  --surface: rgba(255, 248, 239, 0.8);
  --surface-strong: #fff8ef;
  --text: #1f2a2a;
  --muted: #5d6661;
  --line: rgba(32, 42, 42, 0.12);
  --accent: #d06e2c;
  --accent-deep: #9f4517;
  --teal: #1d6d74;
  --shadow: 0 20px 60px rgba(47, 38, 20, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --font-display: "Aptos Display", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
  --brand-logo-desktop-width: 148px;
  --brand-logo-mobile-width: 108px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(208, 110, 44, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(29, 109, 116, 0.16), transparent 28%),
    linear-gradient(180deg, #f8f1e8 0%, #f4efe6 55%, #f0e8dc 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 85%);
  opacity: 0.35;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  background: rgba(255, 248, 239, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 18px;
  z-index: 10;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  box-shadow: 0 12px 28px rgba(29, 109, 116, 0.28);
  overflow: hidden;
}

.brand-mark.has-image {
  width: min(var(--brand-logo-desktop-width), 24vw);
  min-width: 72px;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  flex: 0 0 auto;
  display: block;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-mark.has-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.brand > span:last-child {
  min-width: 0;
}

.brand strong,
.brand small {
  overflow-wrap: anywhere;
}

.brand strong,
.hero h1,
.section-heading h2,
.floating-card h2 {
  font-family: var(--font-display);
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.topnav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 600;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, #eb9144 100%);
  box-shadow: 0 18px 34px rgba(208, 110, 44, 0.28);
}

.btn-secondary {
  color: var(--text);
  background: white;
  border: 1px solid rgba(32, 42, 42, 0.08);
  box-shadow: 0 12px 28px rgba(55, 48, 36, 0.08);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(32, 42, 42, 0.09);
}

.wide {
  width: fit-content;
  min-width: 260px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  padding: 92px 0 54px;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 0.95;
  margin: 10px 0 16px;
}

.hero-text,
.service-card p,
.catalog-card p,
.timeline p,
.contact-card p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

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

.hero-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(32, 42, 42, 0.08);
  font-weight: 700;
}

.hero-visual {
  display: grid;
  align-items: start;
  align-self: start;
  padding-top: 42px;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(208, 110, 44, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(252, 247, 239, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.hero-stage__track {
  position: relative;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 520ms ease, transform 520ms ease, visibility 520ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide__media,
.hero-slide__media img {
  width: 100%;
  height: 100%;
}

.hero-slide__media img {
  object-fit: cover;
  display: block;
}

.hero-slide__content {
  position: absolute;
  inset: 28px;
  display: grid;
  align-content: end;
  gap: 12px;
  z-index: 2;
}

.hero-slide__content.has-media {
  background: linear-gradient(180deg, rgba(15, 20, 20, 0.04), rgba(15, 20, 20, 0.58));
}

.hero-slide__content.has-media h2,
.hero-slide__content.has-media p,
.hero-slide__content.has-media .hero-slide__list span,
.hero-slide__content.has-media small {
  color: white;
}

.hero-slide__content.is-centered {
  inset: 34px;
  align-content: center;
  justify-items: start;
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 249, 241, 0.98), rgba(255, 255, 255, 0.96)),
    linear-gradient(135deg, rgba(208, 110, 44, 0.2), rgba(29, 109, 116, 0.16));
  box-shadow: 0 22px 48px rgba(48, 37, 22, 0.14);
}

.hero-slide__content small {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
}

.hero-slide__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.02;
  margin: 0;
}

.hero-slide__content p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 28ch;
}

.hero-slide__list {
  display: grid;
  gap: 10px;
}

.hero-slide__list span {
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 600;
}

.hero-stage__dots {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-stage__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 16px rgba(31, 42, 42, 0.14);
}

.hero-stage__dot.is-active {
  width: 34px;
  background: linear-gradient(135deg, var(--accent), #eb9144);
}

.section {
  padding: 54px 0;
}

.highlight {
  padding: 62px 42px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top left, rgba(29, 109, 116, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.86), rgba(255, 247, 237, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 8px 0 0;
  max-width: 760px;
  line-height: 1.04;
}

.service-grid,
.catalog-grid,
.contact-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.service-card,
.catalog-card,
.timeline article,
.gallery-card,
.contact-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(32, 42, 42, 0.08);
  box-shadow: 0 16px 36px rgba(48, 37, 22, 0.08);
}

.service-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.service-asset {
  width: 96px;
  height: 96px;
  margin: 0 auto 2px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(250,244,235,0.92));
  border: 1px solid rgba(32, 42, 42, 0.08);
  box-shadow: 0 12px 24px rgba(48, 37, 22, 0.08);
  overflow: hidden;
}

.service-asset img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  margin: 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(208, 110, 44, 0.12);
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 0.84rem;
}

.catalog-card {
  padding: 0;
  overflow: hidden;
  display: grid;
  align-content: start;
}

.catalog-thumb {
  margin: 0;
  aspect-ratio: 4 / 2.6;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(29, 109, 116, 0.1), rgba(208, 110, 44, 0.14));
}

.catalog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-copy {
  padding: 22px 24px 24px;
  display: grid;
  gap: 10px;
}

.gallery-card {
  overflow: hidden;
  padding: 0;
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.gallery-copy {
  padding: 18px 18px 20px;
}

.hidden {
  display: none !important;
}

.service-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(208, 110, 44, 0.12);
  color: var(--accent-deep);
  font-weight: 800;
}

.service-card h3,
.catalog-card h3,
.contact-card h3,
.timeline h3 {
  font-size: 1.25rem;
  margin: 16px 0 10px;
}

.catalog-card span {
  font-weight: 700;
  color: var(--teal);
}

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

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

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(29, 109, 116, 0.14), rgba(208, 110, 44, 0.18));
  color: var(--teal);
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.contact-card__copy {
  display: grid;
  gap: 6px;
}

.contact-card__label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.contact-card h3,
.contact-card p {
  margin: 0;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(29, 109, 116, 0.18), rgba(208, 110, 44, 0.2));
  font-weight: 900;
}

.panel-preview {
  display: grid;
  gap: 24px;
  justify-items: start;
}

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

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

@media (max-width: 1080px) {
  .topbar {
    border-radius: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .service-grid,
  .catalog-grid,
  .timeline,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-stage {
    min-height: 480px;
  }

  .hero-visual {
    padding-top: 34px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 100%);
  }

  .topnav {
    display: none;
  }

  .hero,
  .service-grid,
  .catalog-grid,
  .timeline,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 0;
  }

  .hero-stage {
    min-height: 420px;
  }

  .brand-mark.has-image {
    width: min(var(--brand-logo-mobile-width), 46vw);
    min-width: 64px;
  }

  .hero-slide__content,
  .hero-slide__content.is-centered {
    inset: 18px;
    padding: 22px;
  }

  .highlight {
    padding: 30px 22px;
  }
}
