/* ===================================================================
   MedQ — Smart Healthcare Management Platform
   Fonts: Fraunces (headings) · Inter (body) · IBM Plex Mono (numbers/labels)
   =================================================================== */

:root{
  --bg:#F4FBF8;
  --bg-rgb:244,251,248;               /* same colour as --bg, used for hero overlay */
  --bg-alt:#FFFFFF;
  --bg-soft:#EAF6F0; 
  --text:#0B2B22;
  --text-soft:#4B6358;
  --primary:#0E7C5A;
  --primary-dark:#0B4F3D;
  --accent:#12A66E;
  --accent-2:#0FB88C;
  --accent-soft:#E4F5EC;
  --border: rgba(11,79,61,0.12);
  --card-bg:#FFFFFF;
  --shadow: 0 20px 45px -25px rgba(11,79,61,0.35);
  --radius:18px;
  --nav-bg: rgba(255,255,255,0.55);
  --nav-border: rgba(255,255,255,0.4);

  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

html[data-theme="dark"]{
  --bg:#071612;
  --bg-rgb:7,22,18;
  --bg-alt:#0D211A;
  --bg-soft:#0F2A21;
  --text:#EAF7F1;
  --text-soft:#9FC3B4;
  --primary:#22D585;
  --primary-dark:#12A66E;
  --accent:#28E39A;
  --accent-2:#1FE39A;
  --accent-soft:#123528;
  --border: rgba(255,255,255,0.08);
  --card-bg:#0E241C;
  --shadow: 0 24px 50px -25px rgba(0,0,0,0.6);
  --nav-bg: rgba(9,26,20,0.55);
  --nav-border: rgba(255,255,255,0.08);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; overflow-x:hidden; -webkit-text-size-adjust:100%;}
body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  overflow-x:hidden;
  transition:background .4s ease, color .4s ease;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}
img{display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer;}
a:focus-visible, button:focus-visible, input:focus-visible{outline:2px solid var(--primary); outline-offset:3px; border-radius:6px;}
.container{max-width:1280px; margin:0 auto; padding:0 20px;}
@media(min-width:768px){.container{padding:0 40px;}}

h1,h2,h3,h4{
  font-family:var(--font-heading); font-weight:600; letter-spacing:-0.01em;
  color:var(--text); line-height:1.15;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:0.7rem; letter-spacing:0.1em; text-transform:uppercase;
  font-weight:600; color:var(--primary);
  background:var(--accent-soft); padding:8px 16px; border-radius:999px;
}
.section-head{max-width:640px; margin-bottom:44px;}
.section-head.center{margin:0 auto 48px; text-align:center;}
.section-head h2{font-size:clamp(1.65rem,4vw,2.6rem); margin-top:14px;}
.section-head p{margin-top:14px; color:var(--text-soft); font-size:1rem;}
section{padding:clamp(48px,6vw,72px) 0;}

.text-accent{color:var(--primary);}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-size:0.9rem; font-weight:600; padding:14px 26px; border-radius:12px;
  border:1px solid transparent; transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary{background:linear-gradient(135deg, var(--primary), var(--accent-2)); color:#fff; box-shadow:0 14px 30px -12px rgba(14,124,90,0.55); white-space:nowrap;}
.btn-primary:hover{transform:translateY(-3px); box-shadow:0 20px 36px -14px rgba(14,124,90,0.6);}
.btn-outline{background:var(--bg-alt); border-color:var(--border); color:var(--text);}
.btn-outline:hover{transform:translateY(-3px); border-color:var(--primary);}
.btn-sm{padding:10px 18px; font-size:0.82rem; border-radius:10px;}

/* ===================== NAVBAR — glassmorphism ===================== */
header{
  position:sticky; top:0; z-index:200;
  background:var(--nav-bg);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  border-bottom:1px solid var(--nav-border);
  transition:background .4s ease, box-shadow .4s ease;
}
header.scrolled{box-shadow:0 10px 30px -20px rgba(11,79,61,0.35);}
nav{display:flex; align-items:center; justify-content:space-between; padding:0 0; gap:16px;}
.brand{display:flex; align-items:center; gap:10px; min-width:0;}
.brand-icon{
  width:38px; height:38px; border-radius:10px; flex-shrink:0;
  background:linear-gradient(135deg, var(--primary), var(--accent-2));
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.1rem;
}
.brand-name{font-family:var(--font-heading); font-weight:700; font-size:1.3rem; line-height:1;}
.brand-name span{color:var(--accent);}
.nav-links{display:none; gap:30px; align-items:center;}
.nav-links a{font-size:0.88rem; font-weight:500; color:var(--text-soft); position:relative; padding:6px 0;}
.nav-links a.active, .nav-links a:hover{color:var(--primary);}
.nav-links a::after{content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--primary); transition:width .3s ease;}
.nav-links a.active::after, .nav-links a:hover::after{width:100%;}
.nav-right{display:flex; align-items:center; gap:10px;}

/* Dark mode toggle switch */
.theme-toggle{
  width:52px; height:28px; border-radius:999px; border:1px solid var(--border);
  background:var(--bg-soft); position:relative; flex-shrink:0;
  display:flex; align-items:center; padding:3px;
}
.theme-toggle .knob{
  width:20px; height:20px; border-radius:50%;
  background:linear-gradient(135deg, var(--primary), var(--accent-2));
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:0.7rem;
  transition:transform .35s cubic-bezier(.4,1.6,.4,1);
}
html[data-theme="dark"] .theme-toggle .knob{transform:translateX(24px);}

