:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --surface-soft: #f5efe8;
  --text: #26302f;
  --muted: #6f7b78;
  --primary: #52796f;
  --primary-dark: #354f52;
  --accent: #c8a27a;
  --accent-soft: #ead8c3;
  --line: rgba(38, 48, 47, .12);
  --shadow: 0 24px 60px rgba(35, 50, 49, .12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.narrow { width: min(calc(100% - 40px), 820px); }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  background: var(--primary-dark);
  color: white;
  padding: .7rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 244, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(251, 248, 244, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(30, 45, 43, .06);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 25px rgba(53, 79, 82, .24);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.main-nav a {
  padding: .75rem .95rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: .94rem;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-dark);
  background: rgba(82, 121, 111, .09);
}
.main-nav .nav-cta {
  color: white;
  background: var(--primary-dark);
  margin-left: .4rem;
}
.main-nav .nav-cta:hover,
.main-nav .nav-cta.active {
  color: white;
  background: var(--primary);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(35, 50, 49, .08);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--primary-dark);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.section,
.section-soft,
.section-tinted { position: relative; }
.section { padding: 96px 0; }
.section-soft {
  overflow: hidden;
  padding: 110px 0 92px;
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 162, 122, .23), transparent 34%),
    radial-gradient(circle at 86% 22%, rgba(82, 121, 111, .20), transparent 32%),
    linear-gradient(180deg, #fbf8f4 0%, #f6efe7 100%);
}
.section-tinted {
  padding: 96px 0;
  background: #edf3ef;
}
.hero-grid,
feature-grid,
.split-grid,
.contact-grid {
  display: grid;
  gap: 56px;
}
.hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
.split-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
.feature-grid { grid-template-columns: .9fr 1.1fr; align-items: center; }
.contact-grid { grid-template-columns: .75fr 1fr; align-items: start; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .77rem;
}
h1, h2, h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -.045em;
}
h1, h2 { font-family: "Playfair Display", Georgia, serif; }
h1 { font-size: clamp(2.65rem, 6vw, 5.7rem); max-width: 850px; margin-bottom: 1.4rem; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); margin-bottom: 1.3rem; }
h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 680px;
}
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary-dark); color: white; box-shadow: 0 18px 36px rgba(53, 79, 82, .2); }
.btn-primary:hover { background: var(--primary); }
.btn-secondary { background: rgba(255,255,255,.72); color: var(--primary-dark); border-color: var(--line); }
.btn-light { background: white; color: var(--primary-dark); }

.hero-card { min-height: 540px; position: relative; display: grid; place-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); animation: floaty 7s ease-in-out infinite; }
.orb-one { width: 180px; height: 180px; background: rgba(200, 162, 122, .45); top: 5%; right: 12%; }
.orb-two { width: 250px; height: 250px; background: rgba(82, 121, 111, .22); bottom: 5%; left: 2%; animation-delay: -2s; }
.portrait-card {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(245,239,232,.7));
}
.portrait-abstract {
  position: absolute;
  inset: 22px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(53,79,82,.85), rgba(82,121,111,.35)),
    url('../img/abstract-calm.svg') center/cover no-repeat;
}
.floating-note {
  position: absolute;
  padding: .65rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(35, 50, 49, .12);
  backdrop-filter: blur(14px);
}
.note-one { top: 14%; left: -2%; }
.note-two { right: -2%; top: 48%; }
.note-three { bottom: 12%; left: 18%; }
.cards-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.services-grid { grid-template-columns: repeat(4, 1fr); }
.info-card,
.service-card,
.contact-panel,
.contact-form {
  background: var(--surface);
  border: 1px solid rgba(38, 48, 47, .08);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 45px rgba(35, 50, 49, .07);
}
.info-card,
.service-card { padding: 30px; transition: transform .2s ease, box-shadow .2s ease; }
.info-card:hover,
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.4rem;
  border-radius: 16px;
  background: var(--surface-soft);
  color: var(--primary);
  font-weight: 800;
}
.text-stack { color: var(--muted); font-size: 1.05rem; }
.centered { text-align: center; max-width: 790px; }
.feature-panel {
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: 42px;
  background:
    radial-gradient(circle, rgba(255,255,255,.88), rgba(255,255,255,.25) 45%, transparent 46%),
    linear-gradient(135deg, rgba(82,121,111,.25), rgba(200,162,122,.25));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), var(--shadow);
}
.pulse-rings { position: relative; width: 180px; height: 180px; }
.pulse-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(53, 79, 82, .28);
  border-radius: 50%;
  animation: pulse 3.8s ease-out infinite;
}
.pulse-rings span:nth-child(2) { animation-delay: .8s; }
.pulse-rings span:nth-child(3) { animation-delay: 1.6s; }
.check-list { padding: 0; margin: 1.6rem 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; margin: .75rem 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(200,162,122,.18);
}
.cta-band { padding: 80px 0; background: var(--primary-dark); color: white; }
.cta-band .eyebrow { color: var(--accent-soft); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-inner h2 { margin-bottom: 0; max-width: 760px; }
.page-hero { padding: 95px 0 75px; }
.contact-panel,
.contact-form { padding: 34px; }
.contact-item { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-item strong { display: block; color: var(--primary-dark); }
.contact-item span { color: var(--muted); }
.hours-box { margin-top: 1rem; padding: 20px; border-radius: var(--radius-md); background: var(--surface-soft); }
.form-row { margin-bottom: 1rem; }
label { display: block; margin-bottom: .42rem; font-weight: 700; color: var(--primary-dark); }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: .95rem 1rem;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus { border-color: rgba(82,121,111,.65); box-shadow: 0 0 0 4px rgba(82,121,111,.12); }
textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
.site-footer { background: #22302f; color: rgba(255,255,255,.82); padding: 64px 0 28px; }
.site-footer .brand-mark { background: rgba(255,255,255,.12); box-shadow: none; }
.site-footer .brand small,
.site-footer p { color: rgba(255,255,255,.62); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 42px; }
.footer-grid h2 { font: 700 1rem Inter, sans-serif; letter-spacing: 0; margin-bottom: 1rem; }
.footer-grid a { display: block; color: rgba(255,255,255,.75); margin: .35rem 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes pulse { 0% { transform: scale(.45); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .feature-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 460px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: .35rem;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { width: 100%; }
  .main-nav .nav-cta { margin-left: 0; text-align: center; }
  .section { padding: 72px 0; }
  .section-soft { padding: 82px 0 70px; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 390px; }
  .portrait-card { width: min(100%, 330px); border-radius: 34px; }
  .floating-note { font-size: .88rem; }
}
@media (max-width: 520px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-shell { min-height: 74px; }
  .main-nav { top: 74px; left: 14px; right: 14px; }
  .brand small { display: none; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .contact-panel, .contact-form, .info-card, .service-card { padding: 24px; border-radius: 24px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
