/* ==========================================================
   RMP Auto — Homepage styles
   1. Tokens  2. Base  3. Buttons  4. Top bar + Header
   5. Hero + Ribbon  6. About  7. Services  8. Process
   9. Financing  10. Contact  11. Footer  12. Animations
   13. Responsive
   ========================================================== */

/* ---------- 1. Design tokens (from the logo: black, racing red, chrome) ---------- */
:root {
  --black: #08090A;
  --coal: #111315;
  --coal-2: #191C1F;
  --coal-3: #23272B;
  --red: #E3202A;
  --red-dark: #B5121B;
  --red-glow: rgba(227, 32, 42, .45);
  --chrome: #C9CDD2;
  --chrome-2: #8E949B;
  --white: #FFFFFF;
  --text: #B8BDC3;
  --light: #F4F5F6;
  --ink: #15171A;
  --muted: #5E656C;
  --line: rgba(255, 255, 255, .09);
  --line-dark: rgba(0, 0, 0, .1);

  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(80px, 10vw, 130px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --chrome-grad: linear-gradient(180deg, #FFFFFF 0%, #C9CDD2 45%, #8E949B 55%, #E9EBED 100%);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7;
  color: var(--text); background: var(--coal); -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; color: var(--white); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.red { color: var(--red); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-family: var(--head); font-size: 16px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--red); transform: skewX(-30deg); }
.eyebrow-light { color: var(--white); }
.eyebrow-light::before { background: var(--white); }

.section-title { font-size: clamp(40px, 5.4vw, 70px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 54px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-sub { max-width: 420px; }
.lead { font-size: 20px; color: var(--white); line-height: 1.6; }

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 0; border-radius: 6px; cursor: pointer;
  font-family: var(--head); font-size: 18px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .3s var(--ease), box-shadow .3s, color .3s;
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-25deg);
  transition: left .6s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { left: 130%; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 12px 30px -12px var(--red-glow); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 16px 34px -10px var(--red-glow); }
.btn-chrome { background: var(--chrome-grad); color: var(--ink); }
.btn-white { background: var(--white); color: var(--red-dark); }
.btn-lg { padding: 17px 30px; font-size: 19px; }
.btn-sm { padding: 10px 18px; font-size: 16px; }

/* ---------- 4. Top bar + Header ---------- */
.topbar { background: var(--black); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--chrome-2); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar p { display: flex; align-items: center; gap: 8px; }
.topbar .icon { width: 15px; height: 15px; color: var(--red); }
.topbar-family { font-family: var(--head); letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--chrome); }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(8, 9, 10, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 86px; transition: height .3s var(--ease); }
.is-scrolled .header-inner { height: 72px; }
.logo { flex-shrink: 0; display: block; width: 112px; height: 72px; overflow: hidden; }
.logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); mix-blend-mode: lighten; }

