/* ==========================================================================
   Seziba Technologies and Projects — corporate site
   Colours sampled from official logo: navy #03466E, sage #8BAD70
   ========================================================================== */

:root {
  --navy: #03466e;
  --navy-deep: #032f4a;
  --sage: #8bad70;
  --sage-soft: #eef3e8;
  --ink: #1d1d1f;
  --grey: #6e6e73;
  --grey-light: #f5f5f7;
  --white: #ffffff;
  --radius: 22px;
  --max: 1080px;
  --nav-h: 52px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }

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

/* --------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo span {
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--navy);
}
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 13.5px; color: var(--ink); opacity: 0.85; transition: color .2s, opacity .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); opacity: 1; }
.nav-cta {
  font-size: 13px; background: var(--navy); color: #fff !important;
  padding: 7px 16px; border-radius: 980px; opacity: 1 !important;
  transition: background .2s;
}
.nav-cta:hover { background: var(--navy-deep); }

/* --------------------------------------------------------------- hero */
.hero {
  text-align: center;
  padding: 110px 24px 90px;
}
.hero .eyebrow {
  font-size: 15px; font-weight: 600; color: var(--sage);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.05;
  color: var(--ink); max-width: 900px; margin: 0 auto;
}
.hero h1 .navy { color: var(--navy); }
.hero p.sub {
  font-size: clamp(19px, 2.4vw, 26px); color: var(--grey);
  max-width: 640px; margin: 26px auto 0; font-weight: 400; line-height: 1.4;
}
.hero .actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; font-size: 16px; font-weight: 500;
  padding: 13px 28px; border-radius: 980px; transition: all .2s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-ghost { color: var(--navy); border: 1px solid rgba(3, 70, 110, 0.35); }
.btn-ghost:hover { background: rgba(3, 70, 110, 0.06); }

/* --------------------------------------------------------------- sections */
.section { padding: 100px 0; }
.section.tint { background: var(--grey-light); }
.section.navy-band { background: var(--navy); color: #fff; }
.section.sage-band { background: var(--sage-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.1; color: var(--ink);
}
.navy-band .section-head h2, .navy-band p { color: #fff; }
.section-head p {
  font-size: 19px; color: var(--grey); margin-top: 16px;
}
.navy-band .section-head p { color: rgba(255, 255, 255, 0.75); }

/* --------------------------------------------------------------- cards */
.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tint .card { box-shadow: none; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(3, 70, 110, 0.10); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage-soft); margin-bottom: 22px;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--navy); }
.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--grey); line-height: 1.55; }

/* dark cards on navy band */
.navy-band .card { background: rgba(255, 255, 255, 0.07); box-shadow: none; }
.navy-band .card h3 { color: #fff; }
.navy-band .card p { color: rgba(255, 255, 255, 0.72); }
.navy-band .card .icon { background: rgba(139, 173, 112, 0.18); }
.navy-band .card .icon svg { stroke: var(--sage); }

/* --------------------------------------------------------------- feature split */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.split h2 {
  font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.12; margin-bottom: 18px;
}
.split p { font-size: 17.5px; color: var(--grey); margin-bottom: 14px; }
.split .visual {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 48px; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
}

/* --------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.stat h3 { font-size: clamp(40px, 5vw, 58px); font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.stat p { font-size: 15px; color: var(--grey); margin-top: 6px; }

/* --------------------------------------------------------------- leadership */
.leader {
  display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start;
}
.leader .portrait {
  aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 84px; font-weight: 600; letter-spacing: 0.02em;
}
.leader h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.015em; }
.leader .role { font-size: 16px; color: var(--sage); font-weight: 600; margin: 4px 0 20px; }
.leader p { font-size: 16.5px; color: var(--grey); margin-bottom: 14px; line-height: 1.6; }

.credentials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.credentials span {
  font-size: 13px; font-weight: 500; color: var(--navy);
  background: var(--sage-soft); border-radius: 980px; padding: 7px 15px;
}

/* --------------------------------------------------------------- clients */
.clients { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.clients span {
  font-size: 14px; font-weight: 500; color: var(--grey);
  border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 980px; padding: 9px 20px;
  background: var(--white);
}

/* --------------------------------------------------------------- registration strip */
.reg-strip { text-align: center; }
.reg-strip .grid { max-width: 900px; margin: 0 auto; }
.reg-item h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 8px;
}
.reg-item p { font-size: 17px; font-weight: 500; color: #fff; }

/* --------------------------------------------------------------- contact */
.contact-cards { max-width: 900px; margin: 0 auto; }
.contact-cards .card { text-align: center; }
.contact-cards .card .icon { margin: 0 auto 22px; }
.contact-cards .card a { font-weight: 500; }

.map-note {
  text-align: center; margin-top: 40px; font-size: 15px; color: var(--grey);
}

/* --------------------------------------------------------------- CTA band */
.cta-band { text-align: center; padding: 110px 24px; background: var(--grey-light); }
.cta-band h2 {
  font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.08; max-width: 760px; margin: 0 auto;
}
.cta-band p { font-size: 19px; color: var(--grey); margin: 18px auto 34px; max-width: 560px; }

/* --------------------------------------------------------------- footer */
footer {
  background: var(--white); border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 48px 0 40px; font-size: 13px; color: var(--grey);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap; margin-bottom: 34px;
}
.footer-brand img { height: 56px; margin-bottom: 14px; }
.footer-brand p { max-width: 300px; line-height: 1.6; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--grey); transition: color .2s; }
.footer-col a:hover { color: var(--navy); }
.footer-legal {
  border-top: 1px solid rgba(0, 0, 0, 0.08); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px;
}

/* --------------------------------------------------------------- quote form */
.form-card {
  max-width: 760px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius);
  padding: 48px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px; font-weight: 600; color: var(--ink);
  margin-bottom: 8px; letter-spacing: 0.01em;
}
.form-field label .req { color: var(--sage); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--grey-light); border: 1px solid transparent;
  border-radius: 12px; padding: 13px 16px;
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 42px;
}
.form-field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: var(--white); border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(3, 70, 110, 0.10);
}
.form-field .hint { font-size: 12.5px; color: var(--grey); margin-top: 7px; }
.form-consent {
  grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--grey); line-height: 1.5;
}
.form-consent input {
  width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy);
  -webkit-appearance: auto; appearance: auto;
}
.form-submit { grid-column: 1 / -1; text-align: center; margin-top: 10px; }
.form-submit .btn { width: 100%; max-width: 320px; border: none; cursor: pointer; font-family: inherit; }
.form-note { text-align: center; font-size: 13px; color: var(--grey); margin-top: 18px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-alert {
  max-width: 760px; margin: 0 auto 28px; border-radius: 14px;
  padding: 16px 22px; font-size: 15px; display: none;
}
.form-alert.show { display: block; }
.form-alert.ok { background: var(--sage-soft); color: #3d5a26; }
.form-alert.err { background: #fdecec; color: #a33; }

/* --------------------------------------------------------------- reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .split, .leader { grid-template-columns: 1fr; gap: 40px; }
  .leader .portrait { max-width: 260px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 70px 24px 60px; }
  .section { padding: 64px 0; }
}
