/* ============================================================
   VMS Equipments — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary:    #fe0000;
  --primary-dk: #c20000;
  --dark:       #fe0000;
  --dark2:      #111;
  --ink:        #16302B;
  --ink-soft:   #444;
  --bg:         #f5f5f5;
  --surface:    #ffffff;
  --line:       #e5e5e5;
  --radius:     12px;
  --shadow:     0 8px 28px rgba(0,0,0,.10);
  --shadow-lg:  0 18px 45px rgba(0,0,0,.14);
  --container:  1200px;
  --font-head:  'Fraunces', Georgia, serif;
  --font-body:  'Public Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: #000; background: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin-bottom: .5em; }
h1 { font-size: clamp(2rem,4vw,3.2rem); }
h2 { font-size: clamp(1.6rem,3vw,2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin-bottom: 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section, .section { padding: 80px 0; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; padding: 14px 28px; border-radius: 40px; border: 2px solid transparent; cursor: pointer; transition: .3s; font-size: .95rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(254,0,0,.3); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-dark { background: var(--dark2); color: #fff; }
.btn-dark:hover { background: #333; transform: translateY(-3px); }

/* ── TOP BAR ── */
.top-bar { background: var(--dark); color: #fff; font-size: .85rem; padding: .55rem 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.top-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.top-left a { display: flex; align-items: center; gap: 8px; color: #fff; transition: .25s; }
.top-left a:hover { color: #8CF5D2; }
.top-left i { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.top-right { display: flex; gap: 10px; }
.top-right a { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); color: #fff; transition: .3s; }
.top-right a:hover { background: var(--primary); transform: translateY(-3px); }

/* ── NAVBAR ── */
.navbar-section { background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.08); padding: .85rem 0; position: sticky; top: 0; z-index: 400; }
.navbar-section .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { width: 56px; height: 56px; object-fit: contain; }
.logo-content h2 { font-size: 1.15rem; color: var(--primary); margin: 0; }
.logo-content p { font-size: .72rem; color: var(--ink-soft); margin: 0; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu li { position: relative; }
.nav-menu a { padding: .55rem 1rem; border-radius: 6px; font-weight: 600; font-size: .87rem; color: var(--ink); transition: .25s; display: block; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a.active { border-bottom: 2px solid var(--primary); border-radius: 0; }

/* Dropdown */
.has-dropdown .dropdown { position: absolute; top: calc(100% + 8px); left: 0; background: #fff; min-width: 240px; border-radius: 10px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--primary); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 100; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { padding: .65rem 1.2rem; font-size: .84rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.dropdown li:last-child a { border: none; }
.dropdown li a:hover { background: #fff5f5; color: var(--primary); padding-left: 1.5rem; }

.appointment-btn { background: var(--primary); color: #fff; padding: .7rem 1.4rem; border-radius: 30px; font-weight: 700; font-size: .85rem; display: flex; align-items: center; gap: .5rem; transition: .3s; }
.appointment-btn:hover { background: var(--primary-dk); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(254,0,0,.3); }

/* Hamburger */
.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--ink); padding: .4rem; }

/* Mobile Nav */
.mobile-nav { position: fixed; top: 0; right: -340px; width: 300px; height: 100vh; background: #fff; z-index: 999; box-shadow: -6px 0 30px rgba(0,0,0,.15); transition: right .35s ease; overflow-y: auto; }
.mobile-nav.open { right: 0; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; background: var(--dark); color: #fff; font-weight: 700; }
.mobile-nav-head button { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
.mobile-nav ul { padding: .8rem 0; }
.mobile-nav ul li a, .mob-toggle { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.4rem; font-size: .9rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); cursor: pointer; }
.mobile-nav ul li a:hover, .mob-toggle:hover { background: #fff5f5; color: var(--primary); }
.mob-dropdown ul { display: none; background: #f9f9f9; }
.mob-dropdown.open ul { display: block; }
.mob-dropdown ul li a { padding-left: 2.2rem; font-size: .84rem; }
.mob-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 998; }
.mob-overlay.show { display: block; }

/* ── PAGE BANNER ── */
.page-banner { background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%); padding: 3.5rem 0; text-align: center; position: relative; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: url('../images/pattern.png'); opacity: .04; }
.page-banner h1 { color: #fff; font-size: clamp(1.8rem,3.5vw,2.6rem); margin-bottom: .5rem; }
.page-banner .breadcrumb { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .84rem; color: rgba(255,255,255,.65); }
.page-banner .breadcrumb a { color: rgba(255,255,255,.65); transition: .2s; }
.page-banner .breadcrumb a:hover { color: var(--primary); }
.page-banner .breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ── HERO ── */
.hero { background: linear-gradient(135deg,#f5f2ec,#eaf5ff); padding: 100px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-copy .eyebrow { display: inline-block; background: var(--dark); color: #fff; font-size: .8rem; font-weight: 700; padding: .45rem 1.1rem; border-radius: 30px; margin-bottom: 1.2rem; }
.hero-copy h1 { color: var(--ink); font-size: clamp(2rem,3.5vw,2.8rem); margin-bottom: 1rem; }
.hero-copy .lede { color: var(--ink-soft); line-height: 1.8; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-figure { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-video video { width: 100%; height: auto; display: block; }
.vitals-strip { background: var(--dark); margin-top: 60px; }
.vitals-strip .container { display: grid; grid-template-columns: repeat(4,1fr); }
.vital { padding: 1.5rem 1.2rem; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.vital:last-child { border: none; }
.vital .value { display: block; font-size: 2rem; font-weight: 800; font-family: var(--font-head); color: #fff; }
.vital .label { font-size: .78rem; color: #fff; text-transform: uppercase; letter-spacing: .05em; }

/* ── SECTION HEAD ── */
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .eyebrow { color: var(--primary); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; display: block; }
.section-head h2 { color: var(--ink); margin-bottom: .6rem; }
.section-head p { max-width: 600px; margin: 0 auto; color: var(--ink-soft); }

/* ── PRODUCT CARDS ── */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .35s; border: 1px solid var(--line); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.product-card .card-img { position: relative; overflow: hidden; height: 240px; }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .card-img img { transform: scale(1.06); }
.product-card .card-body { padding: 1.4rem; }
.product-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: .4rem; }
.product-card p { font-size: .83rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: .8rem; }
.card-link { font-size: .8rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: .3rem; transition: gap .2s; }
.card-link:hover { gap: .6rem; }
.card-link::after { content: '→'; }
.cat-badge { position: absolute; top: 10px; left: 10px; background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700; padding: .25rem .7rem; border-radius: 20px; }

/* ── CATEGORY FILTER TABS ── */
.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.cat-tab { padding: .55rem 1.3rem; border-radius: 30px; border: 1.5px solid var(--line); font-size: .83rem; font-weight: 600; cursor: pointer; background: #fff; color: var(--ink-soft); transition: .25s; }
.cat-tab:hover, .cat-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── PRODUCT DETAIL ── */
.product-detail { background: #fff; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.pd-gallery .main-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; height: 440px; }
.pd-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.pd-thumb { height: 80px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: .2s; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--primary); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .eyebrow { color: var(--primary); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.pd-info h1 { font-size: 1.9rem; margin: .5rem 0 1rem; }
.pd-info p { line-height: 1.8; color: var(--ink-soft); margin-bottom: 1.2rem; }
.specs-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .88rem; }
.specs-table caption { font-weight: 700; text-align: left; margin-bottom: .5rem; color: var(--ink); font-size: 1rem; }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table tr:last-child { border: none; }
.specs-table th { width: 38%; text-align: left; padding: .7rem .5rem; font-weight: 600; color: var(--ink); background: #f5f5f5; }
.specs-table td { padding: .7rem .5rem; color: var(--ink-soft); }
.pd-actions { display: flex; gap: 14px; margin-top: 1.8rem; flex-wrap: wrap; }

/* ── GALLERY ── */
.gallery-grid { columns: 3; gap: 14px; }
.gallery-item { break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; }
.gallery-item img { width: 100%; display: block; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .g-ov { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: .3s; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.8rem; }
.gallery-item:hover .g-ov { opacity: 1; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 3000; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 10px; }
.lb-close { position: absolute; top: 1.5rem; right: 2rem; color: #fff; font-size: 2.2rem; cursor: pointer; background: none; border: none; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.feature-list { margin-top: 1.5rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; font-size: 17px; }
.feature-list li i { color: var(--primary); margin-top: .2rem; flex-shrink: 0; }

/* ── WHY CHOOSE US ── */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 2rem 1.7rem; border: 1.5px solid var(--line); transition: .3s; }
.why-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: var(--shadow); }
.why-num { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.why-card h3 { color: var(--ink); margin-bottom: .5rem; font-size: 1.05rem; }
.why-card p { font-size: .95rem; color: #000; line-height: 1.7; margin: 0; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.quote-card { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); position: relative; transition: .3s; }
.quote-card:hover { box-shadow: var(--shadow); }
.quote-card .mark { width: 38px; fill: #f5e0e0; margin-bottom: .8rem; }
.quote-card .stars { color: #f59e0b; font-size: 1rem; margin-bottom: .8rem; }
.quote-card p { font-size: .97rem; color: #000; line-height: 1.75; margin-bottom: 1rem; }
.quote-card .who { font-size: .78rem; font-weight: 700; color: var(--ink); }

/* ── CTA BAND ── */
.cta-band { background: var(--primary); color: #fff; text-align: center; padding: 70px 0; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; font-size: clamp(1.5rem,3vw,2.2rem); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 650px; margin: 0 auto 2rem; line-height: 1.8; }
.cta-band .btn-primary { background: #fff; color: var(--primary); }
.cta-band .btn-primary:hover { background: var(--dark2); color: #fff; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.contact-info-box h3 { color: var(--ink); margin-bottom: 1.5rem; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.ci-ico { width: 44px; height: 44px; border-radius: 10px; background: #fff5f5; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.ci-text strong { display: block; font-size: .84rem; color: var(--ink); margin-bottom: .25rem; }
.ci-text a, .ci-text p { font-size: .84rem; color: var(--ink-soft); }
.ci-text a:hover { color: var(--primary); }
.contact-map { height: 260px; border-radius: var(--radius); overflow: hidden; margin-top: 1.5rem; border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 100%; border: none; }
.contact-form-card { background: var(--bg); border-radius: var(--radius); padding: 2.2rem; }
.contact-form-card h3 { margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .9rem; }
.fg label { font-size: .78rem; font-weight: 600; color: var(--ink); }
.fg input, .fg select, .fg textarea { border: 1.5px solid var(--line); border-radius: 8px; padding: .72rem 1rem; font-family: var(--font-body); font-size: .88rem; color: var(--ink); outline: none; transition: border-color .25s; background: #fff; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--primary); }
.fg textarea { min-height: 110px; resize: vertical; }
.form-ok  { display: none; background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; padding: .9rem 1.1rem; border-radius: 8px; font-size: .87rem; margin-top: .7rem; }
.form-err { display: none; background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; padding: .9rem 1.1rem; border-radius: 8px; font-size: .87rem; margin-top: .7rem; }

/* ── FOOTER ── */
.footer { background: var(--dark2); color: #fff; padding: 80px 0 0; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), #ff5a5a, #fff, var(--primary)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.3fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-logo img { width: 68px; height: 68px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px; }
.footer-logo h3 { font-size: 1.3rem; color: #fff; margin: 0; }
.footer-logo span { font-size: .76rem; color: #bbb; }
.footer p { color: #bbb; line-height: 1.85; margin-bottom: 14px; font-size: .88rem; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { color: #ccc; font-size: .86rem; display: flex; align-items: center; gap: 9px; transition: .3s; }
.footer ul li a:hover { color: #fff; padding-left: 6px; }
.footer ul li a i { color: var(--primary); font-size: .78rem; }
.contact-info li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-info i { width: 40px; height: 40px; min-width: 40px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #fff; }
.contact-info strong { display: block; color: #fff; margin-bottom: 4px; font-size: .84rem; }
.contact-info span, .contact-info a { color: #ccc; font-size: .83rem; line-height: 1.65; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; background: #222; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: .35s; }
.footer-social a:hover { background: var(--primary); transform: translateY(-5px); box-shadow: 0 8px 20px rgba(254,0,0,.3); }
.footer-bottom { margin-top: 60px; background: #080808; border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { margin: 0; color: #888; font-size: .8rem; }
.footer-bottom a { color: var(--primary); font-weight: 600; }

/* ── WHATSAPP FLOAT ── */
.wa-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 998; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 6px 22px rgba(37,211,102,.45); transition: transform .3s; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }

/* ── ALERTS ── */
.alert { padding: .9rem 1.2rem; border-radius: 8px; font-size: .88rem; margin-bottom: 1rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: #dbeafe; color: #1e3a8a; border: 1px solid #93c5fd; }

/* ── RESPONSIVE ── */
@media(max-width:1100px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .vitals-strip .container { grid-template-columns: 1fr 1fr; }
  .hamburger { display: block; }
  .navbar, .header-btn { display: none; }
  .why-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
  .pd-grid { grid-template-columns: 1fr; }
}
@media(max-width:768px) {
  section, .section { padding: 60px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid, .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .top-left { gap: 12px; }
  .vitals-strip .container { grid-template-columns: 1fr 1fr; }
  .pd-thumbs { grid-template-columns: repeat(4,1fr); }
}
@media(max-width:480px) {
  .hero-actions { flex-direction: column; }
  .vitals-strip .container { grid-template-columns: 1fr; }
  .pd-thumbs { grid-template-columns: repeat(3,1fr); }
}