.main-nav ul { display: flex; gap: 30px; }
.main-nav a:not(.btn) {
  position: relative; white-space: nowrap; font-family: var(--head); font-size: 17px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--chrome); padding: 8px 0; transition: color .3s;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red);
  transform: scaleX(0) skewX(-30deg); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--white); }
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1) skewX(-30deg); }
.nav-call { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-call .icon { animation: ring 2.6s ease-in-out infinite; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 6px; border: 1px solid var(--line); background: var(--coal-2); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); transition: transform .35s var(--ease), opacity .3s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- 5. Hero + Ribbon ---------- */
.hero { position: relative; overflow: hidden; background: var(--black); padding: clamp(70px, 9vw, 120px) 0 60px; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; opacity: .5; animation: kenburns 22s ease-in-out infinite alternate; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, .97) 0%, rgba(8, 9, 10, .85) 42%, rgba(8, 9, 10, .55) 70%, rgba(8, 9, 10, .85) 100%),
    linear-gradient(180deg, transparent 60%, var(--black) 100%);
}
.speed-lines { position: absolute; inset: 0; pointer-events: none; }
.speed-lines span {
  position: absolute; left: -40%; height: 2px; width: 30%;
  background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: .7;
  animation: streak 4.5s linear infinite;
}
.speed-lines span:nth-child(1) { top: 18%; animation-delay: 0s; }
.speed-lines span:nth-child(2) { top: 36%; animation-delay: 1.6s; width: 22%; }
.speed-lines span:nth-child(3) { top: 58%; animation-delay: .8s; background: linear-gradient(90deg, transparent, var(--chrome), transparent); opacity: .35; }
.speed-lines span:nth-child(4) { top: 74%; animation-delay: 2.6s; }
.speed-lines span:nth-child(5) { top: 88%; animation-delay: 3.4s; width: 18%; opacity: .4; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 8px 16px; border: 1px solid rgba(227, 32, 42, .5); border-radius: 999px; background: rgba(227, 32, 42, .1);
  font-family: var(--head); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white);
}
.tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 2s infinite; }
.hero-title { font-size: clamp(50px, 5.6vw, 76px); line-height: .95; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; white-space: nowrap; }
.hero-title em {
  font-style: normal; background: var(--chrome-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text { max-width: 560px; font-size: 18.5px; color: var(--text); margin-bottom: 34px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; }
.hero-checks li { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 500; }
.hero-checks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--red); color: var(--white); stroke-width: 3; }

/* Logo medallion */
.hero-badge { position: relative; width: min(100%, 400px); aspect-ratio: 1; justify-self: center; }
.hero-badge::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%); filter: blur(30px); animation: glow 4s ease-in-out infinite;
}
.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 2; }
.ring-red { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1169; stroke-dashoffset: 1169; filter: drop-shadow(0 0 6px var(--red)); }
.ticks path { stroke: var(--chrome-2); stroke-width: 3; stroke-linecap: round; }
.badge-core {
  position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; background: #000;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), 0 30px 60px -20px rgba(0, 0, 0, .9);
}
.badge-core img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.1); }
.badge-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 8px; background: rgba(25, 28, 31, .92); border: 1px solid var(--line);
  backdrop-filter: blur(6px); color: var(--white); font-family: var(--head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 16px;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .8);
}
.badge-chip .icon { color: var(--red); }
.chip-a { left: -6%; top: 16%; animation: bob 5s ease-in-out infinite; }
.chip-b { right: -4%; bottom: 14%; animation: bob 6s ease-in-out .8s infinite; }

.hero-bar {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(50px, 6vw, 80px);
  background: rgba(25, 28, 31, .85); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(8px);
}
.hero-bar > div { display: flex; align-items: center; gap: 14px; padding: 22px 26px; }
.hero-bar > div + div { border-left: 1px solid var(--line); }
.hero-bar .icon { width: 44px; height: 44px; padding: 11px; border-radius: 10px; background: rgba(227, 32, 42, .14); color: var(--red); }
.hero-bar small { display: block; font-family: var(--head); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--chrome-2); }
.hero-bar p { color: var(--white); font-weight: 500; line-height: 1.4; }

