@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");

:root {
  --sage: #a8b8ae;
  --sage-dark: #6f8577;
  --sage-pale: #e9efeb;
  --ink: #1f2937;
  --soft: #4b5563;
  --navy: #0b1220;
  --paper: #f8fafc;
  --white: #fff;
  --green: #25d366;
  --line: #dce4df;
  --shadow: 0 18px 45px rgba(31, 41, 55, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 "Open Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.24; }
h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 4.15rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
h2 { margin-bottom: 18px; font-size: clamp(1.75rem, 3.5vw, 2.65rem); letter-spacing: -.025em; }
h3 { margin-bottom: 12px; font-size: 1.2rem; }

.skip-link { position: fixed; z-index: 100; top: -70px; left: 16px; border-radius: 8px; background: #fff; padding: 10px 16px; }
.skip-link:focus { top: 16px; }
.site-header, .hero { background: var(--sage); }
.nav-shell {
  display: flex;
  width: min(1100px, calc(100% - 32px));
  margin: auto;
  padding: 26px 0 18px;
  align-items: center;
  justify-content: space-between;
}
.brand img { width: 230px; height: auto; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  padding: 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.main-nav { display: flex; align-items: center; gap: 10px; }
.main-nav a { border-radius: 9px; padding: 10px 13px; font-size: .94rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover { background: rgba(255,255,255,.5); }
.main-nav .nav-contact { background: var(--navy); color: #fff; padding-inline: 18px; }

.hero { padding: 40px 16px 76px; }
.hero-inner {
  display: grid;
  width: min(1100px, 100%);
  margin: auto;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 72px;
}
.hero-lead { max-width: 750px; margin-bottom: 28px; color: #334155; font-size: clamp(1.04rem, 2vw, 1.18rem); }
.hero-portrait { display: grid; place-items: center; }
.hero-portrait img { width: 250px; height: 250px; border-radius: 50%; object-fit: contain; }
.eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: #24364b;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.actions, .trust-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  min-height: 54px;
  padding: 14px 22px;
  border: 0;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(37,211,102,.22); }
.button-secondary { background: #6b7280; color: #fff; }
.trust-row { margin-top: 26px; gap: 10px 22px; color: #334155; font-size: .88rem; font-weight: 600; }

.section { padding: 76px 16px; }
.section-white { background: #fff; }
.container { width: min(1100px, 100%); margin: auto; }
.section-heading { max-width: 690px; margin: 0 auto 42px; text-align: center; }
.section-heading p, .muted { color: var(--soft); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  border: 1px solid #edf2f5;
  border-radius: 16px;
  background: #fff;
  padding: 28px 24px 30px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(31,41,55,.055);
}
.card p { margin-bottom: 0; color: var(--soft); font-size: .95rem; }
.service-icon { width: 120px; height: 120px; margin: 0 auto 20px; object-fit: contain; }
.cta-panel {
  display: flex;
  border-radius: 18px;
  background: var(--sage);
  padding: 42px 48px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.cta-panel > div { max-width: 690px; }
.cta-panel h2 { margin-bottom: 8px; }
.cta-panel p { margin-bottom: 0; }

.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.story-copy { color: var(--soft); }
.lead { color: var(--ink); font-size: 1.18rem; font-weight: 600; }
.value-card {
  min-height: 250px;
  border-top: 4px solid var(--sage-dark);
  border-radius: 8px 8px 14px 14px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}
.value-card > span { display: inline-block; margin-bottom: 42px; color: #657e6d; font-size: .85rem; font-weight: 700; }
.value-card p { margin-bottom: 0; color: var(--soft); }
.team-panel { display: grid; grid-template-columns: 290px minmax(0,1fr); align-items: center; gap: 72px; }
.team-art { display: grid; width: 290px; height: 290px; place-items: center; }
.team-art img { width: 215px; }
.team-panel p { color: var(--soft); }
.text-link { color: #456b55; font-weight: 700; text-underline-offset: 4px; }

.contact-quick { border: 1px solid rgba(255,255,255,.58); border-radius: 16px; background: rgba(255,255,255,.35); padding: 28px; }
.contact-quick span { display: block; margin-bottom: 6px; color: #506257; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-quick a { font-size: 1.08rem; font-weight: 700; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,.75fr); align-items: start; gap: 42px; }
.inquiry-form { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 38px; box-shadow: var(--shadow); }
.form-heading { margin-bottom: 30px; }
.form-heading p { color: var(--soft); }
.form-step { display: inline-flex; margin-bottom: 12px; border-radius: 999px; background: var(--sage-pale); padding: 6px 11px; color: #4f6757; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.form-error { display: none; margin-bottom: 24px; border-left: 4px solid #c2410c; border-radius: 8px; background: #fff7ed; padding: 13px 16px; color: #9a3412; font-size: .92rem; font-weight: 600; }
.form-error.show { display: block; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-grid + .field-grid, .field-grid + .field, .field + .field-grid { margin-top: 20px; }
.field label, fieldset legend { display: block; margin-bottom: 7px; color: #273548; font-size: .89rem; font-weight: 700; }
.required { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 49px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fbfdfe;
  padding: 10px 13px;
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sage-dark); outline: 3px solid rgba(111,133,119,.28); }
.hint { margin: 7px 0 0; color: #64748b; font-size: .78rem; }
.send-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 24px; border: 0; padding: 0; }
.send-choice legend { grid-column: 1 / -1; }
.send-choice label { display: flex; gap: 11px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 14px; cursor: pointer; }
.send-choice label:has(input:checked) { border-color: var(--sage-dark); background: #f0f4f1; box-shadow: 0 0 0 2px rgba(111,133,119,.22); }
.send-choice input { accent-color: #566d5e; }
.send-choice span { display: flex; flex-direction: column; }
.send-choice small { color: var(--soft); }
.form-submit { width: 100%; }
.form-note { margin: 13px auto 0; color: #64748b; font-size: .75rem; text-align: center; }
.sidebar { display: grid; gap: 22px; }
.sidebar-card { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 28px; }
.sidebar-dark { background: var(--navy); color: #fff; }
.sidebar-dark .eyebrow { color: var(--sage); }
.sidebar-dark p { color: rgba(255,255,255,.7); }
.sidebar-dark ul { margin: 25px 0 0; padding: 0; list-style: none; }
.sidebar-dark li { border-top: 1px solid rgba(255,255,255,.12); padding: 15px 0; }
.sidebar-dark li span { display: block; color: rgba(255,255,255,.55); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sidebar-dark a, .sidebar-dark strong { color: #fff; overflow-wrap: anywhere; }

.site-footer { margin-top: 20px; background: var(--navy); color: rgba(255,255,255,.82); }
.footer-grid { display: grid; width: min(1100px, calc(100% - 32px)); margin: auto; padding: 56px 0 44px; grid-template-columns: 1.4fr 1fr .8fr; gap: 48px; }
.footer-grid h2 { color: #fff; font-size: 1rem; }
.footer-grid p { max-width: 420px; color: rgba(255,255,255,.66); font-size: .92rem; }
.footer-brand { color: #fff; font-size: 1.24rem; font-weight: 700; text-decoration: none; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li + li { margin-top: 9px; }
.footer-grid a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-bottom { width: min(1100px, calc(100% - 32px)); margin: auto; border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 28px; color: rgba(255,255,255,.5); font-size: .82rem; }

@media (max-width: 800px) {
  .hero-inner, .story-grid, .team-panel, .contact-layout { grid-template-columns: 1fr; }
  .hero-portrait { grid-row: 1; justify-content: start; }
  .hero-portrait img { width: 170px; height: 170px; }
  .grid-3 { grid-template-columns: 1fr; }
  .team-art { width: 220px; height: 220px; }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 34px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .nav-shell {
    position: relative;
    min-height: 76px;
    padding: 12px 0;
    justify-content: center;
  }
  .brand {
    position: absolute;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
  }
  .brand img { width: 176px; max-height: 52px; object-fit: contain; }
  .nav-toggle {
    position: absolute;
    z-index: 12;
    right: 0;
    top: 15px;
    display: block;
  }
  .main-nav {
    position: absolute;
    z-index: 11;
    top: calc(100% + 2px);
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    gap: 5px;
    border: 0;
    border-radius: 14px;
    background: var(--navy);
    padding: 12px;
    opacity: 0;
    box-shadow: 0 18px 36px rgba(11,18,32,.22);
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .main-nav a,
  .main-nav .nav-contact {
    border-radius: 9px;
    padding: 12px 14px;
    color: #fff;
    font-size: .92rem;
  }
  .main-nav a:hover { background: rgba(255,255,255,.1); }
  .main-nav .nav-contact { background: var(--sage-dark); }
  .hero-portrait {
    width: 180px;
    height: 180px;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 50%;
    justify-content: center;
  }
  .hero-portrait img {
    width: 180px;
    height: 180px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    object-fit: cover;
    box-shadow: none;
    clip-path: circle(49% at 50% 50%);
  }
  .team-art { margin-inline: auto; background: transparent; justify-self: center; }
  .team-art img { border: 0; background: transparent; box-shadow: none; }
  .hero { padding-bottom: 54px; }
  .actions .button, .form-submit { width: 100%; }
  .section { padding-block: 58px; }
  .field-grid, .send-choice { grid-template-columns: 1fr; }
  .inquiry-form { padding: 26px 20px; }
}
