/* ===========================================================
   GK MOLAS — Design tokens
   =========================================================== */
:root {
  --navy-900: #0a1f33;
  --navy-800: #0f2a47;
  --navy-700: #16395e;
  --steel-600: #4d5d6c;
  --steel-400: #7c8a96;
  --gray-100: #f3f5f6;
  --gray-200: #e6e9eb;
  --gray-300: #d4d9dd;
  --white: #ffffff;
  --accent-500: #e2580c;
  --accent-600: #c24a09;
  --accent-100: #fdece1;

  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
  --shadow-card: 0 1px 2px rgba(10, 31, 51, 0.06), 0 6px 20px rgba(10, 31, 51, 0.07);
  --max-width: 1180px;
}

/* ===========================================================
   Reset / base
   =========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  color: var(--navy-900);
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent-500); color: var(--white); padding: .6em 1em; z-index: 200;
}
.skip-link:focus { left: 0; }

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

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: .85em 1.6em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn-accent { background: var(--accent-500); color: var(--white); }
.btn-accent:hover { background: var(--accent-600); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 1em 1.9em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

.link-arrow {
  display: inline-flex;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent-500);
  border-bottom: 2px solid transparent;
}
.link-arrow:hover { border-color: var(--accent-500); }

/* ===========================================================
   Header / Nav
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand img { height: 48px; width: auto; }

.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy-800);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--accent-500);
  transform: scaleX(0); transition: transform .15s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.btn-nav-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; padding: 0;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--navy-900); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 64px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 85%);
}
.hero-inner { position: relative; padding: 96px 20px 100px; }
.hero-text { max-width: 660px; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-500);
  margin: 0 0 .9em;
}
.eyebrow-light { color: #ff9156; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: .55em;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 540px;
  margin-bottom: 2em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===========================================================
   Section scaffolding
   =========================================================== */
.section { padding: 88px 0; }
.section-alt { background: var(--gray-100); }
.section-dark {
  background: var(--navy-900);
  color: rgba(255,255,255,.88);
  position: relative;
}
.section-dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.section-dark .container { position: relative; }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-lead { color: var(--steel-600); font-size: 1.05rem; }
.section-head-light h2 { color: var(--white); }
.section-lead-light { color: rgba(255,255,255,.72); }

/* About / split layout */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.media-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.split-text p { color: var(--steel-600); }

/* ===========================================================
   Products
   =========================================================== */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(10,31,51,.12); }
.product-photo {
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  background: var(--gray-100);
  padding: 16px;
}
.product-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.product-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.product-card p { color: var(--steel-600); font-size: .96rem; margin: 0; }

/* ===========================================================
   Quality grid
   =========================================================== */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.quality-item { display: flex; gap: 18px; align-items: flex-start; }
.quality-icon {
  flex: none;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #ff9156;
}
.quality-icon svg { width: 26px; height: 26px; }
.quality-item h3 { color: var(--white); font-size: 1.02rem; margin-bottom: .3em; }
.quality-item p { color: rgba(255,255,255,.68); font-size: .94rem; margin: 0; }

/* ===========================================================
   CTA banner
   =========================================================== */
.cta-banner { background: var(--accent-500); color: var(--white); }
.cta-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 52px 20px;
  align-items: flex-start;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: .35em; }
.cta-banner p { color: rgba(255,255,255,.9); margin: 0; }
.cta-banner .btn-accent { background: var(--navy-900); }
.cta-banner .btn-accent:hover { background: var(--navy-800); }

/* ===========================================================
   Contact / form
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.quote-form {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
.quote-form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy-800);
  margin-bottom: 6px;
}
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form input[type="file"],
.quote-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .96rem;
  padding: .75em .9em;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
}
.quote-form input:focus, .quote-form textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px var(--accent-100);
}
.quote-form textarea { resize: vertical; }
.field-hint { display: block; margin-top: 6px; font-size: .8rem; color: var(--steel-400); }
.form-privacy { font-size: .82rem; color: var(--steel-400); margin: 14px 0 0; text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-feedback { margin-top: 14px; font-size: .92rem; font-weight: 600; }
.form-feedback.success { color: #1c7a40; }
.form-feedback.error { color: #c23030; }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.info-block h3 {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--steel-400); margin-bottom: .5em;
}
.info-block p { margin: 0 0 .2em; font-size: 1rem; }
.info-block a:hover { color: var(--accent-500); }
.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-card);
}
.map-frame iframe { display: block; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 56px 20px 40px;
}
.footer-brand img { height: 40px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.55); margin: 0; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: .92rem; }
.footer-nav a:hover { color: var(--white); }
.footer-contact p { font-size: .9rem; margin: 0 0 .5em; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-bottom p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-dev {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .82rem;
}
.footer-dev img { opacity: .7; filter: brightness(0) invert(1); transition: opacity .15s; }
.footer-dev a:hover img { opacity: 1; }

/* ===========================================================
   Responsive — tablet and up
   =========================================================== */
@media (min-width: 720px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1.4fr; }
}

@media (min-width: 980px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .split { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; }
}

/* ===========================================================
   Mobile nav (below 980px)
   =========================================================== */
@media (max-width: 979px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    padding: 32px 20px;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .main-nav a { font-size: 1.1rem; }
  .btn-nav-cta { display: none; }
}
