/* ===========================================================
   Honda Cars Rock Hill — Luke Laliberte
   Design tokens
=========================================================== */
:root{
  --honda-blue: #1a5fa8;
  --honda-blue-dark: #0c3f6e;
  --honda-blue-deep: #082b4d;
  --ink: #0c2740;
  --ink-soft: #4a6072;
  --mist: #7f93a3;
  --paper: #ffffff;
  --paper-soft: #f4f8fc;
  --paper-alt: #eef3f9;
  --line: #dde6ee;
  --accent: #de6a1f;
  --accent-dark: #b0530f;
  --gold: #f2a900;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(12,39,64,.06), 0 10px 28px rgba(12,39,64,.07);
  --shadow-pop: 0 14px 36px rgba(12,39,64,.16);
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --nav-h: 76px;
}

.page{ display:none; }
.page.is-active{ display:block; }

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}
p{ margin: 0 0 1em; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor: pointer; }

svg.i{
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
}
.nav-burger svg{ display:block; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--honda-blue);
  margin-bottom: 12px;
}
.eyebrow::before{
  content:"";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display:inline-block;
}

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section{ padding: 84px 0; }
.section-tight{ padding: 56px 0; }
.section-alt{ background: var(--paper-soft); }

.section-head{
  max-width: 640px;
  margin: 0 0 44px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(26px, 3.4vw, 36px); }
.section-head p{ color: var(--ink-soft); font-size: 16.5px; }

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

/* ===========================================================
   Nav bar — fixed, blurred over hero, solid on scroll
=========================================================== */
.site-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(8,43,77,.32);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-nav.is-scrolled{
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(12,39,64,.08);
}
.site-nav .wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  width:100%;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 9px;
  padding: 4px;
}
.brand-text{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  transition: color .3s ease;
  letter-spacing: .01em;
}
.site-nav.is-scrolled .brand-text{ color: var(--honda-blue-deep); }

.nav-links{
  display:flex;
  align-items:center;
  gap: 8px;
}
.nav-links a{
  color: rgba(255,255,255,.92);
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background .2s ease, color .3s ease;
  white-space: nowrap;
}
.site-nav.is-scrolled .nav-links a{ color: var(--ink-soft); }
.nav-links a:hover{ background: rgba(255,255,255,.16); }
.site-nav.is-scrolled .nav-links a:hover{ background: var(--paper-soft); color: var(--honda-blue-deep); }
.nav-links a.active{
  color: #fff;
  background: rgba(255,255,255,.2);
}
.site-nav.is-scrolled .nav-links a.active{
  color: var(--honda-blue-deep);
  background: var(--paper-soft);
}

.nav-side{ display:flex; align-items:center; gap:10px; }
.lang-toggle{
  display:flex;
  align-items:center;
  gap:0;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  overflow:hidden;
  transition: border-color .3s ease;
}
.site-nav.is-scrolled .lang-toggle{ border-color: var(--line); }
.lang-toggle button{
  border:0;
  background: transparent;
  color: rgba(255,255,255,.85);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  transition: background .2s ease, color .2s ease;
}
.site-nav.is-scrolled .lang-toggle button{ color: var(--ink-soft); }
.lang-toggle button.is-active{
  background: var(--accent);
  color: #fff;
}

.nav-cta{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background: var(--accent);
  color:#fff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background .2s ease, transform .15s ease;
}
.nav-cta:hover{ background: var(--accent-dark); transform: translateY(-1px); }

.nav-burger{
  display:none;
  width: 40px; height:40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size: 20px;
  transition: border-color .3s ease, color .3s ease;
}
.site-nav.is-scrolled .nav-burger{ color: var(--ink); border-color: var(--line); }

.mobile-panel{
  position: fixed;
  top: var(--nav-h);
  left:0; right:0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(12,39,64,.12);
  z-index: 998;
  padding: 10px 24px 22px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.mobile-panel.is-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-panel a{
  display:block;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--paper-alt);
}
.mobile-panel .lang-toggle{
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 16px;
  width: fit-content;
}
.mobile-panel .lang-toggle button{
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
}
.mobile-panel .lang-toggle button.is-active{
  background: var(--accent);
  color: #fff;
}
.mobile-panel a.active{ color: var(--honda-blue); }
.mobile-panel .nav-cta{ margin-top: 16px; width: 100%; justify-content: center; }

