/* ============================================================
   Serphyn LLC — Shared Stylesheet
   ============================================================ */

:root {
  --navy: #0e2038;
  --navy-deep: #091628;
  --ink: #1c2b3a;
  --body: #46586c;
  --muted: #6e7f92;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --accent: #1f5eff;
  --accent-dark: #1348c9;
  --accent-soft: #eaf0ff;
  --radius: 6px;
  --max: 1140px;
  --shadow: 0 1px 3px rgba(14, 32, 56, 0.06), 0 8px 24px rgba(14, 32, 56, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }

.kicker {
  display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; color: var(--ink); }

/* Logo image: drop your file at assets/logo.png and it replaces the lettermark. */
.logo-img { height: 40px; width: auto; max-width: 190px; display: block; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--navy);
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem; color: #fff;
  font-family: Georgia, "Times New Roman", serif;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .name { font-weight: 700; font-size: 1.06rem; letter-spacing: 0.01em; }
.logo-text .tag { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }

nav ul { display: flex; gap: 34px; list-style: none; }
nav ul a { color: var(--body); font-size: 0.94rem; font-weight: 500; transition: color .2s; }
nav ul a:hover, nav ul a.active { color: var(--accent); }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.94rem; cursor: pointer; border: none;
  transition: background .2s, color .2s, border-color .2s;
  font-family: inherit; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid #c6d1dd; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-soft); }
.nav .btn { padding: 10px 22px; }
.menu-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 108px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 420px at 85% 20%, rgba(31, 94, 255, 0.22), transparent 65%),
    radial-gradient(500px 300px at 5% 90%, rgba(31, 94, 255, 0.12), transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; max-width: 860px; }
