:root {
    --navy: #142a4e;
    --navy-deep: #0d1e39;
    --gold: #b18b49;
    --gold-dark: #967038;
    --gold-pale: #f4efe6;
    --ink: #263249;
    --muted: #737b89;
    --line: #e8e8e6;
    --paper: #ffffff;
    --soft: #f8f8f6;
    --sans: 'Poppins', Arial, sans-serif;
    --hero-sans: 'Quicksand', 'Poppins', sans-serif;
    --content-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { color: #fff; background: var(--navy); }

.skip-link { position: absolute; z-index: 100; top: -60px; left: 14px; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; height: 94px; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(20,42,78,.08); box-shadow: 0 7px 24px rgba(17,32,55,.045); backdrop-filter: blur(14px); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(calc(100% - 64px), 1440px); height: 100%; margin: 0 auto; }
.brand { display: flex; align-items: center; width: 205px; height: 78px; overflow: hidden; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.header-phone { position: absolute; right: 0; display: flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 999px; background: #C2185B; color: #fff; text-decoration: none; white-space: nowrap; }
.phone-icon { display: none; }
.phone-icon svg { width: 20px; height: 20px; }
.phone-copy { display: block; line-height: 1.25; }
.phone-copy strong { color: inherit; font-size: 17px; font-weight: 600; letter-spacing: .025em; }
.main-nav { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.55vw, 26px); transform: translate(-50%,-50%); }
.main-nav a { position: relative; padding: 9px 0; color: var(--gold-dark); font-size: 13px; font-weight: 500; line-height: 1.3; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.main-nav a::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: var(--gold); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--navy); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.hero { position: relative; display: flex; min-height: min(690px, calc(100svh - 94px)); overflow: hidden; background: #e8e5dc; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 48%; }
.hero-shade { background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 24%, rgba(255,255,255,.68) 42%, rgba(255,255,255,.10) 67%, rgba(255,255,255,0) 100%); }
.hero-inner { position: relative; display: flex; align-items: center; width: min(calc(100% - 64px), var(--content-width)); margin: 0 auto; padding: 86px 0 100px; }
.hero-copy { width: min(565px, 52%); font-family: var(--hero-sans); }
.eyebrow { margin: 0 0 15px; color: var(--gold-dark); font-size: 12px; font-weight: 600; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.hero-eyebrow { margin-bottom: 17px; color: #94703a; }
.hero h1 { max-width: 600px; margin: 0; color: var(--navy); font-family: var(--hero-sans); font-size: clamp(50px, 6.2vw, 82px); font-weight: 700; letter-spacing: -.055em; line-height: 1.05; }
.hero h2 { max-width: 535px; margin: 22px 0 29px; color: #886a3c; font-family: var(--hero-sans); font-size: clamp(21px, 2.35vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.42; }
.button { display: inline-flex; min-height: 51px; align-items: center; justify-content: center; gap: 20px; padding: 13px 20px; border: 1px solid transparent; border-radius: 3px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .015em; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; }
.button-gold { background: #C2185B; color: #fff; }
.button-gold:hover { background: #a3154c; }
.hero .hero-cta.is-suppressed { visibility: hidden; pointer-events: none; }
.floating-cta { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: inline-flex; visibility: hidden; opacity: 0; box-shadow: 0 8px 24px rgba(20,42,78,.2); transition: opacity .2s ease, visibility .2s ease; }
.floating-cta.is-visible { visibility: visible; opacity: 1; }

.proof-strip { position: relative; z-index: 2; background: #fff; }
.proof-inner { display: grid; grid-template-columns: minmax(220px,.72fr) minmax(0,2fr); align-items: center; gap: 35px; width: min(calc(100% - 64px), var(--content-width)); margin: 0 auto; padding: 27px 0 30px; }
.clients-count { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; padding-right: 30px; border-right: 1px solid var(--line); }
.client-number { color: var(--navy); font-family: var(--hero-sans); font-size: clamp(34px,4vw,48px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.045em; line-height: 1.08; }
.clients-count > span { max-width: 120px; color: var(--gold-dark); font-size: 12px; font-weight: 600; letter-spacing: .04em; line-height: 1.45; }
.proof-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.proof-item { display: flex; align-items: flex-start; gap: 15px; padding: 5px 27px; border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { padding-right: 0; border: 0; }
.proof-number { color: var(--gold); font-family: var(--hero-sans); font-size: 15px; font-weight: 700; letter-spacing: .05em; }
.proof-item h3 { margin: 0 0 4px; color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.4; }
.proof-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.section { width: min(calc(100% - 64px), var(--content-width)); margin: 0 auto; padding: 110px 0; }
.section-heading h2, .story-copy h2, .team-inner h2, .contact-copy h2 { margin: 0; color: var(--navy); font-family: var(--hero-sans); font-size: clamp(34px, 4.3vw, 50px); font-weight: 700; letter-spacing: -.04em; line-height: 1.16; }
.section-heading.centered { max-width: 700px; margin: 0 auto; text-align: center; }
.services-section .section-heading.centered { max-width: 1200px; }
.section-heading.centered .eyebrow { margin-bottom: 12px; }
.section-intro { max-width: 850px; margin: 18px auto 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.services-section .section-kicker { width: fit-content; margin: 0 0 12px auto; }
.section-kicker { padding: 1px 0 1px 12px; border-left: 3px solid #C2185B; }
.services-section .section-intro { max-width: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 57px; }
.service-card { display: flex; min-height: 220px; flex-direction: column; padding: 27px; border: 1px solid var(--line); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.service-card:hover { border-color: rgba(177,139,73,.5); box-shadow: 0 17px 48px rgba(20,42,78,.08); transform: translateY(-4px); }
.service-card-summary { margin-bottom: 14px; }
.service-card h3, .process-step h3 { margin: 0; color: var(--navy); font-family: var(--hero-sans); font-size: 20px; font-weight: 700; line-height: 1.35; }
.service-card-details { margin-top: 0; }
.service-card-details p, .process-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.service-description { position: relative; overflow: hidden; }
.service-description.is-clamped::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1.8em; background: linear-gradient(transparent, #fff); content: ''; pointer-events: none; }
.copy-expand[hidden] { display: none; }
.service-expand { display: flex; width: fit-content; align-items: center; margin-top: 13px; padding: 0; border: 0; background: transparent; color: var(--gold-dark); cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 600; }
.service-expand:hover { text-decoration: underline; }
.story-section { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.story-section::after { position: absolute; right: -110px; bottom: -310px; width: 580px; height: 580px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.018); content: ''; }
.story-inner { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; width: min(calc(100% - 64px), var(--content-width)); min-height: 560px; margin: 0 auto; padding: 104px 0 112px; }
.story-aside { display: flex; flex-direction: column; align-items: flex-start; }
.story-emblem { display: block; width: 190px; height: 190px; margin-bottom: 0; overflow: hidden; border: 1px solid rgba(207,177,119,.75); border-radius: 50%; }
.story-emblem img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center; }
.story-signature { display: flex; flex-direction: column; gap: 3px; margin-top: auto; padding-top: 34px; }
.story-signature strong { color: #fff; font-family: var(--hero-sans); font-size: 18px; font-weight: 600; }
.story-signature span { color: rgba(255,255,255,.58); font-size: 12px; }
.story-copy h2 { max-width: 620px; margin: 0 0 24px; color: #fff; font-size: clamp(34px,4vw,48px); }
.story-copy .section-kicker, .team-copy .section-kicker { width: fit-content; margin: 0 0 14px; color: #d7bd8c; }
.story-copy p { margin: 0 0 17px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.95; }
.story-milestone h3 { margin: 0 0 7px; color: #fff; font-family: var(--hero-sans); font-size: 16px; font-weight: 700; line-height: 1.45; }
.story-milestone p { margin: 0 0 19px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.85; }
.story-milestones { position: relative; }
.story-milestones.is-clamped { overflow: hidden; }
.story-milestones.is-clamped::after { position: absolute; right: 0; bottom: 0; left: 0; height: 35px; background: linear-gradient(transparent, var(--navy)); content: ''; pointer-events: none; }
.story-expand { display: inline-flex; min-height: 42px; align-items: center; gap: 12px; margin-top: 2px; padding: 8px 14px; border: 1px solid rgba(215,189,140,.58); border-radius: 3px; background: transparent; color: #d7bd8c; cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 600; transition: background .2s ease, border-color .2s ease; }
.story-expand:hover { border-color: #d7bd8c; background: rgba(255,255,255,.07); }
.story-expand:focus-visible { outline: 2px solid #d7bd8c; outline-offset: 3px; }
.story-expand-icon { display: grid; width: 19px; height: 19px; place-items: center; border: 1px solid rgba(215,189,140,.58); border-radius: 50%; font-size: 14px; line-height: 1; }
.story-milestones + .story-expand[aria-expanded="true"] .story-expand-icon { font-size: 0; }
.story-milestones + .story-expand[aria-expanded="true"] .story-expand-icon::before { width: 8px; height: 1px; background: #d7bd8c; content: ''; }

.process-prompt { margin: 48px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.85; text-align: center; }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 44px; margin-top: 28px; }
.process-step { padding: 0; border: 0; }
.process-number { display: block; margin-bottom: 16px; color: var(--gold); font-family: var(--hero-sans); font-size: 17px; font-weight: 700; letter-spacing: .05em; }
.process-step h3 { margin-bottom: 10px; font-size: 19px; }

.team-section { background: var(--gold-pale); }
.team-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 90px; width: min(calc(100% - 64px), var(--content-width)); margin: 0 auto; padding: 73px 0 79px; }
.team-aside { display: flex; flex-direction: column; align-items: flex-start; }
.team-emblem { display: block; width: 190px; height: 190px; margin-bottom: 32px; overflow: hidden; border: 1px solid rgba(177,139,73,.55); border-radius: 50%; }
.team-emblem img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center; }
.team-inner h2 { max-width: 610px; margin: 0 0 20px; font-size: clamp(32px,3.8vw,43px); }
.team-copy p { margin: 0 0 16px; color: #5f6670; font-size: 13px; line-height: 1.9; }
.team-copy .section-kicker { color: var(--gold-dark); }
.team-text-copy { position: relative; }
.team-text-copy.is-clamped { overflow: hidden; }
.team-text-copy.is-clamped::after { position: absolute; right: 0; bottom: 0; left: 0; height: 35px; background: linear-gradient(transparent, var(--gold-pale)); content: ''; pointer-events: none; }
.team-copy .team-expand { margin: 1px 0 0; border-color: rgba(177,139,73,.58); color: var(--gold-dark); }
.team-copy .team-expand:hover { border-color: var(--gold-dark); background: rgba(177,139,73,.07); }
.team-copy .story-expand-icon { border-color: rgba(177,139,73,.58); }
.team-copy .team-expand[aria-expanded="true"] .story-expand-icon { font-size: 0; }
.team-copy .team-expand[aria-expanded="true"] .story-expand-icon::before { width: 8px; height: 1px; background: var(--gold-dark); content: ''; }
.team-contact-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #C2185B; font-size: 14px; font-weight: 600; text-decoration: none; }
.team-contact-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.team-contact-link:focus-visible { outline: 2px solid #C2185B; outline-offset: 4px; }

.faq-section { padding-top: 108px; padding-bottom: 115px; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 85px; }
.faq-heading h2 { margin-bottom: 20px; }
.faq-heading > p:not(.eyebrow) { max-width: 340px; margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.faq-column .section-kicker { width: fit-content; margin: 0 0 22px; color: var(--gold-dark); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 3px; color: var(--navy); cursor: pointer; font-family: var(--hero-sans); font-size: 16px; font-weight: 700; line-height: 1.45; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: 0 0 24px; width: 24px; height: 24px; border: 1px solid rgba(177,139,73,.55); border-radius: 50%; }
.faq-plus::before, .faq-plus::after { position: absolute; top: 50%; left: 50%; width: 9px; height: 1px; background: var(--gold-dark); content: ''; transform: translate(-50%,-50%); transition: transform .2s ease; }
.faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%,-50%) rotate(0); }
.faq-item > p { max-width: 650px; margin: -2px 36px 20px 3px; color: var(--muted); font-size: 13px; line-height: 1.8; }

.references-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #f7f4ee 0%, #fbfaf7 58%, #f1eadc 100%); }
.references-section::before { position: absolute; top: -190px; left: -130px; width: 460px; height: 460px; border: 1px solid rgba(177,139,73,.16); border-radius: 50%; box-shadow: 0 0 0 34px rgba(177,139,73,.035), 0 0 0 68px rgba(177,139,73,.025); content: ''; }
.references-inner { position: relative; z-index: 1; width: min(calc(100% - 64px), var(--content-width)); margin: 0 auto; padding: 96px 0 104px; }
.references-heading { max-width: 720px; margin: 0 0 38px auto; text-align: right; }
.references-heading .section-kicker { width: fit-content; margin: 0 0 13px auto; color: var(--gold-dark); }
.references-heading h2 { margin: 0; color: var(--navy); font-family: var(--hero-sans); font-size: clamp(34px, 4.3vw, 50px); font-weight: 700; letter-spacing: -.04em; line-height: 1.16; }
.references-body { max-width: 900px; margin: 0 0 0 auto; }
.references-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.reference-card { position: relative; min-height: 230px; padding: 38px 38px 30px; border: 1px solid rgba(177,139,73,.24); border-left: 4px solid var(--gold); border-radius: 5px; background: rgba(255,255,255,.93); box-shadow: 0 18px 46px rgba(20,42,78,.07); }
.reference-quote-mark { position: absolute; top: 10px; left: 29px; color: rgba(177,139,73,.4); font-family: Georgia, serif; font-size: 72px; line-height: 1; }
.reference-card p { position: relative; margin: 13px 0 22px; color: #4f596a; font-size: 15px; font-style: italic; line-height: 1.9; }
.reference-card h3 { margin: 0 0 4px; color: var(--navy); font-family: var(--hero-sans); font-size: 16px; font-weight: 700; }
.reference-client-label { color: var(--gold-dark); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.references-grid.is-clamped { overflow: hidden; }
.references-grid.is-clamped::after { position: absolute; right: 0; bottom: 0; left: 0; height: 52px; background: linear-gradient(transparent, rgba(247,244,238,.95)); content: ''; pointer-events: none; }
.reference-expand { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; margin-top: 17px; padding: 9px 16px; border: 1px solid rgba(177,139,73,.56); border-radius: 4px; background: #fff; color: var(--gold-dark); cursor: pointer; font-family: var(--sans); font-size: 12px; font-weight: 600; }
.reference-expand:hover { border-color: var(--gold-dark); background: var(--gold-pale); }
.reference-expand:focus-visible { outline: 2px solid #C2185B; outline-offset: 3px; }

.contact-section { background: var(--navy); color: #fff; }
.contact-inner { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 72px; width: min(calc(100% - 64px), var(--content-width)); margin: 0 auto; padding: 81px 0 86px; }
.contact-copy h2 { max-width: 600px; margin-bottom: 16px; color: #fff; font-size: clamp(38px,4.5vw,54px); }
.contact-copy > p:last-child { max-width: 560px; margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }
.contact-form-column { min-width: 0; }
.contact-form-kicker { width: fit-content; margin: 0 0 13px; color: #d7bd8c; }
.contact-form { position: relative; padding: 27px 29px 25px; border: 1px solid rgba(255,255,255,.22); border-radius: 5px; background: #fff; color: var(--ink); box-shadow: 0 18px 48px rgba(0,0,0,.18); }
.contact-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px 16px; }
.contact-field { display: block; min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field > span { display: block; margin-bottom: 5px; color: var(--navy); font-size: 11px; font-weight: 600; line-height: 1.5; }
.contact-field input, .contact-field textarea { display: block; width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid #dfe2e5; border-radius: 3px; outline: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: 13px; line-height: 1.6; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-field textarea { min-height: 105px; resize: vertical; }
.contact-field input:focus, .contact-field textarea:focus { border-color: #C2185B; box-shadow: 0 0 0 3px rgba(194,24,91,.1); }
.contact-submit { display: inline-flex; width: 100%; min-height: 45px; align-items: center; justify-content: center; margin-top: 17px; padding: 10px 18px; border: 0; border-radius: 3px; background: #C2185B; color: #fff; cursor: pointer; font-family: var(--sans); font-size: 13px; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.contact-submit:hover { background: #a3154c; transform: translateY(-1px); }
.contact-submit:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.contact-consent-wrap { margin-top: 13px; }
.contact-consent { display: flex; align-items: flex-start; gap: 9px; color: var(--ink); font-size: 12px; line-height: 1.6; cursor: pointer; }
.contact-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #C2185B; }
.privacy-link { display: inline-block; margin: 5px 0 0 25px; color: #C2185B; font-size: 12px; line-height: 1.6; text-decoration: underline; text-underline-offset: 2px; }
.privacy-link:focus-visible { outline: 2px solid #C2185B; outline-offset: 3px; }
.contact-feedback { margin: 13px 0 0; font-size: 13px; font-weight: 600; line-height: 1.65; }
.contact-feedback-success { color: #C2185B; }
.contact-feedback-error { color: #a51f37; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { background: #f8f8f6; }
.footer-inner { width: min(calc(100% - 64px), var(--content-width)); margin: 0 auto; padding: 28px 0 19px; }
.footer-contact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 8px 0 21px; }
.footer-contact p { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.75; }
.footer-contact strong { color: var(--navy); font-weight: 600; }
.footer-contact a { color: var(--gold-dark); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-legal { margin: 0; padding: 17px 0 20px; border-top: 1px solid #e5e5e1; color: var(--muted); font-size: 11px; line-height: 1.8; }
.footer-bottom { display: flex; align-items: center; gap: 26px; padding-top: 15px; border-top: 1px solid #e5e5e1; color: #858b93; font-size: 11px; }
.footer-bottom a { color: var(--gold-dark); text-decoration: none; }

/* Administrace */
.admin-page { min-height: 100vh; background: #f4f5f7; }
.admin-topbar { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; padding: 12px max(24px, calc((100% - 1060px)/2)); background: var(--navy); color: #fff; }
.admin-topbar a { color: #e0c996; font-size: 12px; text-decoration: none; }
.admin-brand { display: flex; align-items: center; gap: 15px; }
.admin-brand img { width: 112px; height: 50px; padding: 3px; border-radius: 3px; background: #fff; object-fit: contain; }
.admin-brand strong { font-family: var(--hero-sans); font-size: 16px; }
.admin-wrap { width: min(calc(100% - 36px), 860px); margin: 42px auto 80px; }
.admin-intro { margin-bottom: 24px; }
.admin-intro h1 { margin: 0 0 5px; color: var(--navy); font-family: var(--hero-sans); font-size: 34px; letter-spacing: -.03em; }
.admin-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.admin-card { margin: 18px 0; padding: 27px 30px 30px; border: 1px solid #e6e8eb; border-radius: 6px; background: #fff; box-shadow: 0 5px 18px rgba(20,42,78,.035); }
.admin-card h2 { margin: 0 0 19px; padding-bottom: 12px; border-bottom: 1px solid #eceef0; color: var(--navy); font-family: var(--hero-sans); font-size: 21px; }
.admin-card h3 { margin: 25px 0 13px; color: var(--gold-dark); font-size: 13px; font-weight: 600; }
.reference-admin-list { display: grid; gap: 14px; }
.reference-admin-item { padding: 1px 18px 17px; border: 1px solid #ece4d5; border-radius: 5px; background: #fcfbf8; }
.reference-admin-item h3 { margin-top: 18px; }
.reference-remove, .reference-add { min-height: 38px; padding: 8px 13px; border: 1px solid rgba(177,139,73,.46); border-radius: 4px; background: #fff; color: var(--gold-dark); cursor: pointer; font-family: var(--sans); font-size: 11px; font-weight: 600; }
.reference-remove:hover, .reference-add:hover { border-color: var(--gold-dark); background: var(--gold-pale); }
.reference-add { margin-top: 16px; background: var(--gold-pale); }
.reference-remove:focus-visible, .reference-add:focus-visible { outline: 2px solid #C2185B; outline-offset: 2px; }
.admin-field { display: block; margin: 0 0 17px; }
.admin-field > span { display: block; margin-bottom: 6px; color: #4d5665; font-size: 11px; font-weight: 600; }
.admin-field input, .admin-field textarea { display: block; width: 100%; padding: 11px 12px; border: 1px solid #d9dde2; border-radius: 4px; outline: 0; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.6; transition: border-color .2s ease, box-shadow .2s ease; }
.admin-field textarea { min-height: 86px; resize: vertical; }
.admin-field input:focus, .admin-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(177,139,73,.12); }
.admin-savebar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 20px -10px 0; padding: 14px 10px; background: rgba(244,245,247,.94); backdrop-filter: blur(8px); }
.admin-savebar p { margin: 0; color: #747d8a; font-size: 11px; }
.admin-submit { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 20px; border: 0; border-radius: 4px; background: var(--navy); color: #fff; cursor: pointer; font-size: 12px; font-weight: 600; }
.admin-submit:hover { background: var(--navy-deep); }
.admin-message { margin-bottom: 20px; padding: 14px 17px; border: 1px solid #bbdfc5; border-radius: 4px; background: #eff9f1; color: #27663b; font-size: 13px; }
.admin-message.error { border-color: #ecc6c6; background: #fff3f3; color: #8f3535; }
.login-card { max-width: 460px; margin: 80px auto; }
.login-card .admin-submit { width: 100%; }
.admin-logout { padding: 0; border: 0; background: none; color: #e0c996; cursor: pointer; font-size: 12px; }

@media (max-width: 1260px) {
    .header-inner { gap: 16px; width: min(calc(100% - 42px), 1440px); }
    .brand { width: 174px; }
    .main-nav { gap: 15px; }
    .main-nav a { font-size: 12px; }
}

@media (max-width: 1100px) {
    .services-section .section-intro { white-space: normal; }
}

@media (max-width: 1240px) {
    .site-header { height: 84px; }
    .header-inner { display: flex; justify-content: space-between; }
    .brand { width: 170px; height: 70px; }
    .header-phone { position: absolute; right: auto; left: 50%; gap: 11px; padding: 0; border-radius: 0; background: transparent; color: var(--navy); transform: translateX(-50%); }
    .phone-icon { display: grid; width: 38px; height: 38px; place-items: center; color: var(--gold-dark); border: 1px solid rgba(177,139,73,.32); border-radius: 50%; }
    .main-nav { position: absolute; top: 100%; right: -21px; left: -21px; display: flex; visibility: hidden; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 20px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 16px 24px rgba(20,42,78,.1); opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
    .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
    .main-nav a { padding: 12px 4px; border-bottom: 1px solid #f0efed; font-size: 14px; }
    .main-nav a:last-child { border-bottom: 0; }
    .main-nav a::after { display: none; }
    .menu-toggle { display: flex; width: 45px; height: 45px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 1px solid rgba(177,139,73,.35); border-radius: 50%; background: transparent; cursor: pointer; }
    .menu-toggle span { display: block; width: 17px; height: 1.5px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }
    .hero { min-height: min(630px, calc(100svh - 84px)); }
    .hero-inner, .section, .story-inner, .team-inner, .contact-inner, .proof-inner, .footer-inner { width: min(calc(100% - 48px), var(--content-width)); }
    .story-inner { gap: 65px; }
    .faq-layout { gap: 54px; }
}

@media (max-width: 720px) {
    html { scroll-padding-top: 78px; }
    body { font-size: 15px; }
    .site-header { height: 76px; }
    .header-inner { width: calc(100% - 32px); gap: 9px; }
    .brand { width: 128px; height: 62px; }
    .header-phone { position: static; gap: 7px; margin-left: auto; transform: none; }
    .phone-icon { width: 32px; height: 32px; }
    .phone-icon svg { width: 17px; height: 17px; }
    .phone-copy strong { font-size: 15px; }
    .menu-toggle { width: 39px; height: 39px; margin-left: 5px; }
    .main-nav { right: -16px; left: -16px; padding-right: 22px; padding-left: 22px; }
    .hero { display: block; min-height: 0; background: #fff; }
    .hero-image { position: relative; inset: auto; display: block; width: 100%; height: clamp(320px, 100vw, 430px); object-fit: cover; object-position: 88% center; }
    .hero-shade { display: none; }
    .hero-inner { display: block; width: 100%; margin: 0; padding: 28px 20px 32px; background: #fff; }
    .hero-copy { width: 100%; text-align: center; }
    .hero-eyebrow { display: none; }
    .hero h1 { font-size: clamp(28px, 8.8vw, 38px); line-height: 1.12; white-space: nowrap; }
    .hero h2 { max-width: 500px; margin: 12px auto 23px; color: var(--gold-dark); font-size: clamp(19px, 5.2vw, 24px); line-height: 1.42; }
    .hero-cta { width: 100%; }
    .button { width: 100%; }
    .admin-submit { width: 100%; }
    .proof-inner { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 10px; padding: 18px 0 13px; }
    .clients-count { align-items: center; justify-content: center; padding: 0 0 15px; border-right: 0; border-bottom: 1px solid var(--line); }
    .client-number { font-size: 39px; }
    .proof-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .proof-item, .proof-item:first-child, .proof-item:last-child { flex-direction: column; gap: 5px; min-width: 0; padding: 12px 7px; border-right: 1px solid var(--line); border-bottom: 0; }
    .proof-item:last-child { border-right: 0; }
    .proof-number { font-size: 12px; }
    .proof-item h3 { font-size: 14px; line-height: 1.4; }
    .proof-item p { font-size: 15px; line-height: 1.55; }
    .section { width: calc(100% - 40px); padding: 78px 0; }
    .section-heading h2, .story-copy h2, .team-inner h2 { font-size: clamp(34px, 9vw, 44px); }
    .section-intro { margin-top: 14px; font-size: 13px; }
    .service-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 37px; }
    .service-card { min-height: 0; padding: 21px 22px; }
    .service-card-summary { margin-bottom: 10px; }
    .service-card-details { padding: 0; }
    .service-card h3 { font-size: 19px; }
    .story-inner { width: calc(100% - 40px); min-height: 660px; grid-template-columns: 1fr; gap: 27px; padding: 74px 0 79px; }
    .story-aside { align-items: center; text-align: center; }
    .story-emblem { width: 168px; height: 168px; margin-bottom: 0; }
    .story-signature { margin-top: 22px; padding-top: 0; }
    .story-copy .section-kicker, .team-copy .section-kicker { margin-bottom: 12px; }
    .story-copy h2 { margin-bottom: 18px; }
    .story-copy p { font-size: 13px; }
    .story-milestone h3 { font-size: 15px; }
    .story-milestone p { margin-bottom: 16px; font-size: 13px; line-height: 1.75; }
    .process-prompt { margin-top: 36px; font-size: 13px; }
    .process-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 25px; }
    .team-inner { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 19px; padding: 64px 0 68px; }
    .team-aside { align-items: center; text-align: center; }
    .team-emblem { width: 168px; height: 168px; margin-bottom: 0; }
    .team-copy p { font-size: 13px; }
    .copy-expand { width: 100%; justify-content: space-between; }
    .faq-section { padding-top: 78px; padding-bottom: 82px; }
    .faq-layout { grid-template-columns: 1fr; gap: 34px; }
    .faq-heading h2 { margin-bottom: 14px; }
    .faq-item summary { min-height: 62px; font-size: 15px; }
    .references-inner { width: calc(100% - 40px); padding: 76px 0 80px; }
    .references-heading { margin-bottom: 29px; }
    .references-heading h2 { font-size: clamp(32px, 8.5vw, 42px); }
    .references-body { width: 100%; }
    .references-grid { grid-template-columns: 1fr; gap: 14px; }
    .reference-card { min-height: 0; padding: 34px 23px 25px; }
    .reference-quote-mark { left: 17px; }
    .reference-card p { margin-top: 14px; font-size: 14px; }
    .reference-expand { width: 100%; }
    .contact-inner { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 29px; padding: 66px 0 68px; }
    .contact-copy h2 { font-size: 41px; }
    .contact-form { padding: 22px 19px; }
    .contact-form-fields { grid-template-columns: 1fr; gap: 13px; }
    .contact-field-wide { grid-column: auto; }
    .floating-cta { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); left: 16px; width: auto; min-height: 45px; gap: 10px; padding: 10px 14px; font-size: 12px; }
    .footer-inner { width: calc(100% - 40px); }
    .footer-contact { grid-template-columns: 1fr; gap: 8px; padding-bottom: 17px; }
    .footer-bottom { flex-wrap: wrap; gap: 9px 19px; }
    .admin-topbar { padding-right: 18px; padding-left: 18px; }
    .admin-brand img { width: 90px; }
    .admin-brand strong { font-size: 13px; }
    .admin-wrap { width: calc(100% - 24px); margin-top: 26px; }
    .admin-card { padding: 21px 18px; }
    .admin-savebar { align-items: stretch; flex-direction: column; }
    .admin-savebar p { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
