/* Medimen Healthcare – public site styles */

:root {
  --teal-900: #073d48;
  --teal-800: #0a5462;
  --teal-700: #0b6e7f;
  --teal-600: #138597;
  --teal-500: #1c96a8;
  --teal-100: #dff1f4;
  --teal-50: #f1f9fa;
  --red-700: #a50f16;
  --red-600: #c1121b;
  --red-500: #d92a32;
  --ink: #0f2430;
  --text: #3a4b56;
  --muted: #6a7b86;
  --line: #e2e9ed;
  --bg: #ffffff;
  --bg-soft: #f6f9fb;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 36, 48, .06), 0 2px 8px rgba(15, 36, 48, .05);
  --shadow: 0 10px 30px rgba(15, 36, 48, .09);
  --shadow-lg: 0 24px 60px rgba(7, 61, 72, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Poppins", var(--font);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-900); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .72rem 1.3rem; border-radius: 999px; border: 2px solid transparent; font: 600 .95rem/1.2 var(--font); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-800); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--red-600); color: #fff; box-shadow: 0 6px 18px rgba(193, 18, 27, .25); }
.btn-accent:hover { background: var(--red-700); color: #fff; }
.btn-outline { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn-outline:hover { background: var(--teal-700); color: #fff; }
.btn-light { background: #fff; color: var(--teal-800); }
.btn-light:hover { background: var(--teal-50); color: var(--teal-900); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn .icon { width: 1.1em; height: 1.1em; }

/* Top bar */
.topbar { background: var(--teal-900); color: #cfe7ec; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; }
.topbar-contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar a, .topbar span { color: #cfe7ec; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: .8rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand-logo { max-height: 54px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--teal-600), var(--teal-800)); color: #fff; }
.brand-mark .icon { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font: 700 1.3rem/1.1 var(--font-head); color: var(--ink); letter-spacing: -.01em; }
.brand-text small { font-size: .74rem; color: var(--muted); }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: #9fc8d0; }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav > ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav > ul > li > a { display: block; padding: .6rem .8rem; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: 8px; }
.site-nav > ul > li > a:hover, .site-nav a[aria-current="page"] { color: var(--teal-700); }
.site-nav > ul > li > a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--red-600); border-radius: 2px; margin-top: 2px; }
.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: .2rem !important; }
.sub-toggle { background: none; border: 0; padding: .3rem; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.sub-menu { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.sub-menu a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--text); font-size: .93rem; }
.sub-menu a:hover { background: var(--teal-50); color: var(--teal-800); }
@media (hover: hover) and (min-width: 1041px) {
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .55rem; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% 10%, rgba(28, 150, 168, .55), transparent 60%), linear-gradient(120deg, var(--teal-900), var(--teal-700)); color: #fff; overflow: hidden; }
.hero-track { display: grid; }
.hero-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: clamp(460px, 68vh, 640px); opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide:has(.hero-bg)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 61, 72, .92) 0%, rgba(7, 61, 72, .72) 45%, rgba(7, 61, 72, .15) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 5rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; padding: .5rem 1rem .5rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 600; font-size: .92rem; letter-spacing: .01em; backdrop-filter: blur(6px); }
a.hero-badge:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.hero-badge .pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #ff5a61; flex: none; }
.hero-badge .pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #ff5a61; animation: pulse-ring 1.8s ease-out infinite; }
@keyframes pulse-ring { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero .eyebrow { color: #9fe0ea; }
.hero-title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; max-width: 760px; letter-spacing: -.02em; margin-bottom: .45em; }
.hero-text { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 620px; color: #d6eef2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 2rem; display: flex; gap: .5rem; z-index: 3; }
.hero-dot { width: 34px; height: 5px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; }
.hero-dot.is-active { background: #fff; }

/* Quick contact strip */
.quick-contact { position: relative; z-index: 4; margin-top: -2.4rem; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quick-item { display: flex; align-items: center; gap: .9rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.3rem; color: var(--ink); border: 1px solid var(--line); transition: transform .2s; min-width: 0; }
.quick-item:hover { transform: translateY(-3px); color: var(--ink); }
.quick-item > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.quick-item span { display: flex; flex-direction: column; min-width: 0; }
.quick-item small { color: var(--muted); font-size: .8rem; }
.quick-item strong { font-weight: 600; overflow-wrap: anywhere; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-compact { padding: 3rem 0; }
.section-tint { background: var(--bg-soft); }
.section-dark { background: linear-gradient(135deg, var(--teal-900), var(--teal-800)); color: #cfe7ec; }
.section-dark .section-title, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #9fe0ea; }
.section-head { max-width: 680px; margin: 0 auto 2.6rem; text-align: center; }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1rem; text-align: left; flex-wrap: wrap; }
.eyebrow { font: 600 .8rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--red-600); margin-bottom: .8rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -.015em; }
.section-title-sm { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 2rem; }
.section-lead { font-size: 1.08rem; color: var(--muted); }
.lead { font-size: 1.1rem; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro-media { position: relative; }
.intro-media > img, .intro-media > .media-fallback { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow-lg); }
.intro-badge { position: absolute; right: -1rem; bottom: -1.2rem; display: flex; align-items: center; gap: .6rem; background: var(--red-600); color: #fff; padding: .9rem 1.2rem; border-radius: var(--radius); font-weight: 600; box-shadow: var(--shadow); max-width: 80%; }
.stats { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; margin: 1.5rem 0 2rem; }
.stats div { border-left: 3px solid var(--teal-500); padding-left: .9rem; }
.stats dt { font: 700 1.6rem/1.1 var(--font-head); color: var(--teal-800); }
.stats dd { margin: .2rem 0 0; font-size: .9rem; color: var(--muted); }

/* Prose (rich text) */
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--teal-600); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.3rem; border-left: 4px solid var(--teal-500); background: var(--teal-50); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose-lg { font-size: 1.04rem; }
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-justify { text-align: justify; }
.ql-indent-1 { padding-left: 2em; }
.ql-indent-2 { padding-left: 4em; }

/* Grids and cards */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; color: var(--text); min-width: 0; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.card-media { display: block; aspect-ratio: 4 / 3; background: var(--teal-50); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card .card-media img { object-fit: contain; padding: 1rem; background: #fff; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem 1.25rem 1.35rem; flex: 1; }
.card-eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-600); font-weight: 600; margin: 0; }
.card-title { font: 600 1.08rem/1.35 var(--font-head); color: var(--ink); margin: 0; }
.card-title a { color: inherit; }
.card-meta { font-size: .85rem; color: var(--muted); margin: 0; }
.card-text { font-size: .93rem; color: var(--muted); margin: .2rem 0 .4rem; display: block; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--red-600); }
.card-link .icon { transition: transform .2s; }
.card:hover .card-link .icon { transform: translateX(4px); }
.media-fallback { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, var(--teal-50), var(--teal-100)); color: var(--teal-600); }
.media-fallback .icon { width: 48px; height: 48px; opacity: .65; }
.media-fallback-lg { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
.media-fallback-lg .icon { width: 84px; height: 84px; }

/* Features */
.feature { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 1.6rem; }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(28, 150, 168, .3); color: #9fe0ea; margin-bottom: 1.1rem; }
.feature-icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.feature p { margin: 0; font-size: .95rem; }

/* Partners */
.partners { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; align-items: center; }
.partners img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.partners a:hover img, .partners li:hover img { filter: none; opacity: 1; }
.partners span { font: 600 1.1rem var(--font-head); color: var(--muted); }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--teal-700), var(--teal-600)); color: #e3f4f7; padding: 3.2rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: .3rem; }
.cta-band p { margin: 0; max-width: 620px; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Inner page banner */
.page-banner { position: relative; background: linear-gradient(120deg, var(--teal-900), var(--teal-700)); color: #d6eef2; padding: clamp(2.6rem, 6vw, 4.2rem) 0; overflow: hidden; }
.page-banner.has-image { background: linear-gradient(90deg, rgba(7, 61, 72, .94), rgba(7, 61, 72, .7)), var(--banner) center / cover; }
.page-banner h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin: .4rem 0 .3rem; letter-spacing: -.02em; }
.page-banner .lead { max-width: 720px; margin: 0; color: #cfe7ec; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: #9fc8d0; }
.crumbs a { color: #cfe7ec; }
.crumbs a:hover { color: #fff; }

/* Layouts with sidebar */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.sidebar { display: grid; gap: 1.25rem; position: sticky; top: 100px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: #fff; }
.side-box h2 { font-size: 1.05rem; margin-bottom: .8rem; }
.side-box-accent { background: linear-gradient(140deg, var(--teal-800), var(--teal-600)); border: 0; color: #d6eef2; }
.side-box-accent h2 { color: #fff; }
.side-box-accent .btn { margin: .4rem 0 .9rem; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem .2rem; border-bottom: 1px solid var(--line); color: var(--text); font-size: .94rem; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a:hover, .side-links a[aria-current="page"] { color: var(--teal-700); }
.side-links a[aria-current="page"] { font-weight: 600; }
.side-links .icon { color: var(--teal-500); width: 1em; }
.side-phone { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 600; margin-top: .55rem; overflow-wrap: anywhere; }
.side-phone:hover { color: #fff; text-decoration: underline; }

/* Products page */
.toolbar { display: grid; gap: 1.1rem; margin-bottom: 2rem; }
.search { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .35rem .35rem 1.1rem; max-width: 560px; box-shadow: var(--shadow-sm); }
.search > .icon { color: var(--muted); }
.search input { flex: 1; border: 0; font: inherit; padding: .5rem 0; min-width: 0; background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--teal-500); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; color: var(--text); }
.chip:hover, .chip.is-active { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.result-note { color: var(--muted); }
.empty { text-align: center; padding: 3rem 1.5rem; background: var(--bg-soft); border-radius: var(--radius); border: 1px dashed var(--line); }

/* Product detail */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.product-media { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.product-media img { width: 100%; max-height: 520px; object-fit: contain; }
.product-brand { color: var(--muted); }
.product-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.product-details { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); max-width: 900px; }

/* Contact and forms */
.contact-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 2rem; align-items: start; }
.contact-layout-rev { grid-template-columns: minmax(0, 1fr) 340px; }
.contact-card { background: linear-gradient(150deg, var(--teal-700), var(--teal-500)); color: #e3f4f7; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); }
.contact-card h2 { color: #fff; font-size: 1.35rem; margin-bottom: 1.3rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list li > .icon { width: 40px; height: 40px; padding: 10px; border-radius: 11px; background: rgba(255, 255, 255, .16); color: #fff; }
.contact-list span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.contact-list small { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #b8e2e9; }
.contact-list a { color: #fff; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-card > h2 { font-size: 1.4rem; margin-bottom: .3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; margin-top: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; border: 0; margin: 0; padding: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .9rem; color: var(--ink); padding: 0; }
.req { color: var(--red-600); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); padding: .75rem .9rem; border: 1.5px solid #d3dee4; border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(28, 150, 168, .15); }
.field [aria-invalid="true"] { border-color: var(--red-500); }
.field-error { color: var(--red-600); font-size: .85rem; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .35rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: .6rem 1rem; border: 1.5px solid #d3dee4; border-radius: 10px; font-size: .92rem; transition: .2s; }
.choice input:checked + span { border-color: var(--teal-600); background: var(--teal-50); color: var(--teal-900); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.form-actions { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.form-privacy { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 10px; font-weight: 500; }
.form-status.is-ok { background: #e7f6ec; color: #17633a; border: 1px solid #bfe5cb; }
.form-status.is-error { background: #fdecec; color: var(--red-700); border: 1px solid #f6c9cb; }
.form-note { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 0; padding: .7rem 1rem; background: var(--teal-50); border-radius: 10px; font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: .8rem; }
.steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); font-weight: 700; }
.steps strong { color: var(--ink); }
.steps span { font-size: .92rem; color: var(--muted); }

/* Map */
.map-wrap { position: relative; height: 420px; background: var(--bg-soft); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-open { position: absolute; left: 20px; top: 20px; box-shadow: var(--shadow); }

/* 404 */
.notfound { padding: 7rem 0; }

/* Footer */
.site-footer { background: #072f38; color: #a9c9cf; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 2.5rem; padding-top: 4rem; padding-bottom: 3rem; }
.footer-about p { margin: 1.1rem 0; }
.footer-title { font-size: 1rem; color: #fff; margin-bottom: 1.1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a, .footer-contact a { color: #a9c9cf; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { color: var(--teal-500); margin-top: .25rem; }
.footer-contact span, .footer-contact a { overflow-wrap: anywhere; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.footer-social a:hover { background: var(--red-600); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; padding-bottom: 1.2rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #a9c9cf; }

/* Animations (all switched off by the prefers-reduced-motion rule below) */
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes ken-burns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes gradient-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes shine { from { left: -60%; } to { left: 130%; } }

.hero-slide.is-active .hero-bg { animation: ken-burns 9s ease-out both; }
.hero-slide.is-active .hero-content > * { animation: fade-up .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-slide.is-active .hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-slide.is-active .hero-content > :nth-child(3) { animation-delay: .24s; }
.hero-slide.is-active .hero-content > :nth-child(4) { animation-delay: .36s; }
.page-banner .container > * { animation: fade-up .7s cubic-bezier(.2, .7, .2, 1) both; }
.page-banner .container > :nth-child(2) { animation-delay: .1s; }
.page-banner .container > :nth-child(3) { animation-delay: .2s; }

.site-header { transition: box-shadow .3s ease, background .3s ease; }
.header-inner { transition: min-height .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 36, 48, .08); }
.site-header.is-scrolled .header-inner { min-height: 66px; }

.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn:hover::after { animation: shine .8s ease; }

.feature-icon { transition: transform .35s cubic-bezier(.2, .7, .2, 1), background .35s; }
.feature:hover .feature-icon { transform: translateY(-5px) rotate(-6deg); background: rgba(28, 150, 168, .5); }
.feature { transition: transform .35s ease, background .35s ease; }
.feature:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); }
.category-card .card-media img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.category-card:hover .card-media img { transform: scale(1.08); }

.cta-band { background: linear-gradient(120deg, var(--teal-800), var(--teal-600), var(--teal-700), var(--teal-500)); background-size: 300% 300%; animation: gradient-drift 14s ease-in-out infinite alternate; }

/* Scroll reveal (site.js adds .reveal only when motion is allowed) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1140px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: fixed; inset: var(--nav-top, 78px) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 20px 2rem; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a { padding: .85rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.02rem; }
  .site-nav > ul > li > a[aria-current="page"]::after { display: none; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .has-sub .sub-toggle { padding: .8rem; border-bottom: 1px solid var(--line); }
  .sub-menu { position: static; display: none; width: 100%; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; padding: .3rem 0 .3rem 1rem; }
  .has-sub.is-open .sub-menu { display: block; }
  .nav-cta { width: 100%; }
  .with-sidebar, .contact-layout, .contact-layout-rev { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .product-layout { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .topbar-hours, .topbar-social { display: none; }
  .intro-badge { right: .8rem; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar-contact a:last-child { display: none; }
  .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .hero-actions .btn, .cta-actions .btn, .product-actions .btn { width: 100%; }
  .map-wrap { height: 340px; }
  .site-nav { inset: var(--nav-top, 78px) 0 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
