/* ============================================================
   MC Auto Concierge Group — rough draft stylesheet (simplified)
   Palette: near-black backgrounds, champagne-gold accents
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-alt: #111113;
  --bg-card: #17171a;
  --line: #26262b;
  --text: #e8e6e1;
  --text-dim: #9b988f;
  --gold: #c9a25e;
  --gold-light: #e6c988;
  --gold-grad: linear-gradient(135deg, #a8813f 0%, #e6c988 50%, #c9a25e 100%);
  --radius: 10px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
h1 em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

img { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 780px; }
.center { text-align: center; }
.hidden { display: none !important; }

.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 0.75rem;
}
.section-lead { color: var(--text-dim); max-width: 680px; margin: 0 auto 2rem; }

section { padding: 5rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 2rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.03em; cursor: pointer; border: none; transition: all 0.25s ease;
}
.btn-gold { background: var(--gold-grad); color: #131313; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201, 162, 94, 0.35); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-small { padding: 0.55rem 1.4rem; font-size: 0.85rem; }
.btn-big { padding: 1.1rem 2.8rem; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 11, 0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0.8rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.logo-img { height: 62px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-size: 0.98rem; letter-spacing: 0.12em; color: var(--text); }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.5em; color: var(--gold); }
.brand-name.gold { color: var(--gold-light); margin-bottom: 0.4rem; }
.nav-pay-left { flex-shrink: 0; white-space: nowrap; }
.nav-pay-mobile { display: none; }

.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a { color: var(--text-dim); font-size: 0.9rem; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a.btn { color: #131313; }

.nav-right { display: flex; align-items: center; gap: 0.8rem; }
.lang-toggle {
  background: transparent; border: 1px solid var(--gold); color: var(--gold);
  border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; letter-spacing: 0.08em; transition: all 0.2s;
}
.lang-toggle:hover { background: var(--gold); color: #131313; }

.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--gold); display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; padding: 6rem 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,10,11,0.96) 30%, rgba(10,10,11,0.55) 65%, rgba(10,10,11,0.35)),
    url("../assets/hero.jpg") center/cover no-repeat;
}
.hero-content { position: relative; max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.hero-content .lead { color: var(--text-dim); font-size: 1.15rem; max-width: 560px; margin: 1.5rem 0 2.2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 1.8rem; flex-wrap: wrap; margin-top: 3rem; }
.hero-badges span {
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); border-left: 2px solid var(--gold); padding-left: 0.8rem;
}

/* ---------- Car showcase ---------- */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.car-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.car-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.9); transition: transform 0.5s ease, filter 0.5s ease; }
.car-card:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.car-card figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.8rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light);
}

.disclaimer-inline { font-size: 0.78rem; color: #6d6a63; margin-top: 2rem; text-align: center; max-width: 720px; margin-inline: auto; }

/* ---------- How it works ---------- */
.how { background: var(--bg-alt); border-block: 1px solid var(--line); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.steps li { text-align: center; padding: 0 0.5rem; }
.step-num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-head);
  font-size: 1.3rem; margin-bottom: 1rem;
}
.steps p { color: var(--text-dim); font-size: 0.9rem; }
.fee-line {
  text-align: center; color: var(--text-dim); max-width: 640px;
  margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line);
}
.fee-line strong { color: var(--gold-light); font-weight: 600; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center; }
.split-text .btn { margin-top: 1.5rem; }
.split-text p { color: var(--text-dim); margin-bottom: 1rem; }
.portrait-img {
  width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: top;
  border: 1px solid var(--line);
}

/* ---------- Request form ---------- */
.request { background: var(--bg-alt); border-block: 1px solid var(--line); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
form { margin-top: 2.5rem; }
form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; color: var(--text-dim); }
form label.full { margin-top: 1.1rem; display: flex; }
#tradeInFields { margin-top: 1.1rem; }
input, select, textarea {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); padding: 0.75rem 0.9rem; font-family: var(--font-body);
  font-size: 0.95rem; transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