.hamburger{display:flex; flex-direction:column; gap:5px; padding:10px; margin:-10px; cursor:pointer;}
.hamburger span{width:22px; height:2px; background:var(--text); border-radius:2px;}
@media(min-width:1050px){
  .nav-links{display:flex;}
  .hamburger{display:none;}
}
/* small screens: keep the nav bar clean, buttons live inside the mobile menu */
@media(max-width:760px){.nav-right .btn-outline{display:none;}}
@media(max-width:520px){.nav-right .btn{display:none;} nav{gap:10px;}}

.mobile-menu{
  position:fixed; inset:0; z-index:300; background:var(--bg-alt);
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:22px;
  padding:80px 20px 40px; overflow-y:auto;
  transform:translateX(100%); transition:transform .45s ease; visibility:hidden;
}
.mobile-menu.open{transform:translateX(0); visibility:visible;}
.mobile-menu > a:last-of-type{margin-bottom:auto;}
.mobile-menu a{font-size:1.35rem; font-weight:600; font-family:var(--font-heading);}
.mobile-menu a.btn{font-family:var(--font-body); font-size:0.95rem; min-width:220px;}
.mobile-close{position:absolute; top:18px; right:18px; font-size:1.6rem; width:44px; height:44px; display:flex; align-items:center; justify-content:center; cursor:pointer;}

