:root {
  --ink: #222a32;
  --muted: #64707d;
  --blue: #156da8;
  --blue-dark: #0b4d78;
  --blue-soft: #eaf3f8;
  --green: #7fa33f;
  --line: #dfe6eb;
  --paper: #ffffff;
  --wash: #f5f7f8;
  --shadow: 0 18px 45px rgba(23, 48, 67, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .7rem 1rem; color: #fff; background: var(--blue-dark); }
.skip-link:focus { top: 1rem; }
.container { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(23,58,79,.1); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { display: block; width: 240px; max-width: 58vw; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; padding: .55rem .72rem; font-size: 1.15rem; }
.main-nav { display: flex; align-items: center; gap: 1.25rem; font-family: Montserrat, Arial, sans-serif; font-size: .83rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.main-nav a { color: #36434d; padding: .35rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); border-color: var(--green); }

.hero { min-height: 690px; display: grid; place-items: center; position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, rgba(8,45,70,.96), rgba(18,102,158,.9)); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); }
.hero::before { width: 660px; height: 660px; right: -220px; top: -250px; }
.hero::after { width: 480px; height: 480px; left: -180px; bottom: -250px; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 7rem 0; }
.eyebrow { margin: 0 0 .75rem; font-family: Montserrat, Arial, sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: #b7d9e9; }
.hero h1 { margin: 0 auto 1.4rem; max-width: 900px; font-family: Montserrat, Arial, sans-serif; font-size: clamp(2.5rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -.045em; }
.hero h1 span { color: #b5d169; }
.hero-tagline { max-width: 790px; margin: 0 auto 2.2rem; font-size: clamp(1rem, 2vw, 1.28rem); color: rgba(255,255,255,.84); }
.delight-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 auto 2rem; }
.delight-grid span { padding: .45rem .8rem; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; color: #fff; font-size: .86rem; }
.button-row { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.25rem; border-radius: 4px; border: 2px solid var(--green); background: var(--green); color: #fff; font-family: Montserrat, Arial, sans-serif; font-size: .83rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.button:hover { color: #fff; background: #6c8d34; border-color: #6c8d34; }
.button.secondary { background: transparent; border-color: rgba(255,255,255,.7); }
.button.secondary:hover { background: #fff; color: var(--blue-dark); }

.section { padding: 90px 0; }
.section.alt { background: var(--wash); }
.section-label { margin-bottom: .6rem; font-family: Montserrat, Arial, sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.section h2, .page-hero h1, .content h1, .content h2, .content h3 { font-family: Montserrat, Arial, sans-serif; line-height: 1.22; color: #243541; }
.section h2 { margin: 0 0 1.1rem; font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.03em; }
.lead { max-width: 820px; margin: 0 auto; font-size: 1.15rem; color: #52616b; }
.center { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.4rem; margin-top: 2.4rem; }
.card { padding: 2rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 8px 26px rgba(31,60,78,.07); }
.card h3 { margin: 0 0 .65rem; font-family: Montserrat, Arial, sans-serif; font-size: 1.35rem; }
.card p:last-child { margin-bottom: 0; }
.text-link { font-weight: 700; }
.split { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); align-items: start; gap: 4rem; }
.split.reverse { grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr); }
.split-media { position: sticky; top: 110px; }
.split-media img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.compact-list { display: grid; gap: .65rem; margin: 1.4rem 0; padding: 0; list-style: none; }
.compact-list li { position: relative; padding-left: 1.7rem; }
.compact-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.client-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 2.2rem; align-items: center; }
.client-grid figure { min-height: 110px; margin: 0; padding: 1rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.client-grid img { max-height: 65px; width: auto; filter: grayscale(1); opacity: .82; }
.quote { margin: 1.4rem 0; padding: 1.25rem 1.4rem; border-left: 4px solid var(--green); background: var(--blue-soft); }
.quote p { margin: 0 0 .45rem; font-size: 1.08rem; }
.quote cite { color: var(--muted); font-style: normal; font-size: .92rem; }

.page-hero { padding: 95px 0 72px; color: #fff; background: linear-gradient(135deg, #0a4c75, #1574ad); }
.page-hero .eyebrow { color: #bddce9; }
.page-hero h1 { max-width: 900px; margin: 0 0 .7rem; color: #fff; font-size: clamp(2.35rem, 5vw, 4.4rem); letter-spacing: -.035em; }
.page-hero p { max-width: 760px; margin: 0; font-size: 1.1rem; color: rgba(255,255,255,.82); }
.content { padding: 72px 0 100px; }
.content h2 { margin: 2.4rem 0 .8rem; font-size: 1.8rem; }
.content h3 { margin: 2rem 0 .6rem; font-size: 1.25rem; color: var(--blue-dark); }
.content p { margin: 0 0 1.15rem; }
.content ul { padding-left: 1.2rem; }
.content figure { margin: 0; }
.content figure img { border-radius: 8px; box-shadow: var(--shadow); }
.content figcaption { margin-top: .6rem; color: var(--muted); font-size: .88rem; }
.profile { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 2.5rem; align-items: start; }
.profile img { width: 227px; border-radius: 7px; box-shadow: var(--shadow); }
.service-block { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.service-block:first-child { margin-top: 0; padding-top: 0; border: 0; }
.illustrated { display: grid; grid-template-columns: minmax(0,1fr) 250px; gap: 2.5rem; align-items: start; }
.illustrated img { border-radius: 8px; }
.book-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 3rem; align-items: start; }
.book-layout .book { width: 201px; margin: 0 auto; box-shadow: var(--shadow); }
.notice { padding: 1rem 1.2rem; border: 1px solid #c9dbe5; border-radius: 7px; background: #f3f8fb; color: #41545f; }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.contact-box { padding: 1.7rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.contact-box h3 { margin-top: 0; }
.address { font-style: normal; }

.site-footer { color: rgba(255,255,255,.78); background: #182a35; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding: 52px 0 38px; }
.site-footer h2 { margin: 0 0 .8rem; color: #fff; font-family: Montserrat, Arial, sans-serif; font-size: 1rem; }
.site-footer p { margin: 0; }
.site-footer a { color: #d5e8f2; }
.copyright { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--wash); }
.not-found h1 { margin: 0; font: 700 clamp(4rem,12vw,8rem)/1 Montserrat, sans-serif; color: var(--blue-dark); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 78px; padding: 1rem 20px 1.2rem; flex-direction: column; align-items: flex-start; gap: .7rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 28px rgba(25,48,63,.1); }
  .main-nav.open { display: flex; }
  .hero { min-height: 620px; }
  .split, .split.reverse, .illustrated { grid-template-columns: 1fr; }
  .split-media { position: static; max-width: 540px; margin-inline: auto; }
  .client-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1140px); }
  .section { padding: 66px 0; }
  .cards, .contact-panel, .book-layout, .profile, .footer-grid { grid-template-columns: 1fr; }
  .book-layout .book { margin: 0; }
  .profile img { width: 180px; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .card { padding: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
