/* ==========================================================
   Expert Wealth Manage - Stylesheet
   Palette: dusk indigo, dusty rose, sage and warm linen
   Fonts: Prata (headings) + Wix Madefor Text (body)
   Motif: arched photo frames, double rules, roman numerals
   ========================================================== */

:root {
  --dusk-950: #191d33;
  --dusk-900: #232842;
  --dusk-800: #2e3454;
  --dusk-700: #3d4566;
  --dusk-500: #5b6488;
  --dusk-200: #c9cddd;
  --rose: #b5676e;
  --rose-700: #94505a;
  --rose-300: #d9939a;
  --rose-100: #f4e4e2;
  --sage: #7f9a8c;
  --sage-700: #5e786b;
  --sage-100: #e5ede8;
  --linen: #f5f0e8;
  --linen-2: #ede5d8;
  --paper: #fffcf7;
  --line: #ddd4c6;
  --text: #2a2d3a;
  --muted: #676b7c;
  --white: #ffffff;
  --radius: 6px;
  --arch: 999px 999px 6px 6px;
  --shadow: 0 18px 40px -22px rgba(25, 29, 51, .45);
  --shadow-sm: 0 8px 22px -14px rgba(25, 29, 51, .35);
  --ff-head: 'Prata', Georgia, 'Times New Roman', serif;
  --ff-body: 'Wix Madefor Text', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rose-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--dusk-700); }
h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  font-weight: 400;
  color: var(--dusk-900);
  line-height: 1.22;
  margin: 0 0 .6em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.18rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2rem; }
::selection { background: var(--rose-100); color: var(--dusk-900); }

