/* ═══════════════════════════════════════════════════════════════
   BASE — Custom Properties · Reset · Typography · Layout
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Custom Properties ───────────────────────────────────── */
:root {
  --font-heading: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
  --primary: #2F353B;
  --primary-dark: #2F353B;
  --primary-light: #4A525A;
  --primary-hover: #252A2F;
  --secondary: #2E6EA6;
  --secondary-hover: #215B8E;
  --secondary-light: #DCE9F4;
  --accent: #E67E22;
  --accent-hover: #C96A16;
  --accent-light: #FCE8D6EE;
  --accent-dark: #8A735AEE;
  --sand: #D8C1A0EE;
  --sand-dark: #C9AF89EE;
  --sand-light: #F4EDE4EE;
  --neutral: #fff;
  --neutral-border: #ECEFF1;
  --neutral-logo: #F5F7F8;
  --neutral-caption: #6D7680;
  --neutral-secondary: #4F5963;
  --neutral-dark: #2F353B;
  --color-text: #171717;
  --margin: calc((100vw - 1200px) / 2);
}

@media (max-width: 1280px) {
  :root {
    --margin: 0px;
  }
}


/* ── 2. Reset ───────────────────────────────────────────────── */
html {
  margin-top: 0 !important;
}

*,
*::before,
*::after {
  padding: 0;
  appearance: none;
  margin: 0;
  background: none;
  border: none;
  outline: transparent;
  list-style: none;
  box-sizing: border-box;
  font-family: var(--font-body);
  color: var(--color-text);
  text-decoration: none;
}

body {
  background: var(--neutral);
  overflow-x: hidden;
}

/* ── 3. Layout ──────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

body {
  background: linear-gradient(104.82deg, rgba(120, 140, 160, 0.12) 0%, rgba(80, 110, 150, 0.00018) 100%),
  linear-gradient(180deg, rgba(80, 110, 150, 0.02) 0%, rgba(120, 140, 160, 0.02) 100%);

}

@media (max-width: 1080px) {
  .container { padding: 0 20px; }
}

@media (max-width: 768px) {
  .container { padding: 0 10px; }
}

.display-xl     { font-weight: 700; font-size: 64px; line-height: 110%; font-family: var(--font-heading); }
.display-l      { font-weight: 700; font-size: 56px; line-height: 110%; font-family: var(--font-heading); }
.title-1        { font-weight: 600; font-size: 48px; line-height: 115%; font-family: var(--font-heading); }
.title-2        { font-weight: 600; font-size: 40px; line-height: 120%; font-family: var(--font-heading); }
.title-3        { font-weight: 600; font-size: 32px; line-height: 120%; font-family: var(--font-heading); }
.title-4        { font-weight: 500; font-size: 24px; line-height: 135%; font-family: var(--font-heading); }
.title-5        { font-weight: 500; font-size: 20px; line-height: 140%; font-family: var(--font-heading); }
.text-l         { font-weight: 400; font-size: 18px; line-height: 150%; font-family: var(--font-body); }
.text-m         { font-weight: 400; font-size: 16px; line-height: 150%; font-family: var(--font-body); }
.text-s         { font-weight: 400; font-size: 14px; line-height: 150%; font-family: var(--font-body); }
.text-strong    { font-weight: 500; font-size: 16px; line-height: 150%; font-family: var(--font-body); }
.text-button-l  { font-weight: 600; font-size: 16px; line-height: 125%; font-family: var(--font-body); }
.text-button-m  { font-weight: 600; font-size: 15px; line-height: 120%; font-family: var(--font-body); }
.text-menu      { font-weight: 500; font-size: 15px; line-height: 20px; font-family: var(--font-body); }
.text-label     { font-weight: 500; font-size: 14px; line-height: 18px; font-family: var(--font-body); }
.text-input     { font-weight: 400; font-size: 16px; line-height: 24px; font-family: var(--font-body); }
.card-title-l   { font-weight: 600; font-size: 22px; line-height: 30px; font-family: var(--font-heading); }
.card-title-m   { font-weight: 600; font-size: 20px; line-height: 28px; font-family: var(--font-heading); }
.text-price-xl  { font-weight: 700; font-size: 36px; line-height: 40px; font-family: var(--font-heading); }
.text-price-l   { font-weight: 700; font-size: 28px; line-height: 32px; font-family: var(--font-heading); }
.specs-title    { font-weight: 500; font-size: 14px; line-height: 20px; font-family: var(--font-body); }
.specs-value    { font-weight: 400; font-size: 14px; line-height: 20px; font-family: var(--font-body); }
.table-head     { font-weight: 500; font-size: 14px; line-height: 20px; font-family: var(--font-body); }
.table-text     { font-weight: 400; font-size: 14px; line-height: 20px; font-family: var(--font-body); }
.text-caption   { font-weight: 400; font-size: 12px; line-height: 18px; font-family: var(--font-body); }
.text-overline  { font-weight: 500; font-size: 12px; line-height: 16px; font-family: var(--font-body); }

/* ── @keyframes ─────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ── Scroll-animate ─────────────────────────────────────────── */
.scroll-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-animate { opacity: 1; transform: none; transition: none; }
}


@media (max-width: 1080px) {
  .display-xl     { font-weight: 700; font-size: 40px; line-height: 46px; font-family: var(--font-heading); }
  .display-l      { font-weight: 700; font-size: 36px; line-height: 42px; font-family: var(--font-heading); }
  .title-1        { font-weight: 600; font-size: 34px; line-height: 40px; font-family: var(--font-heading); }
  .title-2        { font-weight: 600; font-size: 28px; line-height: 34px; font-family: var(--font-heading); }
  .title-3        { font-weight: 600; font-size: 24px; line-height: 30px; font-family: var(--font-heading); }
  .title-4        { font-weight: 500; font-size: 20px; line-height: 26px; font-family: var(--font-heading); }
  .text-l         { font-weight: 400; font-size: 16px; line-height: 26px; font-family: var(--font-body); }
  .text-m         { font-weight: 400; font-size: 15px; line-height: 24px; font-family: var(--font-body); }
  .text-s         { font-weight: 400; font-size: 14px; line-height: 22px; font-family: var(--font-body); }
  .card-title-l,
  .card-title-m   { font-weight: 600; font-size: 18px; line-height: 24px; font-family: var(--font-heading); }
  .text-price-xl,
  .text-price-l   { font-weight: 700; font-size: 24px; line-height: 28px; font-family: var(--font-heading); }
}
