:root {
  /* Brand colours taken from the logo */
  --red: #e31c1c;
  --red-d: #c01616;
  --blue: #00a0e3;
  --navy: #393185;
  --dark: #1a1646;
  --dark2: #262060;
  --text: #22264a;
  --muted: #5d6285;
  --light: #eef7fc;
  --border: #dde6f0;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(26, 22, 70, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', system-ui, sans-serif; color: var(--text); line-height: 1.65; background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 700; }
h1, h2 { font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
p + p { margin-top: 14px; }
i[data-icon] { display: inline-flex; font-style: normal; }
img.photo { border-radius: var(--radius); }

.container { width: min(1200px, 92%); margin-inline: auto; }
section { padding: 90px 0; }
.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); color: #b9bad0; }
.bg-dark h2, .bg-dark h3 { color: #fff; }

.tag { display: inline-block; color: var(--blue); font-weight: 700; letter-spacing: 2px; font-size: .85rem; text-transform: uppercase; margin-bottom: 10px; }
.tag::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head p { color: var(--muted); }
.bg-dark .section-head p { color: #b9bad0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff; padding: 14px 28px; border-radius: 6px; border: 2px solid transparent; font: inherit; font-weight: 600; cursor: pointer; transition: .25s; }
.btn:hover { background: var(--red-d); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline:hover { background: #fff; color: var(--dark); }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Top bar + header */
.topbar { background: var(--dark); color: #c8c9dc; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; flex-wrap: wrap; }
.topbar span { display: inline-flex; gap: 22px; align-items: center; }
.topbar a { display: inline-flex; gap: 6px; align-items: center; }
.topbar a:hover { color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 20px rgba(0, 0, 0, .06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > li { position: relative; }
.nav > li > a { font-weight: 600; padding: 28px 0; display: block; }
.nav > li > a:hover, .nav > li > a.active { color: var(--red); }
.dropdown { position: absolute; top: 100%; left: -20px; min-width: 270px; background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--red); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.nav > li:hover > .dropdown, .nav > li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown li { position: relative; }
.dropdown .has-sub::after { content: '›'; float: right; margin-left: 14px; color: var(--muted); font-size: 1.1rem; line-height: 1.4; }
.dropdown .sub { top: -13px; left: 100%; min-width: 300px; }
.dropdown li:hover > .sub, .dropdown li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 8px 22px; font-size: .95rem; }
.dropdown a:hover { color: var(--red); background: var(--light); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.9rem; cursor: pointer; color: var(--dark); }

@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 4% 20px; box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav > li > a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .dropdown { display: none; }
  .nav .btn { margin-top: 14px; width: 100%; }
}
@media (max-width: 640px) { .topbar span:last-child { display: none; } }

/* Hero */
.hero, .page-banner {
  background:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(circle at 75% 50%, var(--navy), var(--dark) 65%);
  color: #fff;
}
.hero { position: relative; overflow: hidden; padding: 0; }
.slide { display: none; min-height: 600px; align-items: center; }
.slide.active { display: flex; animation: fade .8s; }
.slide .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); text-transform: uppercase; margin-bottom: 20px; }
.hero h1 span { color: var(--red); }
.hero p { color: #c8c9dc; font-size: 1.1rem; max-width: 520px; margin-bottom: 32px; }
.hero-img { position: relative; }
.hero-img::before { content: ''; position: absolute; inset: 15%; background: var(--blue); border-radius: 50%; filter: blur(90px); opacity: .35; }
.hero-img img { position: relative; max-height: 440px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: .3s; }
.hero-dots button.active { background: var(--red); width: 32px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 800px) {
  .slide .container { grid-template-columns: 1fr; text-align: center; padding: 60px 0 90px; }
  .hero p { margin-inline: auto; }
  .hero .btns { justify-content: center; }
  .hero-img img { max-height: 260px; }
}

.page-banner { padding: 80px 0; text-align: center; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.crumbs { color: #b9bad0; }
.crumbs a { color: var(--red); }

/* Layout pieces */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; background: var(--light); border-radius: var(--radius); padding: 50px; }
.about-visual img { margin-inline: auto; max-height: 440px; }
.exp-badge { position: absolute; bottom: -25px; right: -10px; background: var(--red); color: #fff; padding: 22px 26px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); }
.exp-badge strong { display: block; font-size: 2.6rem; line-height: 1; }
.checks { margin: 22px 0 28px; }
.checks li { padding-left: 32px; position: relative; margin: 10px 0; font-weight: 500; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: .7rem; display: grid; place-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 50px; } }

.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: .3s; border-bottom: 3px solid transparent; }
.card:hover { transform: translateY(-6px); border-color: var(--red); }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); }
.bg-dark .card { background: var(--dark2); box-shadow: none; }
.bg-dark .card p { color: #b9bad0; }
.icon { width: 60px; height: 60px; border-radius: 12px; background: rgba(0, 160, 227, .12); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }
.icon svg { width: 30px; height: 30px; }
.more { color: var(--red); font-weight: 600; display: inline-block; margin-top: 14px; }

/* Products */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters button { border: 1px solid var(--border); background: #fff; padding: 10px 22px; border-radius: 30px; font: inherit; font-weight: 600; cursor: pointer; transition: .2s; }
.filters button.active, .filters button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); }
.product-card .thumb { background: #fff; border-bottom: 1px solid var(--border); height: 230px; display: grid; place-items: center; padding: 16px; }
.product-card .thumb img { max-height: 196px; transition: .3s; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.product-card p { color: var(--muted); font-size: .95rem; flex: 1; }

.detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.detail:last-child { border-bottom: 0; }
.detail:nth-child(even) .thumb { order: 2; }
.detail .thumb { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; min-height: 340px; display: grid; place-items: center; }
.detail .thumb img { max-height: 300px; }
.detail .thumb svg { width: 130px; height: 130px; color: var(--red); }
.detail p { color: var(--muted); }
.detail .checks { margin-bottom: 18px; }
.apps { margin-bottom: 24px; }
.apps strong { color: var(--dark); }
@media (max-width: 860px) {
  .detail { grid-template-columns: 1fr; gap: 30px; }
  .detail:nth-child(even) .thumb { order: 0; }
  .detail .thumb { min-height: 260px; }
}

/* Stats, CTA */
.stats { background: linear-gradient(90deg, var(--navy), var(--dark)); color: #c8c9dc; padding: 70px 0; }
.stats .grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.stat strong { display: block; font-size: 3rem; line-height: 1.1; color: #fff; }
.stat strong::after { content: '+'; color: var(--red); }

.cta { background: var(--red); color: #fff; padding: 60px 0; }
.cta .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta .btn { background: var(--dark); }
.cta .btn-outline { background: transparent; }

/* FAQ */
.faq details { background: #fff; border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow); }
.faq summary { padding: 20px 24px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 24px 20px; color: var(--muted); }

/* Contact + forms */
.form { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 6px; font: inherit; background: #fff; color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: transparent; }
.form textarea { min-height: 120px; resize: vertical; }
.form-note { color: var(--muted); text-align: center; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.contact-box { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-box h3 { font-size: 1.6rem; margin-bottom: 6px; }
.contact-box > p { color: var(--muted); margin-bottom: 22px; }
.info-list li { display: flex; gap: 16px; margin-bottom: 24px; }
.info-list .icon { flex-shrink: 0; margin: 0; width: 52px; height: 52px; }
.info-list h4 { margin-bottom: 2px; }
.info-list p, .info-list a { color: var(--muted); }
.info-list a:hover { color: var(--red); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
@media (max-width: 600px) { .contact-box { padding: 26px; } }

/* Quote dialog */
dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(560px, 92%); margin: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
dialog::backdrop { background: rgba(26, 22, 70, .75); }
.dialog-head { background: var(--dark); color: #fff; padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; }
.dialog-head h3 { color: #fff; }
.dialog-head button { background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
dialog .form { padding: 28px; }

/* Footer */
.footer { background: var(--dark); color: #a9aac2; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; }
.footer h4 { color: #fff; margin-bottom: 20px; font-size: 1.15rem; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--red); }
.footer-logo { background: #fff; display: inline-block; padding: 10px 16px; border-radius: 8px; margin-bottom: 18px; }
.footer-logo img { height: 46px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact i { color: var(--red); margin-top: 4px; flex-shrink: 0; }
.copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding: 20px 0; text-align: center; font-size: .9rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .5); z-index: 60; transition: .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Products overview + category pages */
.cat-section + .cat-section { margin-top: 80px; }
.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.cat-head h2 { margin-bottom: 8px; }
.cat-head p { color: var(--muted); max-width: 720px; }
.btn-line { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.narrow { max-width: 850px; margin-inline: auto; }
.product-card h3 a:hover { color: var(--red); }

/* Product page */
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-img { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; place-items: center; position: sticky; top: 100px; }
.product-img img { max-height: 460px; }
.product-cat { color: var(--muted); margin-bottom: 6px; }
.product-cat a { color: var(--blue); font-weight: 600; }
.product-top h2 { margin-bottom: 14px; }
.product-top p { color: var(--muted); }
.product-top .lead { font-size: 1.15rem; color: var(--text); font-weight: 500; }
.btn-wa { background: #25d366; }
.btn-wa:hover { background: #1ebe5b; }
.tabs { margin-top: 60px; }
.tab-btns { display: flex; gap: 6px; border-bottom: 2px solid var(--border); overflow-x: auto; }
.tab-btns button { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 14px 26px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab-btns button.active { color: var(--navy); border-color: var(--red); }
.tab-panel { padding-top: 30px; }
.tab-panel h3 { margin: 26px 0 8px; }
.tab-panel h3:first-child { margin-top: 0; }
.tab-panel p { color: var(--muted); }
.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); }
.spec-table th, .spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table th { width: 32%; background: var(--light); color: var(--navy); font-weight: 700; }
.spec-note { margin-top: 16px; font-size: .95rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--red); cursor: pointer; }
@media (max-width: 860px) {
  .product-top { grid-template-columns: 1fr; gap: 30px; }
  .product-img { position: static; }
}