.ribbon { position: relative; background: var(--red); overflow: hidden; padding: 16px 0; }
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 6px;
  background: repeating-conic-gradient(#000 0 25%, #fff 0 50%) 0 0 / 12px 12px; opacity: .9;
}
.ribbon::before { top: 0; }
.ribbon::after { bottom: 0; }
.ribbon-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 34s linear infinite; }
.ribbon span { font-family: var(--head); font-weight: 700; font-size: 24px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.ribbon i { width: 22px; height: 12px; background: repeating-conic-gradient(#000 0 25%, #fff 0 50%) 0 0 / 6px 6px; transform: skewX(-20deg); }

/* ---------- 6. About ---------- */
.about { background: var(--coal); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-copy .lead { margin: 24px 0 18px; }
.pillars { display: grid; gap: 16px; margin-top: 36px; }
.pillars li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--coal-2); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.pillars li:hover { border-color: rgba(227, 32, 42, .6); transform: translateX(6px); }
.p-icon { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--red); color: var(--white); flex-shrink: 0; }
.pillars h3 { font-size: 22px; margin-bottom: 4px; }
.pillars p { font-size: 15.5px; }

.report {
  background: var(--light); color: var(--ink); border-radius: 20px; padding: 26px; position: relative;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 8px rgba(255, 255, 255, .04);
}
.report::before { content: ""; position: absolute; top: -10px; right: 30px; width: 90px; height: 20px; background: repeating-conic-gradient(#000 0 25%, #fff 0 50%) 0 0 / 10px 10px; border-radius: 3px; }
.report-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.report-head small { display: block; font-family: var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-size: 14px; }
.report-head b { font-family: var(--head); font-size: 30px; text-transform: uppercase; line-height: 1; }
.report-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-dark); font-size: 13px; font-weight: 600; }
.report-live span { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
.report-list li { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.report-list img { width: 76px; height: 56px; object-fit: cover; border-radius: 8px; }
.report-list b { display: block; font-weight: 600; line-height: 1.3; }
.report-list small { color: var(--muted); font-size: 13px; }
.status { font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; white-space: nowrap; }
.s-red { background: rgba(227, 32, 42, .12); color: var(--red-dark); }
.s-amber { background: rgba(245, 166, 35, .18); color: #9A5B00; }
.s-green { background: rgba(34, 160, 90, .14); color: #16733F; }
.report-foot { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 15px; line-height: 1.5; }
.report-foot .icon { color: var(--red); margin-top: 2px; }
.is-visible .report-list li { animation: slideIn .7s var(--ease) both; }
.is-visible .report-list li:nth-child(2) { animation-delay: .15s; }
.is-visible .report-list li:nth-child(3) { animation-delay: .3s; }

/* ---------- 7. Services ---------- */
.services { background: var(--light); color: var(--muted); }
.services h2, .services h3 { color: var(--ink); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.service-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-dark); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .45); border-color: rgba(227, 32, 42, .4); }
.s-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--coal); }
.s-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-card:hover .s-img img { transform: scale(1.08); }
.s-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.service-card:hover .s-img::after { transform: scaleX(1); }
.s-num { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 6px; background: var(--red); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: .06em; }
.s-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.s-body h3 { font-size: 25px; margin-bottom: 10px; }
.s-body p { font-size: 15.5px; line-height: 1.6; margin-bottom: 16px; }
.s-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.s-tags li { font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--light); color: var(--ink); }
.s-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.s-link:hover .icon { transform: translateX(4px); }
.s-link .icon { transition: transform .3s var(--ease); }

.mini-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.mini {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--ink); color: var(--text); transition: background .4s, transform .4s var(--ease);
}
.mini h3 { color: var(--white) !important; font-size: 22px; }
.mini p { font-size: 15px; }
.mini:hover { background: var(--red); transform: translateY(-4px); color: var(--white); }
.m-icon { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--white); flex-shrink: 0; }
.m-arrow { margin-left: auto; color: var(--white); transition: transform .3s var(--ease); }
.mini:hover .m-arrow { transform: translateX(4px); }

/* ---------- 8. Process ---------- */
.process { background: var(--coal); position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 62px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 14px, transparent 14px 26px);
}
.step { position: relative; text-align: center; padding: 34px 26px 32px; border-radius: var(--radius); background: var(--coal-2); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.step:hover { transform: translateY(-6px); border-color: rgba(227, 32, 42, .5); }
.step-num { position: absolute; top: 14px; right: 18px; font-family: var(--head); font-weight: 700; font-size: 44px; color: rgba(255, 255, 255, .06); line-height: 1; }
.step-icon { position: relative; width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--white); box-shadow: 0 0 0 8px var(--coal-2), 0 0 0 9px rgba(227, 32, 42, .4); }
.step-icon .icon { width: 24px; height: 24px; }
.step h3 { font-size: 30px; margin-bottom: 10px; }

