/* =====================================================================
   VYAAPAK — styles.css
   ---------------------------------------------------------------------
   Table of contents:
     1.  Design tokens (CSS variables)
     2.  Base reset & typography
     3.  Layout helpers (.container, .section, .eyebrow)
     4.  Buttons
     5.  Header & navigation
     6.  Hero section
     7.  Services grid
     8.  Why Partner band
     9.  Solutions showcase (carousel)
    10.  Technology expertise
    11.  CTA panel
    12.  Footer
    13.  Page hero & inner pages
    14.  Contact page
    15.  Thank-you card
    16.  Responsive breakpoints
    17.  Reduced motion
   ===================================================================== */


/* =====================================================================
   1. DESIGN TOKENS
   ===================================================================== */
:root {
  --blue:       #28a4e0;
  --blue-dark:  #28a4e0;
  --ink:        #0f2c57;
  --body:       #50647f;
  --subtle:     #edf5ff;
  --line:       #dce8f7;
  --teal:       #14b8a6;
  --shadow:     0 12px 32px rgba(33, 71, 118, .075);
  --radius:     18px;
}


/* =====================================================================
   2. BASE RESET & TYPOGRAPHY
   ===================================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.62;
}

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

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }

h1, h2, h3, h4, p { margin-top: 0; }

h1 {
  font-size: clamp(42px, 4.25vw, 62px);
  line-height: 1.13;
  letter-spacing: -.043em;
  margin-bottom: 26px;
}

h1 em { font-style: normal; color: var(--blue); display: block; }


/* =====================================================================
   3. LAYOUT HELPERS
   ===================================================================== */
.container {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

.section { padding-block: 92px; }

.section-heading { margin-bottom: 34px; }

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(27px, 3vw, 36px);
  letter-spacing: -.035em;
  line-height: 1.24;
  margin-bottom: 9px;
}

