:root {
  --navy: #0e3a5f;
  --navy-deep: #0a2c49;
  --blue: #1f6fb2;
  --amber: #e8821e;
  --ink: #1b2733;
  --muted: #5c6b78;
  --line: #e6ebf0;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(14, 58, 95, 0.09);
  --shadow-sm: 0 4px 16px rgba(14, 58, 95, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.brand__kn { font-family: "Noto Sans Kannada", sans-serif; }

.container { width: min(1140px, 92%); margin-inline: auto; }

/* ===== Topbar ===== */
.topbar {
  background: var(--navy-deep);
  color: #b9d2e6;
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 0.45rem 0; flex-wrap: wrap;
}
.topbar__right { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar a { color: #d4e6f3; }
.topbar a:hover { color: #fff; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(14,58,95,0.02);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand { display: flex; align-items: stretch; gap: 0.85rem; }
.brand__bar {
  width: 5px; flex: none; border-radius: 4px;
  background: linear-gradient(180deg, var(--navy) 55%, var(--amber) 55%);
}
.brand__text { display: flex; flex-direction: column; justify-content: center; line-height: 1.18; }
.brand__kn { font-size: 0.74rem; color: var(--blue); font-weight: 700; }
.brand__en { font-size: 1.18rem; font-weight: 800; color: var(--navy); }
.brand__tag { font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav > a {
  position: relative; font-weight: 600; font-size: 0.94rem; color: var(--ink); padding: 0.2rem 0;
}
.nav > a:not(.btn):not(.call-btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--amber); border-radius: 2px; transition: right 0.25s ease;
}
.nav > a:not(.btn):not(.call-btn):hover { color: var(--navy); }
.nav > a:not(.btn):not(.call-btn):hover::after { right: 0; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 25px; height: 3px; background: var(--navy); border-radius: 3px; transition: 0.3s; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 0.94rem;
  padding: 0.72rem 1.35rem; border-radius: 10px;
  border: 1.5px solid var(--navy); cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: var(--navy-deep); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.88rem; }

/* Header call button */
.nav .call-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  flex: none; white-space: nowrap;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em;
  padding: 0.55rem 1.2rem; border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.nav .call-btn span { line-height: 1; color: #fff; }
.nav .call-btn svg { flex: none; color: #8fd0a6; }
.nav .call-btn:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--wa { background: #1faf54; border-color: #1faf54; }
.btn--wa:hover { background: #189247; border-color: #189247; }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(8,30,50,0.93) 0%, rgba(8,30,50,0.7) 48%, rgba(8,30,50,0.35) 100%),
    url("https://images.unsplash.com/photo-1600585152220-90363fe7e115?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}
.hero__inner { padding: 5.5rem 0 5rem; }
.hero__copy { max-width: 640px; }
.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: #eaf3fa;
  font-size: 0.78rem; font-weight: 600;
  padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1.1rem; }
.hero__copy p { font-size: 1.1rem; color: #dce8f1; max-width: 560px; margin-bottom: 1.8rem; }
.hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__actions .btn { background: #fff; color: var(--navy); border-color: #fff; }
.hero__actions .btn:hover { background: #eef4f9; }
.hero__actions .btn--wa { background: #1faf54; color: #fff; border-color: #1faf54; }
.hero__actions .btn--wa:hover { background: #189247; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.hero__points li { position: relative; padding-left: 1.4rem; color: #d2e2ee; font-size: 0.94rem; font-weight: 500; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
}

/* ===== Sections ===== */
.section { padding: 4.8rem 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 3.4rem 0; }
.section__head { max-width: 640px; margin-bottom: 2.6rem; }
.section__head h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); margin-bottom: 0.6rem; }
.section__head p { color: var(--muted); font-size: 1.05rem; }

/* ===== Products ===== */
.products {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product:hover .product__img img { transform: scale(1.05); }
.product__body { padding: 1.2rem 1.3rem 1.5rem; }
.product__body h3 { font-size: 1.18rem; margin-bottom: 0.35rem; }
.product__body p { color: var(--muted); font-size: 0.95rem; }

/* ===== Split sections ===== */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; }
.split__text h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 1rem; }
.split__text > p { color: var(--muted); margin-bottom: 1rem; font-size: 1.04rem; }

.checklist { list-style: none; margin: 1.3rem 0 1.7rem; display: grid; gap: 0.6rem; }
.checklist li { position: relative; padding-left: 1.9rem; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(31,175,84,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231faf54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}

/* ===== Why choose us ===== */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value__num {
  display: inline-block; font-size: 1.05rem; font-weight: 800; color: var(--amber);
  letter-spacing: 0.04em; margin-bottom: 0.7rem;
}
.value h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.value p { color: var(--muted); font-size: 0.94rem; }

/* ===== Brands ===== */
.brands {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.8rem 1rem;
}
.brands li {
  background: #fff; border: 1px solid var(--line);
  padding: 0.6rem 1.3rem; border-radius: 999px;
  font-weight: 700; color: var(--navy); font-size: 0.98rem;
  box-shadow: var(--shadow-sm);
}

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.8rem; }
.contact__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; display: grid; gap: 1.2rem; align-content: start; box-shadow: var(--shadow-sm);
}
.contact__row h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 0.2rem; }
.contact__row p { color: var(--ink); }
.contact__row a:hover { color: var(--blue); }
.contact__cta { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.3rem; }
.contact__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; box-shadow: var(--shadow-sm); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ===== Footer ===== */
.footer { background: var(--navy-deep); color: #b7cbdc; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.2rem; padding: 3.4rem 0 2.6rem;
}
.brand--footer { margin-bottom: 1rem; }
.brand--footer .brand__en { color: #fff; }
.brand--footer .brand__kn { color: #8fb6d4; }
.footer__about p { font-size: 0.92rem; color: #9fb6c9; max-width: 320px; margin-bottom: 1.1rem; }
.footer__social { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.footer__social a {
  border: 1px solid rgba(255,255,255,0.18); border-radius: 8px;
  padding: 0.35rem 0.85rem; font-size: 0.84rem; font-weight: 600; color: #d4e3ef;
  transition: background 0.2s;
}
.footer__social a:hover { background: rgba(255,255,255,0.1); }
.footer__col h5 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 1rem; }
.footer__col > a { display: block; color: #a9c0d2; font-size: 0.94rem; margin-bottom: 0.55rem; transition: color 0.2s; }
.footer__col > a:hover { color: #fff; }
.footer__col p { font-size: 0.92rem; color: #a9c0d2; margin-bottom: 0.6rem; }
.footer__col p a:hover { color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.1); }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 0; font-size: 0.84rem; color: #8ba3b6; }

/* ===== Floating WhatsApp ===== */
.fab {
  position: fixed; right: 20px; bottom: 20px;
  width: 56px; height: 56px; display: grid; place-items: center;
  background: #1faf54; color: #fff; border-radius: 50%;
  box-shadow: 0 10px 26px rgba(31,175,84,0.45); z-index: 60;
  transition: transform 0.2s;
}
.fab:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 1.8rem; }
  .split--reverse .split__media { order: 0; }
  .contact { grid-template-columns: 1fr; }

  /* backdrop-filter on the header would trap position:fixed children,
     so use a solid background on mobile and let the menu anchor to the viewport */
  .header { backdrop-filter: none; background: #fff; }

  .nav-toggle { display: flex; z-index: 80; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* full-screen menu - no width math, nothing can overflow */
  .nav-overlay { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 70;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 0.3rem; background: #fff; padding: 2rem;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.call-btn) {
    font-size: 1.35rem; font-weight: 600; color: var(--navy);
    padding: 0.7rem 1rem;
  }
  .nav > a:not(.btn):not(.call-btn)::after { display: none; }
  .call-btn {
    margin-top: 1.4rem; padding: 0.85rem 1.6rem; font-size: 1.05rem;
  }
}
@media (max-width: 560px) {
  .products { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__right { gap: 1rem; }
  .hero__inner { padding: 3.6rem 0 3.4rem; }
  .hero h1 { font-size: 2rem; }
  .hero__copy p { font-size: 1rem; }
  .hero__actions { gap: 0.6rem; }
  .hero__actions .btn { width: 100%; }
  .section { padding: 3.4rem 0; }
  .brand__tag { display: none; }
}