/* ---------- 9. Financing ---------- */
.financing { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--red-dark), var(--red) 55%, #F0434B); color: rgba(255, 255, 255, .9); padding: clamp(70px, 9vw, 110px) 0; }
.checker {
  position: absolute; top: 0; left: 0; right: 0; height: 18px;
  background: repeating-conic-gradient(#000 0 25%, #fff 0 50%) 0 0 / 18px 18px; animation: checker 3s linear infinite;
}
.checker-thin { height: 10px; background-size: 10px 10px; }
.fin-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.financing h2 { font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 18px; }
.fin-big { display: block; font-size: 1.6em; line-height: .9; }
.fin-copy > p { max-width: 560px; margin-bottom: 22px; font-size: 18px; }
.fin-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 30px; }
.fin-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--white); }
.fin-points .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--white); color: var(--red); stroke-width: 3; }
.fin-note { display: block; margin-top: 18px; font-size: 13px; opacity: .75; max-width: 520px; }

.fin-card {
  position: relative; overflow: hidden; aspect-ratio: 1.586; border-radius: 18px; padding: 26px;
  background: linear-gradient(135deg, #1D2024, #08090A); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); transform: rotate(-6deg);
  animation: floatCard 6s ease-in-out infinite;
}
.fin-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 22px solid rgba(227, 32, 42, .35); }
.card-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .18) 45%, transparent 60%); animation: cardShine 5s ease-in-out infinite; }
.card-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--head); font-weight: 700; letter-spacing: .14em; position: relative; }
.chip { width: 46px; height: 34px; border-radius: 6px; background: var(--chrome-grad); }
.card-num { font-family: var(--head); font-size: clamp(20px, 2.2vw, 28px); letter-spacing: .14em; position: relative; }
.card-bottom { display: flex; justify-content: space-between; align-items: flex-end; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--chrome); position: relative; }
.card-bottom b { font-family: var(--head); font-size: 34px; color: var(--red); letter-spacing: .04em; }

/* ---------- 10. Contact ---------- */
.contact { background: var(--coal); }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-form-wrap .section-title { margin-bottom: 30px; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-family: var(--head); font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--chrome); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--white); background: var(--coal-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea::placeholder { color: var(--chrome-2); }
.field input:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 32, 42, .18); }
.file-field { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: var(--chrome); font-weight: 500; justify-self: start; padding: 10px 14px; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 8px; transition: border-color .3s, color .3s; }
.file-field:hover { border-color: var(--red); color: var(--white); }
.file-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-field .icon { color: var(--red); }
.contact-form .btn { justify-self: start; }

.visit { background: var(--coal-2); border: 1px solid var(--line); border-radius: 18px; padding: 32px; position: relative; overflow: hidden; }
.visit::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--red); }
.visit h3 { font-size: 32px; margin-bottom: 6px; }
.visit-sub { margin-bottom: 22px; }
.visit-info li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: var(--white); }
.visit-info .icon { color: var(--red); margin-top: 3px; }
.visit-info a:hover { color: var(--red); }
.visit h4 { font-size: 22px; margin: 22px 0 10px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 6px; font-size: 15.5px; }
.hours li:nth-child(odd) { background: rgba(255, 255, 255, .03); }
.hours li span:last-child { color: var(--white); }
.hours li.is-today { background: rgba(227, 32, 42, .16); box-shadow: inset 3px 0 0 var(--red); }
.hours li.is-today span:first-child::after { content: " · Today"; color: var(--red); font-weight: 600; }
.visit .btn { margin-top: 24px; width: 100%; }

