/* =========================================================
   Maxinzocktslots-at — Interior Design Studio
   Main Stylesheet
   ========================================================= */

:root {
  /* Backgrounds */
  --bg-main: #f8e9ec;
  --bg-alt: #fff4f5;
  --bg-block: #f2dde2;

  /* Accents */
  --emerald: #1f6a5c;
  --emerald-dark: #164e43;
  --plum: #713b5b;
  --gold: #c89a3d;
  --graphite: #2d2d2d;

  /* Text */
  --heading: #252525;
  --text: #545454;
  --muted: #8d8d8d;
  --border: #e8d6da;

  /* Fonts */
  --font-heading: "Manrope", "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-ui: "Urbanist", sans-serif;

  /* Layout */
  --container-width: 1200px;
  --radius-card: 28px;
  --radius-btn: 24px;
  --section-pad-block: 6rem;
  --section-pad-inline: 2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text);
  line-height: 1.65;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  margin: 0 0 1rem;
}

.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--section-pad-inline);
}

section {
  padding-block: var(--section-pad-block);
  padding-inline: var(--section-pad-inline);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--emerald);
  background: rgba(31, 106, 92, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head p {
  color: var(--text);
  font-size: 1.05rem;
}

.bg-alt {
  background: var(--bg-alt);
}
.bg-block {
  background: var(--bg-block);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: var(--emerald);
  color: #fff;
  box-shadow: 0 10px 30px rgba(31, 106, 92, 0.25);
}
.btn-primary:hover {
  background: var(--plum);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 36px rgba(113, 59, 91, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--emerald);
  border: 1.5px solid var(--emerald);
}
.btn-outline:hover {
  background: var(--emerald);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

.btn-light {
  background: #fff;
  color: var(--emerald);
}
.btn-light:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 233, 236, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 1.8rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.98rem;
}

.nav-list a {
  position: relative;
  padding-block: 0.3rem;
  color: var(--graphite);
  transition: color 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width 0.25s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--emerald);
}
.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-cta {
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--graphite);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-block: 7rem 6rem;
  overflow: hidden;
  background: var(--bg-alt);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 20s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(37, 37, 37, 0.55) 0%,
    rgba(37, 37, 37, 0.35) 60%,
    rgba(248, 233, 236, 0.9) 100%
  );
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-1%, -1%);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  color: #fff;
}
.hero-content .subheadline {
  font-size: 1.15rem;
  color: #f4e9ea;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.hero-small {
  padding-block: 4.5rem 3.5rem;
}

.hero-small .hero-content {
  color: var(--heading);
}
.hero-small .hero-content h1 {
  color: var(--heading);
}
.hero-small .hero-content .subheadline {
  color: var(--text);
}

.breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: var(--emerald);
}

/* Fade up animation */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Cards Grid — Competencies / Services
   ========================================================= */
.grid {
  display: grid;
  gap: 1.8rem;
}

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

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2.2rem 1.8rem;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 45px rgba(45, 45, 45, 0.12);
  background: #fff;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(31, 106, 92, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--emerald);
}
.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 0.6rem;
}
.card p {
  color: var(--text);
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--emerald);
  font-size: 0.9rem;
  transition: gap 0.25s ease;
}
.card:hover .card-arrow {
  gap: 0.8rem;
  color: var(--plum);
}

/* Advantages */
.advantage {
  text-align: center;
  padding: 1.5rem;
}
.advantage .card-icon {
  margin-inline: auto;
}

/* =========================================================
   Timeline
   ========================================================= */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  counter-reset: step;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  counter-increment: step;
}

.timeline-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
}

.timeline-step:nth-child(2n) .timeline-num {
  background: var(--plum);
}

.timeline-5 {
  grid-template-columns: repeat(5, 1fr);
}

.timeline-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.timeline-step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* =========================================================
   Projects
   ========================================================= */
.project-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.project-img {
  height: 260px;
  overflow: hidden;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img img {
  transform: scale(1.08);
}

.project-body {
  padding: 1.6rem 1.8rem;
}
.project-body h3 {
  margin-bottom: 0.4rem;
}
.project-body p {
  font-size: 0.94rem;
}

.project-link {
  color: var(--emerald);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
}
.project-link:hover {
  color: var(--plum);
}

/* =========================================================
   Stats
   ========================================================= */
.stats {
  background: var(--bg-block);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--emerald);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-family: var(--font-ui);
  color: var(--text);
  font-size: 0.95rem;
}

/* =========================================================
   CTA Sections
   ========================================================= */
