/* ============================================================
   PRENIUM — Base Styles
   Variables · Reset · Typography · Glass Utilities
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* Colors */
  --white:         #FFFFFF;
  --off-white:     #F6F5F2;
  --surface:       #EFEDE9;
  --gold:          #1B3FE4;
  --gold-light:    #4B6FE8;
  --gold-dark:     #1432B5;
  --gold-subtle:   rgba(27, 63, 228, 0.08);
  --text-dark:     #0D0D0D;
  --text-mid:      #4A4A4A;
  --text-light:    #9A9A9A;
  --text-lighter:  #C4C4C4;

  /* Glass */
  --glass-bg:      rgba(255, 255, 255, 0.60);
  --glass-bg-2:    rgba(255, 255, 255, 0.82);
  --glass-border:  rgba(255, 255, 255, 0.80);
  --glass-border-2:rgba(255, 255, 255, 0.95);
  --glass-shadow:  0 4px 32px rgba(0, 0, 0, 0.07);
  --glass-shadow-2:0 8px 48px rgba(0, 0, 0, 0.10);

  /* Shadows */
  --shadow-xs:     0 1px 8px rgba(0, 0, 0, 0.05);
  --shadow-sm:     0 2px 20px rgba(0, 0, 0, 0.07);
  --shadow-md:     0 8px 40px rgba(0, 0, 0, 0.10);
  --shadow-lg:     0 20px 60px rgba(0, 0, 0, 0.13);

  /* Fonts */
  --font-title:    'Outfit', sans-serif;
  --font-body:     'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --nav-h:         76px;
  --radius-sm:     4px;
  --radius-md:     8px;

  /* Transitions */
  --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition:    0.35s var(--ease);
  --transition-lg: 0.55s var(--ease);
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── Flip utility (mirror car images) — static, no hover change ── */
.flip-car,
.flip-car:hover { transform: scaleX(-1) !important; }

/* ── Glass Utilities ── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-strong {
  background: var(--glass-bg-2);
  backdrop-filter: blur(36px) saturate(1.6);
  -webkit-backdrop-filter: blur(36px) saturate(1.6);
  border: 1px solid var(--glass-border-2);
  box-shadow: var(--glass-shadow-2);
}

/* ── Typography Scale ── */
.t-display {
  font-family: var(--font-title);
  font-weight: 200;
  font-size: clamp(4rem, 8vw, 9rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
}

.t-h1 {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: 0.08em;
}

.t-h2 {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.06em;
}

.t-h3 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.t-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-light);
}

.t-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ── Gold Line Divider ── */
.gold-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.4rem;
}

/* ── Buttons — Liquid Glass ── */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 14px 34px;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-decoration: none;
  /* Liquid glass — black text, transparent */
  color: rgba(0, 0, 0, 0.80);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.50);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.60),
    0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.30s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Top highlight reflection */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(175deg,
    rgba(255, 255, 255, 0.30) 0%,
    rgba(255, 255, 255, 0.06) 40%,
    transparent 60%
  );
  pointer-events: none;
}

.btn::after { content: none; }

.btn:hover {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.75);
  color: rgba(0, 0, 0, 0.90);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.70),
    0 8px 28px rgba(0, 0, 0, 0.12);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

/* Aliases — all variants inherit liquid glass */
.btn-glass,
.btn-gold,
.btn-glass-light,
.btn-outline { /* inherits .btn */ }

/* ── Layout Helpers ── */
.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 3rem;
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  .section   { padding: 4rem 0; }
}

/* ── CTA Band — split cream left / photo right ─────────────── */
.cta-band {
  background: var(--off-white);
  padding: 0;
  position: relative;
  overflow: hidden;
  text-align: left;
  min-height: 380px;
}

/* No top accent line */
.cta-band::before { display: none; }

/* Photo — right side, diagonal left edge */
.cta-band::after {
  content: '';
  position: absolute;
  top: 0;
  right: -4%;
  width: 52%;
  height: 100%;
  background-image: url('../images/SF 4.png');
  background-size: cover;
  background-position: center center;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
  pointer-events: none;
}

/* Container */
.cta-band .container {
  display: flex;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 2;
}

/* Left content column */
.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  z-index: 2;
  padding: 1.2rem 6rem 1.2rem 0;
  gap: 1.5rem;
}

/* Cream band behind title + subtitle — diagonal right edge */
.cta-band__inner::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: calc(48px + 2.5rem);
  left: calc(-100vw);
  right: -2rem;
  background: var(--off-white);
  clip-path: polygon(0 0, calc(100% - 70px) 0, 100% 100%, 0 100%);
  z-index: -1;
}

.cta-band__title {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.85rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  white-space: nowrap;
  margin-bottom: 0;
}

.cta-band__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--text-mid);
  margin: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-logo {
  height: auto;
  width: 100px;
  margin-bottom: 0.8rem;
  opacity: 0.85;
}

.footer__brand-tag {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer__brand-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 240px;
}

.footer__col-title {
  font-size: 0.60rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-lighter);
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
  font-weight: 400;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 300;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--gold-dark);
}

.footer__contact-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.8;
}

.footer__bottom {
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal {
  font-family: var(--font-body);
  font-size: 0.70rem;
  color: var(--text-lighter);
  font-weight: 300;
}

@media (max-width: 768px) {
  /* ── CTA Band mobile ── */
  .cta-band { min-height: 260px; }

  .cta-band::after {
    right: 0;
    width: 48%;
    clip-path: polygon(16% 0, 100% 0, 100% 100%, 0% 100%);
  }

  .cta-band .container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .cta-band__inner {
    padding: 0.8rem 1rem 0.8rem 0;
    max-width: 56%;
    gap: 1rem;
  }

  .cta-band__title {
    white-space: normal;
    font-size: clamp(0.95rem, 4vw, 1.3rem);
    line-height: 1.2;
  }

  /* Remove cream pseudo-element on mobile — section bg handles it */
  .cta-band__inner::before { display: none; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
