/* Sekhel Industries site styles
   Light layout with navy bands and gold accents.
   Colors and fonts live in :root. Change them here and every page follows. */

:root {
  --navy: #0f2340;
  --navy-deep: #0a1a31;
  --navy-soft: #1b3358;
  --paper: #ffffff;
  --cream: #f6f4ef;
  --ink: #1a2433;
  --muted: #5d6675;
  --muted-light: #b5bfcf;
  --line: #e3e0d8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --gold: #b08a4f;
  --gold-light: #d2b07a;
  --error: #b3261e;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Hero photo. Swap the URL for assets/hero-peaks.jpg once you save a local copy. */
  --hero-photo: url("https://images.unsplash.com/photo-1733249152111-cde0234c5fed?auto=format&fit=crop&w=1800&q=80");

  --wrap: 1160px;
  --radius: 3px;
  --shadow: 0 10px 30px rgba(15, 35, 64, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); }
a:hover { color: var(--gold); }

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

/* Type */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.08;
  margin: 0 0 0.45em;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.7rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.6rem; }

h1 em, h2 em { font-style: normal; color: var(--gold); }

p { margin: 0 0 1em; }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 520px; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

.btn-outline { background: transparent; color: var(--navy); border-color: #c9ccd3; }
.btn-outline:hover { background: transparent; color: var(--gold); border-color: var(--gold); }

.btn-gold { background: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: #fff; border-color: #fff; color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand img { height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.nav .btn { padding: 11px 20px; border-bottom: 1px solid var(--navy); color: #fff; }
.nav .btn:hover { color: #fff; border-color: var(--gold); }
.nav .btn[aria-current="page"] { color: #fff; border-bottom-color: var(--navy); }

/* Hero (home) */

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--paper);
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  background: var(--hero-photo) 50% 35% / cover no-repeat, linear-gradient(160deg, #dfe7f1, #8ea3bf 55%, var(--navy-soft));
}

/* soft fade from white text side into the photo */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.7) 14%, rgba(255, 255, 255, 0) 38%);
}

.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero-copy { max-width: 540px; }
.hero-copy .lead { margin-bottom: 34px; }

/* Value band */

.band {
  background: var(--navy);
  color: #fff;
  padding: 46px 0;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.band-item {
  display: flex;
  gap: 16px;
  padding: 4px 26px;
  border-left: 1px solid var(--line-dark);
}

.band-item:first-child { border-left: 0; padding-left: 0; }
.band-item .icon { flex: 0 0 auto; width: 38px; height: 38px; color: var(--gold-light); margin: 2px 0 0; }
.band-item h3 { font-family: var(--font-body); font-size: 17px; font-weight: 500; color: #fff; margin: 0 0 4px; line-height: 1.3; }
.band-item p { font-size: 15px; color: var(--muted-light); margin: 0; line-height: 1.6; }

/* Sections */

section { padding: 96px 0; }
.section-cream { background: var(--cream); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.section-head h2 { margin: 0; }
.section-head .lead { margin: 0; font-size: 1rem; max-width: 360px; }

.icon { width: 34px; height: 34px; color: var(--gold); }

/* Service cards (home) */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 28px;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: var(--ink); }
.card .icon { margin-bottom: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0 0 22px; flex: 1; }

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.card-link svg { width: 18px; height: 18px; transition: transform 0.2s; }
a.card:hover .card-link { color: var(--gold); }
a.card:hover .card-link svg { transform: translateX(4px); }

.card-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.card-navy h3 { color: #fff; }
.card-navy p { color: var(--muted-light); }
.card-navy .icon { color: var(--gold-light); }
.card-navy .card-link { color: var(--gold-light); border-top-color: var(--line-dark); }
a.card-navy:hover { color: #fff; }
a.card-navy:hover .card-link { color: #fff; }

/* About split (home) */

.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
}

.fact {
  text-align: center;
  padding: 10px 18px;
  border-right: 1px solid var(--line);
}

.fact:last-child { border-right: 0; }
.fact .icon { margin: 0 auto 14px; color: var(--navy); }
.fact strong { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--navy); margin-bottom: 8px; }
.fact span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }

/* CTA strip */

.cta {
  padding: 64px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.cta .wrap {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  align-items: center;
  gap: 32px;
}

.cta-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
}

.cta-badge svg { width: 26px; height: 26px; }
.cta h2 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.4rem); }
.cta p { margin: 0; color: var(--muted); }

