:root {
  --navy: #14305a;
  --navy-deep: #0d2244;
  --sky: #e8eef7;
  --mustard: #f2b134;
  --mustard-dark: #d99a1c;
  --cream: #fbf8f2;
  --ink: #16233a;
  --muted: #5a667a;
  --line: #dde3ec;
  --white: #ffffff;
  --radius: 16px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.hl { color: var(--mustard); }

.eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mustard-dark);
  margin-bottom: .9em;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85em 1.5em;
  border-radius: 10px;
  background: var(--mustard);
  color: var(--navy-deep);
  font: inherit; font-weight: 800;
  text-decoration: none;
  border: 2px solid var(--mustard);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--mustard-dark); border-color: var(--mustard-dark); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; box-shadow: 0 0 0 6px var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-small { padding: .5em 1.1em; font-size: .92rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--navy); color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border: 1px solid rgba(255,255,255,.2); border-radius: 10px; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.wordmark small { font-family: var(--font); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin-right: 2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.85); }
.nav a:not(.btn):hover { color: var(--mustard); }

/* Hero */
.hero {
  background:
    radial-gradient(700px 420px at 90% 10%, rgba(242,177,52,.2), transparent 65%),
    var(--navy);
  color: var(--white);
  padding: 84px 0 96px;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 56px; }
.hero .eyebrow { color: var(--mustard); }
.hero .lead { color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  padding: 36px 32px;
}
.five { display: flex; align-items: flex-end; margin-bottom: 26px; }
.five span {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--mustard);
  border: 4px solid var(--navy);
  margin-right: -14px;
}
.five .big { width: 68px; height: 68px; background: var(--white); margin-right: 0; }
.hero-card-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: .4em; }
.hero-card-text { margin: 0; color: rgba(255,255,255,.82); }

/* Values */
.values { background: var(--mustard); color: var(--navy-deep); }
.values-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.values-inner div { display: flex; flex-direction: column; }
.values strong { font-family: var(--serif); font-size: 1.3rem; }
.values span { font-size: .93rem; font-weight: 500; }

/* Sections */
.section { padding: 92px 0; }
.section-alt { background: var(--sky); }

/* Icons */
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--mustard); stroke-width: 1.700; stroke-linecap: round; stroke-linejoin: round; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Brothers */
.brothers { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.roles li { display: flex; gap: 18px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 20px 22px; }
.roles strong { display: block; font-size: 1.1rem; }
.roles div span { color: var(--muted); }
.avatar {
  flex: none; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--mustard); color: var(--navy-deep);
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
}
.a-big { background: var(--navy); color: var(--white); }
.a-heart { background: var(--sky); color: var(--navy); font-family: var(--font); }

/* Steps */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--mustard); color: var(--navy-deep);
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  margin-bottom: 16px;
}

/* Prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
.price-card { position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 28px; }
.price-card.featured { background: var(--navy); color: var(--white); }
.price-card .price { color: var(--muted); margin-bottom: 1em; }
.price-card.featured .price { color: rgba(255,255,255,.8); }
.price-card .price strong { font-family: var(--serif); font-size: 2rem; color: var(--ink); }
.price-card.featured .price strong { color: var(--mustard); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.price-card li { padding-left: 26px; position: relative; }
.price-card li::before {
  content: ""; position: absolute; left: 4px; top: .35em;
  width: 7px; height: 12px;
  border: solid var(--mustard-dark); border-width: 0 2.500px 2.500px 0;
  transform: rotate(45deg);
}
.price-card.featured li::before { border-color: var(--mustard); }
.badge {
  position: absolute; top: -12px; right: 22px;
  background: var(--mustard); color: var(--navy-deep);
  font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .3em .9em; border-radius: 999px;
}
.price-note { margin: 24px 0 0; color: var(--muted); font-size: .95rem; }

/* Quote */
.quote { background: var(--navy); color: var(--white); }
.quote .eyebrow { color: var(--mustard); }
.quote .lead { color: rgba(255,255,255,.85); }
.quote-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.quote-mail { margin-top: 28px; color: rgba(255,255,255,.75); }
.quote-mail a { color: var(--mustard); font-weight: 700; font-size: 1.15rem; text-decoration: none; overflow-wrap: anywhere; }
.quote-mail a:hover { text-decoration: underline; }
.quote-form { background: var(--white); color: var(--ink); border-radius: 20px; padding: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: .88rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  padding: .7em .85em;
  border: 1.500px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(242,177,52,.5); border-color: var(--mustard-dark); }
textarea { resize: vertical; }
.quote-form .btn { justify-self: start; }
.form-hint { margin: 0; font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); font-size: .9rem; }
.footer-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--mustard); }

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .values-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .hero-inner, .brothers, .quote-inner { grid-template-columns: 1fr; gap: 36px; }
  .steps, .prices { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 68px; }
  .section { padding: 68px 0; }
  .nav a:not(.btn) { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .quote-form { padding: 22px 18px; }
  .wordmark { font-size: 1.15rem; }
  .five span { width: 46px; height: 46px; }
  .five .big { width: 58px; height: 58px; }
}

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