/* Public website & invitation pages */
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--mint); border-radius: var(--r-xl); width: min(1360px, 100% - 16px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 245, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--accent); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; transition: transform .4s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-word { font: 900 1.45rem/1 var(--font-display); letter-spacing: -.03em; }
.brand-sub { font: 600 .66rem/1 var(--font-body); letter-spacing: .22em; color: var(--muted); padding-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: 10px 14px; border-radius: 999px; color: var(--charcoal); text-decoration: none; font-weight: 500; transition: background .15s, color .15s; }
.site-nav a:not(.btn):hover { background: var(--mint); color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); background: var(--mint); font-weight: 600; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--mint); cursor: pointer; position: relative; }
.nav-toggle span:not(.sr-only) { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform .25s var(--ease), top .25s; }
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 16px 24px; background: var(--bg); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .22s var(--ease); }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: 14px 16px; font-size: 1.1rem; }
}

/* Typography */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .82rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 14px 0 0 var(--sand), 28px 0 0 var(--sage); margin-right: 30px; }
.display { font: 800 clamp(2.7rem, 7.4vw, 6.2rem)/.98 var(--font-display); letter-spacing: -.045em; margin-bottom: 28px; }
.display-md { font: 800 clamp(2.4rem, 6vw, 4.6rem)/1 var(--font-display); letter-spacing: -.04em; }
.accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; }
.h4 { font-size: 1.15rem; font-weight: 700; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 38em; color: var(--charcoal); }
.lead-sm { font-size: 1.1rem; max-width: 40em; }
.section-head { margin-bottom: 48px; }
.row-between { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.prose p { font-size: 1.08rem; }

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-visual { position: relative; }
.hero-photo { aspect-ratio: 4/5; border-radius: var(--r-xl); }
.float-card { position: absolute; background: #fff; border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow-lg); display: grid; gap: 4px; animation: float 6s ease-in-out infinite; }
.float-card strong { font-family: var(--font-display); color: var(--accent); }
.float-a { left: -28px; bottom: 56px; }
.float-b { right: -16px; top: 40px; display: flex; gap: 12px; align-items: center; animation-delay: -3s; }
.float-b div { display: grid; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 5/4; }
  .float-a { left: 12px; bottom: -20px; }
  .float-b { right: 12px; top: 12px; }
}

/* Photos & placeholders */
.photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.photo-ph { display: grid; place-items: center; align-content: center; gap: 14px; color: var(--accent); min-height: 220px; position: relative; overflow: hidden; border: 2px dashed rgba(14, 17, 16, .22); }
.photo-ph::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.65), transparent 45%), radial-gradient(circle at 85% 90%, rgba(255,255,255,.5), transparent 40%); }
.photo-ph svg { width: 48px; height: 48px; opacity: .7; position: relative; }
.ph-chip { position: relative; background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 999px; font: 600 .78rem/1.2 var(--font-body); color: var(--accent); text-align: center; }