.cta-section {
  text-align: center;
  background: linear-gradient(
    120deg,
    var(--bg-block),
    var(--bg-alt),
    var(--bg-block)
  );
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  border-radius: var(--radius-card);
  margin-inline: auto;
  max-width: var(--container-width);
  margin-block: 2rem;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cta-section h2 {
  margin-bottom: 0.8rem;
}
.cta-section p {
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 1.8rem;
}

.cta-white {
  background: #fff;
  border: 1px solid var(--border);
}

/* =========================================================
   About page specifics
   ========================================================= */
.values-grid {
  grid-template-columns: repeat(3, 1fr);
}

.statement-block {
  text-align: center;
  padding-block: 5rem;
  max-width: 820px;
  margin-inline: auto;
}
.statement-block h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-style: italic;
}

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

.team-card {
  background: var(--bg-alt);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.team-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 45px rgba(45, 45, 45, 0.12);
}

.team-photo {
  height: 300px;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-body {
  padding: 1.5rem;
}
.team-role {
  font-family: var(--font-ui);
  color: var(--emerald);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.team-quote {
  font-style: italic;
  color: var(--muted);
  font-size: 0.88rem;
  border-left: 2px solid var(--gold);
  padding-left: 0.8rem;
  margin-top: 0.8rem;
}

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

/* =========================================================
   Services page
   ========================================================= */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child {
  border-bottom: none;
}
.service-block:nth-child(even) {
  direction: rtl;
}
.service-block:nth-child(even) > * {
  direction: ltr;
}

.service-img {
  border-radius: var(--radius-card);
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.service-list {
  margin-top: 1.2rem;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.98rem;
}
.service-list li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}

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

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 1rem;
  background: var(--bg-alt);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.3rem 1.6rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
  padding: 0 1.6rem;
}

.faq-item.open .faq-answer {
  padding: 0 1.6rem 1.4rem;
}

.faq-answer p {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0;
}

/* =========================================================
   Contact Page
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: var(--heading);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(31, 106, 92, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.contact-info-card {
  background: var(--bg-block);
  border-radius: var(--radius-card);
  padding: 2.2rem;
  margin-bottom: 1.5rem;
}

.contact-info-card h3 {
  margin-bottom: 1rem;
}

.contact-info-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.96rem;
}

.contact-info-list li:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(31, 106, 92, 0.14);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}

/* =========================================================
   Popup
   ========================================================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 45, 45, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  background: #fff;
  border-radius: 24px;
  padding: 2.6rem 2.2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.popup-overlay.show .popup-box {
  transform: translateY(0) scale(1);
}

.popup-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(31, 106, 92, 0.12);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.popup-icon svg {
  width: 32px;
  height: 32px;
}

.popup-box h3 {
  margin-bottom: 0.6rem;
}
.popup-box p {
  color: var(--text);
  margin-bottom: 1.6rem;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.popup-close:hover {
  color: var(--plum);
}

/* =========================================================
   Legal Pages
   ========================================================= */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}
.legal-content h2 {
  margin-top: 2.4rem;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content ol,
.legal-content ul {
  list-style: decimal;
  padding-left: 1.4rem;
  margin-bottom: 1.4rem;
}
.legal-content ul {
  list-style: disc;
}
.legal-content li {
  margin-bottom: 0.9rem;
}
.legal-content .updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--graphite);
  color: #d9d3d4;
  padding-block: 4rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  color: #fff;
}
.footer-brand p {
  color: #b8b0b1;
  font-size: 0.92rem;
  margin-block: 1rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.footer-social a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: background 0.25s ease;
}
.footer-social a:hover {
  background: var(--emerald);
}

.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.footer-col ul li {
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
}
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-contact li {
  color: #cfc7c8;
}

.footer-bottom {
  padding-block: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #a79fa0;
}

/* =========================================================
   Utility & Animations
   ========================================================= */
.badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(
    120deg,
    rgba(200, 154, 61, 0.2),
    rgba(200, 154, 61, 0.35)
  );
  color: var(--gold);
}

.badge-emerald {
  background: linear-gradient(
    120deg,
    rgba(31, 106, 92, 0.15),
    rgba(31, 106, 92, 0.3)
  );
  color: var(--emerald);
}

.float {
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .grid-4,
  .team-grid,
  .trust-grid,
  .extra-services,
  .timeline,
  .timeline-5,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before {
    display: none;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .service-block {
    grid-template-columns: 1fr;
  }
  .service-block:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-inline: 1rem;
    --section-pad-block: 3rem;
  }

  .container {
    padding-inline: 1rem;
  }
  section {
    padding-block: 3rem;
    padding-inline: 1rem;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--bg-alt);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 150;
  }
  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 1.4rem;
  }
  .nav-toggle {
    display: flex;
    z-index: 200;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .team-grid,
  .trust-grid,
  .extra-services,
  .timeline,
  .timeline-5,
  .stats-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

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