/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #fbf8f5;
  color: #292321;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   VARIABLES
========================= */

:root {
  --cream: #fbf8f5;
  --cream-dark: #f4eee9;

  --pink: #d89aa1;
  --pink-light: #f2d9dc;
  --pink-dark: #b96f79;

  --rose: #8d525a;

  --text: #292321;
  --muted: #77706c;

  --border: rgba(41, 35, 33, 0.11);
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 82px;

  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 6%;

  transition: all 0.35s ease;
}

.navbar.scrolled {
  background: rgba(251, 248, 245, 0.94);

  backdrop-filter: blur(18px);

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.logo,
.footer-logo {
  font-family: "Cormorant Garamond", serif;

  font-size: 32px;

  font-weight: 600;

  letter-spacing: -1px;
}

.logo span,
.footer-logo span {
  color: var(--pink-dark);
}

.nav-links {
  display: flex;

  align-items: center;

  gap: 38px;

  font-size: 14px;
}

.nav-links a {
  position: relative;

  color: #4d4643;
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 1px;

  background: var(--pink-dark);

  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-button {
  padding: 13px 22px;

  border-radius: 100px;

  background: var(--text);

  color: white;

  font-size: 13px;

  transition: all 0.3s ease;
}

.nav-button:hover {
  background: var(--rose);

  transform: translateY(-2px);
}

.mobile-menu {
  display: none;

  border: none;

  background: transparent;

  font-size: 25px;

  cursor: pointer;
}

/* =========================
   HERO
========================= */

.terms-hero {
  min-height: 57vh;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 145px 6% 85px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(236, 190, 196, 0.32),
      transparent 27%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(236, 190, 196, 0.25),
      transparent 25%
    ),
    var(--cream);
}

.terms-hero::after {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  border: 1px solid rgba(185, 111, 121, 0.12);

  border-radius: 50%;

  bottom: -410px;

  left: 50%;

  transform: translateX(-50%);
}

.terms-hero-content {
  max-width: 850px;

  position: relative;

  z-index: 2;
}

.eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 25px;

  color: var(--rose);

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 3px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";

  width: 32px;
  height: 1px;

  background: var(--pink-dark);
}

.terms-hero h1 {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(60px, 7vw, 95px);

  line-height: 0.88;

  font-weight: 500;

  letter-spacing: -3px;

  margin-bottom: 28px;
}

.terms-hero h1 em {
  display: block;

  color: var(--pink-dark);

  font-style: italic;
}

.terms-hero-content > p {
  max-width: 650px;

  margin: auto;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.8;
}

.updated {
  margin-top: 25px;

  color: #918884;

  font-size: 10px;
}

.updated strong {
  color: var(--rose);

  font-weight: 500;
}

.hero-decoration {
  position: absolute;

  left: 9%;
  top: 35%;

  color: var(--pink-dark);

  font-family: "Cormorant Garamond", serif;

  font-size: 100px;

  opacity: 0.35;

  transform: rotate(-15deg);
}

/* =========================
   TERMS SECTION
========================= */

.terms-section {
  padding: 100px 6% 140px;

  background: var(--cream);
}

.terms-layout {
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: 220px 1fr;

  gap: 80px;

  align-items: start;
}

/* =========================
   SIDEBAR
========================= */

.terms-sidebar {
  position: sticky;

  top: 110px;

  display: flex;

  flex-direction: column;

  border-left: 1px solid rgba(41, 35, 33, 0.12);

  padding-left: 22px;
}

.sidebar-title {
  margin-bottom: 15px;

  color: var(--text);

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 2px;

  font-weight: 600;
}

.terms-sidebar a {
  padding: 6px 0;

  color: #89817d;

  font-size: 11px;

  line-height: 1.4;

  transition: color 0.25s ease;
}

.terms-sidebar a:hover {
  color: var(--pink-dark);
}

/* =========================
   CONTENT
========================= */

.terms-content {
  max-width: 780px;
}

.terms-block {
  padding-bottom: 70px;

  margin-bottom: 70px;

  border-bottom: 1px solid rgba(41, 35, 33, 0.1);
}

.section-number {
  display: block;

  margin-bottom: 12px;

  color: var(--pink-dark);

  font-family: "Cormorant Garamond", serif;

  font-size: 18px;
}

.terms-block h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(40px, 4vw, 56px);

  line-height: 0.95;

  font-weight: 600;

  margin-bottom: 25px;
}

.terms-block h3 {
  margin: 35px 0 14px;

  font-family: "Cormorant Garamond", serif;

  font-size: 27px;

  font-weight: 600;
}

.terms-block p {
  color: var(--muted);

  font-size: 13px;

  line-height: 1.9;

  margin-bottom: 18px;
}

.terms-block ul {
  padding-left: 20px;

  margin: 20px 0 25px;
}

.terms-block li {
  color: var(--muted);

  font-size: 13px;

  line-height: 1.8;

  margin-bottom: 8px;

  padding-left: 5px;
}