.section-heading p { color: #71819b; font-size: 15px; margin: 0; }

.center { text-align: center; }

.eyebrow {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 16px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}


/* =====================================================================
   4. BUTTONS
   ===================================================================== */
.btn {
  border: 1px solid transparent;
  min-height: 45px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.btn:hover { transform: translateY(-2px); }

.btn:focus-visible,
.main-nav a:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 3px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 15px #2563eb25;
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-secondary {
  background: #fff;
  color: var(--blue);
  border-color: #93bbfd;
}
.btn-secondary:hover { background: #eff6ff; }


/* =====================================================================
   5. HEADER & NAVIGATION
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: #ffffffef;
  z-index: 30;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e9eef7;
}

.nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  font-size: 13px;
  font-weight: 600;
  color: #455a76;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active { color: var(--blue); }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 25px;
}


/* =====================================================================
   6. HERO SECTION
   ===================================================================== */
.hero {
  background: linear-gradient(115deg, #f1f8ff, #f9fcff 55%, #eff7ff);
  border-bottom: 1px solid #edf4fc;
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: '';
  position: absolute;
  width: 550px; height: 550px;
  right: -250px; top: -250px;
  border: 1px solid #d7eafb;
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  gap: 16px;
  min-height: 560px;
  padding-block: 100px;
}

.hero p, .page-hero p {
  max-width: 565px;
  font-size: 16px;
  color: var(--body);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Hero visual mock */
.hero-visual {
  height: 380px;
  position: relative;
  max-width: 620px;
  margin-left: auto;
  width: 100%;
}

.hero-screen {
  position: absolute;
  top: 26px; left: 12%;
  width: 77%;
  background: #fff;
  border: 8px solid #213d62;
  border-radius: 19px;
  box-shadow: 0 22px 48px #204d8223;
  padding: 18px;
  transform: rotate(-1deg);
}

.hero-screen-head {
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid #e4edfb;
  padding-bottom: 14px;
}

.hero-screen-head span {
  font-weight: 500;
  font-size: 11px;
  margin-left: 18px;
  color: #789;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 14px;
}

.metrics div {
  border: 1px solid #e5edf7;
  border-radius: 9px;
  padding: 13px;
  background: #fbfdff;
}

.metrics small { display: block; font-size: 10px; color: #7184a0; }
.metrics b { display: block; font-size: 19px; color: #15447f; margin-top: 5px; }

.chart-wrap { height: 145px; padding: 14px 0 0; }
.chart-wrap svg { height: 100%; width: 100%; }

.hero-mini {
  position: absolute;
  background: #fff;
  border: 5px solid #e5effd;
  border-radius: 13px;
  box-shadow: 0 12px 30px #1d4ed826;
  overflow: hidden;
}

.hero-mini > span {
  display: block;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 800;
}

.hero-map { left: 0; bottom: 3px; width: 38%; transform: rotate(-3deg); }

.mini-map {
  height: 100px;
  background: #f0f4f9;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  padding: 12px;
}

.mini-map i {
  background: #dae5f0;
  border: 1px solid #c4d4e4;
}

.mini-map svg { position: absolute; inset: 0; height: 100%; width: 100%; }

.hero-store { right: 0; bottom: 8px; width: 22%; transform: rotate(2deg); }

.mini-store {
  font-size: 32px;
  background: #ecfdf5;
  text-align: center;
  padding: 18px 6px;
}


/* =====================================================================
   7. SERVICES GRID
   ===================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 190px;
  transition: transform .2s, box-shadow .2s;
}

.service-card:hover,
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px #153e781c;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: #eaf4ff;
  color: var(--blue);
  font-size: 27px;
  font-weight: 700;
}

.service-card h3, .value h3 { font-size: 15px; margin: 0 0 9px; }

.service-card p, .value p {
  font-size: 13px;
  color: var(--body);
  margin: 0 0 13px;
  line-height: 1.6;
}

.learn { font-weight: 750; font-size: 12px; color: var(--blue); }


/* =====================================================================
   8. WHY PARTNER BAND
   ===================================================================== */
.value-band { background: #f0f7ff; }
.value-band .section-heading { margin-bottom: 40px; }

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.value { display: flex; gap: 12px; align-items: flex-start; }

.value .service-icon { width: 50px; height: 50px; flex-basis: 50px; }


/* =====================================================================
   9. SOLUTIONS SHOWCASE (carousel)
   ===================================================================== */
.showcase {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 0;
  border: 1px solid #dfeafa;
  background: linear-gradient(130deg, #f4f9ff, #eff6ff);
  border-radius: 24px;
  padding: 28px;
  min-height: 440px;
}

.showcase-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px 46px 0;
}

.showcase-visual #showcase-screen { width: 100%; }

.showcase-copy { padding: 32px 26px; align-self: center; }

.showcase-copy h3 {
  font-size: 33px;
  line-height: 1.1;
  letter-spacing: -.035em;
  margin: 0 0 9px;
}

.showcase-copy p { color: var(--body); font-size: 14px; margin: 16px 0; }

.product-strap { font-size: 14px; color: var(--blue); }

.showcase-copy ul, .check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.showcase-copy li, .check-list li {
  margin: 11px 0;
  padding-left: 28px;
  position: relative;
  color: #415e80;
  font-size: 14px;
}

.showcase-copy li:before,
.check-list li:before {
  content: '✓';
  background: #dcecff;
  color: var(--blue);
  position: absolute;
  left: 0; top: 0;
  border-radius: 50%;
  width: 19px; height: 19px;
  text-align: center;
  line-height: 19px;
  font-weight: 800;
}

.showcase-controls {
  position: absolute;
  bottom: 0;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.showcase-controls button {
  border: 1px solid #cce0fb;
  color: var(--blue);
  background: #fff;
  border-radius: 50%;
  height: 34px; width: 34px;
  font-size: 20px;
}

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 17px;
}

.showcase-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  border: 1px solid #dde9f9;
  border-radius: 10px;
  background: white;
  padding: 12px 10px;
  color: #234879;
  min-height: 65px;
}

.showcase-tab.selected {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.showcase-tab > span:first-child { font-size: 23px; }
.showcase-tab b { font-size: 12px; display: block; }
.showcase-tab small { font-size: 10px; display: block; opacity: .75; }


/* =====================================================================
   MOCKUP WINDOWS (used inside showcase & hero)
   ===================================================================== */
.demo-window {
  height: 335px;
  background: #fff;
  border: 1px solid #dbe7f5;
  border-radius: 15px;
  box-shadow: 0 20px 32px #37618e1a;
  overflow: hidden;
  padding: 0 20px 15px;
}

.demo-toolbar {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf1f8;
  gap: 10px;
  font-size: 12px;
}

.demo-toolbar span { color: #8796a9; font-size: 11px; }

/* Salepoint mock */
.shop-hero {
  display: grid;
  grid-template-columns: 55% 45%;
  background: #eef7ff;
  border-radius: 10px;
  margin-top: 16px;
  overflow: hidden;
  min-height: 214px;
}

.shop-hero > div:first-child { padding: 22px; }
.shop-hero small { font-size: 10px; color: var(--blue); }
.shop-hero h3 { font-size: 27px; line-height: 1.14; margin: 8px 0; }
.shop-hero p { font-size: 11px; line-height: 1.6; color: #71819b; }

.mini-btn {
  display: inline-block;
  background: var(--blue);
  color: white;
  border-radius: 5px;
  padding: 8px 11px;
  font-size: 10px;
}

.shop-photo {
  background: linear-gradient(135deg, #d9f8d2, #bce8c5);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.shelf {
  font-size: 31px;
  background: #ffffffb8;
  padding: 4px;
  border-radius: 6px;
}

.demo-tags {
  display: flex;
  justify-content: space-around;
  margin-top: 14px;
  gap: 8px;
  color: #45627f;
  font-size: 10px;
  flex-wrap: wrap;
}

/* Indoor Navigation mock */
.floor-map {
  height: 240px;
  background: #f7fafc;
  position: relative;
  margin-top: 13px;
  border: 1px solid #d2dfed;
  border-radius: 9px;
  overflow: hidden;
}

.room {
  position: absolute;
  background: #dce8f1;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  color: #6c849e;
  font-size: 10px;
  font-weight: 700;
}

.r1 { left: 3%; top: 3%; width: 28%; height: 27%; }
.r2 { left: 34%; top: 3%; width: 28%; height: 27%; }
.r3 { left: 65%; top: 3%; width: 32%; height: 27%; }
.r4 { left: 3%; bottom: 3%; width: 41%; height: 29%; }
.r5 { right: 3%; bottom: 3%; width: 39%; height: 29%; background: #baf0e7; }

.floor-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Carpool mock */
.ride-list { padding-top: 23px; }

.ride {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e4eefa;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.rideicon {
  background: #e5f7f3;
  color: #0d9488;
  padding: 9px;
  border-radius: 50%;
  font-weight: bold;
}

.ride strong { font-size: 14px; }
.ride small { display: block; color: #8294a9; }
.ride em { margin-left: auto; font-style: normal; color: #0d9488; font-size: 12px; }

/* ERP mock */
.erp-modules { display: flex; gap: 10px; margin-top: 15px; }
.erp-modules span {
  border: 1px solid #e5e9f7;
  padding: 9px;
  border-radius: 7px;
  font-size: 11px;
}

/* Showcase enter animation */
.enter { animation: soft-appear 1.4s ease both; }
@keyframes soft-appear {
  from { opacity: .3; transform: translateX(22px); }
  to   { opacity: 1;  transform: translateX(0); }
}


/* =====================================================================
   10. TECHNOLOGY EXPERTISE
   ===================================================================== */
.tech-section { padding-top: 65px; }

.tech-tags { display: flex; gap: 12px; flex-wrap: wrap; }

.tech-tags span {
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-weight: 700;
  font-size: 13px;
  color: #24548f;
}


/* =====================================================================
   11. CTA PANEL
   ===================================================================== */
.cta-section { padding-top: 20px; }

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  background: linear-gradient(105deg, #eef7ff, #e8f2ff);
  border-radius: 22px;
  padding: 48px 55px;
}

.cta-panel h2 { font-size: 30px; }

.cta-panel p {
  font-size: 14px;
  color: #5d7894;
  max-width: 600px;
  margin: 0;
}

.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }


/* =====================================================================
   12. FOOTER
   ===================================================================== */
.site-footer {
  border-top: 1px solid #e8eff8;
  padding-top: 65px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.1fr 1.2fr;
  gap: 30px;
}

.footer-grid h4 { font-size: 14px; margin-bottom: 16px; }
.footer-grid p { font-size: 12px; color: #75849a; margin-top: 14px; }

.footer-grid > div > a:not(.brand):not(.btn) {
  display: block;
  color: #687c96;
  font-size: 12px;
  line-height: 2.1;
}

.copyright {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-block: 22px;
  border-top: 1px solid #edf1f8;
  color: #97a5b7;
  font-size: 11px;
}


/* =====================================================================
   13. PAGE HERO & INNER PAGES
   ===================================================================== */
.page-hero {
  background: linear-gradient(120deg, #eef7ff, #fff);
  padding: 92px 0;
}

.page-hero h1 { max-width: 900px; font-size: clamp(38px, 4vw, 56px); }
.page-hero p  { max-width: 740px; }

.narrow { max-width: 870px; }
.prose h2 { margin: 35px 0 10px; }
.prose p  { color: var(--body); }

.split-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split-detail h2 { font-size: 33px; }
.split-detail p  { color: var(--body); }

.detail-image { min-width: 0; }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--shadow);
  transition: .2s;
}

.solution-card h3 { margin: 16px 0 6px; }
.solution-card p  { font-size: 14px; color: var(--body); min-height: 90px; }


/* =====================================================================
   14. CONTACT PAGE
   ===================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 80px;
}

.contact-grid > div > p { color: var(--body); }

#contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

#contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
}

#contact-form label:nth-last-of-type(1),
#contact-form label:nth-last-of-type(2) { grid-column: 1/-1; }

#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100%;
  border: 1px solid #cbd9ea;
  border-radius: 9px;
  padding: 13px;
  background: white;
  color: #233f62;
}

#contact-form button { justify-self: start; }

#contact-form .form-note {
  grid-column: 1/-1;
  color: #8a6172;
  font-size: 12px;
}

.contact-side {
  background: #f1f7ff;
  padding: 32px;
  border-radius: 18px;
  height: fit-content;
}

.contact-side p { color: var(--body); }


/* =====================================================================
   15. THANK-YOU CARD (post-submission)
   ===================================================================== */
.thankyou-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border: 1px solid #dce8f7;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(33, 71, 118, 0.08);
  animation: thankyouFadeIn 0.5s ease;
}

@keyframes thankyouFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.thankyou-icon {
  width: 78px; height: 78px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #14b8a6);
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  animation: iconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes iconPop {
  0%   { transform: scale(0);    opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.thankyou-card h2 {
  font-size: 28px;
  color: #0f2c57;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.thankyou-card p {
  color: #50647f;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 10px;
  max-width: 520px;
  margin-inline: auto;
}

.thankyou-note {
  font-size: 13px !important;
  color: #2563eb !important;
  background: #eff6ff;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: 14px !important;
}

.thankyou-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Inline form error banner */
.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 18px;
  animation: thankyouFadeIn 0.3s ease;
}


/* =====================================================================
   16. RESPONSIVE BREAKPOINTS
   ===================================================================== */

/* ── Tablet / small desktop ── */
@media (max-width: 1100px) {
  .nav-inner { gap: 15px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 12px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-panel { flex-direction: column; align-items: start; }
  .hero-grid { grid-template-columns: 47% 53%; }
}

/* ── Mobile landscape / large phone ── */
@media (max-width: 800px) {
  .container { width: min(100% - 40px, 650px); }
  .site-header { position: sticky; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .nav-inner { height: 70px; }

  /* Mobile dropdown nav */
  .main-nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    padding: 20px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
    padding-block: 65px;
  }
  .hero-visual { height: 320px; margin: auto; }
  .hero-screen { left: 12%; width: 75%; }
  .hero p { max-width: 650px; }

  /* Sections */
  .section { padding-block: 65px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .showcase-visual { padding: 0 0 50px; }
  .showcase-copy { padding: 10px; }
  .showcase-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .showcase-tab { min-width: 160px; scroll-snap-align: start; }

  /* Detail pages */
  .split-detail, .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Small phone ── */
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 40px; }

  /* Hero scaling */
  .hero-visual { height: 245px; }
  .hero-screen { top: 10px; padding: 8px; border-width: 5px; }
  .hero-screen-head { font-size: 10px; }
  .hero-screen-head span { display: none; }
  .metrics { gap: 4px; }
  .metrics div { padding: 6px; }
  .metrics small { font-size: 8px; }
  .metrics b { font-size: 12px; }
  .hero-screen .chart-wrap { height: 90px; }
  .hero-mini > span { font-size: 8px; }
  .hero-map { width: 42%; }
  .hero-store { width: 26%; }
  .mini-store { font-size: 17px; padding: 9px 2px; }
  .mini-map { height: 58px; }

  /* Grids collapse to single column */
  .service-grid, .solution-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .values { grid-template-columns: 1fr; gap: 20px; }

  /* Showcase mobile tweaks */
  .showcase { padding: 12px; }
  .demo-window { height: 280px; padding: 0 10px 12px; }
  .shop-hero { min-height: 165px; }
  .shop-hero > div:first-child { padding: 10px; }
  .shop-hero h3 { font-size: 18px; }
  .shop-hero p { font-size: 9px; }
  .shelf { font-size: 18px; }
  .floor-map { height: 186px; }
  .showcase-copy h3 { font-size: 28px; }

  /* CTA + actions stack */
  .cta-panel { padding: 30px 22px; }
  .cta-actions, .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .copyright { display: block; }
  .copyright span { display: block; margin-top: 6px; }

  /* Contact form single column */
  #contact-form { grid-template-columns: 1fr; }
  #contact-form label { grid-column: 1/-1; }

  /* Thank-you card mobile */
  .thankyou-card { padding: 34px 22px; }
  .thankyou-card h2 { font-size: 22px; }
  .thankyou-icon { width: 64px; height: 64px; font-size: 32px; }
  .thankyou-actions { flex-direction: column; }
  .thankyou-actions .btn { width: 100%; }
}


/* =====================================================================
   17. REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}