/* ===========================================================
   Page hero band (used on every page, image behind translucent nav)
=========================================================== */
.hero{
  position: relative;
  min-height: 88vh;
  display:flex;
  align-items:center;
  padding-top: var(--nav-h);
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.10), transparent 45%),
    linear-gradient(155deg, var(--honda-blue-deep) 0%, var(--honda-blue-dark) 46%, var(--honda-blue) 100%);
  overflow: hidden;
}
.hero::after{
  content:"";
  position:absolute;
  right: -6%;
  bottom: -14%;
  width: 62%;
  height: 140%;
  background: repeating-linear-gradient( -35deg, rgba(255,255,255,.05) 0 14px, transparent 14px 30px );
  pointer-events:none;
}
.hero .wrap{
  position: relative;
  z-index: 2;
}
.page-hero{
  min-height: 46vh;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 56px;
}
.page-hero h1{ color:#fff; font-size: clamp(30px,4.4vw,46px); }
.page-hero p{ color: rgba(255,255,255,.82); max-width: 560px; font-size: 17px; }
.page-hero .eyebrow{ color: rgba(255,255,255,.9); }
.page-hero .eyebrow::before{ background: var(--accent); }

.home-hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items:center;
}
.home-hero-copy .eyebrow{ color: rgba(255,255,255,.88); }
.home-hero-copy h1{
  color:#fff;
  font-size: clamp(32px, 4.6vw, 52px);
  margin-bottom: 18px;
}
.home-hero-copy p.lede{
  color: rgba(255,255,255,.86);
  font-size: 18px;
  max-width: 520px;
}
.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 28px;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--accent); color:#fff; }
.btn-primary:hover{ background: var(--accent-dark); }
.btn-ghost{ background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover{ background: rgba(255,255,255,.18); }
.btn-dark{ background: var(--honda-blue-deep); color:#fff; }
.btn-dark:hover{ background: #051d36; }

.hero-stats{
  display:flex;
  gap: 26px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat{ color:#fff; }
.hero-stat .num{ font-family: var(--font-head); font-size: 26px; font-weight: 600; display:block; }
.hero-stat .lbl{ font-size: 12.5px; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .05em; }

.hero-portrait{
  position: relative;
  display:flex;
  justify-content:center;
}
.hero-portrait-frame{
  width: min(360px, 100%);
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow-pop);
  position:relative;
  background: var(--honda-blue-dark);
}
.hero-portrait-frame img{
  width:100%; height:100%; object-fit: cover;
}
.hero-portrait-badge{
  position:absolute;
  bottom: -18px;
  left: -18px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-pop);
  display:flex;
  align-items:center;
  gap:10px;
}
.hero-portrait-badge .dot{
  width:10px;height:10px;border-radius:50%;background:#2fae5c;
  box-shadow: 0 0 0 4px rgba(47,174,92,.18);
}
.hero-portrait-badge span{ font-size: 13px; font-weight: 600; color: var(--ink); }

/* ===========================================================
   Reviews
=========================================================== */
.review-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.stars{ color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.review-card p{
  font-size: 14.5px;
  color: var(--ink-soft);
  flex:1;
  margin:0;
}
.review-name{
  display:flex;
  align-items:center;
  gap:10px;
  padding-top: 10px;
  border-top: 1px solid var(--paper-alt);
}
.review-avatar{
  width: 34px; height:34px;
  border-radius:50%;
  background: var(--paper-soft);
  color: var(--honda-blue);
  display:flex; align-items:center; justify-content:center;
  font-size: 13px;
  font-weight: 700;
}
.review-name strong{ font-size: 13.5px; font-weight: 600; }

/* ===========================================================
   Photo grid
=========================================================== */
.photo-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-card{
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow:hidden;
  background: var(--paper-alt);
}
.photo-card img{
  width:100%; height:100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.photo-card:hover img{ transform: scale(1.06); }
.photo-caption{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(8,29,54,.88), rgba(8,29,54,0));
  color:#fff;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(6px);
  opacity: .92;
}

/* ===========================================================
   About / values
=========================================================== */
.value-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.value-card .icon{
  width: 46px; height:46px;
  border-radius: 12px;
  background: var(--paper-soft);
  color: var(--honda-blue);
  display:flex; align-items:center; justify-content:center;
  font-size: 20px;
  margin-bottom: 16px;
}
.value-card h3{ font-size: 17px; margin-bottom: 8px; }
.value-card p{ font-size: 14.5px; color: var(--ink-soft); margin:0; }

.about-columns{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items:start;
}
.about-portrait{
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  position: sticky;
  top: 110px;
}
.about-portrait img{ width:100%; aspect-ratio: 4/5; object-fit:cover; }
.about-portrait-footer{
  background: var(--honda-blue-deep);
  color:#fff;
  padding: 16px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.about-portrait-footer strong{ font-size: 14px; }
.about-portrait-footer span{ font-size: 12px; color: rgba(255,255,255,.7); display:block; }

.badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin: 18px 0 30px; }
.badge-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--honda-blue-deep);
  border: 1px solid var(--line);
}

/* ===========================================================
   Cars page
=========================================================== */
.model-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.model-card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-card);
  display:flex;
  flex-direction:column;
}
.model-art{
  height: 168px;
  background: var(--paper-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  padding: 10px;
}
.model-art img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.model-body{ padding: 22px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.model-body h3{ font-size: 19px; margin:0; }
.model-body p{ font-size: 13.8px; color: var(--ink-soft); margin:0; }
.spec-list{ display:flex; flex-direction:column; gap:6px; margin: 6px 0 4px; }
.spec-list li{ display:flex; gap:8px; align-items:flex-start; font-size: 13px; color: var(--ink-soft); }
.spec-list i{ color: var(--accent); font-size: 15px; margin-top: 2px; }

.other-brands{
  margin-top: 70px;
  background: var(--honda-blue-deep);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items:center;
}
.other-brands h2{ color:#fff; }
.other-brands p{ color: rgba(255,255,255,.8); }
.other-brands .photo-grid{ grid-template-columns: repeat(2, 1fr); }

/* ===========================================================
   Contact
=========================================================== */
.contact-hero-card{
  max-width: 640px;
  margin: -70px auto 0;
  position: relative;
  z-index: 3;
  background:#fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  border: 1px solid var(--line);
  padding: 44px 40px;
  text-align:center;
}
.contact-hero-card .eyebrow{ justify-content:center; }
.contact-phone-link{
  display:block;
  font-family: var(--font-head);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  color: var(--honda-blue-deep);
  margin: 6px 0 22px;
  letter-spacing: -.01em;
}
.contact-hero-card .btn-primary{ width:100%; justify-content:center; padding: 17px 26px; font-size: 16px; }
.contact-note{ font-size: 13px; color: var(--mist); margin-top: 14px; }

.contact-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 70px;
}
.contact-card{
  display:block;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: border-color .2s ease, transform .15s ease;
}
.contact-card.is-link:hover{ transform: translateY(-3px); border-color: var(--honda-blue); }
.contact-card .icon{
  width: 44px; height:44px;
  border-radius: 12px;
  background: var(--paper-soft);
  color: var(--honda-blue);
  display:flex; align-items:center; justify-content:center;
  font-size: 19px;
  margin-bottom: 14px;
}
.contact-card h3{ font-size: 15px; margin-bottom: 6px; }
.contact-card p{ font-size: 14px; color: var(--ink-soft); margin:0; }
.contact-card .go{ font-size: 12.5px; color: var(--honda-blue); font-weight:600; margin-top:10px; display:inline-flex; align-items:center; gap:5px; }

.map-frame{
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.map-frame iframe{ width:100%; height: 340px; border:0; display:block; }

/* ===========================================================
   Footer
=========================================================== */
.site-footer{
  background: var(--honda-blue-deep);
  color: rgba(255,255,255,.75);
  padding: 46px 0 26px;
}
.footer-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  margin-bottom: 20px;
}
.footer-brand{ display:flex; align-items:center; gap:12px; }
.footer-brand img{ width:38px; height:38px; background:#fff; border-radius:8px; padding:3px; }
.footer-brand strong{ color:#fff; font-family: var(--font-head); font-size: 14.5px; }
.footer-links{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-links a{ font-size: 13.5px; color: rgba(255,255,255,.75); }
.footer-links a:hover{ color:#fff; }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}

/* ===========================================================
   Responsive — identical structure/branding, adapted layout
=========================================================== */
@media (max-width: 980px){
  .home-hero{ grid-template-columns: 1fr; text-align:center; }
  .home-hero-copy p.lede{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .hero-stats{ justify-content:center; }
  .hero-portrait{ order:-1; margin-bottom: 10px; }
  .about-columns{ grid-template-columns: 1fr; }
  .about-portrait{ position:static; max-width: 340px; margin: 0 auto; }
  .other-brands{ grid-template-columns: 1fr; padding: 36px 28px; }
  .review-grid{ grid-template-columns: repeat(2,1fr); }
  .photo-grid{ grid-template-columns: repeat(2,1fr); }
  .model-grid{ grid-template-columns: repeat(2,1fr); }
  .value-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .nav-links{ display:none; }
  .nav-burger{ display:flex; }
  .nav-side .lang-toggle{ display:none; }
  .nav-cta{ display:none; }
  .mobile-panel .lang-toggle{ display:flex; }
  .section{ padding: 60px 0; }
  .review-grid{ grid-template-columns: 1fr; }
  .photo-grid{ grid-template-columns: repeat(2,1fr); }
  .model-grid{ grid-template-columns: 1fr; }
  .contact-hero-card{ margin-top: -46px; padding: 32px 24px; }
  .other-brands .photo-grid{ grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 420px){
  .photo-grid{ grid-template-columns: repeat(2,1fr); gap: 10px; }
  .wrap{ padding: 0 18px; }
}
