:root {
  --yellow: #ffe512;
  --yellow-soft: #fff5a8;
  --ink: #111111;
  --ink-2: #202020;
  --muted: #6d6d6d;
  --line: #dedede;
  --paper: #ffffff;
  --paper-2: #f6f6f3;
  --success: #177a42;
  --danger: #a92121;
  --shadow: 0 22px 70px rgba(0, 0, 0, .10);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--paper-2); }
.bg-dark { background: var(--ink); color: #fff; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); }
.display {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 900;
}
.h1 {
  margin: 0;
  font-size: clamp(2.65rem, 6.4vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 900;
}
.h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 900;
}
.h3 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); max-width: 720px; }
.bg-dark .lead { color: #c9c9c9; }
.yellow-mark { position: relative; white-space: nowrap; z-index: 0; }
.yellow-mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.02em;
  right: -.02em;
  bottom: .08em;
  height: .28em;
  background: var(--yellow);
  transform: rotate(-1.2deg);
}
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  transition: .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-color: rgba(0,0,0,.08);
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: .72rem;
  line-height: 1;
}
.brand-copy { display: grid; line-height: 1.03; }
.brand-copy small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .93rem; font-weight: 700; }
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--ink);
  transition: .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.btn:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); }
.bg-dark .btn-outline { border-color: #fff; color: #fff; }
.btn-small { min-height: 44px; padding-inline: 18px; font-size: .89rem; }
.btn-block { width: 100%; }
.icon-arrow { transition: transform .2s ease; }
.btn:hover .icon-arrow { transform: translateX(4px); }

.hero {
  min-height: 100svh;
  padding-top: 120px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,229,18,.34), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fafaf6 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.13fr .87fr; gap: 64px; align-items: center; }
