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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  color: #222;
  line-height: 1.85;
  background: #fff;
  overflow-x: hidden;
}

p { font-size: 1rem; line-height: 1.85; }

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

/* ─── HELPERS ───────────────────────────────────────────────── */
.section-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-header p { color: #666; font-size: 1rem; }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #222;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  color: #222;
  transition: background 0.2s, color 0.2s;
  min-height: 44px;
}

.btn:hover { background: #222; color: #fff; }
.btn-primary { background: #222; color: #fff; }
.btn-primary:hover { background: #444; }
.btn-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ─── HEADER ────────────────────────────────────────────────── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 2rem 12px;
  height: auto;
  min-height: 0;
  background: #010101;
  border-bottom: 2px solid #010101;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo {
  width: clamp(160px, 30vw, 350px);
  height: auto;
  display: block;
  object-fit: contain;
}

/* ─── NAV ───────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #ccc;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.5rem 1.25rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-bottom-color 0.2s;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

nav a:hover { color: #fff; border-bottom-color: #dfac50; }

nav a.btn {
  color: #0D1826;
  background: #dfac50;
  border: 2px solid #dfac50;
  border-bottom: 2px solid #dfac50;
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

nav a.btn:hover {
  background: #c99a3a;
  border-color: #c99a3a;
  color: #0D1826;
  border-bottom-color: #c99a3a;
}

/* ─── HAMBURGER TOGGLE ──────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ccc;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
}

.nav-toggle:hover span { background: #fff; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  background: #020202;
  color: #ccc;
  padding: 3.5rem 2rem 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, #0D1826, #dfac50 35%, #dfac50 65%, #0D1826);
  box-shadow: 0 0 12px rgba(223,172,80,0.4), 0 0 24px rgba(223,172,80,0.15);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo-img {
  height: 78px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #777;
  line-height: 1.65;
  margin-top: 0.75rem;
  max-width: 240px;
}

.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-nav { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-nav a {
  text-decoration: none;
  color: #888;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  color: #888;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.footer-phone,
.footer-email {
  display: block;
  font-size: 0.9rem;
  color: #888;
  text-decoration: none;
  margin-bottom: 0.35rem;
  transition: color 0.2s;
}

.footer-phone:hover,
.footer-email:hover { color: #fff; }

.footer-social { display: flex; flex-direction: column; gap: 0.85rem; }

.social-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #888;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.social-link:hover { color: #fff; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 0;
  border-top: 1px solid #222;
  font-size: 0.75rem;
  color: #555;
  text-align: center;
}

/* ─── FLOATING WHATSAPP BUTTON ──────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float svg { width: 30px; height: 30px; }

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

/* ─── VAULT HERO (shared across all pages) ──────────────────── */
.vault-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.vault-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/porsche-911-carrera-black-background.webp');
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}

.vault-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7,11,18,0.87) 0%,
    rgba(7,11,18,0.72) 50%,
    rgba(7,11,18,0.55) 100%
  );
  z-index: 1;
}

.vault-hero-left {
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 5rem);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vault-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #dfac50;
  background: rgba(223,172,80,0.08);
  border: 1px solid rgba(223,172,80,0.25);
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.vault-eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dfac50;
  flex-shrink: 0;
}

.vault-hero-left h1 {
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.vault-hero-left h1 em {
  font-style: normal;
  color: #dfac50;
}

.vault-hero-left p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 2rem;
}

.vault-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.vault-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  background: #dfac50;
  color: #0D1826;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #dfac50;
  min-height: 44px;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}

.vault-cta-primary:hover {
  background: #c9983e;
  border-color: #c9983e;
  transform: translateY(-2px);
}

.vault-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.2);
  min-height: 44px;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.vault-cta-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-2px);
}

.vault-trust {
  display: flex;
  gap: 1.5rem;
  padding-top: 2rem;
  position: relative;
  flex-wrap: wrap;
}

.vault-trust::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(223,172,80,0.5), rgba(223,172,80,0.15) 60%, transparent);
}

.vault-trust-item { display: flex; flex-direction: column; }
.vault-trust-item strong { font-size: 1.4rem; font-weight: 700; color: #fff; line-height: 1; }
.vault-trust-item span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); margin-top: 0.3rem; }

.vault-hero-right {
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 4vw, 4.5rem) clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 3rem);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.vault-hero-right::before {
  content: '';
  position: absolute;
  top: 10%; left: 0;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(223,172,80,0.35) 40%, rgba(223,172,80,0.35) 60%, transparent);
}

/* ─── DEAL CARD / APPLY FORM ────────────────────────────────── */
.deal-card {
  background: rgba(7,11,18,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(223,172,80,0.2);
  border-top: 3px solid #dfac50;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 2rem);
  width: 100%;
  max-width: 400px;
}

.deal-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #dfac50;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deal-card-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: #dfac50;
  flex-shrink: 0;
}

