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

:root {
  --cream: #F9F5ED;
  --sand: #DACFB6;
  --taupe: #B89C82;
  --olive: #76A52;
  --text: #2b2823;
  --muted: #6f675b;
  --dark: #17130f;
  --white: #ffffff;
  --border: rgba(184, 156, 130, 0.32);
  --shadow: 0 28px 80px rgba(43, 40, 35, 0.15);
  --title-font: "Playfair Display", serif;
  --body-font: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

.hidden {
  display: none;
}

/* HEADER */
.header {
  position: fixed;
  top: 14px;
  left: 50%;
  width: min(1180px, calc(100% - 38px));
  height: 72px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transform: translateX(-50%);
  background: rgba(249, 245, 237, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(43, 40, 35, 0.06);
  transition: all 0.35s ease;
}

.header.scrolled {
  top: 10px;
  height: 66px;
  background: rgba(249, 245, 237, 0.44);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(184, 156, 130, 0.24);
}

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

.logo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header.scrolled .logo img {
  height: 44px;
}

.nav-logo {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: rgba(43, 40, 35, 0.64);
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 1px;
  background: var(--taupe);
  transition: width 0.35s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.burger {
  display: none;
  width: 34px;
  height: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1002;
}

.burger span {
  width: 100%;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s ease;
}

/* GLOBAL */
.section {
  padding: 130px 7%;
  scroll-margin-top: 92px;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--taupe);
  font-weight: 800;
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  font-family: var(--title-font);
  color: var(--text);
  line-height: 1.05;
}

h1 {
  font-size: clamp(3.9rem, 9vw, 9.6rem);
  letter-spacing: -0.075em;
}

h2 {
  font-size: clamp(2.3rem, 4.8vw, 5rem);
  letter-spacing: -0.055em;
}

p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid var(--dark);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, border 0.35s ease, box-shadow 0.35s ease;
}

.btn:hover {
  transform: translateY(-4px) scale(1.035);
  box-shadow: 0 14px 34px rgba(43, 40, 35, 0.12);
}

.btn-primary {
  background: var(--dark);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--taupe);
  color: var(--white);
  border-color: var(--taupe);
}

.btn-secondary {
  background: transparent;
  color: var(--dark);
}

.btn-secondary:hover {
  background: var(--dark);
  color: var(--cream);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 118px;
  padding-bottom: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-slideshow,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slideshow {
  z-index: -3;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  animation: heroFade 18s infinite ease-in-out;
}

.hero-slide-1 {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85");
}

.hero-slide-2 {
  background-image: url("https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?auto=format&fit=crop&w=1800&q=85");
  animation-delay: 6s;
}

.hero-slide-3 {
  background-image: url("https://images.unsplash.com/photo-1617791160505-6f00504e3519?auto=format&fit=crop&w=1800&q=85");
  animation-delay: 12s;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(249, 245, 237, 0.97) 0%, rgba(249, 245, 237, 0.92) 38%, rgba(249, 245, 237, 0.68) 62%, rgba(249, 245, 237, 0.35) 100%),
    radial-gradient(circle at 22% 48%, rgba(249, 245, 237, 0.55), transparent 52%);
}

.hero-content {
  width: min(1180px, 100%);
  min-height: calc(100vh - 118px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  margin: 0 auto;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.hero-content .eyebrow {
  margin-bottom: 28px;
}

.hero-content h1 {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.typewriter-line {
  min-height: 72px;
  margin: 28px auto 0;
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  font-family: var(--title-font);
  font-weight: 700;
  color: var(--taupe);
  line-height: 1.25;
  width: 100%;
  max-width: 900px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#typewriter {
  color: var(--taupe);
}

.cursor {
  color: var(--taupe);
  animation: blink 0.75s infinite;
  margin-left: 5px;
}

.hero-description {
  max-width: 900px;
  margin: 0 auto 34px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: #514a41;
}

.hero-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding-top: 32px;
  padding-bottom: clamp(56px, 9vh, 110px);
}

/* SERVICES */
.services {
  background: linear-gradient(180deg, var(--cream), #fffaf2 52%, var(--cream));
  overflow-x: clip;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 86px;
}

.section-heading h2 {
  margin-bottom: 22px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  width: 100%;
  min-width: 0;
}

.service-card {
  min-height: 520px;
  min-width: 0;
  max-width: 100%;
  cursor: pointer;
  border-radius: 36px;
  outline: none;
  opacity: 0;
  transform: translateY(120px) scale(0.86) rotateX(9deg);
  transition:
    opacity 0.95s ease,
    transform 0.95s cubic-bezier(0.16, 0.72, 0.15, 1),
    filter 0.35s ease;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0);
}

.service-card.visible:hover {
  transform: translateY(-14px) scale(1.05);
  filter: saturate(1.08) contrast(1.02);
}

.card-content {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 62px rgba(43, 40, 35, 0.13);
  transition: box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 42px;
  isolation: isolate;
}

.service-card.visible:hover .card-content {
  box-shadow: 0 34px 90px rgba(43, 40, 35, 0.23);
}

.card-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(23, 19, 15, 0.72), rgba(23, 19, 15, 0.24)),
    radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.18), transparent 32%);
  z-index: -2;
  transition: background 0.35s ease;
}

