:root {
  --bg: #f4f4ef;
  --bg-soft: #ecece2;
  --text: #12140f;
  --muted: #52584b;
  --brand: #e6431f;
  --brand-dark: #bc2d0f;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(18, 20, 15, 0.1);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, #ffd8b8 0%, transparent 30%),
    radial-gradient(circle at 80% 10%, #ffd5cf 0%, transparent 25%),
    linear-gradient(180deg, #f7f7f0 0%, #ecece1 45%, #e3e2d5 100%);
  min-height: 100vh;
  line-height: 1.5;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(45px);
  opacity: 0.35;
}

.bg-shape-1 {
  width: 280px;
  height: 280px;
  background: #ff8b47;
  top: -80px;
  right: 4%;
}

.bg-shape-2 {
  width: 220px;
  height: 220px;
  background: #b8d447;
  bottom: 8%;
  left: -40px;
}

.header {
  width: min(1100px, 92vw);
  margin: 1rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0.8rem;
  z-index: 40;
}

.logo {
  font-family: "Antonio", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text);
}

.logo span {
  color: var(--brand);
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
}

main {
  width: min(1100px, 92vw);
  margin: 2rem auto 4rem;
  display: grid;
  gap: 2.2rem;
}

.hero h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

.hero {
  padding: 3rem 1.2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.2rem;
  align-items: stretch;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: "Antonio", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 0.95;
  max-width: 16ch;
}

.hero-text {
  margin-top: 1rem;
  max-width: 58ch;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-showcase {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
}

.hero-slides {
  position: relative;
  min-height: 280px;
  flex: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  background: linear-gradient(130deg, rgba(184, 212, 71, 0.22), rgba(255, 139, 71, 0.22));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide[data-type='image'] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide[data-type='quote'] {
  display: grid;
  align-content: center;
  gap: 0.75rem;
  padding: 1.2rem;
  background:
    linear-gradient(135deg, rgba(184, 212, 71, 0.22), rgba(255, 255, 255, 0.7)),
    rgba(246, 244, 237, 0.95);
}

.hero-slide blockquote {
  margin: 0;
  color: #26301f;
  font-size: 1.05rem;
  font-weight: 700;
}

.quote-author {
  margin: 0;
  color: #3f4638;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  gap: 0.6rem;
}

.hero-control {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

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

.hero-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  border: 0;
  background: rgba(18, 20, 15, 0.25);
  padding: 0;
}

.hero-dot.active {
  background: var(--brand);
}

.hero-slide-missing {
  display: grid;
  place-items: center;
  background:
    linear-gradient(130deg, rgba(184, 212, 71, 0.22), rgba(255, 139, 71, 0.22)),
    #f6f4ed;
}

.hero-slide-missing p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  color: #3f4638;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #ff7647 100%);
  color: #fff;
  box-shadow: 0 12px 25px rgba(230, 67, 31, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border-color: var(--line);
}

.section {
  padding: 0.9rem 1.2rem;
}

.section h2 {
  font-family: "Antonio", sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  max-width: none;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: normal;
}

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

.section .section-tag {
  text-align: center;
}

.cards-grid,
.pricing-grid,
.features-grid,
.gallery-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card,
.pricing-card,
.feature-item,
.gallery-item,
.map-placeholder {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card h3,
.pricing-card h3,
.feature-item h3 {
  font-family: "Antonio", sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.pricing-card {
  position: relative;
}

.price {
  font-family: "Antonio", sans-serif;
  font-size: 2rem;
  color: var(--brand-dark);
  margin: 0.2rem 0;
}

.pricing-card ul {
  margin: 0.2rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.badge {
  position: absolute;
  top: -0.7rem;
  right: 0.7rem;
  background: #b8d447;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.featured {
  background: linear-gradient(160deg, rgba(255, 236, 224, 0.95), rgba(255, 255, 255, 0.75));
}

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

.gallery-item {
  margin: 0;
  padding: 0;
  overflow: hidden;
  min-height: 210px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-missing {
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(184, 212, 71, 0.25), rgba(255, 139, 71, 0.25)),
    #f6f4ed;
}

.gallery-missing p {
  margin: 0;
  color: #3f4638;
  font-weight: 700;
  font-size: 0.9rem;
}

body.modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(6, 7, 5, 0.84);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal-image {
  width: min(100%, 980px);
  max-height: 88vh;
  justify-self: center;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  object-fit: contain;
  background: #0d0f0a;
}

.gallery-modal-close,
.gallery-modal-nav {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
}

.gallery-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.8rem;
  line-height: 1;
}

.gallery-modal-nav {
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.7rem;
  line-height: 1;
}

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

.map-placeholder {
  position: relative;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(184, 212, 71, 0.22), rgba(255, 139, 71, 0.22)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.75),
      rgba(255, 255, 255, 0.75) 8px,
      rgba(240, 240, 230, 0.6) 8px,
      rgba(240, 240, 230, 0.6) 16px
    );
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  aspect-ratio: 4 / 3;
}

.map-link {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid var(--line);
}

.footer {
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  main {
    margin: 1.1rem auto 2.4rem;
    gap: 1.4rem;
  }

  .hero {
    padding: 1.5rem 1.2rem 0.8rem;
  }

  .section {
    padding: 0.6rem 1.2rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
    min-width: 0;
  }

  .hero h1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    font-size: clamp(1.7rem, 7vw, 2.25rem);
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .eyebrow {
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 21rem);
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn {
    min-width: 0;
    width: 100%;
    padding: 0.78rem 0.6rem;
    font-size: 0.9rem;
  }

  .hero-actions .btn:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 11rem);
  }

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

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

  .header {
    position: relative;
    top: 0;
  }

  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.55rem 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    left: 0;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    gap: 0.7rem;
  }

  .nav.open {
    display: flex;
  }

  .gallery-modal {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .gallery-modal-image {
    max-height: 78vh;
  }

  .gallery-modal-nav.prev,
  .gallery-modal-nav.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .gallery-modal-nav.prev {
    left: 0.5rem;
  }

  .gallery-modal-nav.next {
    right: 0.5rem;
  }
}
