
:root {
  --navy: #123c72;
  --blue: #246bce;
  --bright: #3988ef;
  --light: #eef5fd;
  --white: #ffffff;
  --dark: #14243a;
  --muted: #68788e;
  --border: #e2eaf3;
  --shadow: 0 16px 45px rgba(18,60,114,.09);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.65;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.container {
  width: min(1200px, 92%);
  margin: auto;
}

.topbar {
  background: var(--navy);
  color: white;
  font-size: 11px;
  letter-spacing: .3px;
}
.topbar-inner {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.nav-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-symbol {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg,var(--bright),var(--navy));
  color: white;
  font-size: 27px;
  font-weight: 800;
  border-radius: 11px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { color: var(--navy); font-size: 23px; letter-spacing: 2px; }
.brand-text small { color: var(--muted); font-size: 8px; letter-spacing: 2.5px; }

.navigation {
  display: flex;
  align-items: center;
  gap: 25px;
}
.navigation a {
  font-size: 12px;
  font-weight: 600;
  color: #40536c;
  transition: .25s;
}
.navigation a:hover { color: var(--blue); }

.nav-actions { display: flex; gap: 10px; align-items: center; }
.icon-button {
  border: 1px solid var(--border);
  background: white;
  width: 39px;
  height: 39px;
  border-radius: 10px;
  font-size: 25px;
  color: var(--navy);
}
.cart-button {
  border: 0;
  background: var(--navy);
  color: white;
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
}
.cart-button span {
  background: white;
  color: var(--navy);
  border-radius: 50%;
  padding: 2px 6px;
  margin-left: 5px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--light);
  color: var(--navy);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 21px;
}

.search-panel { display: none; background: var(--light); padding: 14px 0; }
.search-panel.show { display: block; }
.search-inner { display: flex; gap: 10px; }
.search-inner input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  outline-color: var(--blue);
}
.search-inner button {
  background: var(--navy);
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
}

.hero {
  background: linear-gradient(120deg,#f0f6ff,#fff 60%,#e9f3ff);
  overflow: hidden;
  padding: 75px 0 85px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
}
.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(38px,5vw,62px);
  line-height: 1.13;
  letter-spacing: -2.5px;
  color: var(--navy);
  margin-bottom: 23px;
}
.hero h1 span { color: var(--blue); }
.hero-content > p {
  max-width: 510px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.hero-buttons { display: flex; gap: 13px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 22px;
  font-size: 12px;
  font-weight: 700;
  transition: .25s;
}
.btn-primary {
  color: white;
  background: linear-gradient(110deg,var(--blue),var(--navy));
  box-shadow: 0 8px 20px rgba(36,107,206,.19);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(36,107,206,.27); }
.btn-outline {
  border: 1px solid #b9cde4;
  color: var(--navy);
  background: white;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 47px;
  border-top: 1px solid #dbe6f2;
  padding-top: 22px;
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { color: var(--blue); font-size: 20px; }
.hero-trust small { color: var(--muted); font-size: 9px; }

.hero-visual { position: relative; }
.hero-image-card {
  height: 410px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg,#dcecff,#a9cdf5);
  position: relative;
  box-shadow: var(--shadow);
}
.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 60px 25px 25px;
  background: linear-gradient(transparent,rgba(8,37,76,.85));
  color: white;
}
.hero-image-overlay span { display: block; font-size: 10px; letter-spacing: 2px; }
.hero-image-overlay strong { font-size: 22px; }
.floating-card {
  position: absolute;
  right: -22px;
  bottom: 35px;
  width: 180px;
  padding: 17px;
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow);
}
.floating-card span { color: var(--blue); font-size: 10px; font-weight: 800; }
.floating-card strong { display: block; font-size: 13px; line-height: 1.5; margin-top: 5px; }

.benefits { border-bottom: 1px solid var(--border); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  padding: 25px 0;
}
.benefits-grid div {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-size: 11px;
}
.benefits-grid span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--light);
  color: var(--blue);
  font-size: 17px;
}

.section { padding: 90px 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 37px;
}
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2, .about-content h2, .contact-grid h2 {
  font-size: clamp(27px,3.3vw,39px);
  letter-spacing: -1.2px;
  color: var(--navy);
  line-height: 1.25;
}
.section-heading p { font-size: 13px; color: var(--muted); margin-top: 9px; }
.text-link { font-size: 12px; color: var(--blue); font-weight: 700; }