.card-content::after {
  content: "";
  position: absolute;
  top: -90%;
  left: -62%;
  width: 42%;
  height: 280%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.72),
    rgba(255, 255, 255, 0.12),
    transparent
  );
  transform: rotate(37deg) translateX(-130%);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}

.service-card:hover .card-content::after {
  opacity: 1;
  animation: diagonalShine 1.15s ease forwards;
}

.service-number {
  position: absolute;
  top: 30px;
  left: 30px;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  backdrop-filter: blur(8px);
}

.card-content h3 {
  color: var(--white);
  font-size: clamp(2.25rem, 3.45vw, 4.2rem);
  max-width: 760px;
  text-align: center;
  transform: translateY(18px);
  transition: transform 0.35s ease;
}

.service-card:hover .card-content h3 {
  transform: translateY(-20px);
}

.detail-btn {
  opacity: 0;
  transform: translateY(20px);
  min-height: 48px;
  padding: 0 25px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.62);
  background: rgba(255,255,255,0.18);
  color: var(--white);
  backdrop-filter: blur(8px);
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.35s ease;
}

.service-card:hover .detail-btn {
  opacity: 1;
  transform: translateY(0);
}

.detail-btn:hover {
  background: rgba(255,255,255,0.28);
}

.service-card:nth-child(2) { transition-delay: 0.08s; }
.service-card:nth-child(3) { transition-delay: 0.14s; }
.service-card:nth-child(4) { transition-delay: 0.20s; }
.service-card:nth-child(5) { transition-delay: 0.26s; }
.service-card:nth-child(6) { transition-delay: 0.32s; }

.brochure-cta {
  margin-top: 64px;
  padding: 42px;
  border-radius: 36px;
  border: 1px solid var(--border);
  background: rgba(218, 207, 182, 0.26);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
}

.brochure-cta h3 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  margin-bottom: 10px;
}

/* TESTIMONIALS */
.testimonials {
  margin-top: 120px;
}

.testimonial-header {
  margin-bottom: 36px;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: stretch;
  gap: 24px;
}

.testimonial-window {
  overflow: hidden;
  border-radius: 32px;
  background: rgba(218, 207, 182, 0.24);
  border: 1px solid var(--border);
  min-height: 360px;
  height: 360px;
  width: 100%;
  display: flex;
  align-items: stretch;
}

.testimonial-track {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  height: 100%;
  min-height: 360px;
  will-change: transform;
  transition: transform 0.62s cubic-bezier(0.3, 0.8, 0.2, 1);
}

.testimonial {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  min-height: 360px;
  height: 360px;
}

.testimonial p {
  font-family: var(--title-font);
  font-size: clamp(1.35rem, 2.6vw, 2.75rem);
  color: var(--text);
  line-height: 1.28;
  margin-bottom: 22px;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.testimonial span {
  color: var(--taupe);
  font-weight: 800;
}

.slider-btn {
  width: 56px;
  height: 56px;
  align-self: center;
  border-radius: 50%;
  border: 1px solid var(--taupe);
  background: transparent;
  cursor: pointer;
  color: var(--dark);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: var(--taupe);
  color: var(--white);
  transform: scale(1.08);
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 76px;
  align-items: center;
  background: var(--cream);
}

.about-image {
  border-radius: 36px;
  overflow: hidden;
  height: 680px;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content p {
  margin-top: 22px;
  max-width: 740px;
}

.about-btn {
  margin-top: 42px;
}

/* CONTACT */
.contact {
  background: linear-gradient(180deg, var(--cream), #fffaf2);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info,
.contact-form {
  background: rgba(218, 207, 182, 0.24);
  padding: 40px;
  border-radius: 36px;
  border: 1px solid var(--border);
}

.contact-info h3 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.contact-info a {
  color: var(--dark);
  font-weight: 800;
}

.contact-spacer {
  margin-top: 28px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--taupe);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--taupe);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.76);
  border-radius: 18px;
  padding: 16px 18px;
  font-family: var(--body-font);
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: var(--taupe);
  box-shadow: 0 0 0 4px rgba(184, 156, 130, 0.12);
}

textarea {
  resize: vertical;
}

/* MODAL */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.service-modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 19, 15, 0.42);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(760px, 88vh);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 38px;
  background: var(--cream);
  box-shadow: 0 38px 120px rgba(0,0,0,0.32);
  animation: modalIn 0.38s ease forwards;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.22);
  color: var(--dark);
  font-size: 2rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.modal-image {
  min-height: 560px;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-text {
  padding: 64px 56px;
  overflow-y: auto;
}

.modal-text h2 {
  margin-bottom: 24px;
}

.modal-text p {
  margin-bottom: 30px;
}

/* FOOTER */
.footer {
  padding: 34px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--dark);
  color: var(--cream);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo-link {
  display: inline-flex;
}

.footer-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer p,
.footer a {
  color: rgba(249,245,237,0.78);
  font-size: 0.9rem;
}

.footer-link {
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--cream);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.975);
  transition: opacity 0.95s ease, transform 0.95s cubic-bezier(0.18, 0.72, 0.2, 1);
}

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

