:root {
  --bg: #f5f4f1;
  --surface: #ffffff;
  --surface-soft: #efede8;
  --text: #181818;
  --muted: #626262;
  --line: #ddd7ce;
  --primary: #1d1d1d;
  --accent: #9d7b49;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #f7f5f1 0%, #f1eee7 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 241, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(124, 112, 90, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

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

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-mark {
  width: 65px;
  height: 65px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu a {
  color: #2b2b2b;
  font-weight: 500;
}

.menu-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: #1f1f1f;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: #1f1f1f;
}

.hero {
  padding: 25px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(157, 123, 73, 0.11);
  color: #6f5530;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-copy h1,
.section-heading h2,
.cta-box h2 {
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  max-width: 760px;
  margin-bottom: 18px;
}

.hero-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn-primary {
  background: linear-gradient(145deg, #1d1d1d, #3c372f);
  color: white;
  box-shadow: 0 14px 30px rgba(29, 29, 29, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: #1f1f1f;
  border: 1px solid rgba(61, 49, 27, 0.12);
}

.hero-points {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 20px;
  color: #383838;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card,
.about-card,
.service-card,
.portfolio-card,
.steps-box,
.testimonial-card,
.cta-box {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(108, 90, 57, 0.11);
  box-shadow: var(--shadow);
}

.hero-card {
  width: fit-content;
  max-width: 550px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 20, 20, 0.05);
  border-radius: 30px;
  padding: 16px 16px 18px;
  box-shadow: 0 20px 50px rgba(15, 15, 15, 0.08);
  backdrop-filter: blur(8px);
}

.hero-photo {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #111;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
  contain: layout paint;
  isolation: isolate;
}

.hero-video-single {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: #111;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-video-single.is-visible {
  visibility: visible;
  opacity: 1;
  z-index: 2;
}

.hero-video-single.is-buffer {
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-card-content {
  padding: 16px 4px 0;
}

.hero-card-content p,
.about-card p,
.section-heading p,
.service-card p,
.portfolio-content p,
.step-item p,
.testimonial-card p,
.cta-box p,
.footer p {
  color: var(--muted);
}

.trust-bar {
  padding-bottom: 26px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-grid > div {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(108, 90, 57, 0.08);
  border-radius: 20px;
  padding: 22px;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.28);
  border-top: 1px solid rgba(108, 90, 57, 0.06);
  border-bottom: 1px solid rgba(108, 90, 57, 0.06);
}

.about-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.section-heading h2,
.cta-box h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.section-heading.center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.about-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 18px;
}

.services-grid,
.portfolio-grid,
.steps-grid {
  display: grid;
  gap: 20px;
}

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

.service-card {
  border-radius: var(--radius-md);
  padding: 26px;
}

.service-card h3,
.portfolio-content h3,
.step-item h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

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

.portfolio-card {
  border-radius: 22px;
  overflow: hidden;
}

.portfolio-image {
  min-height: 270px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d8d1c6, #f0ebe1);
  color: #666056;
  font-weight: 600;
  text-align: center;
  padding: 24px;
}

.portfolio-content {
  padding: 24px;
}

.steps-box {
  border-radius: 28px;
  padding: 34px;
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.step-item {
  padding: 18px 6px 4px;
}

.step-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(157, 123, 73, 0.14);
  color: #6f5530;
  font-weight: 800;
  margin-bottom: 14px;
}

.testimonials-grid {
  grid-template-columns: 0.95fr 1fr 1fr;
}

.testimonial-card {
  border-radius: 22px;
  padding: 28px;
}

.testimonial-card p {
  margin-bottom: 18px;
}

.cta-section {
  padding-top: 20px;
}

.cta-box {
  border-radius: 30px;
  padding: 48px 34px;
  text-align: center;
}

.cta-box p {
  max-width: 700px;
  margin: 0 auto 24px;
}

.footer {
  padding: 30px 0 44px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(108, 90, 57, 0.1);
  padding-top: 24px;
}

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

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

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .testimonials-grid,
  .services-grid,
  .portfolio-grid,
  .steps-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .section-heading:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(108, 90, 57, 0.1);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    padding: 6px 2px;
  }

  .menu-cta {
    text-align: center;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid,
  .about-grid,
  .services-grid,
  .portfolio-grid,
  .steps-grid,
  .trust-grid,
  .testimonials-grid,
  .footer-content {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-content {
    gap: 8px;
  }

  .hero-photo {
    min-height: 300px;
  }

  .section,
  .cta-section {
    padding: 68px 0;
  }

  .steps-box,
  .cta-box {
    padding: 28px 22px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .nav {
    min-height: 74px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .btn {
    width: 100%;
  }

  .portfolio-image {
    min-height: 220px;
  }
}

.hero-media-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.82);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.hero-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  background: rgba(20, 20, 20, 0.95);
}

.hero-arrow-left {
  left: -14px;
}

.hero-arrow-right {
  right: -14px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot:hover {
  background: rgba(20, 20, 20, 0.4);
}

.hero-dot.active {
  width: 24px;
  border-radius: 999px;
  background: #1a1a1a;
}

.portfolio-card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 15, 15, 0.06);
}

.portfolio-photo {
  width: 100%;
  height: 650px;
  overflow: hidden;
  background: #d9d3c9;
}

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

.portfolio-card-content {
  padding: 24px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.testimonial-user strong {
  display: block;
  font-size: 1rem;
  color: #111;
}

.testimonial-user small {
  display: block;
  margin-top: 2px;
  color: #6b6b6b;
  font-size: 0.88rem;
}
.cta-mini-info {
  margin-top: 18px;
  font-size: 0.95rem;
  color: #7a7a7a;
}
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-card {
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-photo {
    margin: 0 auto;
  }

  .hero-media-slider {
    justify-content: center;
  }
}