.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.product-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: white;
  transition: .3s;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-image {
  height: 230px;
  background: linear-gradient(135deg,#e9f3ff,#d5e7fc);
  position: relative;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: white;
  color: var(--navy);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 7px 10px;
  border-radius: 5px;
}
.product-info { padding: 23px; }
.category { font-size: 9px; font-weight: 800; letter-spacing: 1.2px; color: var(--blue); }
.product-info h3 { color: var(--navy); font-size: 20px; margin: 7px 0; }
.product-info p { color: var(--muted); font-size: 12px; min-height: 42px; }
.product-enquiry {
  margin-top: 20px;
  border: 0;
  background: var(--light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 6px;
}
.product-enquiry:hover { background: var(--navy); color: white; }

.services-section { background: #f5f8fc; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 17px; }
.service-card {
  background: white;
  padding: 25px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: .3s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.service-number { color: var(--blue); font-size: 12px; font-weight: 800; }
.service-card h3 { color: var(--navy); font-size: 16px; margin: 18px 0 8px; }
.service-card p { color: var(--muted); font-size: 11px; min-height: 65px; }
.service-book {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  margin-top: 17px;
}

.modular-section { padding: 80px 0; background: var(--navy); color: white; }
.modular-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; }
.modular-image {
  height: 360px;
  border-radius: 15px;
  overflow: hidden;
  background: #d5e7fc;
}
.modular-image img { width: 100%; height: 100%; object-fit: cover; }
.modular-content .eyebrow { color: #91c5ff; }
.modular-content h2 { font-size: clamp(30px,4vw,43px); line-height: 1.2; margin-bottom: 20px; }
.modular-content p { color: #c8d9ed; font-size: 13px; margin-bottom: 27px; max-width: 440px; }

.about-content { max-width: 780px; text-align: center; }
.about-content p { margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 2; }

.contact-section { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-grid > div > p { color: var(--muted); font-size: 13px; margin-top: 15px; }
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 13px;
}
.contact-form input, .contact-form select, .contact-form textarea,
.modal input, .modal textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  outline: none;
  background: #fff;
  font-size: 12px;
}
.contact-form input:focus, .contact-form select:focus,
.contact-form textarea:focus, .modal input:focus, .modal textarea:focus {
  border-color: var(--blue);
}
.contact-form textarea, .modal textarea { min-height: 90px; resize: vertical; }
.contact-form small { color: var(--blue); font-size: 11px; }

.footer { background: #0b2444; color: white; padding-top: 55px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 35px; padding-bottom: 45px; }
.footer-brand h2 { font-size: 27px; letter-spacing: 3px; }
.footer-brand p { color: #aebfd4; font-size: 11px; margin-top: 9px; }
.footer h4 { font-size: 12px; margin-bottom: 17px; }
.footer-grid > div:not(:first-child) a { display: block; color: #aebfd4; font-size: 11px; margin: 10px 0; }
.footer-grid a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #28405c;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #aebfd4;
  font-size: 10px;
}

/* Cart drawer */
.drawer-backdrop, .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5,20,40,.55);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
.drawer-backdrop.show, .modal-backdrop.show { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  z-index: 201;
  right: -420px;
  top: 0;
  width: min(390px,100%);
  height: 100%;
  background: white;
  padding: 25px;
  transition: .35s;
  display: flex;
  flex-direction: column;
}
.cart-drawer.show { right: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; }
.drawer-header h3 { color: var(--navy); }
.drawer-header button, .modal-close {
  border: 0;
  background: var(--light);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: var(--navy);
}
.cart-items { flex: 1; padding: 25px 0; overflow-y: auto; font-size: 13px; }
.cart-row { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 10px; }
.cart-row button { color: #c43c3c; border: 0; background: transparent; }
.cart-footer .btn { width: 100%; }

/* Modal */
.modal-backdrop { display: grid; place-items: center; padding: 18px; }
.modal {
  width: min(440px,100%);
  background: white;
  padding: 30px;
  border-radius: 15px;
  position: relative;
  transform: translateY(20px);
  transition: .3s;
}
.modal-backdrop.show .modal { transform: translateY(0); }
.modal-close { position: absolute; right: 18px; top: 18px; }
.modal h2 { color: var(--navy); font-size: 24px; margin-bottom: 20px; }
.modal form { display: grid; gap: 12px; }

@media(max-width:1000px) {
  .navigation { gap: 13px; }
  .navigation a { font-size: 11px; }
  .nav-container { gap: 14px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:760px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-inner span:last-child { display: none; }
  .nav-container { min-height: 68px; flex-wrap: wrap; }
  .menu-toggle { display: block; margin-left: auto; }
  .navigation {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0 18px;
    gap: 0;
  }
  .navigation.show { display: flex; }
  .navigation a { padding: 11px 5px; border-bottom: 1px solid var(--border); font-size: 13px; }
  .nav-actions { gap: 6px; }
  .icon-button { display: none; }
  .cart-button { padding: 9px 11px; }
  .hero { padding: 55px 0; }
  .hero-grid, .modular-grid, .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero h1 { font-size: 43px; }
  .hero-image-card { height: 300px; }
  .floating-card { right: 8px; bottom: 15px; }
  .hero-trust { gap: 17px; }
  .hero-trust small { font-size: 8px; }
  .benefits-grid { grid-template-columns: repeat(2,1fr); }
  .benefits-grid div { justify-content: flex-start; font-size: 10px; }
  .section { padding: 65px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 250px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .modular-image { height: 270px; }
  .contact-form { padding: 20px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 30px 20px; }
  .footer-bottom { padding: 15px 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
}
@media(max-width:390px) {
  .brand-text strong { font-size: 19px; }
  .brand-symbol { width: 37px; height: 37px; }
  .hero h1 { font-size: 36px; }
  .hero-trust { gap: 10px; }
  .hero-trust strong { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