select { cursor: pointer; }
input.invalid, select.invalid { border-color: #b0413e; }

.form-nav { display: flex; justify-content: center; margin-top: 2rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.deposit-note {
  margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  color: var(--text-dim); font-size: 0.88rem; text-align: center;
}
.form-error { margin-top: 1rem; color: #d9887f; font-size: 0.88rem; text-align: center; }
.form-success {
  text-align: center; background: var(--bg-card); border: 1px solid var(--gold);
  border-radius: var(--radius); padding: 3rem 2rem; margin-top: 2rem;
}
.form-success h3 { color: var(--gold-light); font-size: 1.6rem; margin-bottom: 0.6rem; }
.form-success p { color: var(--text-dim); }

/* ---------- Protection services ---------- */
.icon-circle {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  background: rgba(201, 162, 94, 0.06);
}
.icon-circle svg {
  width: 30px; height: 30px; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.service-head { display: flex; align-items: center; gap: 1.2rem; margin: 2.5rem 0 1.4rem; }
.service-head h3 { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0; }
.service-copy { color: var(--text-dim); max-width: 760px; margin-bottom: 1rem; }
.service-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.chip-title {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin: 2rem 0 1rem;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 1.05rem; font-size: 0.85rem; color: var(--text-dim);
}
.chip svg {
  width: 14px; height: 14px; fill: none; stroke: var(--gold);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.feature {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature:hover { border-color: var(--gold); transform: translateY(-3px); }
.feature .icon-circle { width: 50px; height: 50px; margin-bottom: 1rem; }
.feature .icon-circle svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--text-dim); font-size: 0.88rem; }

.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.promise-cta { display: flex; justify-content: center; margin-top: 2.2rem; }

/* ---------- Payment modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.5rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative; width: 100%; max-width: 940px; max-height: 88vh; overflow-y: auto;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.6rem 2rem 2rem;
}
.modal-close {
  position: absolute; top: 0.7rem; right: 1rem; background: none; border: none;
  color: var(--text-dim); font-size: 2rem; line-height: 1; cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: var(--gold-light); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.plan-section-header {
  grid-column: 1 / -1;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--gold-light);
  text-align: center;
  padding: 0.5rem 0 0.3rem;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.05em;
}
.plan-grid.two-up { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-inline: auto; }
.plan-card {
  display: flex; flex-direction: column; text-align: center;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.4rem; transition: border-color 0.25s ease, transform 0.25s ease;
}
.plan-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.plan-name { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 0.6rem; }
.plan-price {
  font-family: var(--font-head); font-size: 2.1rem; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; margin-bottom: 0.9rem;
}
.plan-desc { color: var(--text-dim); font-size: 0.86rem; flex: 1; margin-bottom: 1.4rem; }
.plan-card .btn { width: 100%; }
.plan-note { text-align: center; color: #6d6a63; font-size: 0.78rem; margin-top: 1.6rem; }
.plan-error { text-align: center; color: #d9887f; font-size: 0.88rem; margin-top: 1.4rem; }

/* ---------- Footer ---------- */
.footer { background: #060607; padding: 4rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { width: 240px; max-width: 100%; margin-bottom: 1.2rem; }
.socials { list-style: none; }
.socials li { margin-bottom: 0.5rem; }
.socials a { display: inline-flex; align-items: center; gap: 0.6rem; transition: color 0.2s; }
.socials a:hover { color: var(--gold-light); }
.socials svg { flex-shrink: 0; }
.footer h4 { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.6rem; font-family: var(--font-body); font-weight: 600; }
.footer p, .footer a { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 0.35rem; }
.footer a:hover { color: var(--gold-light); }
.disclaimer { font-size: 0.72rem; color: #55524c; border-top: 1px solid var(--line); padding-top: 1.5rem; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .car-grid, .steps, .feature-grid { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid, .plan-grid.two-up { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .portrait-img { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 0; }
  .grid-2, .footer-grid, .promise-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 1.5rem; gap: 1.2rem;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { min-height: 78vh; }
  .brand-name { font-size: 0.85rem; }
  .logo-img { height: 40px; }
  .modal-panel { padding: 2.4rem 1.2rem 1.6rem; }
}