/* ANIMATIONS */
@keyframes blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.08); }
  8% { opacity: 1; }
  33% { opacity: 1; }
  42% { opacity: 0; transform: scale(1.14); }
  100% { opacity: 0; transform: scale(1.14); }
}

@keyframes diagonalShine {
  from { transform: rotate(37deg) translateX(-130%); }
  to { transform: rotate(37deg) translateX(360%); }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .section {
    padding: 110px 6%;
  }

  .about,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .card-content {
    min-height: 470px;
  }

  .about-image {
    height: 520px;
  }

  .modal-panel {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .modal-image {
    min-height: 310px;
  }
}

@media (max-width: 768px) {
  .header {
    top: 10px;
    width: calc(100% - 24px);
    height: 66px;
    padding: 0 22px;
  }

  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 82px;
    right: -110%;
    width: min(calc(100% - 24px), 100vw);
    max-width: calc(100vw - 24px);
    height: auto;
    min-height: 420px;
    background: #F9F5ED;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--border);
    border-radius: 34px;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    padding: 60px 20px;
    box-shadow: 0 28px 80px rgba(43, 40, 35, 0.18);
    transition: right 0.42s ease;
  }

  .nav-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
  }

  .nav-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
  }

  .nav.open {
    right: 12px;
  }

  .nav-link {
    font-size: 1rem;
  }

  .burger.open span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
  }

  .burger.open span:nth-child(2) {
    opacity: 0;
  }

  .burger.open span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }

  .section {
    padding: 88px 5%;
    scroll-margin-top: 86px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 92px;
  }

  .hero-content {
    min-height: calc(100svh - 92px);
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.3rem);
  }

  .typewriter-line {
    min-height: 92px;
    margin-top: 22px;
  }

  .hero-actions {
    padding-bottom: clamp(40px, 7vh, 72px);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .btn {
    width: 100%;
  }

  .service-card,
  .card-content {
    min-height: 390px;
  }

  .service-card {
    transform: none;
  }

  .service-card.visible {
    transform: none;
  }

  .service-card.visible:hover {
    transform: none;
  }

  .card-content {
    border-radius: 30px;
    padding: 30px;
    width: 100%;
  }

  .card-content h3 {
    font-size: clamp(1.75rem, 8vw, 3.2rem);
    max-width: 100%;
    word-wrap: break-word;
  }

  .detail-btn {
    opacity: 1;
    transform: translateY(0);
  }

  .brochure-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .testimonial-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    margin: 0 auto;
  }

  .testimonial-window {
    min-height: 300px;
    height: 300px;
  }

  .testimonial-track {
    min-height: 300px;
  }

  .testimonial {
    padding: 32px 24px;
    min-height: 300px;
    height: 300px;
  }

  .about-image {
    height: 390px;
  }

  .about-btn {
    margin-top: 34px;
  }

  .contact-info,
  .contact-form {
    padding: 30px;
  }

  .modal-panel {
    border-radius: 28px;
  }

  .modal-text {
    padding: 38px 28px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0;
  }

  .service-card,
  .card-content {
    min-height: 430px;
  }

  .about-image {
    height: 350px;
  }
}


/* THANK YOU PAGE */
.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--cream);
}

.thank-you-card {
  width: min(780px, 100%);
  padding: 60px;
  border-radius: 36px;
  background: rgba(218, 207, 182, 0.28);
  border: 1px solid var(--border);
  text-align: center;
}

.thank-you-card h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 24px;
}

.thank-you-card p {
  margin-bottom: 28px;
}

/* LEGAL PAGES */
.legal-page {
  min-height: 100vh;
  padding: 140px 7% 80px;
  background: linear-gradient(180deg, var(--cream), #fffaf2);
}

.legal-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 56px;
  border-radius: 36px;
  background: rgba(218, 207, 182, 0.28);
  border: 1px solid var(--border);
}

.legal-back {
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--taupe);
  transition: color 0.3s ease;
}

.legal-back:hover {
  color: var(--dark);
}

.legal-card h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 36px;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin-bottom: 14px;
}

.legal-section p {
  margin-bottom: 14px;
}

.legal-section ul {
  margin: 10px 0 16px;
  padding-left: 22px;
}

.legal-section li {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-card a {
  color: var(--dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card a:hover {
  color: var(--taupe);
}

@media (max-width: 768px) {
  .legal-page {
    padding: 110px 5% 60px;
  }

  .legal-card {
    padding: 36px 28px;
  }
}
