/* ==========================================================================
   Enomoto LLC — site styles
   Palette (from brief §8): navy #0F2A3F · deep blue #143A55 · gold #E8A24A
   light text #C7D6E2 · ink #1A1A1A
   ========================================================================== */

:root {
  --navy:      #0F2A3F;
  --deep-blue: #143A55;
  --gold:      #E8A24A;
  --gold-dark: #cf8a34;
  --light:     #C7D6E2;
  --ink:       #1A1A1A;
  --paper:     #ffffff;
  --paper-alt: #f1f5f8;
  --paper-warm:#FBF3E6;
  --line:      #e2e8ee;

  --maxw: 1120px;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15,42,63,.08), 0 1px 2px rgba(15,42,63,.06);
  --shadow-md: 0 10px 30px rgba(15,42,63,.10);
  --shadow-lg: 0 24px 60px rgba(15,42,63,.16);

  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep-blue); text-decoration: none; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1.1em; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--navy   { background: var(--navy); color: var(--light); }
.section--deep   { background: var(--deep-blue); color: var(--light); }
.section--alt    { background: var(--paper-alt); }
.section--navy h1, .section--navy h2, .section--navy h3,
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 .6em;
}
.section--navy .eyebrow, .section--deep .eyebrow { color: var(--gold); }
.lead { font-size: 1.18rem; max-width: 62ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-left: auto; margin-right: auto; }
.accent-bar { width: 56px; height: 4px; background: var(--gold); border-radius: 2px; margin: 0 0 22px; }
.center .accent-bar { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  line-height: 1;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover { background: var(--gold-dark); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,42,63,.98);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 40px; width: auto; }
.nav__brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--light);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  padding: 9px 14px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__links a.is-active { color: var(--gold); }
.nav__cta { margin-left: 6px; }
.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 78% -8%, rgba(232,162,74,.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--deep-blue) 100%);
  color: var(--light);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 22px;
}
.hero__sub { font-size: 1.2rem; max-width: 54ch; color: #dbe6f0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust {
  margin-top: 30px;
  font-size: .95rem;
  color: var(--light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__trust::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero__badge {
  justify-self: center;
  width: min(340px, 80%);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3dde7; }
.card__num {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* service card (home) — larger, linked */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card h3 { color: var(--navy); }
.service-card__tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.service-card__link {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--deep-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-card__link .arrow { transition: transform .15s ease; }
.service-card:hover .service-card__link .arrow { transform: translateX(4px); }

/* ---------- feature list ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
}
.section--navy .ticks li::before, .section--deep .ticks li::before { background: var(--gold); }

/* ---------- callout / promise ---------- */
.callout {
  border-left: 5px solid var(--gold);
  background: var(--paper-alt);
  padding: 22px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem;
  color: var(--deep-blue);
  font-style: italic;
}
.section--navy .callout, .section--deep .callout {
  background: rgba(255,255,255,.06);
  color: #eaf1f7;
}
.note {
  border-left: 5px solid var(--gold);
  background: var(--paper-warm);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem;
  color: #6B4E1E;
}
.note strong { color: #5a3f13; }

/* ---------- who it's for ---------- */
.audience { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.audience .card { border-top: 4px solid var(--deep-blue); }

/* ---------- split (about / detail) ---------- */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}
.split__media figcaption {
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}
.split__media figcaption span { display:block; font-family: var(--font-body); font-weight: 400; color: #5a6b78; font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(232,162,74,.18), transparent 60%),
    var(--navy);
  color: #fff;
  border-radius: 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #d6e2ec; margin-left:auto; margin-right:auto; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico {
  flex: 0 0 40px; height: 40px; width: 40px;
  display: grid; place-items: center;
  background: var(--paper-alt); border-radius: 10px;
  color: var(--deep-blue);
}
.info-list .k { font-family: var(--font-head); font-weight: 600; color: var(--navy); display: block; font-size: .95rem; }
.info-list .v { color: #45525d; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #cdd8e1;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,162,74,.22);
}
.field textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: .85rem; color: #6a7883; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--light);
  padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img.f-logo { height: 46px; margin-bottom: 16px; }
.site-footer h4 {
  color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--light); }
.site-footer a:hover { color: var(--gold); }
.site-footer .muted { color: #8ea6ba; font-size: .92rem; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: .85rem; color: #8ea6ba;
}

/* ---------- misc ---------- */
.stack > * + * { margin-top: 18px; }
.mt-0 { margin-top: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 0 0 8px 0;
  font-family: var(--font-head); font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__badge { display: none; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .grid--2, .grid--3, .grid--4, .audience { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  body { font-size: 16px; }
}

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