.apply-form { display: flex; flex-direction: column; gap: 0.85rem; }
.apply-form-field { display: flex; flex-direction: column; gap: 0.3rem; }

.apply-form-field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.apply-form-field input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(223,172,80,0.2);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.6rem 0.75rem;
  outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
  appearance: textfield;
  min-height: 44px;
  width: 100%;
}

.apply-form-field input::-webkit-outer-spin-button,
.apply-form-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.apply-form-field input::placeholder { color: rgba(255,255,255,0.2); }
.apply-form-field input:focus { border-color: rgba(223,172,80,0.6); }

.apply-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }

.apply-radio-group { display: flex; gap: 1rem; margin-top: 0.15rem; flex-wrap: wrap; }

.apply-radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.apply-radio input[type="radio"] {
  accent-color: #dfac50;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.apply-submit {
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.9rem 1rem;
  background: #dfac50;
  color: #0a0a0a;
  border: 2px solid #dfac50;
  text-transform: uppercase;
  min-height: 48px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  font-family: inherit;
}

.apply-submit:hover {
  background: #f0c060;
  border-color: #f0c060;
  color: #0a0a0a;
  box-shadow: 0 0 20px rgba(223,172,80,0.35);
}

/* ─── HOW IT WORKS ──────────────────────────────────────────── */
.how-it-works {
  padding: clamp(3rem, 6vw, 5rem) 2rem;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.how-it-works .section-header h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); }

/* ─── WHY CHOOSE US ─────────────────────────────────────────── */
.why-us {
  padding: clamp(3rem, 6vw, 5rem) 2rem;
  background: #0D1117;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(223,172,80,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.why-us .section-header h2 { color: #fff; }
.why-us .section-header p { color: rgba(255,255,255,0.5); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.why-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(223,172,80,0.15);
  border-top: 2px solid rgba(223,172,80,0.5);
  padding: 1.75rem 1.5rem;
  text-align: left;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.why-block:hover {
  border-color: rgba(223,172,80,0.5);
  border-top-color: #dfac50;
  box-shadow: 0 0 24px rgba(223,172,80,0.12), 0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}

.why-block h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(223,172,80,0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.why-block h3 svg { flex-shrink: 0; color: #dfac50; }

.why-block p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

.why-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.55rem 1.25rem;
  background: #dfac50;
  color: #0D1826;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid #dfac50;
  min-height: 44px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.why-cta:hover { background: transparent; border-color: #fff; color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */

/* ── Tablet ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile nav ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  header { padding: 12px 1.25rem; position: sticky; }

  .nav-toggle { display: flex; }

  nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #010101;
    border-top: 1px solid rgba(223,172,80,0.15);
    gap: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 1.25rem;
  }

  nav.nav-open { max-height: 400px; }

  nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid transparent;
    padding-left: 0.75rem;
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: color 0.2s, border-left-color 0.2s, background 0.2s;
  }

  nav a:last-child { border-bottom: none; }
  nav a:hover { color: #fff; border-left-color: #dfac50; background: rgba(223,172,80,0.04); }

  nav a.btn {
    margin: 0.75rem 0 1rem;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-left: none;
    background: #dfac50;
    color: #0D1826;
    font-size: 0.82rem;
  }

  nav a.btn:hover { background: #c99a3a; border-color: #c99a3a; border-left: none; }

  /* Hero */
  .vault-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .vault-hero-left {
    padding: 2.5rem 1.25rem 2rem;
  }

  .vault-hero-left h1 {
    font-size: clamp(1.6rem, 7vw, 2.25rem);
    line-height: 1.15;
    word-break: break-word;
  }

  .vault-hero-left p { max-width: 100%; }

  .vault-hero-right {
    padding: 2rem 1.25rem 2.5rem;
    border-top: 1px solid rgba(223,172,80,0.1);
  }
  .vault-hero-right::before { display: none; }
  .vault-cta-row { flex-direction: column; }
  .vault-cta-primary,
  .vault-cta-secondary { width: 100%; text-align: center; }
  .deal-card { max-width: 100%; padding: 1.5rem 1.25rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-tagline { max-width: 100%; }

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

/* ── Small mobile ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .vault-hero-left { padding: 2rem 1rem 1.75rem; }
  .vault-hero-left h1 { font-size: clamp(1.5rem, 8vw, 2rem); }
  .vault-hero-right { padding: 1.75rem 1rem 2rem; }
  .vault-trust { gap: 1rem; }
  .vault-trust-item strong { font-size: 1.1rem; }
  .vault-eyebrow { font-size: 0.6rem; letter-spacing: 0.15em; }
  .apply-form-row { grid-template-columns: 1fr; }
  .whatsapp-float { bottom: 1rem; right: 1rem; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
