/* ==========================================================
   Medifor Solutions - custom styles (loaded after template CSS)
   Brand: deep teal #226b88, mint #5bbf9f (from logo)
   ========================================================== */
:root {
    --brand: #226b88;
    --brand-dark: #16324a;
    --brand-deep: #0f2536;
    --mint: #5bbf9f;
    --mint-dark: #3c9c93;
    --ink: #0f1d2b;
    --text: #44525f;
    --muted: #6c7a86;
    --line: #e2e9ee;
    --soft: #f3f8fa;
    --white: #ffffff;
    --danger: #c0392b;
    --success: #1e8e5a;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(18, 52, 74, .08);
    --shadow-lg: 0 20px 50px rgba(18, 52, 74, .14);
}

body { color: var(--text); }
h1, h2, h3, h4 { color: var(--ink); }
a { color: var(--brand); }
a:hover { color: var(--mint-dark); }
img { max-width: 100%; height: auto; }
.centred { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--brand); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
:focus-visible { outline: 3px solid rgba(91, 191, 159, .6); outline-offset: 2px; }

/* ---------- header tweaks ---------- */
.main-header.style-two .header-top { background: var(--brand-dark); }
.main-header .header-top .iso-badge { color: #cfe9e1; font-size: 13px; margin-right: 6px; }
.main-header .header-top .iso-badge i { color: var(--mint); margin-right: 4px; }
.main-header.fixed-header .logo-box img { max-height: 60px; }
.main-header .main-menu .navigation > li.current > a,
.main-header .main-menu .navigation > li:hover > a { color: var(--brand) !important; }
.main-header.style-two .header-bottom .info-box .btn-box a,
.main-header .btn-box a { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
.main-header .btn-box a:hover { background: var(--mint-dark) !important; border-color: var(--mint-dark) !important; }
.main-menu .navigation > li > ul > li > a:hover,
.main-menu .navigation > li > ul > li > ul > li > a:hover { color: var(--brand) !important; }
.main-menu .navigation > li > ul { min-width: 270px; }
.main-menu .navigation > li > ul > li > ul { min-width: 230px; }
.preloader { background-color: #fff; }

/* ---------- buttons ---------- */
.btn-solid, .btn-outline, .btn-ghost, .btn-mini {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    font-weight: 600; font-size: 15px; line-height: 1.2; border-radius: 40px;
    padding: 14px 28px; transition: all .25s ease; text-decoration: none; cursor: pointer; border: 2px solid transparent;
}
.btn-solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-solid:hover { background: var(--mint-dark); border-color: var(--mint-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--brand-dark); }
.btn-mini { padding: 8px 16px; font-size: 13px; background: var(--soft); color: var(--brand); border-color: var(--line); }
.btn-mini:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.link-arrow { font-weight: 600; font-size: 14px; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }
.btn-outline.wa { color: #1d9b54; border-color: #1d9b54; }
.btn-outline.wa:hover { background: #1d9b54; color: #fff; }

/* ---------- sections ---------- */
.section { padding: 90px 0; position: relative; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--mint-dark); margin-bottom: 12px; }
.section h2 { font-size: 36px; line-height: 1.25; font-weight: 700; margin-bottom: 18px; }
.section-head { max-width: 760px; margin: 0 auto 50px; }
.section-head p { font-size: 16px; line-height: 1.8; }
.section-head.with-link { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section-head.with-link h2 { margin-bottom: 0; }
.section p { font-size: 16px; line-height: 1.8; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg, rgba(15,37,54,.95) 0%, rgba(22,50,74,.88) 40%, rgba(34,107,136,.55) 75%, rgba(91,191,159,.25) 100%); }
.hero__inner { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.hero__content { max-width: 720px; }
.hero .eyebrow { color: var(--mint); }
.hero h1 { color: #fff; font-size: 52px; line-height: 1.15; font-weight: 700; margin-bottom: 22px; }
.hero__lead { color: #dbe9ef; font-size: 18px; line-height: 1.75; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 0; margin: 0; list-style: none; }
.hero__badges li { color: #e8f3f6; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.hero__badges i { color: var(--mint); }

/* ---------- intro / about ---------- */
.intro__media { position: relative; margin-right: 30px; }
.intro__media > img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 570/460; }
.intro__stamp { position: absolute; right: -24px; bottom: -24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.intro__stamp img { width: 64px; height: 64px; }
.intro__stamp span { font-weight: 700; color: var(--brand-dark); font-size: 15px; line-height: 1.3; }
.intro__text { padding-left: 20px; }
.intro__text .btn-solid { margin-top: 10px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 24px; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; font-size: 16px; line-height: 1.6; color: var(--text); }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 2px;
    width: 22px; height: 22px; border-radius: 50%; background: rgba(91,191,159,.18); color: var(--mint-dark); font-size: 11px; display: flex; align-items: center; justify-content: center; }
.check-list.compact li { font-size: 15px; margin-bottom: 8px; }
.check-list.two-col { columns: 2; column-gap: 30px; }
.check-list.two-col li { break-inside: avoid; }

/* ---------- flow (manifold to bed) ---------- */
.flow { background: var(--soft); }
.flow__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: s; position: relative; }
.flow__steps::before { content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 4px; border-radius: 4px;
    background: repeating-linear-gradient(90deg, #c8763d 0 18px, #e3a06b 18px 26px); opacity: .7; }
.flow__step { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 24px 26px; text-align: center; transition: transform .25s, box-shadow .25s; }
.flow__step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.flow__num { position: absolute; top: 14px; right: 16px; font-weight: 800; font-size: 30px; color: rgba(34,107,136,.12); }
.flow__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--mint)); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 24px; position: relative; z-index: 1; box-shadow: 0 0 0 8px #fff; }
.flow__step h3 { font-size: 20px; margin-bottom: 10px; }
.flow__step h3 a { color: var(--ink); }
.flow__step h3 a:hover { color: var(--brand); }
.flow__step p { font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------- services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: all .25s; }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card i { font-size: 28px; color: var(--brand); margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card p { font-size: 15px; line-height: 1.7; margin: 0; }
.services .col-lg-5 { padding-right: 40px; }

/* ---------- category cards ---------- */
.categories { background: var(--soft); }
.cat-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: calc(100% - 30px); margin-bottom: 30px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card__img { display: block; overflow: hidden; aspect-ratio: 4/3; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.cat-card__body h3 { font-size: 22px; margin-bottom: 10px; }
.cat-card__body h3 a { color: var(--ink); }
.cat-card__body p { font-size: 15px; line-height: 1.7; }
.cat-card__body .link-arrow { margin-top: auto; }
.tag-list { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { display: inline-block; font-size: 13px; padding: 6px 12px; border-radius: 30px; background: var(--soft); color: var(--brand-dark); border: 1px solid var(--line); transition: all .2s; }
.tag-list a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- product cards ---------- */
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; display: flex; flex-direction: column; height: calc(100% - 30px); transition: all .25s; }
.product-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-4px); }
.product-card__img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--soft); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--mint-dark); font-weight: 700; margin-bottom: 6px; }
.product-card h3 { font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--brand); }
.product-card p { font-size: 14px !important; line-height: 1.65 !important; margin-bottom: 14px; color: var(--muted); }
.product-card__actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---------- why ---------- */
.why-card { text-align: center; padding: 34px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: calc(100% - 30px); margin-bottom: 30px; transition: all .25s; }
.why-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.why-card i { font-size: 34px; color: var(--mint-dark); margin-bottom: 16px; }
.why-card h3 { font-size: 19px; margin-bottom: 10px; }
.why-card p { font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(110deg, var(--brand-dark), var(--brand) 60%, var(--mint-dark)); padding: 56px 0; color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 680px; }
.cta-strip h2 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.cta-strip p { color: #dcecf1; font-size: 16px; line-height: 1.7; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip .btn-solid { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta-strip .btn-solid:hover { background: var(--mint); border-color: var(--mint); color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-deep); color: #b9c8d3; padding: 70px 0 0; }
.site-footer .footer-col { margin-bottom: 36px; }
.site-footer .footer-logo img { background: #fff; border-radius: 50%; padding: 4px; margin-bottom: 18px; }
.site-footer p { color: #b9c8d3; font-size: 15px; line-height: 1.8; }
.site-footer h3 { color: #fff; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--mint); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; font-size: 15px; }
.site-footer ul a { color: #b9c8d3; }
.site-footer ul a:hover { color: var(--mint); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--mint); margin-top: 5px; width: 16px; }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom-bar p { margin: 0; font-size: 14px; }
.footer-bottom-bar a { color: #b9c8d3; }
.footer-bottom-bar a:hover { color: var(--mint); }
.scroll-top { display: none !important; }

/* ---------- page banner ---------- */
.page-banner { position: relative; padding: 70px 0 64px; color: #fff; overflow: hidden;
    background: radial-gradient(circle at 85% 20%, rgba(91,191,159,.35), transparent 45%), linear-gradient(115deg, var(--brand-deep), var(--brand-dark) 45%, var(--brand)); }
.page-banner::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(255,255,255,.05); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: 44px; line-height: 1.2; margin: 10px 0 12px; font-weight: 700; }
.page-banner p { color: #d6e7ee; font-size: 17px; line-height: 1.7; max-width: 820px; margin: 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.crumbs li { color: #cfe3ea; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255,255,255,.4); }
.crumbs a { color: var(--mint); }
.crumbs a:hover { color: #fff; }

/* ---------- facts / vision ---------- */
.facts { background: var(--soft); }
.fact-card { background: #fff; border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); height: calc(100% - 30px); margin-bottom: 30px; }
.fact-card__icon { width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--mint)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.fact-card h3 { font-size: 21px; margin-bottom: 10px; }
.fact-card p { font-size: 15px !important; margin: 0; }
.vision-card { border-radius: var(--radius); padding: 40px 36px; background: var(--brand-dark); color: #d6e7ee; height: calc(100% - 30px); margin-bottom: 30px; }
.vision-card.alt { background: linear-gradient(135deg, var(--brand), var(--mint-dark)); }
.vision-card i { font-size: 34px; color: var(--mint); margin-bottom: 16px; }
.vision-card.alt i { color: #fff; }
.vision-card h2 { color: #fff; font-size: 28px; }
.vision-card p { color: #e1eef3; margin: 0; }
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.range-col { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.range-col h3 { font-size: 20px; margin-bottom: 14px; }
.range-col h3 a { color: var(--ink); }
.range-col ul { list-style: none; padding: 0; margin: 0; }
.range-col li { margin-bottom: 8px; }
.range-col li a { color: var(--text); font-size: 15px; }
.range-col li a i { color: var(--mint-dark); margin-right: 4px; }
.range-col li a:hover { color: var(--brand); }

/* ---------- catalogue ---------- */
.cat-nav { position: sticky; top: 110px; margin-bottom: 30px; }
.cat-nav__title { font-size: 20px !important; margin-bottom: 14px !important; }
.cat-nav__group { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.cat-nav__group summary { list-style: none; cursor: pointer; padding: 14px 40px 14px 16px; position: relative; font-weight: 700; }
.cat-nav__group summary::-webkit-details-marker { display: none; }
.cat-nav__group summary::after { content: "\f107"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; right: 16px; top: 14px; color: var(--muted); transition: transform .2s; }
.cat-nav__group[open] summary::after { transform: rotate(180deg); }
.cat-nav__group summary a { color: var(--ink); }
.cat-nav__group summary a.active, .cat-nav__group summary a:hover { color: var(--brand); }
.cat-nav__group ul { list-style: none; margin: 0; padding: 0 16px 12px; }
.cat-nav__group li a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--text); font-size: 15px; }
.cat-nav__group li a:hover, .cat-nav__group li a.active { background: var(--soft); color: var(--brand); }
.cat-nav__group li a.active { font-weight: 700; box-shadow: inset 3px 0 0 var(--mint); }
.cat-nav__cta { margin-top: 18px; padding: 24px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; }
.cat-nav__cta h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.cat-nav__cta p { color: #d6e7ee; font-size: 14px !important; line-height: 1.6 !important; }
.cat-nav__cta .btn-solid { background: #fff; color: var(--brand-dark); border-color: #fff; padding: 10px 22px; font-size: 14px; }
.cat-nav__cta .btn-solid:hover { background: var(--mint); color: #fff; border-color: var(--mint); }
.cat-block { margin-bottom: 40px; }
.cat-block__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; }
.cat-block__head h2 { font-size: 26px !important; margin: 0 !important; }
.cat-block__head h2 a { color: var(--ink); }
.sub-title { font-size: 20px !important; margin: 10px 0 16px !important; }
.sub-title a { color: var(--brand-dark); }
.sub-title span { color: var(--muted); font-weight: 400; font-size: 15px; }
.lead-block { background: var(--soft); border-left: 4px solid var(--mint); border-radius: 0 12px 12px 0; padding: 22px 26px; margin-bottom: 34px; }
.lead-block p:last-child { margin-bottom: 0; }
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 48px; }
.sub-tile { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: all .25s; }
.sub-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sub-tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.sub-tile__name { display: block; padding: 12px 14px 2px; font-weight: 700; color: var(--ink); font-size: 16px; }
.sub-tile__count { display: block; padding: 0 14px 12px; color: var(--muted); font-size: 13px; }
.sub-section { margin-bottom: 30px; }
.sub-intro { margin-bottom: 22px; }
.also-see { margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--line); }
.also-see h2 { font-size: 22px !important; }

/* ---------- product detail ---------- */
.pd-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft); margin-bottom: 30px; }
.pd-media img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.pd-summary { padding-left: 20px; }
.pd-cat { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--mint-dark); margin-bottom: 10px; }
.pd-cat i { font-size: 11px; }
.pd-name { font-size: 32px !important; margin-bottom: 14px !important; }
.pd-short { font-size: 17px !important; color: var(--text); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.pd-assure { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pd-assure li { font-size: 15px; color: var(--text); }
.pd-assure i { color: var(--brand); width: 22px; }
.pd-info { margin-top: 40px; }
.pd-block { margin-bottom: 36px; }
.pd-block h2 { font-size: 24px !important; margin-bottom: 16px !important; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.app-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.app-list li { background: var(--soft); border-radius: 10px; padding: 14px 16px; font-size: 15px; color: var(--ink); }
.app-list i { color: var(--brand); margin-right: 8px; }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-table th, .spec-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; text-align: left; }
.spec-table th { width: 32%; background: var(--soft); color: var(--ink); font-weight: 700; }
.pd-form { position: sticky; top: 110px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; margin-bottom: 30px; border-top: 4px solid var(--mint); }
.pd-form h2 { font-size: 22px !important; margin-bottom: 18px !important; }
.related { margin-top: 30px; padding-top: 40px; border-top: 1px solid var(--line); }
.related h2 { font-size: 28px !important; margin-bottom: 26px !important; }
.rich-text p { margin-bottom: 14px; }
.rich-text ul { padding-left: 20px; margin-bottom: 16px; }
.rich-text li { margin-bottom: 8px; line-height: 1.7; }

/* ---------- forms ---------- */
.enquiry-form .form-group { margin-bottom: 16px; position: relative; }
.enquiry-form input[type=text], .enquiry-form input[type=email], .enquiry-form input[type=tel], .enquiry-form textarea, .enquiry-form select {
    width: 100%; border: 1px solid #d5dee5; border-radius: 10px; padding: 13px 16px; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; height: auto; line-height: 1.5; }
.enquiry-form textarea { min-height: 110px; resize: vertical; }
.enquiry-form select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 42px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23226b88' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.enquiry-form select:disabled { background-color: #f3f6f8; color: var(--muted); cursor: not-allowed; }
.enquiry-form select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(34,107,136,.12); outline: none; }
.enquiry-form.has-catalogue .form-group { margin-bottom: 12px; }
.enquiry-form.has-catalogue textarea { min-height: 84px; }
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(34,107,136,.12); outline: none; }
.enquiry-form .is-invalid { border-color: var(--danger) !important; }
.enquiry-form .field-error { display: block; color: var(--danger); font-size: 13px; margin-top: 5px; min-height: 0; }
.enquiry-form .field-error:empty { display: none; }
.enquiry-form .hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form .form-consent { font-size: 13px !important; line-height: 1.6 !important; color: var(--muted); margin-bottom: 14px; }
.enquiry-form .enquiry-btn { width: 100%; background: var(--brand); color: #fff; border: 0; border-radius: 40px; padding: 15px 24px; font-weight: 700; font-size: 16px; cursor: pointer; transition: background .2s; }
.enquiry-form .enquiry-btn:hover { background: var(--mint-dark); }
.enquiry-form .enquiry-btn:disabled { opacity: .7; cursor: wait; }
.form-status { font-size: 15px; border-radius: 10px; }
.form-status:empty { display: none; }
.form-status.success, .form-status.error { padding: 14px 16px; margin-bottom: 14px; }
.form-status.success { background: #e7f6ee; color: var(--success); border: 1px solid #bfe6d0; }
.form-status.error { background: #fdecea; color: var(--danger); border: 1px solid #f5c6c0; }
.enquiry-form.is-done .form-group:not(.message-btn), .enquiry-form.is-done .form-consent { opacity: .45; }

/* contact page */
.contact-info { padding-right: 30px; margin-bottom: 30px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .ci { flex: 0 0 50px; height: 50px; border-radius: 12px; background: var(--soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.contact-list h3 { font-size: 17px; margin: 0 0 4px; }
.contact-list p, .contact-list a { font-size: 15px; margin: 0; }
.contact-form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 38px; border-top: 4px solid var(--mint); }
.contact-form-card h2 { font-size: 28px; margin-bottom: 6px; }

/* ---------- enquiry modal ---------- */
.enquiry-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.enquiry-modal.is-open { opacity: 1; }
.enquiry-modal[hidden] { display: none; }
.enquiry-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 25, 38, .65); backdrop-filter: blur(2px); }
.enquiry-modal__dialog { position: relative; background: #fff; border-radius: 18px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px 30px 24px; box-shadow: 0 30px 70px rgba(0,0,0,.3);
    transform: translateY(16px); transition: transform .25s; }
.enquiry-modal.is-open .enquiry-modal__dialog { transform: none; }
.enquiry-modal__close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer; }
.enquiry-modal__close:hover { background: var(--line); }
.enquiry-modal__head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; padding-right: 30px; }
.enquiry-modal__head h2 { font-size: 23px; margin: 0 0 4px; }
.enquiry-modal__sub { font-size: 14px; line-height: 1.5; margin: 0; color: var(--muted); }
body.modal-open-enq { overflow: hidden; }

/* ---------- floating buttons ---------- */
.float-actions { position: fixed; right: 18px; bottom: 24px; z-index: 9990; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff !important; font-size: 21px; box-shadow: 0 8px 20px rgba(0,0,0,.18); transition: transform .2s; }
.float-btn:hover { transform: scale(1.07); }
.float-wa { background: #25d366; }
.float-call { background: var(--mint-dark); }
.float-enquire { background: var(--brand); width: auto; border-radius: 30px; padding: 0 20px; gap: 8px; font-size: 16px; font-weight: 700; }
.float-enquire span { font-size: 15px; }

/* ---------- legal / thanks ---------- */
.legal-body { max-width: 900px; margin: 0 auto; }
.legal-body h2 { font-size: 24px !important; margin: 34px 0 12px !important; }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.8; }
.thanks-box { max-width: 620px; margin: 0 auto; text-align: center; padding: 20px 0; }
.thanks-box > i { font-size: 64px; color: var(--mint-dark); margin-bottom: 18px; }
.thanks-box .btn-solid, .thanks-box .btn-outline { margin: 8px 4px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1199px) {
    .hero h1 { font-size: 44px; }
    .flow__steps { grid-template-columns: repeat(2, 1fr); }
    .flow__steps::before { display: none; }
}
@media (max-width: 991px) {
    .section { padding: 70px 0; }
    .section h2 { font-size: 30px; }
    .hero { min-height: 0; }
    .hero h1 { font-size: 38px; }
    .intro__media { margin: 0 0 50px; }
    .intro__stamp { right: 12px; bottom: -20px; }
    .intro__text, .pd-summary { padding-left: 0; }
    .services .col-lg-5 { padding-right: 15px; margin-bottom: 30px; }
    .range-grid { grid-template-columns: 1fr; }
    .cat-nav, .pd-form { position: static; }
    .contact-info { padding-right: 0; }
    .page-banner h1 { font-size: 36px; }
    .main-header .btn-box { margin: 10px 0 15px; }
    .main-header .header-top .iso-badge { display: none; }
}
@media (max-width: 767px) {
    .section { padding: 56px 0; }
    .section h2 { font-size: 26px; }
    .hero__inner { padding-top: 56px; padding-bottom: 56px; }
    .hero h1 { font-size: 31px; }
    .hero__lead { font-size: 16px; }
    .flow__steps, .services__grid, .app-list { grid-template-columns: 1fr; }
    .sub-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .check-list.two-col { columns: 1; }
    .page-banner { padding: 48px 0 44px; }
    .page-banner h1 { font-size: 29px; }
    .page-banner p { font-size: 15px; }
    .cta-strip h2 { font-size: 26px; }
    .contact-form-card { padding: 26px 20px; }
    .pd-name { font-size: 26px !important; }
    .spec-table th { width: 40%; }
    .float-enquire span { display: none; }
    .float-enquire { width: 52px; padding: 0; }
    .enquiry-modal__dialog { padding: 24px 18px 18px; }
    .enquiry-modal__head img { display: none; }
    .main-header .header-top .header-info li:nth-child(2) { display: none; }
    .footer-bottom-bar { justify-content: center; text-align: center; }
}
@media (max-width: 420px) {
    .sub-grid { grid-template-columns: 1fr; }
    .hero__actions .btn-solid, .hero__actions .btn-ghost { width: 100%; }
}

/* ---------- mobile header (template hides the menu for style-two below 992px) ---------- */
@media (max-width: 991px) {
    .main-header.style-two .header-bottom { position: relative; background: #fff; }
    .main-header.style-two .header-bottom .info-box { display: block !important; float: none !important; width: 100%; position: relative !important; left: auto !important; right: auto !important; top: auto !important; }
    .main-header.style-two .header-bottom .nav-outer { min-height: 72px; }
    .main-header.style-two .header-bottom .logo-box { padding: 8px 0 !important; }
    .main-header .logo-box img, .main-header.fixed-header .logo-box img { max-height: 56px; }
    .main-header.style-two .main-menu .navbar-header { padding: 14px 0; }
    .main-header.style-two .main-menu .navbar-header .navbar-toggle { background: var(--brand) !important; border-radius: 8px !important; padding: 8px 6px; }
    .main-header.style-two .main-menu .navbar-header .navbar-toggle .icon-bar { width: 24px; margin: 5px; }
    .main-menu .navbar-collapse { max-height: 70vh !important; }
    .main-menu .navbar-collapse > .navigation { background: var(--brand-dark) !important; border: 0 !important; border-radius: 10px; overflow: hidden; }
    .main-menu .navbar-collapse > .navigation > li { border-bottom: 1px solid rgba(255,255,255,.1) !important; }
    .main-menu .navbar-collapse > .navigation > li > a { color: #fff !important; padding: 12px 16px !important; }
    .main-menu .navbar-collapse > .navigation > li.current > a { color: var(--mint) !important; }
    .main-menu .navbar-collapse > .navigation > li > ul,
    .main-menu .navbar-collapse > .navigation > li > ul > li > ul { background: #0f2536 !important; }
    .main-menu .navbar-collapse > .navigation > li > ul > li > a,
    .main-menu .navbar-collapse > .navigation > li > ul > li > ul > li > a { color: #cfe0e8 !important; padding-left: 26px !important; }
    .main-menu .navbar-collapse > .navigation > li > ul > li > ul > li > a { padding-left: 40px !important; }
    .main-menu .navbar-collapse > .navigation li.dropdown .dropdown-btn { color: #fff; }
    .main-header.style-two .header-bottom .info-box .btn-box { display: block; margin: 12px 0 16px; text-align: center; }
    .main-header.style-two .header-bottom .info-box .btn-box a { display: block; }
    .main-header .header-top .header-nav { display: none !important; }
    .main-header .header-top .header-info { float: none !important; text-align: center; }
    .main-header .header-top .header-info li { display: inline-block !important; margin: 0 8px !important; }
}
