/* ==========================================================
   Kochoil NIG LTD – styles
   To match your logo exactly, change the colour values below.
   ========================================================== */

:root {
  --navy: #0a2358;
  --navy-deep: #071a42;
  --blue: #1c4fb8;
  --orange: #f47a1f;
  --orange-light: #ff9544;
  --white: #ffffff;
  --mist: #eef3fb;
  --ink: #14213d;
  --muted: #4a5878;
  --line: #d6dfef;

  --radius: 14px;
  --maxw: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
address { font-style: normal; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; color: var(--navy); }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--orange); }

.wrap { width: min(var(--maxw), 100% - 2.5rem); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--orange); color: var(--navy-deep);
  padding: .7rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.4rem; border-radius: 999px;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--orange); color: var(--navy-deep); }
.btn-primary:hover { background: var(--orange-light); color: var(--navy-deep); }
.btn-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-light:hover { background: var(--white); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand-fallback { font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -.01em; }

.site-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .55rem .8rem; border-radius: 8px;
  color: var(--navy); font-weight: 600; font-size: .98rem; text-decoration: none;
}
.site-nav a:hover { background: var(--mist); }
.site-nav a.active { color: var(--blue); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 8px 8px 0 0; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  background: var(--white); border: 2px solid var(--navy); border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}
.bars, .bars::before, .bars::after {
  display: block; width: 22px; height: 3px; background: var(--navy); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; }
.tagline { color: var(--orange); font-weight: 700; letter-spacing: .02em; margin-bottom: .8rem; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 5.6vw, 3.7rem); letter-spacing: -.025em; max-width: 14ch; }
.hero-lead { font-size: 1.15rem; max-width: 46ch; color: #dbe5fb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.hero-art { max-width: 460px; justify-self: center; width: 100%; }
.swoosh { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s .2s ease-out forwards; }
.swoosh-a { stroke: var(--orange); stroke-width: 16; }
.swoosh-b { stroke: #5f86d8; stroke-width: 5; opacity: .8; animation-delay: .5s; }
.drop { fill: var(--white); }
.drop-shine { fill: none; stroke: var(--blue); stroke-width: 10; stroke-linecap: round; opacity: .35; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tint { background: var(--mist); }
.section h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -.02em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.fine-print { font-size: .92rem; color: var(--muted); margin-top: 1.25rem; }
.notice { background: var(--white); border: 1px solid var(--line); padding: 1rem; border-radius: 10px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2.5rem; align-items: start; }
.info-panel {
  background: var(--navy); color: var(--white);
  padding: 1.5rem; border-radius: var(--radius); border-top: 6px solid var(--orange);
}
.info-panel h3 { color: var(--orange); font-size: 1rem; margin-bottom: .8rem; }
.info-panel a { color: var(--white); }
.info-panel a:hover { color: var(--orange); }
.info-name { font-weight: 800; font-size: 1.2rem; margin-bottom: .4rem; }
.info-panel p:last-child { margin-bottom: 0; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.card-media { background: #f6f8fd; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 1rem; margin: 0; }
.card-media img { max-height: 100%; width: auto; object-fit: contain; }
.card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.1rem 1.25rem; flex: 1; }
.card-brand { color: var(--muted); font-size: .95rem; margin: 0; }
.card h3 { font-size: 1.15rem; margin: 0; }
.card-size { margin: 0; font-size: .95rem; }
.card-price { font-weight: 800; color: var(--navy); font-size: 1.15rem; margin: .5rem 0 .9rem; }
.card .btn { margin-top: auto; }

/* Why choose us */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 1.75rem; }
.why-item { padding: .25rem 0 .25rem 1.1rem; border-left: 5px solid var(--orange); }
.why-item h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.why-item p { margin: 0; color: var(--muted); }

/* Guide */
.guide-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2.25rem; margin-top: 1.75rem; align-items: start; }
.guide-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin-bottom: 1rem; }
.guide-block h3 { font-size: 1.15rem; }
.guide-block p:last-child, .guide-block ul:last-child { margin-bottom: 0; }
.plain-list { padding-left: 1.2rem; margin: 0; }
.plain-list li { margin-bottom: .5rem; }

.grade { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .5rem 1rem; margin: .5rem 0 .75rem; }
.grade-part { display: flex; flex-direction: column; max-width: 15rem; }
.grade-num { font-size: clamp(3rem, 9vw, 4.5rem); font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -.03em; }
.grade-part:last-child .grade-num { color: var(--blue); }
.grade-cap { font-size: .92rem; color: var(--muted); line-height: 1.4; margin-top: .4rem; border-top: 3px solid var(--orange); padding-top: .4rem; }
.grade-dash { font-size: clamp(3rem, 9vw, 4.5rem); font-weight: 800; line-height: 1; color: var(--orange); }

.helper {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 92px;
}
.helper h3 { color: var(--white); }
.helper p { color: #dbe5fb; }

/* Forms */
label { display: block; font-weight: 600; margin: .9rem 0 .3rem; font-size: .98rem; }
input, select, textarea {
  width: 100%; padding: .7rem .8rem; font: inherit; color: var(--ink);
  background: var(--white); border: 2px solid var(--line); border-radius: 10px;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(28, 79, 184, .25); outline-offset: 0; }
.helper input, .helper select { border-color: transparent; }
.helper input:focus, .helper select:focus { outline-color: var(--orange); border-color: var(--orange); }
.helper .btn { margin-top: 1.25rem; width: 100%; }
textarea { resize: vertical; min-height: 110px; }
[aria-invalid="true"] { border-color: #b3261e; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; margin-top: 1.75rem; align-items: start; }
.contact-item { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item h3 { font-size: 1rem; color: var(--muted); margin-bottom: .2rem; }
.contact-item p { margin: 0; font-size: 1.15rem; font-weight: 600; }
.contact-item address { font-size: 1.1rem; font-weight: 600; margin-bottom: .3rem; }

.form-card { background: var(--mist); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.static-note { background: var(--white); border-left: 5px solid var(--orange); padding: .8rem 1rem; border-radius: 8px; font-size: .95rem; color: var(--muted); }
.form-error { color: #b3261e; font-weight: 600; margin: 1rem 0 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #dbe5fb; padding-top: 3rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer-name { color: var(--white); font-weight: 800; font-size: 1.25rem; margin-bottom: .2rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2rem; padding-block: 1.25rem; font-size: .92rem; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .guide-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; order: -1; }
  .hero h1 { max-width: none; }
  .helper { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem;
    box-shadow: 0 12px 24px rgba(10, 35, 88, .12);
  }
  .js .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: .8rem .5rem; }
  .site-nav a.active { box-shadow: inset 4px 0 0 var(--orange); border-radius: 0; padding-left: .9rem; }
  .no-js .bar { flex-wrap: wrap; padding-block: .5rem; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .hero-actions .btn, .form-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .swoosh { animation: none; stroke-dashoffset: 0; }
  * { transition: none !important; }
}

.hero-logo-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 380px;
  margin-inline: auto;
  border-bottom: 6px solid var(--orange);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}
.hero-logo-card img { width: 100%; height: auto; }