/* ==========================================================================
   Chery Premier — base
   ========================================================================== */

:root {
  --red: #E90019;
  --red-dark: #C40015;
  --charcoal: #141414;
  --cream: #F7F3EE;
  --grey-light: #F2F2F0;
  --grey-mid: #6B6B6B;
  --white: #FFFFFF;
  --border: rgba(20, 20, 20, 0.1);

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;

  --nav-h: 64px;
  --container: 1180px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--charcoal);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.85); }
.eyebrow--center { text-align: center; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 560;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--charcoal);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  font-weight: 580;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.12;
  font-weight: 540;
}

p { color: var(--grey-mid); margin: 0 0 16px; }

.link-arrow {
  display: inline-block;
  font-weight: 600;
  color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-arrow:hover { color: var(--red); border-color: var(--red); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn--filled {
  background: var(--red);
  color: var(--white);
}
.btn--filled:hover { background: var(--red-dark); }

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--charcoal);
}
.btn--outline:hover { background: var(--charcoal); color: var(--white); }

.btn--nav {
  padding: 9px 22px;
  font-size: 0.85rem;
}

.btn--full { width: 100%; }


.model-photo {
  width: 100%;
  aspect-ratio: 2.7 / 1;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 14px;
}

/* ==========================================================================
   About photo (real location photography)
   ========================================================================== */

.about-photo {
  margin: 0;
  width: 100%;
}
.about-photo img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 18px;
  filter: grayscale(0.25) brightness(0.92) contrast(1.05);
}
.about-photo figcaption {
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--grey-mid);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  z-index: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav__logo span { color: var(--red); }
.nav__logo--footer { font-size: 1.2rem; }

.nav__links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}
.nav__links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--white); }

.nav__toggle {
  display: none;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(20, 20, 20, 0.98);
  padding: 12px 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav__mobile a {
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav__mobile .btn { margin-top: 14px; }

.nav.is-open .nav__mobile { display: flex; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 24px 100px;
  overflow: hidden;
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero__media--fallback { display: block; }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0.35) 100%);
}

.hero__content {
  max-width: 720px;
  margin-top: var(--nav-h);
}

.hero h1 { color: var(--white); }

.hero__sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 0;
}

.hero__cta {
  position: absolute;
  right: 24px;
  bottom: 40px;
}

/* ==========================================================================
   Split section (About)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
  background: var(--white);
}

.split__media {
  padding: 60px 40px 60px 24px;
  display: flex;
  align-items: center;
}

.split__content {
  padding: 100px 24px 100px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}

/* ==========================================================================
   Stat row
   ========================================================================== */

.stats {
  background: var(--charcoal);
  padding: 64px 24px;
}

.stats__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.stat {
  flex: 1 1 0;
  min-width: 140px;
  text-align: center;
  padding: 12px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.stat:first-child { border-left: none; }

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 580;
  font-variant-numeric: tabular-nums;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 10px;
}

.stat__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ==========================================================================
   Models
   ========================================================================== */

.models {
  padding: 110px 24px 40px;
  text-align: center;
}

.models__heading {
  max-width: 640px;
  margin: 0 auto 60px;
}

.model-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  text-align: left;
}

.model-hero--cream { background: var(--cream); }
.model-hero--grey { background: var(--grey-light); }

.model-hero--reverse { direction: rtl; }
.model-hero--reverse > * { direction: ltr; }

.model-hero__media {
  padding: 56px;
}

.model-hero__content {
  padding: 60px 56px;
  max-width: 560px;
}

.model-hero__desc {
  font-size: 1.2rem;
  color: var(--charcoal);
}

.model-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 8px 0 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.model-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.model-stat strong {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.7rem;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1;
}
.model-stat span {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--grey-mid);
}

.model-hero__price {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 32px;
}
.price-value {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.5rem;
  font-weight: 560;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.price-note {
  font-size: 0.78rem;
  color: var(--grey-mid);
}

/* ==========================================================================
   Pillars
   ========================================================================== */

.pillars {
  padding: 110px 24px;
  background: var(--white);
  text-align: center;
}

.pillars__heading {
  max-width: 560px;
  margin: 0 auto 56px;
}

.pillars__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: left;
}

.pillar-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--red);
}
.pillar-card__icon svg {
  width: 100%;
  height: 100%;
}

.pillar-card h3 { font-size: 1.25rem; }
.pillar-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ==========================================================================
   Visit
   ========================================================================== */

.visit {
  padding: 110px 24px;
  background: var(--grey-light);
  text-align: center;
}

.visit__heading {
  max-width: 560px;
  margin: 0 auto 56px;
}

.visit__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
}

.visit__card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
}
.visit__card h3 { margin-bottom: 24px; }

.visit__details {
  display: grid;
  gap: 18px;
  margin: 0 0 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.visit__details dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 4px;
}
.visit__details dd {
  margin: 0;
  font-weight: 600;
  color: var(--charcoal);
}
.visit__details a:hover { color: var(--red); }

.enquiry-form h4 {
  margin: 0 0 20px;
  font-size: 1.1rem;
}
.form-row {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--charcoal);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--red);
  outline: none;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--grey-mid);
  min-height: 1.2em;
}
.form-note.is-success { color: #1a7a3c; }

.visit__map {
  border-radius: 20px;
  overflow: hidden;
  min-height: 400px;
}
.visit__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--charcoal);
  padding: 72px 24px 0;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-top: 14px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}
.footer__nav a:hover { color: var(--white); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__contact a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}
.footer__contact a:hover { color: var(--white); }
.footer__contact p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin: 4px 0 0;
}

.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 0;
  text-align: center;
}
.footer__bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav .btn--nav { display: none; }
  .nav__toggle { display: flex; }

  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; padding: 40px 24px 0; }
  .split__content { padding: 48px 24px 64px; max-width: none; }

  .model-hero,
  .model-hero--reverse { grid-template-columns: 1fr; direction: ltr; }
  .model-hero__media { order: -1; padding: 32px 24px 0; }
  .model-hero__content { padding: 40px 24px 56px; max-width: none; }

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

  .visit__grid { grid-template-columns: 1fr; }
  .visit__map { min-height: 320px; }
  .visit__map iframe { min-height: 320px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .hero__cta { right: 50%; transform: translateX(50%); bottom: 32px; }
}

@media (max-width: 560px) {
  .stat { flex: 1 1 45%; border-left: none; }
  .stat:nth-child(odd) { border-left: none; }

  .model-stats { gap: 24px 32px; }

  .hero { padding-bottom: 120px; }
}
