:root {
  --navy: #071d45;
  --navy-2: #0d2b61;
  --gold: #d5a434;
  --gold-light: #f4c759;
  --ink: #152033;
  --muted: #667085;
  --light: #f6f7f9;
  --cream: #f8f5ed;
  --line: #e4e8ef;
  --white: #fff;
  --shadow: 0 20px 55px rgba(7, 29, 69, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #edf0f4;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); }
.brand .stars { color: var(--gold); letter-spacing: 1px; font-size: 17px; white-space: nowrap; }
.brand strong { display: block; font-size: 23px; line-height: 1; }
.brand small { display: block; margin-top: 5px; font-size: 8px; letter-spacing: 1.15px; font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 23px; font-size: 13px; font-weight: 700; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--gold); }
.nav-cta { background: var(--navy); color: #fff !important; padding: 11px 16px; border-radius: 7px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-size: 26px; cursor: pointer; }

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: #fff;
  background: url('assets/factory.jpg') center/cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(4,19,48,.98) 0%,rgba(4,19,48,.90) 52%,rgba(4,19,48,.45) 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: center; padding-block: 80px; }
.eyebrow { margin: 0 0 12px; color: var(--gold-light); font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase; font-weight: 800; }
.eyebrow.dark { color: #aa7306; }
.hero h1 { margin: 0 0 22px; max-width: 790px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(46px,6vw,76px); line-height: 1.04; }
.hero-text { max-width: 720px; color: #dbe4f1; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin: 30px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; padding: 14px 22px; font-weight: 800; font-size: 13px; cursor: pointer; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 34px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 18px; }
.hero-stats span { color: #aab8cf; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.quality-card { background: #fff; color: var(--ink); padding: 32px; border-radius: 16px; box-shadow: var(--shadow); }
.quality-card h2 { margin: 0 0 12px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; }
.quality-card ul { margin: 0; padding: 0; list-style: none; }
.quality-card li { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.quality-card li:last-child { border-bottom: 0; }
.quality-card li > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; background: #fff5da; color: #9a6a00; font-weight: 900; }
.quality-card strong, .quality-card small { display: block; }
.quality-card small { color: var(--muted); font-size: 12px; }

.trust-strip { background: var(--gold); color: var(--navy); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-grid div { padding: 18px; text-align: center; border-right: 1px solid rgba(7,29,69,.18); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 900; }
.trust-grid div:last-child { border-right: 0; }

.section { padding: 96px 0; }
.about, .quote { background: var(--cream); }
.services, .contact { background: #fff; }
.products { background: var(--light); }
.partners { background: var(--navy); color: #fff; }
.team { background: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.image-stack { position: relative; min-height: 540px; }
.main-img { width: 85%; height: 480px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.accent-img { position: absolute; width: 46%; height: 230px; right: 0; bottom: 0; object-fit: cover; border: 8px solid var(--cream); border-radius: 16px; box-shadow: var(--shadow); }
.image-badge { position: absolute; left: 20px; bottom: 20px; background: var(--navy); color: #d7e0ee; padding: 13px 18px; border-radius: 9px; font-size: 11px; }
.image-badge strong { display: block; color: #fff; font-size: 15px; }
.section-copy h2, .section-heading h2, .quote h2 { margin: 0 0 20px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: clamp(34px,4vw,50px); line-height: 1.12; }
.section-copy p, .section-heading p, .quote p { color: var(--muted); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 25px; }
.check-grid span { background: #fff; padding: 12px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.partners .section-heading h2 { color: #fff; }
.partners .section-heading p { color: #bec9dc; }

.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: 0 10px 30px rgba(7,29,69,.05); }
.service-card > span { color: var(--gold); font-weight: 900; font-size: 12px; }
.service-card h3 { color: var(--navy); font-size: 19px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }

.product-feature-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 240px 240px; gap: 16px; }
.product-feature { position: relative; background-size: cover; background-position: center; border-radius: 14px; overflow: hidden; }
.product-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 25%,rgba(4,19,48,.92)); }
.product-feature.large { grid-row: 1 / 3; }
.product-feature.wide { grid-column: 2 / 4; }
.product-feature div { position: absolute; z-index: 2; left: 22px; bottom: 20px; color: #fff; }
.product-feature span { color: var(--gold-light); font-weight: 800; letter-spacing: 1.5px; font-size: 12px; }
.product-feature h3 { margin: 3px 0; font-size: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips span { border: 1px solid var(--line); background: #fff; padding: 9px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; }

.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.partner-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 30px; display: flex; align-items: center; gap: 22px; }
.partner-card p { margin: 0; color: var(--muted); font-size: 13px; }
.partner-mark { width: 88px; height: 72px; flex: 0 0 88px; display: grid; place-items: center; border-radius: 10px; background: #fff4d7; color: #a06b00; font-weight: 900; font-size: 30px; }
.partner-mark.stage { background: #e9faf3; color: #148660; }

.team-heading { text-align: center; margin-inline: auto; }
.team-grid { display: flex; flex-direction: column; gap: 30px; }
.team-card { display: grid; grid-template-columns: minmax(300px,420px) 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.team-photo-wrap { position: relative; min-height: 520px; background: #edf1f5; }
.team-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* CEO image must remain fully visible and uncropped */
.team-card.featured .team-photo { object-fit: contain; object-position: center center; background: #edf1f5; }
.team-role-badge { position: absolute; left: 18px; bottom: 18px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 900; letter-spacing: 1px; padding: 8px 14px; border-radius: 99px; }
.team-content { padding: 42px; display: flex; flex-direction: column; justify-content: center; }
.team-kicker { margin: 0 0 7px !important; color: #a46e00 !important; font-size: 11px; letter-spacing: 1.7px; text-transform: uppercase; font-weight: 900; }
.team-content h3 { margin: 0 0 12px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 38px; }
.team-content > p:not(.team-kicker) { color: var(--muted); }
.team-contact { display: grid; gap: 10px; margin-top: 15px; }
.team-contact a { display: flex; flex-direction: column; overflow-wrap: anywhere; background: #f7f8fa; border: 1px solid #e4e7ec; padding: 12px 14px; border-radius: 9px; transition: .2s ease; }
.team-contact a:hover { border-color: var(--gold); background: #fffaf0; transform: translateY(-1px); }
.team-contact span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.team-contact strong { color: var(--navy); font-size: 14px; }

.quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: start; }
.contact-mini { display: grid; gap: 8px; margin-top: 24px; }
.contact-mini a { color: var(--navy); font-weight: 800; }
.quote-form { background: #fff; padding: 32px; border-radius: 16px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { display: block; margin-bottom: 15px; color: var(--navy); font-size: 12px; font-weight: 800; }
input, textarea { width: 100%; margin-top: 7px; padding: 13px; border: 1px solid #d9dee7; border-radius: 8px; outline: none; }
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(213,164,52,.13); }
.form-note { margin-bottom: 0; font-size: 12px; }

.office-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.office-card { border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.office-card > span { color: var(--gold); font-size: 26px; font-weight: 900; }
.office-card h3 { color: var(--navy); }
.office-card p { margin: 0; color: var(--muted); }
.office-card a { color: var(--navy); font-weight: 700; }

footer { background: #03132e; color: #cbd5e5; padding: 30px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 20px; }
.footer-brand { color: #fff; }
.footer-grid > p { text-align: center; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 20px; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(7,29,69,.08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 7px 12px; }
  .hero { min-height: auto; }
  .hero-grid, .split, .quote-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; padding-block: 95px 70px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 320px 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px,1160px); }
  .brand strong { font-size: 20px; }
  .hero h1 { font-size: 43px; }
  .hero-actions { flex-direction: column; }
  .quality-card { padding: 24px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }
  .image-stack { min-height: 430px; }
  .main-img { width: 100%; height: 400px; }
  .accent-img { width: 50%; height: 180px; }
  .check-grid, .service-grid, .form-row { grid-template-columns: 1fr; }
  .product-feature-grid { display: flex; flex-direction: column; }
  .product-feature { min-height: 250px; }
  .partner-card { align-items: flex-start; flex-direction: column; }
  .team-card { grid-template-columns: 1fr; }
  .team-photo-wrap { min-height: 0; height: 430px; }
  .team-card.featured .team-photo-wrap { height: auto; aspect-ratio: 1104 / 1376; }
  .team-content { padding: 26px; }
  .team-content h3 { font-size: 31px; }
  .footer-grid > p { margin: 0; }
}