/* Cards & grids */
.grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--accent); flex: none; }
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.sm { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); }
.icon-badge.sm svg { width: 20px; height: 20px; }
.icon-badge.lg { width: 72px; height: 72px; border-radius: 24px; }
.icon-badge.wa { background: var(--wa); color: #fff; }
.service-card { border: 0; display: flex; flex-direction: column; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card h3 { font-size: 1.35rem; margin-top: 14px; }
.service-card p { flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.checklist svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--accent); color: #fff; flex: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Phone mock */
.phone-mock { justify-self: center; width: min(330px, 100%); padding: 12px; background: var(--charcoal); border-radius: 48px; box-shadow: var(--shadow-lg); transform: rotate(2deg); transition: transform .5s var(--ease); }
.phone-mock:hover { transform: rotate(0); }
.phone-inner { background: var(--bg); border-radius: 38px; padding: 18px 20px 24px; display: grid; gap: 10px; }
.phone-cover { height: 120px; border-radius: 24px; background: linear-gradient(135deg, var(--sand), var(--mint) 60%, var(--sage)); }
.phone-kicker { margin: 6px 0 0; font: 600 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.phone-title { margin: 0; font: 800 1.5rem/1.1 var(--font-display); color: var(--accent); }
.phone-line { margin: 0; display: flex; gap: 8px; align-items: center; font-size: .9rem; }
.phone-line svg { width: 16px; height: 16px; color: var(--accent); }
.phone-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.choice { display: flex; gap: 4px; justify-content: center; align-items: center; padding: 10px 6px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); font-size: .78rem; font-weight: 600; }
.choice.on { border-color: var(--accent); background: var(--sage); color: var(--sage-ink); }
.choice svg { width: 14px; height: 14px; }
.phone-stepper { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: .85rem; }
.phone-btn { text-align: center; padding: 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: .9rem; }

/* Portfolio */
.portfolio-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-img { aspect-ratio: 4/3; height: auto; border-radius: 0; border-width: 0 0 2px; transition: transform .6s var(--ease); }
.portfolio-card:hover img.portfolio-img { transform: scale(1.04); }
.portfolio-body { padding: 22px 24px 26px; }
.portfolio-body h3 { font-size: 1.3rem; margin-top: 10px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 600 .75rem/1.3 var(--font-body); background: var(--mint); color: var(--mint-ink); }
.tag-peach { background: var(--sand); color: var(--sand-ink); }
.tag-sage { background: var(--sage); color: var(--sage-ink); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-pill { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--charcoal); text-decoration: none; font-weight: 600; transition: .15s; }
.filter-pill:hover { border-color: var(--accent); color: var(--accent); }
.filter-pill[aria-current="page"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.notice { margin-top: 28px; padding: 16px 20px; border-radius: var(--r); background: var(--sand); color: var(--sand-ink); }

/* Steps */
.steps-wrap { background: var(--sage); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps li { background: rgba(255,255,255,.7); border-radius: var(--r); padding: 24px; transition: background .2s, transform .3s var(--ease); }
.steps li:hover { background: #fff; transform: translateY(-4px); }
.step-n { font: 800 2.2rem/1 var(--font-display); color: var(--accent); opacity: .35; }
.steps h3 { margin: 12px 0 6px; font-size: 1.3rem; }
.steps p { margin: 0; }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(22,122,67,.45), transparent 70%); pointer-events: none; }
.cta-band .h2 { color: #fff; }
.cta-band .lead-sm { color: rgba(255,255,255,.88); margin: 0; }
.cta-band .ph-text { color: var(--sand-ink); }

/* Page hero */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); border-radius: 0 0 var(--r-xl) var(--r-xl); }

/* About */
.about-photo { aspect-ratio: 4/5; min-height: 320px; }
.team-card { text-align: left; }
.team-photo { aspect-ratio: 1; margin-bottom: 18px; min-height: 0; border-radius: var(--r); }
.team-card h3 { margin-bottom: 2px; font-size: 1.3rem; }
.team-role { color: var(--muted); font-weight: 600; }

/* Services page */
.services-list { display: grid; gap: clamp(48px, 7vw, 96px); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; scroll-margin-top: 100px; }
.service-row:nth-child(even) .service-text { order: 2; }
.service-text .icon-badge { background: var(--mint); margin-bottom: 18px; }
.service-photo { aspect-ratio: 5/4; min-height: 260px; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } .service-row:nth-child(even) .service-text { order: 0; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); scroll-margin-top: 100px; }
.contact-side { display: grid; gap: 20px; position: sticky; top: 100px; }
.wa-card { display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--charcoal); transition: transform .25s var(--ease), box-shadow .25s; }
.wa-card > span:nth-child(2) { display: grid; flex: 1; }
.wa-card > svg { width: 22px; color: var(--accent); }
a.wa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--charcoal); }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--accent); transition: .2s; }
.social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.success-panel { display: grid; gap: 8px; justify-items: start; padding: 12px 0; }
.success-panel .icon-badge svg { width: 36px; height: 36px; color: var(--sage-ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-side { position: static; } }

/* Footer */
.site-footer { margin-top: 40px; padding: 72px 0 32px; background: var(--mint); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid .btn { margin-top: 8px; }
.footer-h { font: 700 .82rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--charcoal); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.brand-footer { margin-bottom: 12px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal animation (progressive: content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------------- Invitation pages ---------------- */
.page-invite { background: var(--bg); }
.demo-banner { background: #FFF3C4; color: #5C4300; text-align: center; padding: 10px 16px; font-size: .9rem; border-bottom: 1px solid #EAD68A; }
.invite-cover { height: clamp(220px, 42vh, 420px); }
.invite-cover-img { height: 100%; border-radius: 0 0 var(--r-xl) var(--r-xl); border: 0; }
.invite-wrap { width: min(640px, 100% - 32px); margin: 0 auto; padding-bottom: 48px; }
.invite-card { margin-top: 20px; padding: clamp(24px, 6vw, 44px); border-radius: var(--r-xl); }
.invite .invite-card:first-child { margin-top: -72px; position: relative; }
.invite-dear { font: italic 400 1.6rem/1.2 var(--font-serif); color: var(--accent); text-align: center; margin: 0 0 6px; }
.invite-title { font: 800 clamp(2rem, 7vw, 3rem)/1.02 var(--font-display); letter-spacing: -.035em; text-align: center; margin-bottom: 10px; }
.invite-hosts { text-align: center; color: var(--muted); font-weight: 500; }
.invite-details { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.invite-details li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: var(--bg); }
.invite-details li > svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 2px; }
.invite-details li > div { display: grid; gap: 2px; }
.invite-note { padding: 14px 16px; border-radius: var(--r-sm); background: var(--mint); }
.invite-desc { margin-top: 20px; }
.choice-group { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-group legend { margin-bottom: 12px; grid-column: 1 / -1; }
.choice-group .field-error { grid-column: 1 / -1; }
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-ui { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 104px; padding: 16px; border-radius: var(--r); border: 2px solid var(--line); background: #fff; font-weight: 700; color: var(--charcoal); text-align: center; transition: .18s var(--ease); }
.choice-ui svg { width: 26px; height: 26px; }
.choice-ui > span:first-child[aria-hidden] { font-size: 1.4rem; line-height: 1; }
.choice-card:hover .choice-ui { border-color: var(--accent); transform: translateY(-2px); }
.choice-card input:focus-visible + .choice-ui { box-shadow: var(--focus); }
.choice-card input[value="attending"]:checked + .choice-ui { border-color: var(--sage-ink); background: var(--sage); color: var(--sage-ink); }
.choice-card input[value="declined"]:checked + .choice-ui { border-color: var(--sand-ink); background: var(--sand); color: var(--sand-ink); }
.attending-only { display: grid; gap: 18px; }
.attending-only[hidden] { display: none; }
.rsvp-summary { border-radius: var(--r); padding: 24px; display: grid; gap: 6px; justify-items: start; }
.rsvp-summary p { margin: 0; }
.rsvp-summary .btn { margin-top: 10px; }
.qr-card { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.qr { width: 160px; height: 160px; padding: 8px; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); }
.qr svg { width: 100%; height: 100%; }
.code { font: 700 1.3rem/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; color: var(--accent); }
.invite-foot { text-align: center; margin-top: 28px; }

/* ================================================================
   Brand alignment with the FAMES MANAGEMENT logo
   (black geometric lettering in an open-bottom rectangular frame)
   ================================================================ */
.logo-img { height: 46px; width: auto; mix-blend-mode: multiply; transition: transform .3s var(--ease); }
.brand:hover .logo-img { transform: translateY(-1px); }
.brand-footer .logo-img { height: 64px; }
@media (max-width: 520px) { .logo-img { height: 38px; } }

.display { font: 800 clamp(2.2rem, 5.6vw, 4.6rem)/1.04 var(--font-display); letter-spacing: -.035em; text-transform: none; }
.display-md { font: 800 clamp(2rem, 4.6vw, 3.6rem)/1.06 var(--font-display); letter-spacing: -.03em; }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.accent { font-family: var(--font-display); font-style: normal; font-weight: 800; color: var(--accent); letter-spacing: inherit; }
.eyebrow { color: var(--ink); font-family: var(--font-display); font-weight: 600; letter-spacing: .18em; font-size: .72rem; }
.eyebrow .dot { background: var(--ink); }

/* Logo frame motif: a bordered box whose bottom edge opens around a label */
.frame { position: relative; border: 4px solid var(--ink); border-bottom: 0; padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 44px) 0; }
.frame::before, .frame::after { content: ''; position: absolute; bottom: 0; height: 4px; background: var(--ink); width: calc(50% - var(--gap, 110px)); }
.frame::before { left: -4px; }
.frame::after { right: -4px; }
.frame-label { display: block; text-align: center; transform: translateY(50%); font: 700 .78rem/1 var(--font-display); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.frame-light { border-color: #fff; }
.frame-light::before, .frame-light::after { background: #fff; }
.frame-light .frame-label { color: #fff; }

.page-hero .container { position: relative; }
.page-hero h1 { max-width: 16em; }
.section-head .h2, .steps-wrap .h2 { position: relative; padding-left: 22px; }
.section-head .h2::before, .steps-wrap .h2::before { content: ''; position: absolute; left: 0; top: .12em; bottom: .12em; width: 6px; background: var(--ink); }

.cta-band { background: var(--ink); }
.cta-band::after { background: radial-gradient(circle, rgba(22,122,67,.55), transparent 70%); }
.cta-band .btn-light { --fg: var(--ink); }
.checklist svg { background: var(--ink); }
.step-n { color: var(--ink); }
.filter-pill[aria-current="page"] { background: var(--ink); border-color: var(--ink); }
.social a:hover { background: var(--ink); }
.phone-btn { background: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.invite-title { font-size: clamp(1.7rem, 6vw, 2.5rem); letter-spacing: -.02em; }
.invite-dear { font: 500 1.05rem/1.3 var(--font-display); letter-spacing: .02em; color: var(--accent); }
.invite-brand { display: flex; justify-content: center; margin-top: 28px; }
.invite-brand .logo-img { height: 54px; }
.hero-logo-frame { margin-bottom: 26px; }
.cta-frame { flex: 1 1 420px; max-width: 640px; padding-bottom: 8px; --gap: 70px; }
.cta-frame .lead-sm { margin-bottom: 20px; }
/* Black & emerald accents */
.eyebrow .dot { background: var(--accent); box-shadow: 14px 0 0 var(--accent-bright), 28px 0 0 var(--sage); }
.section-head .h2::before, .steps-wrap .h2::before { background: var(--accent); }
.site-header { background: rgba(244, 245, 244, .88); }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { background: var(--accent-50); color: var(--ink); }
.btn-primary:hover { --bg: var(--accent); }
.cta-band .lead-sm { color: rgba(255,255,255,.82); }
.choice.on { border-color: var(--accent); }
.phone-cover { background: linear-gradient(135deg, var(--ink), var(--accent) 75%, var(--accent-bright)); }
.phone-mock { background: var(--ink); }

/* ---------------- Quotation / invoice page ---------------- */
.page-doc { background: var(--bg); }
.doc-wrap { width: min(860px, 100% - 32px); margin: 0 auto; padding: 24px 0 48px; }
.doc-actions { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 14px; flex-wrap: wrap; }
.doc-sheet { padding: clamp(20px, 5vw, 48px); border-radius: 24px; }
.doc-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.doc-logo .logo-img { height: 64px; }
.doc-title { text-align: right; }
.doc-title h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0; letter-spacing: .04em; }
.doc-number { font-weight: 700; color: var(--ink); margin: 4px 0; }
.doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0 8px; }
.doc-k { font: 700 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.doc-subject { font-size: 1.15rem; margin: 16px 0 12px; }
.doc-table-wrap { overflow-x: auto; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.doc-table th { background: var(--ink); color: #fff; text-align: left; padding: 10px 12px; font-size: .8rem; }
.doc-table th:first-child { border-radius: 8px 0 0 8px; } .doc-table th:last-child { border-radius: 0 8px 8px 0; }
.doc-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc-totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; margin: 18px 0 0 auto; max-width: 340px; font-variant-numeric: tabular-nums; }
.doc-totals dd { margin: 0; text-align: right; }
.doc-totals .grand { font-weight: 800; font-size: 1.15rem; color: var(--ink); border-top: 2px solid var(--ink); padding-top: 8px; }
.doc-totals dd.grand { padding-top: 8px; }
.doc-block { margin-top: 24px; font-size: .92rem; }
@media (max-width: 600px) { .doc-parties { grid-template-columns: 1fr; } .doc-title { text-align: left; } }
@media print {
  .no-print { display: none !important; }
  body.page-doc { background: #fff; }
  .doc-wrap { width: 100%; padding: 0; }
  .doc-sheet { border: 0; box-shadow: none; padding: 0; }
  .doc-table th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media (max-width: 600px) { .doc-table th:nth-child(3), .doc-table td:nth-child(3) { display: none; } .doc-table th, .doc-table td { padding: 8px; } }
/* Subsidiaries */
.company-card { display: flex; flex-direction: column; gap: 8px; }
.company-logo { width: 88px; height: 88px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.company-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.company-initials { font: 800 1.4rem/1 var(--font-display); color: var(--ink); letter-spacing: .02em; }
.company-card h3 { font-size: 1.3rem; margin: 0; }
.footer-companies { margin-top: 10px; }
.footer-companies a { color: var(--ink); }

/* Black footer (black & emerald theme) */
.site-footer { background: var(--ink); color: rgba(255,255,255,.86); }
.site-footer .muted, .site-footer .footer-h { color: rgba(255,255,255,.66); }
.site-footer .footer-links a, .site-footer .footer-companies a { color: #fff; }
.site-footer .footer-links a:hover, .site-footer a.muted:hover { color: var(--accent-bright); }
.site-footer .footer-base { border-top-color: rgba(255,255,255,.14); }
.site-footer .brand-footer { background: #fff; padding: 10px 14px; border-radius: 14px; }
.site-footer .social a { background: rgba(255,255,255,.1); color: #fff; }
.site-footer .social a:hover { background: var(--accent); color: #fff; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--accent-bright); }
.site-footer .ph-text { color: var(--sand-ink); }