.map { margin-top: 40px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); height: 360px; background: var(--coal-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- 11. Footer ---------- */
.site-footer { position: relative; background: var(--black); padding: 80px 0 30px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-brand img { width: 170px; mix-blend-mode: lighten; margin: -20px 0 6px -16px; }
.footer-brand p { max-width: 280px; }
.site-footer h4 { font-size: 22px; margin-bottom: 18px; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--red); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact .icon { color: var(--red); margin-top: 3px; width: 18px; height: 18px; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 14px; color: var(--chrome-2); }

.mobile-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; background: var(--red); color: var(--white);
  font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 14px 30px -10px var(--red-glow); transform: translateY(150%); transition: transform .45s var(--ease);
}
.mobile-call .icon { animation: ring 2.6s ease-in-out infinite; }
.show-call .mobile-call { transform: none; }

/* ---------- 12. Animations ---------- */
@keyframes rise      { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp    { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes popIn     { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes drawRing  { to { stroke-dashoffset: 260; } }
@keyframes kenburns  { from { transform: scale(1.05); } to { transform: scale(1.15) translateX(-2%); } }
@keyframes streak    { from { left: -40%; } to { left: 120%; } }
@keyframes pulse     { 0% { box-shadow: 0 0 0 0 var(--red-glow); } 70% { box-shadow: 0 0 0 10px rgba(227, 32, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 32, 42, 0); } }
@keyframes glow      { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes bob       { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee   { to { transform: translateX(-50%); } }
@keyframes checker   { to { background-position: 36px 0; } }
@keyframes ring      { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(14deg); } 92% { transform: rotate(-10deg); } 96% { transform: rotate(8deg); } }
@keyframes blink     { 50% { opacity: .2; } }
@keyframes slideIn   { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes floatCard { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-12px); } }
@keyframes cardShine { 0%, 40% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.is-loaded .hero-title .line > span { animation: rise 1s var(--ease) var(--d, 0s) both; }
.is-loaded .anim { animation: fadeUp .9s var(--ease) var(--d, 0s) both; }
.is-loaded .anim-pop { animation: popIn 1.1s var(--ease) var(--d, 0s) both; }
.is-loaded .ring-red { animation: drawRing 2.4s var(--ease) .7s forwards; }

.js-reveal .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 13. Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav ul { gap: 20px; }
  .main-nav a:not(.btn) { font-size: 15.5px; }
  .header-call span { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar .topbar-family { display: none; }
}

@media (max-width: 960px) {
  .topbar .topbar-hours { display: none; }
  .nav-toggle { display: block; }
  .header-call { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--black);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 100px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 16px; }
  .main-nav a:not(.btn) { font-size: 28px; }
  .nav-call { display: inline-flex; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open.site-header { backdrop-filter: none; background: var(--black); }

  .hero-grid, .about-grid, .contact-grid, .fin-grid { grid-template-columns: 1fr; }
  .hero-badge { width: min(80%, 380px); margin-top: 20px; }
  .hero-bar { grid-template-columns: 1fr; }
  .hero-bar > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: flex-start; }
  .mini-services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .fin-card { max-width: 400px; }
  .mobile-call { display: inline-flex; }
  .site-footer { padding-bottom: 90px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar { font-size: 13px; }
  .header-inner, .is-scrolled .header-inner { height: 70px; }
  .logo { width: 96px; height: 62px; }
  .hero { padding-top: 56px; }
  .hero-title { font-size: clamp(42px, 12.4vw, 56px); }
  .hero-title .line > span { white-space: normal; }
  .tag { font-size: 13px; letter-spacing: .1em; }
  .hero-text { font-size: 16.5px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-checks { gap: 10px 18px; }
  .badge-chip { font-size: 13px; padding: 8px 12px; }
  .chip-a { left: -6%; }
  .chip-b { right: -4%; }
  .service-grid { grid-template-columns: 1fr; }
  .report { padding: 20px 16px; }
  .report-list li { grid-template-columns: 60px 1fr; }
  .report-list img { width: 60px; height: 48px; }
  .report-list .status { grid-column: 2; justify-self: start; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
  .visit { padding: 26px 20px; }
  .map { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ring-red { stroke-dashoffset: 260; }
}