/* ===== HERO FULL WIDTH FIX ===== */
@media (min-width: 1000px) {
    .hero .container {
        max-width: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* ===================== HERO (background image) ===================== */
.hero{
  position:relative; isolation:isolate; overflow:hidden;
  padding:clamp(44px,0vw,90px) 0;
  display:flex; align-items:center;
  background-image:var(--hero-img, none);
  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;
}
@media(min-width:1000px){.hero{min-height:clamp(560px,82vh,760px);}}

/* readability overlay – fades the image behind the text, works in light + dark */
.hero::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:linear-gradient(90deg,
    rgba(var(--bg-rgb),.96) 0%,
    rgba(var(--bg-rgb),.86) 42%,
    rgba(var(--bg-rgb),.38) 100%);
}
@media(max-width:999px){
  .hero{background-position:center center;}
  .hero::before{background:linear-gradient(180deg, rgba(var(--bg-rgb),.93) 0%, rgba(var(--bg-rgb),.84) 100%);}
}

.hero .container{
  width:100%; display:grid; grid-template-columns:minmax(0,1fr); gap:44px; align-items:center; position:relative; z-index:2;
}
@media(min-width:1000px){.hero .container{grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:50px;}}
.hero-glow{
  position:absolute; top:-120px; right:-120px; width:480px; height:480px; border-radius:50%;
  background:radial-gradient(circle, var(--accent-soft), transparent 70%);
  filter:blur(10px); z-index:1; pointer-events:none; opacity:.7;
}
.hero h1{font-size:clamp(2.1rem,6vw,3.5rem); line-height:1.08; margin-top:18px;}
.hero p.sub{margin-top:20px; max-width:500px; color:var(--text-soft); font-size:clamp(.98rem,2.4vw,1.05rem);}
.hero-ctas{display:flex; flex-wrap:wrap; gap:14px; margin-top:32px;}
@media(max-width:480px){.hero-ctas .btn{flex:1 1 100%;}}
.trust-chips{display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:40px; max-width:520px;}
@media(min-width:480px){.trust-chips{grid-template-columns:repeat(4,1fr);}}
.trust-chip{display:flex; flex-direction:column; align-items:flex-start; gap:8px;}
.trust-chip .ico{
  width:42px; height:42px; border-radius:12px; background:var(--accent-soft);
  display:flex; align-items:center; justify-content:center; color:var(--primary); font-size:1.1rem;
}
.trust-chip span{font-size:0.82rem; font-weight:500; color:var(--text-soft); line-height:1.3;}

/* hero visual */
.hero-visual{position:relative; height:420px;}
@media(min-width:520px){.hero-visual{height:480px;}}
@media(min-width:1000px){.hero-visual{height:540px;}}

.stat-pill{
  position:absolute; z-index:4; background:var(--primary); color:#fff; border-radius:12px 0;
  padding:10px 14px; font-size:0.72rem; font-weight:600; box-shadow:0 14px 28px -14px rgba(14,124,90,0.6);
  display:flex; align-items:center; gap:8px;
}
html[data-theme="dark"] .stat-pill{color:#04150F;}
.stat-pill .num{font-size:1rem; font-family:var(--font-mono); font-weight:600;}
.pill-bottom{top:2%; right:2%; left:auto; bottom:auto; max-width:230px;}

/* ===================== STATS STRIP ===================== */
.stats-strip{background:var(--bg-alt); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.stats-strip .container{display:grid; grid-template-columns:repeat(2,1fr); gap:26px; padding:36px 20px; text-align:center;}
@media(min-width:768px){.stats-strip .container{grid-template-columns:repeat(4,1fr);}}
.stat-item{display:flex; flex-direction:column; align-items:center; gap:6px;}
.stat-ico{
  width:46px; height:46px; border-radius:12px; background:var(--accent-soft); color:var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-bottom:4px;
}
.stat-item .num{font-family:var(--font-mono); font-weight:600; font-size:clamp(1.25rem,3.4vw,1.55rem);}
.stat-item .label{font-size:0.82rem; color:var(--text-soft);}

/* ===================== FEATURE CARDS + MARQUEE (3D + smoke) ===================== */
.feature-card{
  position:relative; flex:0 0 280px; padding:30px 26px; border-radius:22px;
  background:var(--card-bg); border:1px solid var(--border); overflow:visible;
  transform-style:preserve-3d; perspective:800px;
  transition:transform .35s ease, box-shadow .35s ease;
  box-shadow:0 20px 40px -28px rgba(11,79,61,0.4);
}
.feature-card:hover{box-shadow:0 30px 60px -25px rgba(11,79,61,0.5);}
.feature-card .ico{
  width:52px; height:52px; border-radius:14px; margin-bottom:18px;
  background:linear-gradient(135deg, var(--primary), var(--accent-2));
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.3rem;
  box-shadow:0 14px 26px -12px rgba(14,124,90,0.55);
}
.feature-card h3{font-size:1.1rem; margin-bottom:10px;}
.feature-card p{font-size:0.87rem; color:var(--text-soft);}

/* ===================== WHY CHOOSE US ===================== */
.why-grid{display:grid; grid-template-columns:1fr; gap:20px; margin-top:10px;}
@media(min-width:700px){.why-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1100px){.why-grid{grid-template-columns:repeat(3,1fr);}}
.why-card .num{
  position:absolute; top:12px; right:16px; font-family:var(--font-mono); font-weight:600;
  font-size:2rem; color:var(--accent-soft); z-index:0;
}
.why-card .ico{
  width:48px; height:48px; border-radius:13px; margin-bottom:14px; position:relative; z-index:1;
  background:var(--accent-soft); color:var(--primary); display:flex; align-items:center; justify-content:center; font-size:1.2rem;
}
.why-card h3{font-size:1.08rem; margin-bottom:8px; position:relative; z-index:1;}
.why-card p{font-size:0.86rem; color:var(--text-soft); position:relative; z-index:1;}

/* ===================== HOW IT WORKS ===================== */
.steps{display:grid; grid-template-columns:1fr; gap:26px; margin-top:20px;}
@media(min-width:700px){.steps{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1100px){.steps{grid-template-columns:repeat(4,1fr);}}
.step-card{
  position:relative; background:var(--card-bg); border:1px solid var(--border); border-radius:18px;
  padding:30px 24px; box-shadow:0 18px 36px -28px rgba(11,79,61,0.35);
}
.step-num{
  width:38px; height:38px; border-radius:50%; background:var(--accent-soft); color:var(--primary);
  display:flex; align-items:center; justify-content:center; font-weight:600; font-family:var(--font-mono); font-size:.85rem;
  margin-bottom:16px;
}
.step-card h3{font-size:1.08rem; margin-bottom:8px;}
.step-card p{font-size:0.85rem; color:var(--text-soft);}




/* ===================== BENEFITS ===================== */

/* ===== BENEFITS CAROUSEL CSS ===== */
.benefits-slider {
  --visible: 1;
  --gap: 20px;
  position: relative;
  margin-top: 30px;
  padding: 0;
}
@media (min-width: 600px)  { .benefits-slider { --visible: 2; --gap: 22px; padding: 0 56px; } }
@media (min-width: 992px)  { .benefits-slider { --visible: 3; --gap: 28px; padding: 0 64px; } }

.benefits-viewport {
  overflow: hidden;
  padding: 10px 4px 20px;   /* so hover shadow / lift is not clipped */
  margin: -10px -4px -20px;
}
.benefits-track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.5s cubic-bezier(.22,.8,.3,1);
  will-change: transform;
}

/* Card: exactly N cards fit, no overlap */
.benefit-card {
  flex: 0 0 calc((100% - (var(--visible) - 1) * var(--gap)) / var(--visible));
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt, #fff);
  border: 1px solid var(--border, #e3ebe7);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(16, 60, 45, .05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(16, 60, 45, .12);
  border-color: var(--primary, #1b6b52);
}

/* Large image on top */
.benefit-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9f1ee;
}
.benefit-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  transition: transform .5s ease;
}
.benefit-card:hover .benefit-img { transform: scale(1.06); }
.benefit-num {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--primary, #1b6b52);
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Heading, then content */
.benefit-content {
  padding: 22px 22px 26px;
  flex: 1;
}
.benefit-card h4 {
  position: relative;
  margin: 0 0 12px;
  padding-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.benefit-card:hover h4::after { width: 64px; }
.benefit-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-soft, #5b6b66);
}

/* Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border, #d5e2dc);
  background: #fff;
  color: var(--primary, #1b6b52);
  box-shadow: 0 6px 16px rgba(16, 60, 45, .12);
  cursor: pointer;
  z-index: 3;
  transition: background .2s, color .2s, border-color .2s, opacity .2s, transform .2s;
}
.slider-btn:hover:not(:disabled) {
  background: var(--primary, #1b6b52);
  color: #fff;
  border-color: var(--primary, #1b6b52);
  transform: translateY(-50%) scale(1.08);
}
.slider-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none;
}
.slider-prev { left: 0; }
.slider-next { right: 0; }

/* Mobile: arrows overlaid on the image */
@media (max-width: 599px) {
  .slider-btn { width: 40px; height: 40px; top: 28%; }
  .slider-prev { left: -15px; }
  .slider-next { right: -15px; }
  .slider-btn:hover:not(:disabled) { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .benefits-track, .benefit-card, .benefit-img { transition: none; }
}
/* ===== END BENEFITS CAROUSEL CSS ===== */


/* ===================== TESTIMONIALS ===================== */
.testi-track{display:grid; grid-template-columns:1fr; gap:22px;}
@media(min-width:800px){.testi-track{grid-template-columns:repeat(3,1fr);}}
.testi-card{
  background:var(--card-bg); border:1px solid var(--border); border-radius:18px; padding:28px 24px;
  box-shadow:0 18px 36px -28px rgba(11,79,61,0.35);
}
.testi-stars{color:var(--primary); font-size:0.85rem; margin-bottom:12px; letter-spacing:2px;}
.testi-card p.quote{font-size:0.9rem; color:var(--text-soft); font-style:italic;}
.testi-person{display:flex; align-items:center; gap:12px; margin-top:20px;}
.testi-avatar{
  width:44px; height:44px; border-radius:50%; overflow:hidden; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-weight:600; color:#fff;
  font-family:var(--font-mono); font-size:0.85rem;
  background:linear-gradient(135deg, var(--primary), var(--accent-2));
}
.testi-avatar img{width:100%; height:100%; object-fit:cover;}
.testi-name{font-size:0.85rem; font-weight:600;}
.testi-role{font-size:0.72rem; color:var(--text-soft);}

/* ===================== CTA BAND ===================== */
.cta-band{
  background:linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--accent-2));
  border-radius:28px; padding:48px 24px; text-align:center; color:#fff; position:relative; overflow:hidden;
}
@media(min-width:900px){.cta-band{padding:70px 60px;}}
.cta-band h2{color:#fff; font-size:clamp(1.6rem,4vw,2.3rem);}
.cta-band p{color:rgba(255,255,255,0.85); max-width:520px; margin:14px auto 30px; font-size:0.98rem;}
.cta-band .btn-outline{background:rgba(255,255,255,0.12); color:#fff; border-color:rgba(255,255,255,0.4);}
.cta-band .btn-outline:hover{background:rgba(255,255,255,0.22);}
.cta-band .btn-primary{background:#fff; color:var(--primary-dark); box-shadow:none;}
@media(max-width:480px){.cta-band .hero-ctas .btn{flex:1 1 100%;}}

/* ===================== FAQ ===================== */
.faq-item{border-bottom:1px solid var(--border);}
.faq-q{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px;
  background:none; border:none; padding:20px 4px; text-align:left;
  font-family:var(--font-body); font-size:clamp(.92rem,2.6vw,.98rem); font-weight:600; color:var(--text);
}
.faq-plus{font-size:1.3rem; color:var(--primary); transition:transform .3s ease; flex-shrink:0;}
.faq-item.open .faq-plus{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .35s ease;}
.faq-a p{padding:0 4px 20px; font-size:0.9rem; color:var(--text-soft); max-width:680px;}

/* "View more" group + button */
.faq-extra[hidden]{display:none;}
.faq-extra{animation:faqIn .45s ease;}
@keyframes faqIn{from{opacity:0; transform:translateY(-8px);} to{opacity:1; transform:none;}}
.faq-actions{display:flex; justify-content:center; margin-top:30px;}
.faq-more{min-width:170px;}
.faq-more .chev{font-size:.75rem; transition:transform .3s ease;}
.faq-more[aria-expanded="true"] .chev{transform:rotate(180deg);}
@media(prefers-reduced-motion:reduce){.faq-extra{animation:none;}}

/* ===================== FOOTER ===================== */
footer{background:var(--primary-dark); color:rgba(255,255,255,0.75); padding:64px 0 26px; margin-top:20px;}
html[data-theme="dark"] footer{background:#051510;}
.footer-grid{display:grid; grid-template-columns:1fr; gap:36px;}
/* Mobile: Product + Company in one line */
/* Mobile: Product + Company in one line, close together on the left */
/* ===== Footer: Product + Company in one line on mobile ===== */


@media (max-width:599px){
  footer .footer-grid{
    grid-template-columns:auto auto !important;
    justify-content:start !important;
    column-gap:48px !important;
    row-gap:32px !important;
  }
  footer .footer-grid .footer-brand,
  footer .footer-grid .footer-contact{
    grid-column:1 / -1 !important;
  }
}
@media(min-width:600px){.footer-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1000px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr 1.2fr;}}
footer .brand-name{color:#fff;}
footer p{font-size:0.85rem; margin-top:14px; max-width:280px;}
footer h4{color:#fff; font-family:var(--font-mono); font-weight:600; font-size:0.72rem; text-transform:uppercase; letter-spacing:0.1em; margin-bottom:16px;}
footer li{padding:6px 0; font-size:0.85rem;}
footer li a:hover{color:#fff;}
footer li .icon{margin-right:6px;}
.newsletter{display:flex; gap:8px; margin-top:14px; max-width:340px;}
.newsletter input{
  flex:1; min-width:0; padding:10px 14px; border-radius:10px; border:1px solid rgba(255,255,255,0.2);
  background:rgba(255,255,255,0.08); color:#fff; font-size:0.82rem; font-family:inherit;
}
.newsletter input::placeholder{color:rgba(255,255,255,0.5);}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.12); margin-top:46px; padding-top:22px;
  display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center; font-size:0.76rem;
}
.socials{display:flex; gap:10px;}
.socials a{
  width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center; transition:background .25s ease;
}
.socials a:hover{background:rgba(255,255,255,0.18);}
@media(max-width:480px){.footer-bottom{flex-direction:column; align-items:flex-start;}}

/* reveal on scroll (content stays visible if JS is off / reduced motion) */
.reveal{opacity:0; transform:translateY(24px); transition:opacity .8s ease, transform .8s ease;}
.reveal.in{opacity:1; transform:translateY(0);}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1; transform:none; transition:none;}}
@media(scripting:none){.reveal{opacity:1; transform:none;}}

/* ===== inline icon sizing ===== */
.icon{width:1em; height:1em; display:inline-block; vertical-align:-0.14em; flex-shrink:0;}

/* ===== smoke puffs (reusable) ===== */

/* ===== HERO 3D animated scene ===== */
.hero-3d-scene{
  position:absolute; inset:0; z-index:1; perspective:1200px;
  display:flex; align-items:center; justify-content:center;
}
.scene-orb{
  position:absolute; border-radius:50%; filter:blur(26px); opacity:.65;
  background:radial-gradient(circle, var(--accent-2), transparent 70%);
  animation:orbFloat 9s ease-in-out infinite;
}
.orb-a{width:230px; height:230px; top:55%; left:0%; animation-delay:0s;}
.orb-b{width:190px; height:190px; bottom:4%; right:6%; background:radial-gradient(circle, var(--primary), transparent 70%); animation-delay:1.6s;}
@keyframes orbFloat{0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(14px,-18px) scale(1.08);}}

.scene-ring{
  position:absolute; width:78%; max-width:340px; aspect-ratio:1/1; border-radius:50%;
  border:2.5px dashed var(--border); animation:ringSpin 26s linear infinite;
}
@keyframes ringSpin{from{transform:rotate(0deg);} to{transform:rotate(360deg);}}

.scene-panel{
  position:absolute; width:150px; padding:16px 16px 18px; border-radius:18px;
  background:var(--card-bg); border:1px solid var(--border); box-shadow:var(--shadow);
  display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center;
  transform-style:preserve-3d; animation:panelFloat 6.5s ease-in-out infinite;
}
.scene-panel .scene-icon-wrap{
  width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--primary), var(--accent-2)); color:#fff; font-size:1.25rem;
  box-shadow:0 12px 22px -10px rgba(14,124,90,0.55);
}
.scene-panel span{font-size:.78rem; font-weight:600; color:var(--text-soft);}
.panel-doctor{top:65%; left:6%; transform:rotateY(-10deg) rotateX(6deg); animation-delay:0s;}
.panel-patient{bottom:10%; right:4%; transform:rotateY(10deg) rotateX(-6deg); animation-delay:.8s;}
@keyframes panelFloat{0%,100%{translate:0 0;} 50%{translate:0 -12px;}}
@media(prefers-reduced-motion:reduce){.scene-orb,.scene-ring,.scene-panel{animation:none;}}

.scene-pulse{position:absolute; width:60%; max-width:220px; opacity:.8; color:var(--primary);}
.scene-pulse svg{width:100%; height:auto; overflow:visible;}
.scene-pulse path{fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:220; stroke-dashoffset:220; animation:pulseDraw 3.2s ease-in-out infinite;}
@keyframes pulseDraw{0%{stroke-dashoffset:220;} 55%{stroke-dashoffset:0;} 100%{stroke-dashoffset:-220;}}
@media(prefers-reduced-motion:reduce){.scene-pulse path{animation:none; stroke-dashoffset:0;}}

/* ===== responsive: hero art collapses into a simple stacked block on phones ===== */
@media(max-width:760px){
  .hero-visual{height:auto; display:flex; flex-direction:column; gap:16px; padding-bottom:6px;}
  .hero-3d-scene{position:relative; height:230px;}
  .stat-pill{position:static; max-width:none; width:100%; border-radius:12px;}
  .scene-panel{width:120px; padding:12px; display: none;}
  .scene-panel .scene-icon-wrap{width:40px; height:40px; font-size:1.05rem;}
}
@media(max-width:360px){
  .scene-panel{width:104px;}
  .hero-3d-scene{height:200px;}
}

/* ===== DEPARTMENTS / SPECIALTIES ===== */

/* ===== marquee replacement: CSS-driven infinite scroll ===== */
.marquee-track:hover{animation-play-state:paused;}
@keyframes marqueeScroll{from{transform:translateX(0);} to{transform:translateX(-50%);}}
@media(prefers-reduced-motion:reduce){.marquee-track{animation:none;}}


/* ===================================================================
   CONTACT PAGE — styles (unchanged)
   =================================================================== */

/* ---- hero ---- */
.contact-hero{position:relative; padding:64px 0 40px; overflow:hidden; text-align:center;}
@media(min-width:900px){.contact-hero{padding:80px 0 50px;}}
.contact-hero-glow{position:absolute; top:-140px; left:50%; transform:translateX(-50%); width:620px; max-width:100%; height:420px; border-radius:50%; background:radial-gradient(circle, var(--accent-soft), transparent 70%); filter:blur(10px); z-index:0;}
.contact-hero .container{position:relative; z-index:1;}
.contact-hero h1{font-size:clamp(2rem,5.4vw,3.1rem); margin-top:16px;}
.contact-hero p.sub{max-width:560px; margin:18px auto 0; color:var(--text-soft); font-size:1.03rem;}

.contact-orbit{position:absolute; inset:0; z-index:0; pointer-events:none;}
.orbit-icon{position:absolute; width:44px; height:44px; border-radius:13px; background:var(--card-bg); border:1px solid var(--border); box-shadow:var(--shadow); display:flex; align-items:center; justify-content:center; color:var(--primary); font-size:1.15rem; animation:orbitFloat 6s ease-in-out infinite;}
.orbit-icon.o1{top:8%; left:10%; animation-delay:0s;}
.orbit-icon.o2{top:16%; right:8%; animation-delay:1.1s;}
.orbit-icon.o3{bottom:8%; left:16%; animation-delay:2.2s;}
.orbit-icon.o4{bottom:14%; right:14%; animation-delay:.6s;}
@keyframes orbitFloat{0%,100%{transform:translateY(0) rotate(0deg);} 50%{transform:translateY(-14px) rotate(6deg);}}
@media(max-width:700px){.orbit-icon{display:none;}}
@media(prefers-reduced-motion:reduce){.orbit-icon{animation:none;}}

/* ---- quick info cards ---- */
.info-cards{display:grid; grid-template-columns:1fr; gap:18px; margin-top:10px;}
@media(min-width:640px){.info-cards{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1100px){.info-cards{grid-template-columns:repeat(4,1fr);}}
.info-card{
  background:var(--card-bg); border:1px solid var(--border); border-radius:18px; padding:26px 22px;
  box-shadow:0 18px 36px -28px rgba(11,79,61,0.35); transition:transform .3s ease, box-shadow .3s ease;
  display:flex; flex-direction:column; gap:12px;
}
.info-card:hover{transform:translateY(-6px); box-shadow:0 26px 44px -22px rgba(11,79,61,0.42);}
.info-card .ico{width:50px; height:50px; border-radius:14px; background:linear-gradient(135deg, var(--primary), var(--accent-2)); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.3rem; box-shadow:0 14px 26px -12px rgba(14,124,90,0.55);}
.info-card h4{font-size:1rem;}
.info-card p{font-size:0.85rem; color:var(--text-soft);}
.info-card a.link-line{font-size:0.85rem; font-weight:600; color:var(--primary); display:inline-flex; align-items:center; gap:6px;}
.info-card a.link-line:hover{gap:9px;}

/* ---- main grid: form + side panel ---- */
@media(min-width:640px){.contact-form-card{padding:40px 38px;}}
.contact-form-card h3{ margin-bottom:6px;}
.contact-form-card > p{ font-size:0.9rem; margin-bottom:26px;}

.form-row{display:grid; grid-template-columns:1fr; gap:18px; margin-bottom:18px;}
@media(min-width:560px){.form-row.two{grid-template-columns:1fr 1fr;}}
.field{position:relative;}
.field label{display:block; font-size:0.8rem; font-weight:600; margin-bottom:8px; color:var(--text);}
.field input, .field select, .field textarea{
  width:100%; padding:13px 15px; border-radius:12px; border:1.5px solid var(--border); background:var(--bg);
  color:var(--text); font-family:var(--font-body); font-size:0.9rem; transition:border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--primary); background:var(--card-bg); box-shadow:0 0 0 4px var(--accent-soft);
}
.field textarea{min-height:130px; resize:vertical;}

.submit-row{display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:8px;}
.submit-row .btn{min-width:190px;}
.submit-note{font-size:0.78rem; color:var(--text-soft); display:flex; align-items:center; gap:6px;}

/* side panel */
.side-card{background:var(--card-bg); border:1px solid var(--border); border-radius:20px; padding:26px; box-shadow:0 18px 36px -28px rgba(11,79,61,0.35);}
.side-card h4{font-size:1rem; margin-bottom:16px; display:flex; align-items:center; gap:8px;}

.map-card{position:relative; border-radius:20px; overflow:hidden; height:220px; background:linear-gradient(150deg, var(--accent-soft), var(--bg-soft)); border:1px solid var(--border); display:flex; align-items:center; justify-content:center;}
.map-pin{width:56px; height:56px; border-radius:50%; background:linear-gradient(135deg, var(--primary), var(--accent-2)); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.5rem; box-shadow:0 16px 30px -12px rgba(14,124,90,0.55); animation:pinBounce 2.6s ease-in-out infinite; position:relative; z-index:1;}
@keyframes pinBounce{0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);}}
.map-ring{position:absolute; width:110px; height:110px; border-radius:50%; border:2px dashed var(--border); animation:ringPulse 3s ease-in-out infinite;}
@keyframes ringPulse{0%,100%{transform:scale(1); opacity:.6;} 50%{transform:scale(1.15); opacity:1;}}
.map-label{position:absolute; bottom:14px; left:14px; right:14px; background:rgba(255,255,255,0.85); backdrop-filter:blur(6px); border-radius:10px; padding:8px 12px; font-size:0.78rem; font-weight:600; color:var(--text);}
html[data-theme="dark"] .map-label{background:rgba(14,36,28,0.85); color:var(--text);}
@media(prefers-reduced-motion:reduce){.map-pin,.map-ring{animation:none;}}

