/* ============================================================
   GROWMORE ENGINEERING WORKS — Site Stylesheet
   Design system matches the company brochure for brand continuity.
   ============================================================ */

:root {
  --navy: #16232E;
  --navy-2: #1D2E3B;
  --steel: #5C6670;
  --offwhite: #F6F7F8;
  --amber: #C9822E;
  --amber-2: #E0954F;
  --line: #E1E4E7;
  --charcoal: #24303B;
  --white: #FFFFFF;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.15;
}

.eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 0.9rem;
  display: block;
}

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

section { padding: 5.5rem 0; }
@media (max-width: 768px) { section { padding: 3.2rem 0; } }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.75rem; }
.section-head p { color: var(--steel); font-size: 1.02rem; }

.bg-offwhite { background: var(--offwhite); }
.bg-navy { background: var(--navy); color: #E7EAEC; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #F5F6F7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  padding: 0.95rem 1.9rem;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-2); }
.btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22,35,46,0.97);
  backdrop-filter: blur(6px);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.nav-logo {
  display: flex; align-items: center;
  background: #fff; padding: 9px 18px; border-radius: 4px;
}
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 2.4rem; align-items: center; }
.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #C7CDD3;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.nav-cta {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
}
.nav-cta:hover { border-color: var(--amber); color: var(--amber); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 1.5rem 24px; gap: 1.3rem; transform: translateY(-130%); transition: transform 0.25s ease; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { transform: translateY(0); }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  min-height: 88vh; display: flex; align-items: center;
  background: linear-gradient(120deg, #101B24 0%, #16232E 55%, #1C2C39 100%);
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: 65% 45%;
  opacity: 0.24; mix-blend-mode: luminosity;
}
.hero .hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, #101B24 10%, rgba(16,27,36,0.65) 55%, rgba(16,27,36,0.25) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-content .eyebrow { color: var(--amber); }
.hero-content h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; margin-bottom: 1.3rem; }
.hero-content p.lead { font-size: 1.12rem; color: #C7CDD3; max-width: 500px; margin-bottom: 2.2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-foot { position: relative; z-index: 2; margin-top: 3.5rem; font-family:'Inter'; font-size: 0.88rem; color: #9AA3AB; }
.hero-foot b { color: #D9DDE0; }

.page-header {
  background: var(--navy); color: #fff; padding: 4.5rem 0 3.2rem;
  position: relative;
}
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.7rem); }
.page-header p { color: #B7BEC4; max-width: 560px; margin-top: 0.8rem; }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--offwhite); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2.6rem 0; }
.stat .num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2rem; color: var(--navy); }
.stat .lbl { font-size: 0.85rem; color: var(--steel); margin-top: 0.3rem; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card-product {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--tier, var(--amber));
  border-radius: 4px; padding: 1.6rem 1.4rem; text-align: center; transition: box-shadow 0.2s, transform 0.2s;
}
.card-product:hover { box-shadow: 0 14px 30px rgba(22,35,46,0.09); transform: translateY(-3px); }
.card-product img { width: 100%; aspect-ratio: 1/1; object-fit: contain; margin-bottom: 1rem; }
.card-product .tag { font-family:'Oswald'; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tier, var(--amber)); margin-bottom: 0.4rem; }
.card-product h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.card-product .spec { font-size: 0.85rem; color: var(--steel); }

.feature {
  display: flex; gap: 1.1rem; align-items: flex-start;
}
.feature .icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--offwhite); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: 'Montserrat'; font-weight: 800; color: var(--amber); font-size: 1rem;
}
.feature h4 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.feature p { color: var(--steel); font-size: 0.92rem; }

/* ---------- Table ---------- */
.range-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.range-table th {
  background: var(--navy); color: #EDEFF0; font-family: 'Oswald'; font-weight: 400;
  font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; text-align: left; padding: 0.95rem 1.1rem;
}
.range-table td { padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.range-table tr:nth-child(even) td { background: var(--offwhite); }
.range-table td.dia { font-family: 'Oswald'; font-weight: 500; color: var(--navy); }
.range-table td.load { font-family: 'Oswald'; font-weight: 500; color: var(--amber); }
.table-wrap { overflow-x: auto; }
.table-note { color: var(--steel); font-size: 0.85rem; margin-top: 1rem; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split img, .split .img-frame { border-radius: 4px; }
.img-frame { position: relative; }
.img-frame::after { content:''; position:absolute; inset:0; border: 1px solid var(--amber); transform: translate(10px,10px); z-index:-1; border-radius: 4px; }
.split p { color: var(--steel); margin-top: 1rem; line-height: 1.75; }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; gap: 1.8rem; margin-top: 1.5rem; }
.step { display: flex; gap: 1.3rem; }
.step .n { font-family: 'Montserrat'; font-weight: 800; font-size: 1.5rem; color: var(--amber); width: 2.4rem; flex-shrink: 0; }
.step h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.step p { color: var(--steel); font-size: 0.92rem; }

/* ---------- Logos strip ---------- */
.logos-strip { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.logos-strip .logo-card { flex: 1; min-width: 160px; height: 90px; border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; justify-content: center; padding: 1.2rem 1.6rem; }
.logos-strip .logo-card img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 3px; }
.gallery a.wide { grid-column: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery a.wide { grid-column: span 2; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .gallery a.wide { grid-column: span 1; } .gallery img { height: 200px; } }

/* ---------- Engineering / drawing showcase ---------- */
.blueprint-bg {
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  color: #E7EAEC;
}
.eng-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .eng-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .eng-grid { grid-template-columns: 1fr; } }
.eng-card { background: #fff; border-radius: 4px; overflow: hidden; }
.eng-card img { width: 100%; height: 230px; object-fit: cover; object-position: top; }
.eng-card .eng-cap { padding: 1rem 1.2rem; }
.eng-card .eng-cap .tag { font-family:'Oswald'; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--amber); margin-bottom: 0.3rem; }
.eng-card h4 { font-size: 0.98rem; color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 4.5rem 0; }
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: #B7BEC4; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
footer { background: #0F1922; color: #9AA3AB; padding: 3.6rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
footer .flogo {
  display: inline-block; background: #fff; padding: 9px 18px; border-radius: 4px; margin-bottom: 1.2rem;
}
footer .flogo img { height: 38px; display: block; }
footer p { font-size: 0.88rem; line-height: 1.7; max-width: 320px; }
footer h5 { font-family:'Oswald'; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; color: #D9DDE0; margin-bottom: 1rem; }
footer ul li { margin-bottom: 0.6rem; font-size: 0.9rem; }
footer ul li a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 2.6rem; padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.8rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--navy); color: #fff; border-radius: 6px; padding: 2.4rem; }
.contact-info-card h3 { color: #fff; margin-bottom: 1.6rem; }
.contact-line { display: flex; gap: 0.9rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-line .ic { color: var(--amber); font-family:'Montserrat'; font-weight:800; }
.contact-line a, .contact-line span { color: #D9DDE0; font-size: 0.95rem; line-height: 1.55; }
.contact-line a:hover { color: var(--amber); }

.form-card { background: var(--offwhite); border: 1px solid var(--line); border-radius: 6px; padding: 2.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-field label { font-size: 0.82rem; color: var(--steel); font-family:'Oswald'; letter-spacing: 0.5px; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line); border-radius: 3px; padding: 0.8rem 0.9rem; font-family: 'Inter'; font-size: 0.95rem; background: #fff;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.map-wrap { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); margin-top: 3rem; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* Skip link for accessibility */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: #fff; padding: 0.8rem 1.2rem; z-index: 1000; }
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