.terms-block strong {
  color: var(--text);
}

/* =========================
   NOTICE
========================= */

.notice-box {
  display: flex;

  gap: 15px;

  margin: 30px 0;

  padding: 22px 25px;

  background: #f4e5e4;

  border-left: 3px solid var(--pink-dark);

  color: var(--rose);

  font-size: 12px;

  line-height: 1.7;
}

.notice-box strong {
  flex-shrink: 0;
}

/* =========================
   PACKAGE TABLE
========================= */

.package-table {
  margin: 30px 0;

  border: 1px solid rgba(41, 35, 33, 0.1);

  background: rgba(255, 255, 255, 0.5);
}

.package-row {
  display: grid;

  grid-template-columns: 1fr 150px;

  border-bottom: 1px solid rgba(41, 35, 33, 0.08);

  padding: 15px 18px;

  color: var(--muted);

  font-size: 12px;
}

.package-row:last-child {
  border-bottom: none;
}

.package-row.header {
  background: #f3e9e5;

  color: var(--rose);

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 1.5px;
}

.package-row strong {
  text-align: right;

  color: var(--text);
}

/* =========================
   CONTACT
========================= */

.contact-block {
  border-bottom: none;

  margin-bottom: 20px;

  padding-bottom: 20px;
}

.contact-box {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 1px;

  margin-top: 30px;

  background: rgba(41, 35, 33, 0.1);

  border: 1px solid rgba(41, 35, 33, 0.1);
}

.contact-box > div {
  display: flex;

  flex-direction: column;

  gap: 7px;

  padding: 25px;

  background: white;
}

.contact-box span {
  color: #99918d;

  font-size: 8px;

  text-transform: uppercase;

  letter-spacing: 1.5px;
}

.contact-box strong,
.contact-box a {
  color: var(--text);

  font-size: 12px;
}

.contact-box a {
  color: var(--rose);
}

.legal-note {
  margin-top: 25px;

  color: #9a918d !important;

  font-size: 10px !important;

  font-style: italic;
}

/* =========================
   END
========================= */

.terms-end {
  padding: 40px 0;

  text-align: center;
}

.terms-end > span {
  font-family: "Cormorant Garamond", serif;

  font-size: 34px;

  color: white;

  background: var(--text);

  padding: 4px 14px;
}

.terms-end > span span {
  color: var(--pink);
}

.terms-end p {
  margin: 20px 0 12px;

  color: #918884;

  font-size: 11px;
}

.terms-end div {
  color: var(--pink-dark);

  font-size: 20px;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #24201e;

  color: white;

  padding: 80px 7% 25px;
}

.footer-main {
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.2fr;

  gap: 60px;

  padding-bottom: 70px;
}

.footer-logo {
  display: inline-block;

  color: white;

  font-size: 38px;

  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 370px;

  color: #aaa19d;

  font-size: 13px;

  line-height: 1.8;

  margin-bottom: 25px;
}

.footer-cta {
  color: #e3b1b6;

  font-size: 13px;
}

.footer-column {
  display: flex;

  flex-direction: column;

  gap: 13px;
}

.footer-column h4 {
  font-family: "Cormorant Garamond", serif;

  font-size: 21px;

  font-weight: 500;

  margin-bottom: 8px;
}

.footer-column a {
  color: #aaa19d;

  font-size: 12px;

  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;

  margin: auto;

  padding-top: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  display: flex;

  justify-content: space-between;

  color: #77716e;

  font-size: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 950px) {
  .nav-links {
    gap: 20px;
  }

  .terms-layout {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .terms-sidebar {
    position: relative;

    top: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 5px 20px;

    padding: 0 0 25px;

    border-left: none;

    border-bottom: 1px solid rgba(41, 35, 33, 0.12);
  }

  .sidebar-title {
    grid-column: 1 / -1;
  }

  .footer-main {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 750px) {
  .nav-links,
  .nav-button {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .terms-hero {
    min-height: 58vh;
  }

  .terms-hero h1 {
    font-size: 62px;
  }

  .hero-decoration {
    display: none;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 10px;

    text-align: center;
  }
}

@media (max-width: 550px) {
  .navbar {
    padding: 0 5%;
  }

  .terms-hero {
    padding: 130px 5% 80px;
  }

  .terms-hero h1 {
    font-size: 55px;

    letter-spacing: -2px;
  }

  .terms-hero-content > p {
    font-size: 13px;
  }

  .terms-section {
    padding: 75px 5% 100px;
  }

  .terms-sidebar {
    grid-template-columns: 1fr;
  }

  .terms-block {
    padding-bottom: 50px;

    margin-bottom: 50px;
  }

  .notice-box {
    flex-direction: column;

    gap: 5px;
  }

  .package-row {
    grid-template-columns: 1fr 100px;
  }

  .footer {
    padding: 70px 5% 25px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}