.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
.bg-linen { background: var(--linen); }
.bg-sage { background: var(--sage-100); }
.bg-dusk { background: var(--dusk-900); color: #d9dbe6; }
.bg-dusk h2, .bg-dusk h3, .bg-dusk h4 { color: var(--paper); }

/* ---------- Eyebrow + headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rose-700);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--rose);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.bg-dusk .eyebrow { color: var(--rose-300); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.bg-dusk .section-head p { color: #b9bccd; }
.double-rule {
  height: 7px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 auto;
  opacity: 1;
  color: inherit;
}
.lead-text { font-size: 1.13rem; color: var(--muted); }
em.rose { font-style: italic; color: var(--rose); }

/* ---------- Buttons ---------- */
.btn-ewm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn-ewm .arrow { transition: transform .25s ease; }
.btn-ewm:hover .arrow { transform: translateX(4px); }
.btn-rose { background: var(--rose); color: var(--white); }
.btn-rose:hover { background: var(--rose-700); color: var(--white); }
.btn-dusk { background: var(--dusk-700); color: var(--white); }
.btn-dusk:hover { background: var(--dusk-900); color: var(--white); }
.btn-outline { border-color: var(--dusk-700); color: var(--dusk-700); background: transparent; }
.btn-outline:hover { background: var(--dusk-700); color: var(--white); }
.btn-light-outline { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn-light-outline:hover { background: var(--white); color: var(--dusk-900); }
.btn-ewm:disabled { opacity: .65; cursor: wait; }
.text-link {
  font-weight: 700;
  color: var(--dusk-700);
  border-bottom: 1.5px solid var(--rose);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--rose-700); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--dusk-950);
  color: #bfc2d4;
  font-size: .84rem;
  padding: 9px 0;
}
.topbar a { color: #e1e3ec; }
.topbar a:hover { color: var(--rose-300); }
.topbar .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar .items { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar .item { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; fill: var(--rose-300); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 247, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -20px rgba(25, 29, 51, .5); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 20px;
}
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-size: .95rem;
  font-weight: 600;
  color: var(--dusk-800);
  padding: 8px 14px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 6px; height: 6px;
  background: var(--rose);
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.main-nav a.active { color: var(--rose-700); }
.nav-cta { margin-left: 14px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--dusk-700);
  border-radius: 50%;
  width: 46px; height: 46px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  background: var(--dusk-800);
  transition: transform .25s ease, background .25s ease;
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; transform: translateX(-50%); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--linen);
  padding: 80px 0 96px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  right: -160px; top: -160px;
  width: 520px; height: 520px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.hero h1 em { font-style: italic; color: var(--rose); }
.hero .lead-text { max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-points { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-points div { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.hero-points strong { display: block; font-family: var(--ff-head); font-weight: 400; font-size: 1.85rem; color: var(--dusk-900); }
.hero-visual { position: relative; z-index: 1; max-width: 470px; margin-left: auto; }
.arch-frame {
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--dusk-200);
  position: relative;
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .arch-frame { height: 560px; border: 10px solid var(--paper); box-shadow: var(--shadow); }
.hero-badge {
  position: absolute;
  left: -48px; bottom: 60px;
  background: var(--dusk-900);
  color: var(--paper);
  padding: 22px 24px;
  border-radius: var(--radius);
  max-width: 230px;
  box-shadow: var(--shadow);
}
.hero-badge .num { font-family: var(--ff-head); font-size: 2.1rem; line-height: 1; color: var(--rose-300); }
.hero-badge p { margin: 8px 0 0; font-size: .86rem; line-height: 1.5; color: #c9cbd9; }
.hero-seal {
  position: absolute;
  right: -22px; top: 46px;
  width: 112px; height: 112px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.35;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--paper);
}
.hero-seal span { font-family: var(--ff-head); font-size: 1.6rem; letter-spacing: 0; text-transform: none; }

/* ---------- Credentials ribbon ---------- */
.ribbon { background: var(--dusk-900); color: #dfe1ea; padding: 22px 0; overflow: hidden; }
.ribbon-track { display: flex; gap: 52px; white-space: nowrap; width: max-content; animation: ribbon 38s linear infinite; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 52px; font-family: var(--ff-head); font-size: 1.15rem; }
.ribbon-track span::after { content: ""; width: 8px; height: 8px; background: var(--rose-300); transform: rotate(45deg); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- About intro ---------- */
.about-visual { position: relative; padding-right: 70px; padding-bottom: 60px; }
.about-visual .arch-frame { height: 480px; }
.about-visual .inset {
  position: absolute;
  right: 0; bottom: 0;
  width: 220px; height: 240px;
  border-radius: 6px 6px 999px 999px;
  overflow: hidden;
  border: 8px solid var(--paper);
  box-shadow: var(--shadow);
  background: var(--dusk-200);
}
.about-visual .inset img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.8' fill='none' stroke='%235e786b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.signature { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.signature .mono {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--dusk-700); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-size: 1.2rem;
}
.signature strong { display: block; color: var(--dusk-900); }
.signature span { font-size: .88rem; color: var(--muted); }

/* ---------- Service cards ---------- */
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--rose-300); }
.service-card .thumb {
  height: 230px;
  border-radius: 160px 160px 6px 6px;
  overflow: hidden;
  position: relative;
  background: var(--dusk-200);
}
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .numeral {
  position: absolute;
  left: 50%; bottom: 14px;
  transform: translateX(-50%);
  background: var(--paper);
  color: var(--rose-700);
  font-family: var(--ff-head);
  font-size: 1rem;
  min-width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.service-card .body { padding: 26px 14px 14px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.service-card .btn-ewm { align-self: center; margin-top: 6px; }

/* ---------- Method (roman numerals) ---------- */
.method-step {
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 26px;
  height: 100%;
}
.method-step .roman {
  font-family: var(--ff-head);
  font-size: 2.6rem;
  color: var(--rose-300);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}
.method-step h3 { font-size: 1.32rem; }
.method-step p { color: #b9bccd; font-size: .97rem; margin: 0; }
.method-photo { height: 100%; min-height: 320px; border-radius: var(--arch); overflow: hidden; background: var(--dusk-800); }
.method-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Blueprint (life stage allocations) ---------- */
.stage-card {
  background: var(--paper);
  border-radius: 10px;
  padding: 34px 30px;
  height: 100%;
  border: 1px solid var(--line);
  position: relative;
}
.stage-card.featured { background: var(--dusk-900); border-color: var(--dusk-900); color: #cfd2df; }
.stage-card.featured h3 { color: var(--paper); }
.stage-card .tag {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-700); margin-bottom: 10px; display: block;
}
.stage-card.featured .tag { color: var(--rose-300); }
.stage-card .desc { font-size: .95rem; color: var(--muted); }
.stage-card.featured .desc { color: #b9bccd; }
.alloc { margin: 22px 0 0; }
.alloc-row { margin-bottom: 14px; }
.alloc-row .label { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.alloc-bar { height: 8px; border-radius: 8px; background: var(--linen-2); overflow: hidden; }
.stage-card.featured .alloc-bar { background: rgba(255, 255, 255, .12); }
.alloc-bar i { display: block; height: 100%; border-radius: 8px; }
.alloc-bar .c1 { background: var(--dusk-500); }
.alloc-bar .c2 { background: var(--rose); }
.alloc-bar .c3 { background: var(--sage); }
.stage-card.featured .alloc-bar .c1 { background: var(--dusk-200); }
.note-small { font-size: .84rem; color: var(--muted); margin-top: 26px; text-align: center; }

/* ---------- Why choose ---------- */
.why-photo { position: relative; }
.why-photo .arch-frame { height: 520px; }
.why-photo .quote-chip {
  position: absolute;
  bottom: 30px; left: 30px; right: 30px;
  background: rgba(255, 252, 247, .95);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-family: var(--ff-head);
  color: var(--dusk-900);
  font-size: 1.08rem;
  line-height: 1.5;
}
.feature-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.feature-item:last-child { border-bottom: 0; }
.feature-item .icon {
  flex: 0 0 58px; height: 58px;
  border-radius: 50%;
  border: 1.5px solid var(--rose);
  display: flex; align-items: center; justify-content: center;
}
.feature-item .icon svg { width: 26px; height: 26px; stroke: var(--rose-700); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-item h4 { margin-bottom: 6px; }
.feature-item p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px 30px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.testimonial::before {
  content: "\201C";
  font-family: var(--ff-head);
  font-size: 4.4rem;
  line-height: 1;
  color: var(--rose-300);
  position: absolute;
  top: 14px; right: 24px;
}
.testimonial .stars { color: var(--rose); letter-spacing: 3px; font-size: .95rem; margin-bottom: 14px; }
.testimonial p { flex: 1; font-size: 1rem; color: var(--text); }
.testimonial .who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial .initials {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sage-100); color: var(--sage-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.testimonial .name { font-family: var(--ff-head); font-size: 1.1rem; color: var(--dusk-900); }

/* ---------- Blog cards ---------- */
.post-card { height: 100%; display: flex; flex-direction: column; }
.post-card .thumb {
  display: block;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--dusk-200);
}
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .topic {
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-700);
  margin-bottom: 10px;
}
.post-card h3 { font-size: 1.36rem; }
.post-card h3 a { color: var(--dusk-900); }
.post-card h3 a:hover { color: var(--rose-700); }
.post-card p { color: var(--muted); font-size: .97rem; flex: 1; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 120px 0;
  color: var(--white);
  overflow: hidden;
  background: var(--dusk-950);
}
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(25, 29, 51, .95) 20%, rgba(25, 29, 51, .5) 100%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--paper); max-width: 660px; }
.cta-band p { color: #cfd2df; max-width: 560px; font-size: 1.08rem; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Newsletter band ---------- */
.news-band { background: var(--rose-100); padding: 64px 0; border-top: 1px solid #ead2cf; }
.news-band h3 { font-size: 1.8rem; margin-bottom: 8px; }
.news-band p { color: var(--muted); margin: 0; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .field-wrap { flex: 1 1 240px; }

/* ---------- Page banner ---------- */
.page-banner {
  position: relative;
  padding: 110px 0 96px;
  background: var(--dusk-950);
  color: var(--white);
  overflow: hidden;
}
.page-banner .bg { position: absolute; inset: 0; }
.page-banner .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(25, 29, 51, .55), rgba(25, 29, 51, .92));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--paper); margin-bottom: 14px; }
.page-banner p { color: #cfd2df; max-width: 620px; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .86rem; color: #b9bccd; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--rose-300); }
.crumbs .sep { width: 5px; height: 5px; background: var(--rose-300); transform: rotate(45deg); display: inline-block; }

/* ---------- About page ---------- */
.stat-box { text-align: center; padding: 30px 12px; border-right: 1px solid var(--line); }
.stat-box:last-child { border-right: 0; }
.stat-box .num { font-family: var(--ff-head); font-size: 2.6rem; line-height: 1; color: var(--dusk-900); }
.stat-box .num sup { color: var(--rose); font-size: .55em; }
.stat-box p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }
.value-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 28px;
  height: 100%;
  background: var(--paper);
}
.value-card .roman { font-family: var(--ff-head); color: var(--rose); font-size: 1.6rem; display: block; margin-bottom: 12px; }
.value-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.timeline { position: relative; padding-left: 34px; border-left: 1px solid var(--line); }
.timeline .t-item { position: relative; padding-bottom: 32px; }
.timeline .t-item:last-child { padding-bottom: 0; }
.timeline .t-item::before {
  content: "";
  position: absolute;
  left: -41px; top: 8px;
  width: 13px; height: 13px;
  background: var(--rose);
  transform: rotate(45deg);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--rose);
}
.timeline .year { font-family: var(--ff-head); color: var(--rose-700); font-size: 1.2rem; }
.timeline p { margin: 4px 0 0; color: var(--muted); }

/* ---------- Services page ---------- */
.service-row { padding: 70px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row .arch-frame { height: 420px; }
.service-row .numeral-lg { font-family: var(--ff-head); color: var(--rose); font-size: 1.25rem; display: block; margin-bottom: 10px; }
.service-row ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.service-row ul li { position: relative; padding-left: 20px; font-size: .97rem; }
.service-row ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; background: var(--sage); transform: rotate(45deg); }
.service-index { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.service-index a {
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 9px 18px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--dusk-800);
  background: var(--paper);
}
.service-index a:hover { border-color: var(--rose); color: var(--rose-700); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}
.form-label { display: block; font-weight: 600; font-size: .9rem; color: var(--dusk-900); margin-bottom: 7px; }
.form-label .req { color: var(--rose); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: .98rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-textarea { min-height: 150px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--dusk-500);
  box-shadow: 0 0 0 4px rgba(91, 100, 136, .15);
}
.form-select {
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233d4566' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center/12px no-repeat;
  padding-right: 40px;
}
.is-invalid { border-color: #c0444f !important; background-color: #fff7f7; }
.invalid-msg { display: none; color: #b0303c; font-size: .82rem; margin-top: 6px; }
.is-invalid ~ .invalid-msg, .check-row .is-invalid ~ label + .invalid-msg { display: block; }
.mb-field { margin-bottom: 20px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check-row input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--dusk-700); flex: 0 0 auto; }
.check-row.invalid label { color: #b0303c; }
.form-alert {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .94rem;
  line-height: 1.55;
}
.form-alert.show { display: block; }
.form-alert.success { background: var(--sage-100); color: #33503f; border: 1px solid #c5d6cc; }
.form-alert.error { background: #fbeceb; color: #9c2a35; border: 1px solid #f0c9c7; }
.form-alert.info { background: #eceef6; color: var(--dusk-800); border: 1px solid var(--dusk-200); }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.topic-grid label {
  display: flex; gap: 10px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 14px; font-size: .93rem; cursor: pointer; background: var(--white);
}
.topic-grid input { accent-color: var(--rose); width: 16px; height: 16px; }
.reason-list label { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-size: .95rem; cursor: pointer; }
.reason-list input { accent-color: var(--dusk-700); width: 17px; height: 17px; }

/* ---------- Contact page ---------- */
.contact-panel {
  background: var(--dusk-900);
  color: #cfd2df;
  border-radius: 12px;
  padding: 44px 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.contact-panel::after {
  content: "";
  position: absolute;
  right: -90px; bottom: -90px;
  width: 240px; height: 240px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}
.contact-panel h3 { color: var(--paper); }
.contact-line { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-line .ic {
  flex: 0 0 48px; height: 48px; border-radius: 50%;
  background: rgba(217, 147, 154, .15);
  display: flex; align-items: center; justify-content: center;
}
.contact-line svg { width: 20px; height: 20px; fill: var(--rose-300); }
.contact-line strong { display: block; color: var(--paper); font-weight: 600; margin-bottom: 2px; }
.contact-line a { color: #e1e3ec; }
.contact-line a:hover { color: var(--rose-300); }
.hours-list { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.hours-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.map-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); height: 420px; background: var(--linen-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-photo { border-radius: var(--arch); overflow: hidden; height: 100%; min-height: 300px; background: var(--dusk-200); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Blog post ---------- */
.article-hero { height: 470px; border-radius: 12px; overflow: hidden; margin-bottom: 46px; background: var(--dusk-200); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article { font-size: 1.07rem; line-height: 1.85; }
.article h2 { font-size: 1.75rem; margin-top: 1.6em; }
.article p:first-of-type::first-letter {
  font-family: var(--ff-head);
  float: left;
  font-size: 4.1rem;
  line-height: .9;
  padding: 6px 12px 0 0;
  color: var(--rose);
}
.article blockquote {
  margin: 34px 0;
  padding: 26px 30px;
  border-left: 3px solid var(--rose);
  background: var(--linen);
  font-family: var(--ff-head);
  font-size: 1.22rem;
  color: var(--dusk-900);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article ul li { margin-bottom: 8px; }
.sidebar-box { background: var(--linen); border-radius: 12px; padding: 30px 26px; margin-bottom: 26px; }
.sidebar-box h4 { font-size: 1.25rem; margin-bottom: 16px; }
.side-post { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.side-post:last-child { border-bottom: 0; }
.side-post .mini { flex: 0 0 70px; height: 70px; border-radius: 999px 999px 4px 4px; overflow: hidden; background: var(--dusk-200); }
.side-post .mini img { width: 100%; height: 100%; object-fit: cover; }
.side-post a { color: var(--dusk-900); font-family: var(--ff-head); font-size: .98rem; line-height: 1.4; }
.side-post a:hover { color: var(--rose-700); }
.side-services { list-style: none; padding: 0; margin: 0; }
.side-services li a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--dusk-800); font-weight: 600; font-size: .95rem; }
.side-services li a:hover { color: var(--rose-700); }
.side-cta { background: var(--dusk-900); color: #cfd2df; }
.side-cta h4 { color: var(--paper); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.post-nav a { font-family: var(--ff-head); color: var(--dusk-900); max-width: 46%; }
.post-nav a span { display: block; font-family: var(--ff-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-700); font-weight: 700; margin-bottom: 4px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal p, .legal li { color: #44485a; }
.legal .updated { display: inline-block; background: var(--linen); border-radius: 50px; padding: 6px 16px; font-size: .86rem; color: var(--muted); margin-bottom: 26px; }

/* ---------- Newsletter page ---------- */
.perk { display: flex; gap: 16px; margin-bottom: 22px; }
.perk .dot {
  flex: 0 0 40px; height: 40px; border-radius: 50%;
  background: var(--rose-100); color: var(--rose-700);
  font-family: var(--ff-head);
  display: flex; align-items: center; justify-content: center;
}
.perk h4 { margin-bottom: 4px; font-size: 1.1rem; }
.perk p { margin: 0; color: var(--muted); font-size: .95rem; }
.side-arch { height: 300px; border-radius: var(--arch); overflow: hidden; margin-bottom: 30px; background: var(--dusk-200); }
.side-arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dusk-950); color: #aeb2c5; font-size: .95rem; padding-top: 84px; }
.site-footer .f-logo img { height: 42px; width: auto; margin-bottom: 22px; }
.site-footer h5 { font-family: var(--ff-head); color: var(--paper); font-size: 1.2rem; margin-bottom: 22px; }
.site-footer a { color: #cfd2df; }
.site-footer a:hover { color: var(--rose-300); }
.f-links { list-style: none; padding: 0; margin: 0; }
.f-links li { margin-bottom: 11px; }
.f-contact { list-style: none; padding: 0; margin: 0; }
.f-contact li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.55; }
.f-contact svg { width: 16px; height: 16px; fill: var(--rose-300); flex: 0 0 16px; margin-top: 4px; }
.f-sub .form-input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--white); }
.f-sub .form-input::placeholder { color: #8d91a8; }
.f-sub .btn-ewm { width: 100%; margin-top: 10px; }
.f-sub .form-alert { font-size: .86rem; }
.footer-bottom {
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .88rem;
}
.footer-bottom .legal-links { display: flex; gap: 22px; flex-wrap: wrap; }

.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 50px; height: 50px;
  border-radius: 999px 999px 6px 6px;
  border: 0;
  background: var(--rose);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--dusk-700); }

/* Photo placeholder if a photo cannot load */
.img-fallback { background: linear-gradient(135deg, var(--dusk-700), var(--dusk-500)) !important; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .main-nav a { padding: 8px 10px; font-size: .9rem; }
  .nav-cta { display: none; }
}
@media (max-width: 991.98px) {
  .section { padding: 80px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 22px;
    gap: 0;
    display: none;
    box-shadow: 0 18px 30px -20px rgba(25, 29, 51, .4);
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav a::after { display: none; }
  .hero { padding: 60px 0 80px; }
  .hero-visual { margin: 56px auto 0; }
  .hero-badge { left: -14px; }
  .hero-seal { right: -8px; }
  .about-visual { margin-bottom: 40px; }
  .why-photo { margin-bottom: 40px; }
  .method-photo { min-height: 280px; margin-bottom: 30px; }
  .stat-box:nth-child(2) { border-right: 0; }
  .service-row .arch-frame { margin-bottom: 34px; height: 360px; }
  .contact-panel { margin-top: 30px; }
}
@media (max-width: 767.98px) {
  body { font-size: 16px; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .topbar .items .hide-sm { display: none; }
  .brand img { height: 36px; }
  .nav-wrap { min-height: 74px; }
  .hero-visual .arch-frame { height: 440px; }
  .hero-seal { right: 6px; top: 20px; }
  .hero-points { gap: 20px; }
  .about-visual { padding-right: 40px; }
  .about-visual .arch-frame { height: 380px; }
  .about-visual .inset { width: 160px; height: 180px; }
  .why-photo .arch-frame { height: 420px; }
  .form-card { padding: 30px 22px; }
  .service-row ul, .topic-grid { grid-template-columns: 1fr; }
  .article-hero { height: 300px; }
  .stat-box { border-right: 0; border-bottom: 1px solid var(--line); }
  .post-nav a { max-width: 100%; }
  .page-banner { padding: 80px 0 70px; }
  .cta-band { padding: 90px 0; }
}
@media (max-width: 420px) {
  .brand img { height: 30px; }
  .hero-badge { position: relative; left: 0; bottom: 0; margin-top: -40px; margin-left: 16px; }
  .hero-seal { width: 92px; height: 92px; font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
