:root {
  --bg: #f7f3eb;
  --paper: #ffffff;
  --dark: #171717;
  --muted: #6c665c;
  --line: rgba(20, 20, 20, 0.12);
  --yellow: #f5b21b;
  --yellow-dark: #d99a10;
  --footer: #111111;
  --radius: 26px;
  --radius-lg: 38px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.13);
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* HEADER */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(247, 243, 235, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo,
.footer-logo {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.logo span {
  color: var(--yellow);
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--dark);
}

.quote-btn {
  background: var(--yellow);
  color: var(--dark);
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease;
}

.quote-btn:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--dark);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  background: white;
  transition: transform 0.3s ease;
}

.menu-btn span:first-child {
  top: 16px;
}

.menu-btn span:last-child {
  top: 25px;
}

.menu-btn.active span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-btn.active span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* HERO */

.hero {
  padding: 150px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.label::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--yellow);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  max-width: 820px;
  margin-bottom: 28px;
}

.hero p {
  color: var(--muted);
  font-size: 1.13rem;
  max-width: 590px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  background: var(--yellow);
  color: var(--dark);
}

.btn.primary:hover {
  background: var(--yellow-dark);
}

.btn.outline {
  border: 1px solid var(--line);
  background: transparent;
}

.btn.dark {
  background: var(--dark);
  color: white;
}

.btn.white {
  background: white;
  color: var(--dark);
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 620px;
}

.hero-image img {
  height: 620px;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.hero-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  background: white;
  border-radius: 22px;
  padding: 22px 26px;
  min-width: 190px;
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.07em;
}

.hero-card span {
  color: var(--muted);
  font-weight: 700;
}

/* CONTACT STRIP */

.contact-strip {
  padding: 28px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.contact-card h3 {
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.contact-card p {
  font-weight: 800;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* GENERAL */

.section {
  padding: 110px 0;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 56px;
}

.section-top h2,
.section-heading h2,
.about-content h2,
.why-content h2,
.split-content h2,
.final-box h2 {
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.section-heading.center {
  max-width: 850px;
  text-align: center;
  margin: 0 auto 58px;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  height: 560px;
  object-fit: cover;
}

.about-content p,
.why-content p,
.split-content p,
.final-box p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 24px 0 30px;
}

.text-link {
  font-weight: 900;
  color: var(--yellow-dark);
}

/* SERVICES */

.services {
  background: var(--paper);
}

.services-slider {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  gap: 18px;
  align-items: center;
}

.services-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.services-track::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-height: 330px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, background 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  background: #fff8e8;
}

.service-card span {
  color: var(--yellow-dark);
  font-weight: 900;
  margin-bottom: 42px;
}

.service-card h3 {
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  font-weight: 900;
}

.slider-btn {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--dark);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.slider-btn:hover {
  transform: scale(1.08);
}

/* SPLIT CTA */

.split-cta {
  background: var(--yellow);
  padding: 90px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.split-content p {
  color: rgba(0, 0, 0, 0.68);
}

.split-images {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 18px;
  align-items: end;
}

.split-images img {
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split-images img:last-child {
  height: 320px;
}

/* WHY */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.check-list {
  list-style: none;
  margin: 24px 0 32px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 15px;
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.why-image img {
  height: 560px;
  object-fit: cover;
}

/* PROJECTS */

.projects {
  background: var(--paper);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.project-card img {
  height: 360px;
  object-fit: cover;
}

.project-card div {
  padding: 28px;
}

.project-card span,
.blog-card span {
  color: var(--yellow-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.project-card h3,
.blog-card h3 {
  margin-top: 8px;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.project-card p {
  color: var(--muted);
  margin-top: 12px;
}

/* TESTIMONIALS */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  min-height: 330px;
}

.testimonial-card h3 {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

.testimonial-card p {
  color: var(--muted);
  margin-bottom: 28px;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
}

/* BLOG */

.blog {
  background: var(--paper);
  padding-top: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-card img {
  height: 250px;
  object-fit: cover;
}

.blog-card div {
  padding: 26px;
}

/* FINAL CTA */

.final-cta {
  padding: 40px 0 110px;
}

.final-box {
  background: var(--dark);
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(42px, 8vw, 90px);
  text-align: center;
}

.final-box p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin-inline: auto;
}

.final-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* FOOTER */

.footer {
  background: var(--footer);
  color: white;
  padding: 70px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 50px;
}

.footer p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 380px;
  margin-top: 16px;
}

.footer h4 {
  margin-bottom: 18px;
}

.footer a,
.footer span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}

.footer a:hover {
  color: white;
}

/* ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .quote-btn,
  .desktop-only {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 86px;
    left: 16px;
    right: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .split-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .hero-image img {
    min-height: auto;
    height: 520px;
  }

  .contact-grid,
  .testimonial-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-basis: 82%;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .services-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .hero {
    padding-top: 125px;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .hero-image,
  .hero-image img {
    height: 420px;
  }

  .hero-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .section {
    padding: 80px 0;
  }

  .section-top {
    align-items: flex-start;
  }

  .split-images {
    grid-template-columns: 1fr;
  }

  .split-images img,
  .split-images img:last-child,
  .about-image img,
  .why-image img {
    height: 360px;
  }

  .service-card {
    flex-basis: 92%;
  }
}