/* Page head (inner pages) */

.page-head {
  position: relative;
  padding: 96px 0 88px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 26, 49, 0.95) 0%, rgba(10, 26, 49, 0.82) 45%, rgba(10, 26, 49, 0.45) 100%),
    var(--hero-photo) center 40% / cover no-repeat,
    var(--navy);
}

.page-head h1 { color: #fff; margin-bottom: 14px; }
.page-head .eyebrow { color: var(--gold-light); }
.page-head .lead { color: #d6dce6; max-width: 560px; margin: 0; }

/* Services page rows */

.service {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.service:first-child { padding-top: 0; }
.service:last-child { border-bottom: 0; padding-bottom: 0; }
.service .icon { width: 42px; height: 42px; margin-bottom: 18px; }
.service h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.service .num { font-size: 13px; font-weight: 500; letter-spacing: 0.22em; color: var(--gold); }

.service ul {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 28px;
}

.service li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--line); }
.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

/* Process band (services page) */

.steps { counter-reset: step; }
.steps .band-item h3::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 10px;
}
.steps.band-grid { grid-template-columns: repeat(3, 1fr); }

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 64px;
  align-items: start;
}

.contact-info .item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info .item:first-of-type { padding-top: 0; }
.contact-info .icon { flex: 0 0 auto; width: 26px; height: 26px; margin-top: 3px; }
.contact-info h3 { font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 2px; color: var(--navy); }
.contact-info p { margin: 0; color: var(--muted); }

form.contact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 36px;
}

form.contact h2 { font-size: 2rem; margin-bottom: 24px; }

.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 7px;
}

label .opt { color: var(--muted); font-weight: 400; }

input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

textarea { min-height: 150px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 138, 79, 0.18);
}

.hp { position: absolute; left: -9999px; }

.form-status { margin: 16px 0 0; min-height: 1.5em; }
.form-status.ok { color: #2e6b3f; }
.form-status.err { color: var(--error); }

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: var(--muted-light);
  padding: 72px 0 32px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 26px;
}

.footer-grid img { height: 62px; width: auto; margin-bottom: 18px; }
.footer-grid p { margin: 0; max-width: 280px; line-height: 1.6; }
.footer-grid h4 { font-size: 15px; font-weight: 500; color: #fff; margin: 4px 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer a { color: var(--muted-light); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer small { display: block; font-size: 13px; }

/* Responsive */

@media (max-width: 960px) {
  .band-grid, .steps.band-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .band-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .split, .contact-layout, .service { grid-template-columns: 1fr; gap: 28px; }
  .cta .wrap { grid-template-columns: auto 1fr; }
  .cta p { grid-column: 1 / -1; }
  .cta .btn { grid-column: 1 / -1; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 72px 0; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-photo { position: relative; width: 100%; height: 280px; order: -1; }
  .hero-photo::before { background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 45%); }
  .hero .wrap { padding-top: 8px; padding-bottom: 64px; }
}

@media (max-width: 620px) {
  .site-header .wrap { flex-direction: column; justify-content: center; gap: 6px; padding-top: 12px; padding-bottom: 10px; min-height: 0; }
  .brand img { height: 50px; }
  .nav { gap: 24px; }
  .nav .btn { padding: 9px 16px; }
  .band-grid, .steps.band-grid, .cards, .facts, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .band-item { border-left: 0; padding: 0; }
  .facts { border-left: 0; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .fact:last-child { border-bottom: 0; }
  .service ul { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  form.contact { padding: 30px 22px; }
  .page-head { padding: 64px 0 60px; }
}