/* ---- mini FAQ ---- */
.mini-faq{max-width:820px; margin:0 auto;}

/* ---- Thank-you modal ---- */
.modal-overlay{
  position:fixed; inset:0; background:rgba(7,22,17,0.55); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; z-index:500; padding:20px;
  opacity:0; pointer-events:none; transition:opacity .35s ease;
}
.modal-overlay.show{opacity:1; pointer-events:auto;}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 26px;
    animation: 32s linear 0s infinite normal none running marqueeScroll;
}
.why-card {
    position: relative;
    transform-style: preserve-3d;
    perspective: 800px;
    box-shadow: rgba(11, 79, 61, 0.4) 0px 20px 40px -28px;
    flex: 0 0 280px;
    padding: 30px 26px;
    border-radius: 22px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    overflow: visible;
    transition: transform 0.35s, box-shadow 0.35s;
}

html[data-theme="dark"] .btn-sm1 {
    color: rgb(4, 21, 15);
}

html[data-theme="dark"] .btn-primary {
    color: rgb(4, 21, 15);
}



/* ===== CONTACT: 2x2 CARDS (LEFT) + FORM (RIGHT) ===== */
.contact-section { padding-top: 0; }

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* 2x2 grid (existing .info-cards override) */
.info-cards.info-cards--2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}
.info-cards--2x2 .info-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px;
  border-radius: 20px;
  background: var(--bg-alt, #fff);
  border: 1px solid var(--border, #e3ebe7);
  box-shadow: 0 2px 10px rgba(16, 60, 45, .05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* top accent line */
.info-cards--2x2 .info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary, #1b6b52), var(--accent, #3fbf95));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.info-cards--2x2 .info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(16, 60, 45, .12);
  border-color: var(--primary, #1b6b52);
}


.info-cards--2x2 .ico {
  width: 50px; height: 50px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  margin-bottom: 8px;
  color: var(--primary, #1b6b52);
  background: var(--accent-soft, #e3f4ee);
  transition: background .3s, color .3s, transform .3s;
}
.info-cards--2x2 .ico .icon { width: 22px; height: 22px; }
.info-cards--2x2 .info-card:hover .ico {
  background: var(--primary, #1b6b52);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.info-cards--2x2 h4 { margin: 0; font-size: 1.05rem; }
.info-cards--2x2 p  { margin: 0; font-size: .85rem; color: var(--text-soft, #5b6b66); }
.info-cards--2x2 .link-line {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary, #1b6b52);
  word-break: break-word;
  text-decoration: none;
}
.info-cards--2x2 .link-line .icon { width: 14px; height: 14px; transition: transform .25s; }
.info-cards--2x2 .info-card:hover .link-line .icon { transform: translateX(5px); }

/* Form card */
.contact-form-card {
  position: relative;
  padding: 34px 30px;
  border-radius: 24px;
  background: var(--bg-alt, #fff);
  border: 1px solid var(--border, #e3ebe7);
  box-shadow: 0 20px 50px rgba(16, 60, 45, .10);
  overflow: hidden;
}
.contact-form-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft, #e3f4ee) 0%, transparent 70%);
  pointer-events: none;
}
.contact-form-sticky { position: sticky; top: 110px; }
.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  margin-bottom: 12px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 999px;
  color: var(--primary, #1b6b52);
  background: var(--accent-soft, #e3f4ee);
}
.form-badge .icon { width: 13px; height: 13px; }
.contact-form-card h3 { margin: 0 0 6px; font-size: 1.6rem; }
.contact-form-card > p { margin: 0 0 22px; color: var(--text-soft, #5b6b66); }

/* Why reach out row */
.reach-section { background: var(--bg-alt, #f4faf7); }
.reach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 10px;
}
.reach-card {
  padding: 28px 24px;
  text-align: center;
  border-radius: 20px;
  background: var(--bg, #fff);
  border: 1px solid var(--border, #e3ebe7);
  transition: transform .3s ease, box-shadow .3s ease;
}
.reach-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(16, 60, 45, .10);
}
.reach-card .dot {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary, #1b6b52), var(--accent, #3fbf95));
}
.reach-card .dot .icon { width: 22px; height: 22px; }
.reach-card h4 { margin: 0 0 8px; font-size: 1.1rem; }
.reach-card p  { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--text-soft, #5b6b66); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .contact-main { grid-template-columns: 1fr; gap: 28px; }
  .contact-form-sticky { position: static; }
  .reach-grid { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .info-cards.info-cards--2x2 { grid-template-columns: 1fr; }
  .contact-form-card { padding: 26px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .info-card, .reach-card, .info-card::before, .ico { transition: none; }
}
/* ===== END CONTACT LAYOUT ===== */


/* ===== FORM SUCCESS ===== */
.form-success {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 10px;
  animation: successIn .5s cubic-bezier(.22,.8,.3,1);
}
.form-success[hidden] { display: none; }
.success-ico {
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary, #1b6b52), var(--accent, #3fbf95));
  box-shadow: 0 0 0 10px var(--accent-soft, #e3f4ee);
  animation: popIn .6s cubic-bezier(.34,1.56,.64,1) .1s both;
}
.form-success h3 { margin: 0 0 8px; font-size: 1.6rem; }
.form-success p  { margin: 0 0 20px; color: var(--text-soft, #5b6b66); }
.redirect-note {
  font-size: .9rem;
  color: var(--text-soft, #5b6b66);
  margin-bottom: 10px;
}
.redirect-note b { color: var(--primary, #1b6b52); font-size: 1.05rem; }
.redirect-bar {
  width: 100%; max-width: 280px; height: 6px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: var(--accent-soft, #e3f4ee);
  overflow: hidden;
}
.redirect-bar span {
  display: block; height: 100%; width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary, #1b6b52), var(--accent, #3fbf95));
}
.form-success.run .redirect-bar span { animation: fillBar 5s linear forwards; }

@keyframes fillBar   { to { width: 100%; } }
@keyframes successIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes popIn     { from { transform: scale(0); } to { transform: scale(1); } }

/* Validation error */
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #e04b4b; }
.field .err-msg { display: block; margin-top: 4px; font-size: .78rem; color: #e04b4b; }

/* Button loading state */
#submitBtn:disabled { opacity: .7; cursor: not-allowed; }

@media (prefers-reduced-motion: reduce) {
  .form-success, .success-ico { animation: none; }
}


/* ===================================================================
   MedQ — RESPONSIVE PATCH
   Append this ENTIRE block to the very end of landing_page.css.
   Because it comes last in the file, it safely overrides only the
   specific rules that needed fixing — nothing else in your CSS changes.
   Covers: 2560px ultra-wide  →  320px very small phones.
   =================================================================== */

/* ---- 0. Global overflow safety net ---- */
html, body{ max-width:100%; overflow-x:hidden; }
*{ min-width:0; } /* stops flex/grid children (cards, nav, form rows) from forcing horizontal scroll */
img, svg{ max-width:100%; height:auto; }

/* ---- 1. Ultra-wide / large desktop monitors (1440px+) ---- */
@media(min-width:1440px){
  .container{ max-width:1360px; }
  .hero-visual{ height:580px; }
}
@media(min-width:1800px){
  .container{ max-width:1440px; }
  .hero h1{ font-size:3.75rem; }
}

/* ---- 2. Small laptops / large tablets (992px–1199px) —
     smooths the jump from 2-column to 4-column grids ---- */
@media(min-width:992px) and (max-width:1199px){
  .reach-grid{ grid-template-columns:repeat(3,1fr); gap:18px; }
}

/* ---- 3. Tablets (768px–991px) —
     3-column "reach" grid was jumping straight to 1 column; add a 2-col step ---- */
@media(max-width:991px){
  .reach-grid{ grid-template-columns:repeat(2,1fr); }
}

/* ---- 4. Small tablets / large phones (600px–767px) ---- */
@media(max-width:767px){
  .hero-visual{ height:400px; }
  .cta-band{ padding:40px 20px; }
}

/* ---- 5. Phones (480px–599px) —
     fixed-width marquee/tilt cards (280px) were too tight against a
     360–420px viewport once container padding is subtracted ---- */
@media(max-width:599px){
  .feature-card{ flex:0 0 250px; padding:24px 20px; }
  .why-card{ flex:0 0 250px; padding:24px 20px; }
  .contact-form-card{ padding:26px 18px; }
  .reach-grid{ grid-template-columns:1fr; }
  .stats-strip .container{ gap:18px; padding:28px 16px; }
  .trust-chips{ grid-template-columns:repeat(2,1fr); }
}

/* ---- 6. Small phones (375px–479px) ---- */
@media(max-width:479px){
  .container{ padding:0 16px; }
  .hero-ctas .btn, .cta-band .hero-ctas .btn{ flex:1 1 100%; }
  .why-grid, .steps{ gap:16px; }
}

/* ---- 7. Very small phones (<375px — iPhone SE, older/budget Android) ---- */
@media(max-width:374px){
  .container{ padding:0 14px; }
  .hero h1{ font-size:1.85rem; }               /* frees up cramped navbar space */
  .feature-card, .why-card{ flex:0 0 220px; padding:20px 16px; }
  .btn{ padding:12px 18px; font-size:0.85rem; }
  .stats-strip .container{ grid-template-columns:repeat(2,1fr); }
  .scene-panel{ display:none; }
  .info-cards.info-cards--2x2{ grid-template-columns:1fr; }
}

/* ---- 8. Short-height / landscape phones (e.g. phone rotated sideways) ---- */
@media(max-height:480px) and (orientation:landscape){
  .hero{ min-height:auto; padding:90px 0 40px; }
  .hero-visual{ height:260px; }
  section{ padding:32px 0; }
}

/* ---- 9. Touch-friendly tap targets on any touch device, any screen size ---- */
@media(hover:none) and (pointer:coarse){
  .btn, .nav-links a, .faq-q, .theme-toggle, .hamburger{ min-height:44px; }
  .socials a{ width:40px; height:40px; }
  .info-card, .why-card{ cursor:default; } /* no lingering hover state on tap */
}

/* ---- 10. Respect OS-level reduced motion at every breakpoint (accessibility) ---- */
@media(prefers-reduced-motion:reduce){
  *, *::before, *::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
  

}


  /* Product + Company: only these two */
.footer-links{display:contents !important;}   /* tablet/desktop: original layout */

@media (max-width:599px){
  .footer-links{
    display:grid !important;
    grid-template-columns:auto auto !important;
    justify-content:start !important;
    column-gap:48px !important;
  }
}

/* Contact form honeypot: kept in the form for bots, never visible to people */
.hp-field{position:absolute !important; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden;}

/* Very large screens (2K / 4K at 100% scaling): scale the whole UI up so text and controls are not tiny
   zoom also scales vh units, so --vh100 (= one real screen height) is used for full-height parts. */
@media (min-width: 2200px) { html { zoom: 1.25; --vh100: 80vh; } }
@media (min-width: 3000px) { html { zoom: 1.6; --vh100: 62.5vh; } }
@media (min-width: 2200px) {
  .hero { min-height: clamp(560px, calc(var(--vh100) * .82), 760px); }
}