.hero-copy { padding: 54px 0 80px; position: relative; z-index: 2; }
.hero-copy .lead { margin: 28px 0 32px; max-width: 650px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { margin-top: 36px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; background: linear-gradient(135deg,#ddd,#999); margin-left: -9px; }
.avatar-stack span:first-child { margin-left: 0; background: linear-gradient(135deg,#ffe512,#c4a800); }
.proof-copy { font-size: .9rem; color: var(--muted); }
.proof-copy strong { display: block; color: var(--ink); }

.hero-visual { min-height: 690px; position: relative; display: grid; align-items: end; }
.hero-photo-frame {
  position: absolute;
  inset: 38px 20px 0 0;
  border-radius: 220px 220px 26px 26px;
  overflow: hidden;
  background: #d9d9d9;
  box-shadow: var(--shadow);
}
.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 54%, rgba(0,0,0,.38));
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.floating-card {
  position: absolute;
  z-index: 3;
  padding: 18px 20px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  backdrop-filter: blur(14px);
  animation: float 5s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: 1.3rem; }
.floating-card small { color: var(--muted); }
.floating-card.one { left: -44px; bottom: 130px; }
.floating-card.two { right: -10px; top: 100px; animation-delay: -2s; }
.hero-badge {
  position: absolute;
  z-index: 4;
  right: -22px;
  bottom: 24px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  font-weight: 900;
  text-align: center;
  line-height: 1.05;
  transform: rotate(8deg);
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.marquee { overflow: hidden; background: var(--yellow); border-block: 1px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 24s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding: 17px 28px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.marquee span::after { content: "◆"; font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 34px 28px; background: #fff; }
.stat-number { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; font-weight: 900; letter-spacing: -.06em; }
.stat-label { margin-top: 8px; color: var(--muted); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 46px; }
.section-head .lead { margin: 0; max-width: 510px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #bbb; }
.card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--yellow); margin-bottom: 32px; font-size: 1.35rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.case-card {
  min-height: 440px;
  display: grid;
  align-content: end;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #222;
  color: #fff;
  box-shadow: var(--shadow);
}
.case-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.9)); }
.case-card .case-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.case-card:hover .case-bg { transform: scale(1.06); }
.case-content { position: relative; z-index: 2; padding: 30px; }
.case-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 15px; }
.pill { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); font-size: .76rem; font-weight: 800; }
.case-content h3 { font-size: 1.85rem; margin-bottom: 10px; }
.case-content p { color: #ddd; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.media-panel { min-height: 610px; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #ddd; }
.media-panel img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media-panel .quote { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 24px; border-radius: 18px; background: rgba(17,17,17,.88); color: #fff; backdrop-filter: blur(12px); }
.check-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: 0 0 26px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-weight: 900; }

.steps { display: grid; gap: 1px; background: #333; border: 1px solid #333; border-radius: var(--radius); overflow: hidden; }
.step { display: grid; grid-template-columns: 100px 1fr auto; gap: 28px; align-items: center; padding: 28px 30px; background: var(--ink-2); transition: .25s; }
.step:hover { background: #292929; }
.step-no { font-weight: 900; color: var(--yellow); letter-spacing: .12em; }
.step h3 { margin: 0; }
.step p { margin: 4px 0 0; color: #aaa; }
.step-arrow { font-size: 1.5rem; }

.areas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.area { min-height: 170px; padding: 22px; display: flex; align-items: end; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(145deg,#fff,#efefe9); font-weight: 900; font-size: 1.15rem; transition: .25s; }
.area:hover { background: var(--yellow); transform: translateY(-5px); }

.testimonial { padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stars { color: #c1a500; letter-spacing: 4px; margin-bottom: 18px; }
.testimonial blockquote { margin: 0 0 24px; font-size: 1.18rem; line-height: 1.5; }
.testimonial footer { color: var(--muted); font-weight: 700; }

.cta-panel { padding: clamp(38px, 8vw, 88px); border-radius: 32px; background: var(--yellow); position: relative; overflow: hidden; }
.cta-panel::after { content: ""; position: absolute; width: 350px; height: 350px; border: 70px solid rgba(0,0,0,.06); border-radius: 50%; right: -130px; top: -150px; }
.cta-panel .h2 { max-width: 780px; position: relative; z-index: 2; }
.cta-panel p { max-width: 620px; position: relative; z-index: 2; }
.cta-panel .hero-actions { position: relative; z-index: 2; }

.page-hero { padding: 180px 0 92px; background: linear-gradient(180deg,#fff,#f6f6f3); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; }
.page-hero .lead { margin: 24px 0 0; }
.page-kicker { display: flex; justify-content: flex-end; }
.page-kicker-box { padding: 24px; max-width: 340px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }

.timeline { display: grid; gap: 0; }
.timeline-row { display: grid; grid-template-columns: 180px 1fr; gap: 42px; padding: 34px 0; border-top: 1px solid var(--line); }
.timeline-row:last-child { border-bottom: 1px solid var(--line); }
.timeline-row .year { font-weight: 900; font-size: 1.1rem; }

.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; }
.contact-panel { position: sticky; top: 110px; padding: 34px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.contact-item .ci { width: 42px; height: 42px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border-radius: 12px; }
.contact-item small { display: block; color: #aaa; }
.contact-item a { font-weight: 800; }
.form-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 13px;
  padding: 14px 15px;
  background: #fff;
  outline: none;
  transition: border .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,229,18,.35); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.checkbox input { margin-top: 4px; }
.form-message { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.form-message.success { display: block; background: #e9f8ef; color: var(--success); }
.form-message.error { display: block; background: #fff0f0; color: var(--danger); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; border: 0; background: transparent; display: flex; justify-content: space-between; gap: 20px; text-align: left; padding: 24px 0; font-weight: 900; font-size: 1.07rem; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { margin: 0 0 24px; color: var(--muted); max-width: 850px; }
.faq-item.open .faq-a { max-height: 1000px; }
.faq-plus { transition: transform .25s; }
.faq-item.open .faq-plus { transform: rotate(45deg); }

.site-footer { background: var(--ink); color: #fff; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .6fr); gap: 42px; }
.footer-brand p { color: #aaa; max-width: 410px; }
.footer-col h3 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #aaa; }
.footer-col a { display: block; margin: 10px 0; color: #eee; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 30px; margin-top: 50px; border-top: 1px solid #333; color: #888; font-size: .78rem; }

.modal { position: fixed; z-index: 2200; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.66); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; }
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-card { width: min(680px, 100%); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 24px; padding: 32px; position: relative; transform: translateY(18px) scale(.985); transition: transform .24s ease; }
.modal.open .modal-card { transform: none; }
.modal-close { position: absolute; right: 18px; top: 18px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; }

.floating-actions { position: fixed; z-index: 900; right: 18px; bottom: 18px; display: grid; gap: 10px; }
.fab { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.23); font-size: 1.3rem; }
.fab.whatsapp { background: #1f9d55; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

.admin-shell { min-height: 100vh; background: var(--paper-2); padding: 120px 0 60px; }
.admin-login { width: min(520px, calc(100% - 40px)); margin: 0 auto; }
.admin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.admin-table th, .admin-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .86rem; }
.admin-table th { background: #f3f3ef; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.status-select { padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; margin-bottom: 18px; }

@media (max-width: 1000px) {
  .nav-links { position: fixed; inset: 82px 0 0; background: #fff; display: grid; align-content: start; padding: 34px 24px; gap: 10px; transform: translateX(100%); transition: .32s ease; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 0; font-size: 1.12rem; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
  .menu-toggle { display: block; }
  .hero-grid, .split, .form-wrap, .page-hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 90px; }
  .hero-copy { padding-bottom: 20px; }
  .hero-visual { min-height: 600px; width: min(640px,100%); margin: 0 auto; }
  .hero-photo-frame { inset: 20px 30px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-panel { position: static; }
  .page-kicker { justify-content: flex-start; }
}

@media (max-width: 700px) {
  :root { --container: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  .section-head { display: block; }
  .section-head .lead { margin-top: 18px; }
  .display { font-size: clamp(3.05rem, 17vw, 5.8rem); }
  .hero-visual { min-height: 510px; }
  .hero-photo-frame { inset: 20px 0 0; border-radius: 150px 150px 22px 22px; }
  .floating-card.one { left: -4px; bottom: 70px; }
  .floating-card.two { right: -2px; top: 70px; }
  .hero-badge { width: 110px; height: 110px; right: -4px; font-size: .85rem; }
  .stats-grid, .cards-3, .areas-grid, .form-grid { grid-template-columns: 1fr; }
  .stat { padding: 27px 22px; }
  .case-card { min-height: 380px; }
  .media-panel { min-height: 500px; }
  .step { grid-template-columns: 60px 1fr; }
  .step-arrow { display: none; }
  .timeline-row { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
  .form-card { padding: 24px; }
  .page-hero { padding-top: 140px; }
  .floating-actions { bottom: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Local preview and resilient form feedback */
.preview-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  max-width: 430px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  background: rgba(20,20,20,.94);
  color: #fff;
  box-shadow: 0 16px 45px rgba(0,0,0,.25);
  font-size: .82rem;
  line-height: 1.45;
  backdrop-filter: blur(12px);
}
.preview-notice button {
  float: right;
  width: 25px;
  height: 25px;
  margin: -5px -7px 2px 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  line-height: 1;
}
.form-message a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
}
@media (max-width: 640px) {
  .preview-notice {
    right: 10px;
    left: 10px;
    bottom: 10px;
    max-width: none;
  }
}

/* Consultation booking calendar */
.booking-hero { overflow: hidden; }
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 34px;
  align-items: start;
}
.booking-calendar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 38px);
}
.calendar-toolbar,
.time-picker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.calendar-toolbar .eyebrow,
.time-picker-head .eyebrow { margin-bottom: 7px; }
.calendar-nav { display: grid; grid-template-columns: 42px minmax(150px, auto) 42px; align-items: center; gap: 8px; text-align: center; }
.calendar-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  transition: .2s ease;
}
.calendar-nav button:hover:not(:disabled) { background: var(--yellow); border-color: var(--yellow); }
.calendar-nav button:disabled { opacity: .3; cursor: not-allowed; }
.calendar-weekdays,
.booking-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.calendar-weekdays { margin: 28px 0 8px; color: var(--muted); font-size: .72rem; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: .05em; }
.calendar-day {
  aspect-ratio: 1;
  min-width: 0;
  display: grid;
  place-content: center;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.calendar-day small { font-size: .55rem; font-weight: 700; color: var(--muted); }
.calendar-day:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--ink); }
.calendar-day.today { box-shadow: inset 0 0 0 2px var(--yellow); }
.calendar-day.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.calendar-day.selected small { color: var(--yellow); }
.calendar-day.unavailable { background: #f5f5f2; color: #aaa; border-color: transparent; cursor: not-allowed; }
.calendar-day.outside { opacity: .22; }
.calendar-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-size: .72rem; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.legend-dot.selected { background: var(--ink); border-color: var(--ink); }
.legend-dot.unavailable { background: #e3e3df; border-color: #e3e3df; }
.time-picker { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.selected-date-label { color: var(--muted); font-size: .85rem; font-weight: 750; text-align: right; }
.time-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.time-slots > p { grid-column: 1 / -1; margin: 0; }
.time-slot {
  min-height: 50px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: .88rem;
  font-weight: 800;
  transition: .18s ease;
}
.time-slot:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-2px); }
.time-slot.selected { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.time-slot:disabled { color: #aaa; background: #f4f4f1; cursor: not-allowed; }
.time-slot small { display: block; font-size: .6rem; font-weight: 700; }
.booking-form-panel { position: sticky; top: 110px; }
.booking-form { box-shadow: var(--shadow); }
.booking-summary {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  padding: 15px;
  border-radius: 14px;
  background: #fffbe1;
  border: 1px solid #efe07a;
}
.booking-summary.empty { background: var(--paper-2); border-color: var(--line); }
.booking-summary-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--yellow); font-weight: 900; }
.booking-summary.empty .booking-summary-icon { background: #e7e7e2; }
.booking-summary strong,
.booking-summary small { display: block; }
.booking-summary small { color: var(--muted); margin-top: 2px; }
.booking-success {
  padding: clamp(32px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.success-check { width: 70px; height: 70px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 50%; background: var(--yellow); font-size: 2rem; font-weight: 900; }
.booking-success .lead { margin: 20px 0 28px; }

@media (max-width: 1000px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-form-panel { position: static; }
}
@media (max-width: 700px) {
  .booking-calendar-card { padding: 20px 14px; }
  .calendar-toolbar, .time-picker-head { align-items: flex-start; flex-direction: column; }
  .calendar-nav { width: 100%; grid-template-columns: 42px 1fr 42px; }
  .calendar-weekdays, .booking-calendar { gap: 4px; }
  .calendar-day { border-radius: 9px; font-size: .82rem; }
  .calendar-day small { display: none; }
  .time-slots { grid-template-columns: repeat(2, 1fr); }
  .selected-date-label { text-align: left; }
}

/* Dashboard additions */
.admin-topbar { margin-bottom: 28px; }
.admin-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.admin-metric { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.admin-metric small { display: block; color: var(--muted); font-weight: 750; }
.admin-metric strong { display: block; margin-top: 5px; font-size: 2rem; line-height: 1; }
.admin-section { margin-top: 42px; }
.admin-controls { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.admin-controls .field { min-width: 190px; }
.booking-admin-table { min-width: 1120px; }
@media (max-width: 900px) { .admin-metrics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .admin-metrics { grid-template-columns: 1fr; } }

/* Personal monogram: replaces the former franchise logo while retaining the yellow theme */
.brand-monogram {
  border-radius: 13px;
  font-size: .92rem;
  letter-spacing: -.04em;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.05);
}

/* Calendly-style consultation scheduler */
.booking-page {
  padding-top: 82px;
  background: linear-gradient(180deg, #f7f7f5 0, #fff 760px);
}
.scheduler-section {
  padding: clamp(34px, 6vw, 72px) 20px clamp(54px, 7vw, 88px);
}
.scheduler-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e5e5e2;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.09);
}
.scheduler-brandbar {
  padding: 28px 34px;
  border-bottom: 1px solid #ededeb;
}
.scheduler-brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
}
.scheduler-brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.scheduler-monogram {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--yellow);
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: -.05em;
}
.scheduler-profile {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 34px;
  border-bottom: 1px solid #ededeb;
}
.scheduler-avatar {
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  border: 4px solid #f0f0ed;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  box-shadow: 0 7px 24px rgba(0,0,0,.12);
}
.scheduler-profile-copy {
  min-width: 0;
}
.scheduler-profile-copy h1 {
  margin: 0 0 4px;
  color: #d5bd00;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.scheduler-profile-copy a {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: #647083;
  overflow-wrap: anywhere;
  font-size: 1rem;
}
.scheduler-profile-copy a:hover { color: var(--ink); }
.scheduler-duration {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  color: #647083;
  font-size: 1.04rem;
  font-weight: 650;
}
.scheduler-duration span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: .82rem;
}
.scheduler-content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr);
  min-height: 620px;
}
.scheduler-calendar-column {
  padding: clamp(32px, 5vw, 58px);
}
.scheduler-times-column {
  padding: clamp(32px, 4vw, 48px) 32px;
  border-left: 1px solid #ededeb;
  background: #fcfcfb;
}
.scheduler-heading { margin-bottom: 34px; }
.scheduler-kicker {
  margin: 0 0 5px;
  color: #8a8f98;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.scheduler-heading h2,
.scheduler-times-column h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: -.035em;
}
.scheduler-calendar-toolbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.scheduler-calendar-toolbar strong {
  color: #111827;
  font-size: 1.2rem;
}
.scheduler-arrow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111827;
  font-size: 2rem;
  line-height: 1;
  transition: background .18s ease, transform .18s ease;
}
.scheduler-arrow:hover:not(:disabled) {
  background: #f2f2ef;
  transform: scale(1.04);
}
.scheduler-arrow:disabled {
  color: #c5c7cb;
  cursor: not-allowed;
}
.scheduler-shell .calendar-weekdays {
  margin: 30px 0 12px;
  color: #657084;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.scheduler-shell .calendar-weekdays,
.scheduler-shell .booking-calendar { gap: 9px; }
.scheduler-shell .calendar-day {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111827;
  font-size: .97rem;
  font-weight: 700;
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.scheduler-shell .calendar-day:hover:not(:disabled) {
  border: 0;
  background: #fff8bf;
  transform: scale(1.07);
}
.scheduler-shell .calendar-day.today {
  box-shadow: inset 0 0 0 2px var(--yellow);
}
.scheduler-shell .calendar-day.selected {
  border: 0;
  background: var(--yellow);
  color: #fff;
  box-shadow: 0 8px 20px rgba(210,183,0,.28);
}
.scheduler-shell .calendar-day.unavailable {
  border: 0;
  background: transparent;
  color: #d2d5da;
}
.scheduler-shell .calendar-day.outside { opacity: 0; }
.scheduler-shell .calendar-day small { display: none; }
.scheduler-timezone {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 28px 0 0;
  color: #657084;
  font-size: .86rem;
}
.scheduler-timezone span:first-child { margin-top: 1px; }
.scheduler-times-column .selected-date-label {
  display: block;
  margin-top: 8px;
  color: #657084;
  font-size: .88rem;
  text-align: left;
}
.scheduler-times-column .time-slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-top: 28px;
}
.scheduler-times-column .time-slot {
  min-height: 55px;
  border: 1.5px solid #e6cf00;
  border-radius: 11px;
  background: #fff;
  color: #d0b900;
  font-size: .98rem;
  font-weight: 850;
}
.scheduler-times-column .time-slot:hover:not(:disabled) {
  border-color: var(--yellow);
  background: #fffdea;
  color: var(--ink);
  transform: translateY(-1px);
}
.scheduler-times-column .time-slot.selected {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(210,183,0,.18);
}
.scheduler-times-column .time-slot:disabled {
  border-color: #e5e5e2;
  background: #f5f5f3;
  color: #b9bdc4;
}
.scheduler-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: #7a828f;
  font-size: .75rem;
}
.scheduler-legend span { display: inline-flex; align-items: center; gap: 7px; }
.scheduler-legend .legend-dot.selected { background: var(--yellow); border-color: var(--yellow); }
.booking-details-section {
  padding: 84px 0 96px;
  border-top: 1px solid #efefec;
  background: #fff;
}
.booking-details-section[hidden] { display: none; }
.booking-details-section.is-visible { animation: schedulerReveal .45s ease both; }
@keyframes schedulerReveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.booking-details-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: start;
}
.booking-details-intro {
  position: sticky;
  top: 120px;
}
.booking-details-intro .booking-summary { margin-top: 30px; }
.booking-details-section .booking-form-panel { position: static; }
.booking-details-section .booking-form { box-shadow: var(--shadow); }
.booking-benefits { border-top: 1px solid #efefec; }

@media (max-width: 900px) {
  .scheduler-content { grid-template-columns: 1fr; }
  .scheduler-times-column {
    border-top: 1px solid #ededeb;
    border-left: 0;
  }
  .booking-details-grid { grid-template-columns: 1fr; }
  .booking-details-intro { position: static; }
}

@media (max-width: 640px) {
  .booking-page { padding-top: 74px; }
  .scheduler-section { padding: 16px 0 48px; }
  .scheduler-shell {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .scheduler-brandbar { padding: 20px 24px; }
  .scheduler-monogram { width: 48px; height: 48px; border-radius: 13px; }
  .scheduler-brand { font-size: 1rem; }
  .scheduler-profile {
    align-items: flex-start;
    gap: 18px;
    padding: 28px 24px;
  }
  .scheduler-avatar { width: 92px; height: 92px; border-width: 3px; }
  .scheduler-profile-copy h1 { font-size: 1.45rem; }
  .scheduler-profile-copy a { font-size: .93rem; }
  .scheduler-duration { margin-top: 15px; font-size: .95rem; }
  .scheduler-calendar-column { padding: 42px 24px 34px; }
  .scheduler-times-column { padding: 34px 24px 42px; }
  .scheduler-heading { margin-bottom: 28px; }
  .scheduler-heading h2 { font-size: 1.8rem; }
  .scheduler-shell .calendar-weekdays,
  .scheduler-shell .booking-calendar { gap: 5px; }
  .scheduler-shell .calendar-day { font-size: .9rem; }
  .scheduler-timezone { margin-top: 24px; }
  .booking-details-section { padding: 64px 0 76px; }
  .booking-details-grid { width: min(100% - 30px, 1180px); }
  .booking-details-intro .h2 { font-size: 2.15rem; }
}

@media (max-width: 420px) {
  .scheduler-profile { gap: 14px; }
  .scheduler-avatar { width: 78px; height: 78px; }
  .scheduler-profile-copy h1 { font-size: 1.25rem; }
  .scheduler-profile-copy a { font-size: .84rem; }
  .scheduler-duration { font-size: .88rem; }
  .scheduler-calendar-column,
  .scheduler-times-column { padding-right: 18px; padding-left: 18px; }
}

/* Version 5: resilient multi-page navigation and action fallbacks */
.anchor-target,
#booking-details,
.scheduler-section { scroll-margin-top: 110px; }

.noscript-notice {
  position: relative;
  z-index: 3000;
  padding: 12px 18px;
  text-align: center;
  background: #fff2a8;
  border-bottom: 1px solid #d4bd00;
  color: #111;
  font-size: .92rem;
}
.noscript-notice a { text-decoration: underline; font-weight: 800; }

.text-button {
  appearance: none;
  border: 0;
  padding: 8px 0;
  margin-top: 10px;
  background: transparent;
  color: #111;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.text-button:hover { text-decoration-thickness: 2px; }
.text-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.booking-success-actions { align-items: stretch; }
.booking-success-actions .btn { justify-content: center; }

@media (max-width: 680px) {
  .booking-success-actions { display: grid; grid-template-columns: 1fr; }
  .booking-success-actions .btn { width: 100%; }
}

/* V10: verified D1 submission completion screen */
body.success-open { overflow: hidden; }
.lead-success-overlay[hidden] { display: none !important; }
.lead-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(17, 17, 17, .72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.lead-success-overlay.is-visible { opacity: 1; visibility: visible; }
.lead-success-card {
  position: relative;
  width: min(620px, 100%);
  overflow: hidden;
  padding: clamp(38px, 7vw, 72px);
  border: 1px solid rgba(17, 17, 17, .1);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .28);
  text-align: center;
  transform: translateY(24px) scale(.96);
  opacity: 0;
}
.lead-success-overlay.is-visible .lead-success-card {
  animation: leadSuccessCard .65s cubic-bezier(.2, .85, .25, 1.15) .08s forwards;
}
.lead-success-check {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 2.8rem;
  font-weight: 900;
  transform: scale(0) rotate(-18deg);
}
.lead-success-overlay.is-visible .lead-success-check {
  animation: leadSuccessCheck .58s cubic-bezier(.25, 1.5, .5, 1) .42s forwards;
}
.lead-success-check::after {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid var(--yellow);
  border-radius: inherit;
  opacity: 0;
}
.lead-success-overlay.is-visible .lead-success-check::after {
  animation: leadSuccessRing .8s ease-out .72s forwards;
}
.success-burst { position: absolute; inset: 0; pointer-events: none; }
.success-burst span {
  position: absolute;
  left: 50%;
  top: 112px;
  width: 7px;
  height: 24px;
  border-radius: 999px;
  background: var(--yellow);
  opacity: 0;
  transform-origin: 50% 180px;
}
.success-burst span:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translateY(-82px); }
.success-burst span:nth-child(2) { transform: translate(-50%, -50%) rotate(45deg) translateY(-82px); }
.success-burst span:nth-child(3) { transform: translate(-50%, -50%) rotate(90deg) translateY(-82px); }
.success-burst span:nth-child(4) { transform: translate(-50%, -50%) rotate(135deg) translateY(-82px); }
.success-burst span:nth-child(5) { transform: translate(-50%, -50%) rotate(180deg) translateY(-82px); }
.success-burst span:nth-child(6) { transform: translate(-50%, -50%) rotate(225deg) translateY(-82px); }
.success-burst span:nth-child(7) { transform: translate(-50%, -50%) rotate(270deg) translateY(-82px); }
.success-burst span:nth-child(8) { transform: translate(-50%, -50%) rotate(315deg) translateY(-82px); }
.lead-success-overlay.is-visible .success-burst span { animation: leadSuccessBurst .7s ease-out .55s both; }
.lead-success-card .h2 { margin-bottom: 18px; }
.lead-success-card .lead { max-width: 490px; margin: 0 auto; }
.lead-success-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.lead-success-reference { margin-top: 20px !important; font-size: .86rem; }
.booking-success:not([hidden]) .success-check { animation: leadSuccessCheck .58s cubic-bezier(.25, 1.5, .5, 1) forwards; }

@keyframes leadSuccessCard {
  to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes leadSuccessCheck {
  to { transform: scale(1) rotate(0); }
}
@keyframes leadSuccessRing {
  0% { transform: scale(.72); opacity: .8; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes leadSuccessBurst {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; filter: blur(1px); }
}
@media (max-width: 560px) {
  .lead-success-overlay { padding: 14px; }
  .lead-success-card { padding: 36px 22px; border-radius: 22px; }
  .lead-success-check { width: 78px; height: 78px; font-size: 2.35rem; }
  .lead-success-actions { display: grid; grid-template-columns: 1fr; }
  .lead-success-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lead-success-overlay,
  .lead-success-card,
  .lead-success-check,
  .lead-success-check::after,
  .success-burst span { animation: none !important; transition: none !important; }
  .lead-success-overlay.is-visible { opacity: 1; visibility: visible; }
  .lead-success-overlay.is-visible .lead-success-card { opacity: 1; transform: none; }
  .lead-success-overlay.is-visible .lead-success-check { transform: none; }
}

/* V11: client-ready completion screens and interface polish */
.btn-quiet {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 15px 10px;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.btn-quiet:hover { text-decoration-thickness: 2px; }
.btn-quiet:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 8px; }
.booking-success-card { width: min(700px, 100%); }
.booking-success-confirmation {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin: 28px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 16px;
  background: #fffbea;
  text-align: left;
}
.booking-success-confirmation .booking-summary-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--yellow);
  font-weight: 900;
}
.booking-success-confirmation strong,
.booking-success-confirmation small { display: block; }
.booking-success-confirmation strong { font-size: 1rem; }
.booking-success-confirmation small { margin-top: 4px; color: var(--muted); line-height: 1.45; text-transform: capitalize; }
.booking-success-actions { margin-top: 26px; }
.booking-success-actions .btn-quiet { min-height: 52px; }

/* Better keyboard and touch feedback across the site. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.btn, .calendar-day, .time-slot, .fab, .menu-toggle { -webkit-tap-highlight-color: transparent; }

/* Prevent long email addresses and URLs from breaking mobile layouts. */
.contact-item a,
.footer-col a,
.admin-table a,
.lead-success-card { overflow-wrap: anywhere; }

/* Small install-like polish for phones with display cutouts. */
.site-header { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.floating-actions { right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); }

@media (max-width: 680px) {
  .booking-success-confirmation { align-items: flex-start; padding: 14px; }
  .booking-success-actions { display: grid; grid-template-columns: 1fr; }
  .booking-success-actions .btn,
  .booking-success-actions .btn-quiet { width: 100%; justify-content: center; }
}

/* V11: clearer client dashboard */
.admin-connection-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.admin-status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: #f0f0f0; font-size: .78rem; font-weight: 800; }
.admin-status-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #8d8d8d; }
.admin-status-badge.is-connected { background: #e9f8ef; color: #126737; }
.admin-status-badge.is-connected::before { background: #1c9b52; box-shadow: 0 0 0 4px rgba(28,155,82,.12); }
.admin-search-field { min-width: min(250px, 100%); }
.admin-search-field input { min-height: 48px; }
@media (max-width: 760px) {
  .admin-open-site { display: none; }
  .admin-controls { width: 100%; }
  .admin-search-field { min-width: 100%; }
}

/* V11: final responsive refinements */
@media (min-width: 1001px) {
  .footer-grid { grid-template-columns: 1.25fr .5fr .5fr .9fr; }
}
.footer-col a { overflow-wrap: break-word; word-break: normal; }
.footer-col a[href^="mailto:"] { font-size: .9rem; }
@media (max-width: 700px) {
  .yellow-mark { white-space: normal; }
}


/* V12 visibility and social links */
.step { color: #ffffff; }
.step h3 {
  color: #ffffff;
  font-weight: 850;
  letter-spacing: -.015em;
}
.step p { color: #d0d0d0; }
.step-arrow {
  color: #ffffff;
  opacity: .82;
  transition: transform .22s ease, color .22s ease, opacity .22s ease;
}
.step:hover h3 { color: var(--yellow); }
.step:hover .step-arrow {
  color: var(--yellow);
  opacity: 1;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #3b3b3b;
  border-radius: 999px;
  background: #1d1d1d;
  color: #ffffff;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}
.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

@media (max-width: 560px) {
  .step h3 { font-size: 1.04rem; }
  .step p { color: #d8d8d8; }
  .social-links { gap: 8px; }
  .social-link { flex: 1 1 132px; }
}

/* V13 supplied Ammarah Naeem signature identity */
.brand {
  flex: 0 0 auto;
  min-width: 0;
}
.brand-logo {
  display: block;
  width: 202px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}
.site-header.scrolled .brand-logo { height: 62px; }
.site-footer .brand-logo {
  width: min(285px, 100%);
  height: auto;
  max-height: none;
}

/* Portrait-free logo showcases */
.hero-photo-frame.logo-frame {
  inset: 64px 20px 48px 0;
  display: grid;
  place-items: center;
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255,229,18,.44), transparent 31%),
    linear-gradient(145deg, #fff 0%, #fbfbf7 100%);
}
.hero-photo-frame.logo-frame::before {
  background: linear-gradient(180deg, transparent 62%, rgba(255,229,18,.14));
}
.hero-photo-frame.logo-frame img.portrait-replacement-logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.08));
}
.media-panel.logo-media-panel {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: clamp(36px, 6vw, 72px);
  border: 1px solid rgba(17,17,17,.08);
  background:
    radial-gradient(circle at 80% 14%, rgba(255,229,18,.34), transparent 32%),
    #fff;
}
.media-panel.logo-media-panel img.portrait-replacement-logo {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.07));
}
.media-panel.logo-media-panel .quote { z-index: 2; }

@media (max-width: 1060px) {
  .brand-logo { width: 178px; height: 62px; }
  .nav-links { gap: 18px; }
}
@media (max-width: 900px) {
  .brand-logo { width: 174px; height: 60px; }
  .hero-photo-frame.logo-frame { inset: 24px 20px 20px; }
}
@media (max-width: 560px) {
  .nav { min-height: 76px; }
  .brand-logo { width: 142px; height: 54px; }
  .site-footer .brand-logo { width: min(250px, 100%); }
  .hero-photo-frame.logo-frame {
    inset: 18px 0 0;
    padding: 28px 22px;
    border-radius: 26px;
  }
  .media-panel.logo-media-panel {
    min-height: 430px;
    padding: 34px 22px 104px;
  }
}