.hero .kicker { color: #8fb0ff; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.18; margin-bottom: 24px; }
.hero p.lead { color: #b9c7d9; font-size: 1.18rem; max-width: 640px; margin-bottom: 40px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); display: flex; gap: 44px; flex-wrap: wrap; }
.hero-note div { font-size: 0.92rem; color: #9fb1c6; }
.hero-note strong { display: block; color: #fff; font-size: 1.02rem; font-weight: 600; margin-bottom: 2px; }

/* Compact hero for interior pages */
.page-hero { background: var(--navy); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(660px 360px at 88% 15%, rgba(31, 94, 255, 0.20), transparent 65%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; max-width: 800px; }
.page-hero .kicker { color: #8fb0ff; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.2; margin-bottom: 16px; }
.page-hero p { color: #b9c7d9; font-size: 1.1rem; max-width: 620px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 2rem; margin-bottom: 14px; }
.section-head p { color: var(--body); font-size: 1.06rem; }

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

.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: #cfd9e4; }
.card .icon {
  width: 46px; height: 46px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--body); }
.card .card-link { display: inline-block; margin-top: 14px; font-size: 0.9rem; font-weight: 600; }

.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.alt .card { background: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.about-grid h2 { font-size: 2rem; margin-bottom: 18px; }
.about-grid p { margin-bottom: 16px; }
.values { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value { padding: 24px 28px; background: #fff; }
.value + .value { border-top: 1px solid var(--line); }
.value h3 { font-size: 1rem; margin-bottom: 5px; display: flex; align-items: center; gap: 10px; }
.value h3 svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.value p { font-size: 0.92rem; margin: 0; }

/* ---------- Process ---------- */
.step .num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem; color: var(--accent); font-weight: 700;
  line-height: 1; margin-bottom: 18px;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: 1.7rem; margin-bottom: 8px; }
.cta-inner p { color: #b9c7d9; max-width: 520px; }

/* ---------- Product detail blocks ---------- */
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start; padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.product:last-of-type { border-bottom: none; }
.product.reverse .product-media { order: -1; }
.product h2 { font-size: 1.7rem; margin-bottom: 14px; }
.product > div > p { margin-bottom: 18px; }
.feature-list { list-style: none; margin-bottom: 26px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 0.95rem; }
.feature-list svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 5px; }
.product-media {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
}
.product-media h4 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}
.spec { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.spec:last-child { border-bottom: none; }
.spec dt { color: var(--muted); }
.spec dd { color: var(--ink); font-weight: 600; text-align: right; }

/* ---------- Engagement / pricing tiers ---------- */
.tier { display: flex; flex-direction: column; }
.tier .tier-name { font-size: 1.15rem; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.tier .tier-desc { font-size: 0.93rem; margin-bottom: 20px; }
.tier .feature-list { margin-bottom: 24px; flex: 1; }
.tier.featured { border-color: var(--accent); box-shadow: var(--shadow); position: relative; }
.tier.featured::before {
  content: "Most Requested"; position: absolute; top: -12px; left: 30px;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px;
}

/* ---------- Legal / long-form copy ---------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal .updated {
  display: inline-block; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 16px; font-size: 0.88rem;
  color: var(--muted); margin-bottom: 40px;
}
.legal h2 {
  font-size: 1.3rem; margin: 44px 0 14px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal h3 { font-size: 1.02rem; margin: 24px 0 8px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 22px; }
.legal li { margin-bottom: 8px; }
.legal .toc {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 28px; margin-bottom: 48px;
}
.legal .toc h4 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.legal .toc ol { margin-left: 20px; }
.legal .toc li { margin-bottom: 7px; font-size: 0.94rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: 2rem; margin-bottom: 16px; }
.contact-info > p { margin-bottom: 32px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-line .ci {
  width: 40px; height: 40px; border-radius: 8px; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; flex-shrink: 0;
}
.contact-line .ci svg { width: 19px; height: 19px; }
.contact-line strong { display: block; color: var(--ink); font-size: 0.95rem; font-weight: 600; }
.contact-line span { font-size: 0.92rem; }

form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius);
  background: #fff; border: 1px solid #c9d4df;
  color: var(--ink); font-size: 0.95rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: #9fb1c6; padding: 56px 0 36px; }
.footer-top {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 28px;
}
footer .logo-mark { background: rgba(255,255,255,0.1); }
footer .logo-text .name { color: #fff; }
footer .logo-text .tag { color: #7e91a8; }
.footer-desc { max-width: 320px; font-size: 0.92rem; margin-top: 16px; }
.footer-col h4 {
  color: #fff; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #9fb1c6; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: #7e91a8; }
.footer-bottom a { color: #7e91a8; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Motion & Interaction
   ============================================================ */

/* Scroll reveal — elements fade/rise in as they enter the viewport */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

/* Richer card interaction */
.card { position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #6f9bff);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.card:hover { transform: translateY(-5px); }
.card:hover::after { transform: scaleX(1); }
.card .icon { transition: background .3s, color .3s, transform .3s; }
.card:hover .icon { background: var(--accent); color: #fff; transform: scale(1.06); }

.btn { position: relative; overflow: hidden; }
.btn-primary:hover, .btn-light:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31, 94, 255, 0.28); }
.btn:active { transform: translateY(0); }

nav ul a { position: relative; }
nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: center;
  transition: transform .28s cubic-bezier(.16,1,.3,1);
}
nav ul a:hover::after, nav ul a.active::after { transform: scaleX(1); }

/* Animated statistic counters */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.counter { text-align: center; padding: 30px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s, transform .25s; }
.counter:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.counter .num {
  font-size: 2.4rem; font-weight: 700; color: var(--accent);
  line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums;
}
.counter .label { font-size: 0.9rem; color: var(--muted); }

/* Customer logo strip (continuous marquee) */
.logo-strip { overflow: hidden; position: relative; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-track { display: flex; gap: 64px; width: max-content; animation: marquee 34s linear infinite; }
.logo-strip:hover .logo-track { animation-play-state: paused; }
.client-mark {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.12rem; font-weight: 700; letter-spacing: 0.02em;
  color: #9aa9ba; white-space: nowrap;
  transition: color .3s, opacity .3s; opacity: .75;
}
.client-mark:hover { color: var(--ink); opacity: 1; }
.client-mark svg { width: 22px; height: 22px; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Testimonial slider */
.testimonials { position: relative; max-width: 860px; margin: 0 auto; }
.slides { position: relative; min-height: 260px; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1), visibility .55s;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 48px; box-shadow: var(--shadow); text-align: center;
}
.slide.active { opacity: 1; visibility: visible; transform: none; }
.slide .quote-mark { font-family: Georgia, serif; font-size: 3.4rem; color: var(--accent); line-height: 1; opacity: .3; }
.slide blockquote { font-size: 1.12rem; color: var(--ink); line-height: 1.75; margin: 4px 0 26px; font-weight: 400; }
.slide .who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.slide .avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 1rem;
}
.slide .who-text { text-align: left; }
.slide .who-name { display: block; color: var(--ink); font-weight: 600; font-size: 0.96rem; }
.slide .who-role { display: block; color: var(--muted); font-size: 0.87rem; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.slider-btn {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.08); }
.slider-btn svg { width: 18px; height: 18px; }
.dots { display: flex; gap: 9px; }
.dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: #c6d1dd; transition: background .25s, width .25s;
}
.dot.active { background: var(--accent); width: 26px; border-radius: 20px; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; cursor: pointer; background: none; border: none;
  padding: 22px 26px; font-family: inherit; font-size: 1rem; font-weight: 600;
  color: var(--ink); display: flex; justify-content: space-between; align-items: center;
  gap: 18px; transition: background .2s, color .2s;
}
.faq-q:hover { background: var(--bg-soft); color: var(--accent); }
.faq-q .chev { flex-shrink: 0; transition: transform .3s cubic-bezier(.16,1,.3,1); color: var(--accent); }
.faq-q .chev svg { width: 18px; height: 18px; display: block; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s cubic-bezier(.16,1,.3,1); }
.faq-a-inner { padding: 0 26px 24px; font-size: 0.95rem; color: var(--body); }

/* Back-to-top button */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(31, 94, 255, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-dark); }
.to-top svg { width: 20px; height: 20px; }

/* Scroll progress bar */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 100;
  background: linear-gradient(90deg, var(--accent), #7c9dff);
  width: 0%; transition: width .1s linear;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .logo-track { animation: none; }
}

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

/* Large tablet / small laptop */
@media (max-width: 1040px) {
  nav ul { gap: 24px; }
  nav ul a { font-size: 0.9rem; }
  .hero-note { gap: 30px; }
}

/* Nav collapses here — six items plus the CTA no longer fit comfortably */
@media (max-width: 900px) {
  nav ul { display: none; }
  nav ul.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 28px 18px; box-shadow: var(--shadow);
  }
  nav ul.open li { padding: 11px 0; border-bottom: 1px solid var(--line); }
  nav ul.open li:last-child { border-bottom: none; }
  nav ul.open a::after { display: none; }
  .menu-toggle { display: block; order: 3; }
  .nav .btn { display: none; }
}

/* Tablet */
@media (max-width: 940px) {
  .counters { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid, .product { grid-template-columns: 1fr; gap: 44px; }
  .product.reverse .product-media { order: 0; }
  section { padding: 76px 0; }
  .hero { padding: 88px 0 76px; }
  .section-head { margin-bottom: 44px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Phone */
@media (max-width: 660px) {
  .wrap { padding: 0 20px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 76px 0 64px; }
  .product { padding: 48px 0; }
  form { padding: 28px 22px; }
  .counters { grid-template-columns: 1fr 1fr; gap: 16px; }
  .counter { padding: 22px 12px; }
  .counter .num { font-size: 1.8rem; }
  .slide { padding: 32px 24px; }
  .slide blockquote { font-size: 1rem; }
  .slides { min-height: 340px; }
  .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .hero-note { gap: 22px; margin-top: 36px; }
  .hero-note div { flex: 1 1 100%; }
  .logo-text .tag { display: none; }
  .logo-img { height: 34px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-desc { max-width: none; }
  .legal .toc { padding: 20px 22px; }
  .product-media { padding: 24px 22px; }
  .spec { flex-direction: column; gap: 2px; }
  .spec dd { text-align: left; }
  .logo-track { gap: 40px; }
}

/* Small phone */
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 1.75rem; }
  .section-head h2, .about-grid h2, .contact-info h2 { font-size: 1.6rem; }
  .hero-actions .btn, .hero-actions { width: 100%; }
  .counters { grid-template-columns: 1fr; }
  .slides { min-height: 400px; }
  .card { padding: 26px 22px; }
}
