/* Bolgarica Photos
   Layout idea: white pages where the photos lead; navy for structure and
   dark bands; one amber accent for actions. Serif display echoes the logo. */
:root {
  color-scheme: light;
  --navy: #111c30;
  --navy-2: #1c2c4a;
  --ink: #1d2533;
  --muted: #5b6577;
  --paper: #ffffff;
  --mist: #f2f4f7;
  --line: #dfe3ea;
  --accent: #e39a26;
  --accent-ink: #9a5f06;
  --display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; }
.brand img { height: 58px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 0; border-bottom: 2px solid transparent; color: var(--ink); }
.main-nav > a:hover { border-color: var(--line); }
.main-nav > a[aria-current="page"] { border-color: var(--accent); color: var(--navy); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .06em; border: 0; background: none; color: var(--muted); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: var(--navy); content: ""; position: relative; }
.menu-icon::before { position: absolute; top: -6px; }
.menu-icon::after { position: absolute; top: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .98rem; text-decoration: none; padding: 13px 24px; border-radius: var(--radius); border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: #efa939; }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-weight: 700; color: var(--accent-ink); text-underline-offset: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,28,48,.92) 0%, rgba(17,28,48,.72) 42%, rgba(17,28,48,.12) 78%); }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(72px, 11vw, 150px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero-lead { font-size: 1.2rem; max-width: 44ch; color: #e6eaf1; }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* ---------- home blocks ---------- */
.block { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.block-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.block-head.row { flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.svc { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.svc + .svc { padding-left: 28px; border-left: 1px solid var(--line); }
.svc p { color: var(--muted); }
.band { background: var(--mist); }
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.preview { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; }
.preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.preview:hover img { transform: scale(1.04); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps p { color: var(--muted); }
.step-n { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--accent); }
.tease { margin-top: 56px; padding: 30px 32px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tease p { color: var(--muted); margin-top: 6px; }
.strip { background: var(--navy); color: #fff; }
.strip-inner { padding-top: 56px; padding-bottom: 56px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: center; }
.strip h2 { color: #fff; margin-bottom: 8px; }
.strip p { color: #c9d1de; }
.strip-contacts { display: grid; gap: 12px; }
.strip-contacts li { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.strip-name { color: #c9d1de; min-width: 150px; font-size: .95rem; }
.strip-contacts a { font-weight: 700; font-size: 1.1rem; color: #fff; text-decoration-color: var(--accent); text-underline-offset: 5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ---------- inner pages ---------- */
.page { padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 110px); }
.page-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 2px solid var(--navy); }
.notice { display: inline-block; background: #fff4df; color: #7a4a00; border: 1px dashed #d9a04a; border-radius: var(--radius); padding: 8px 14px; font-size: .92rem; font-weight: 600; margin-bottom: 24px; }
.fineprint { color: var(--muted); font-size: .95rem; margin-top: 28px; }
.sub { margin: 56px 0 24px; }

/* portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button { font: inherit; font-weight: 700; font-size: .95rem; padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { columns: 3; column-gap: 14px; }
.shot { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--mist); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.shot:hover img { transform: scale(1.03); }
.empty { padding: 48px 24px; text-align: center; color: var(--muted); background: var(--mist); border-radius: var(--radius); }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.price.featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.price.featured h2 { color: #fff; }
.price h2 { font-size: 1.6rem; }
.fit { color: var(--muted); min-height: 3.2em; }
.price.featured .fit { color: #c9d1de; }
.amount { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.price.featured .amount { color: var(--accent); }
.price ul { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.price.featured ul { border-color: rgba(255,255,255,.2); }
.price li { padding-left: 22px; position: relative; }
.price li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--accent); }
.tag { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.prose { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 65ch; }
.prose .notice { margin-bottom: 4px; }
.about-img { border-radius: var(--radius); width: 100%; }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.member { display: flex; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--accent); font-family: var(--display); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.role { color: var(--accent-ink); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 4px 0 10px; }
.member p:last-child { color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.card.wide { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--mist); border-color: var(--mist); }
.card h2 { font-size: 1.5rem; }
.label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.big { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 8px; overflow-wrap: anywhere; }
.big a { text-decoration-color: var(--accent); text-underline-offset: 5px; }
.big.plain { font-weight: 600; }
.card.wide .big { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--mist); color: var(--muted); font-size: .95rem; }
.strip + * { border-top: 0; }
.footer-row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-top: 52px; padding-bottom: 36px; border-top: 1px solid var(--line); }
.footer-brand img { width: 170px; margin-bottom: 12px; }
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--accent-ink); }
.footer-contacts { display: grid; gap: 10px; align-content: start; }
.footer-contacts li { display: flex; flex-direction: column; }
.footer-name { font-size: .8rem; color: var(--muted); }
.footer-contacts a { color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.footer-legal { padding-top: 18px; padding-bottom: 28px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(9,14,24,.95); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: #d5dbe6; font-size: .95rem; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
#lb-count { color: #94a0b5; font-variant-numeric: tabular-nums; }
.lb-btn { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.lb-btn:hover { background: var(--accent); color: var(--navy); border-color: var(--accent); }
.lb-close { position: absolute; top: 16px; right: 16px; z-index: 2; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; box-shadow: 0 16px 30px rgba(17,28,48,.12); }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav > a[aria-current="page"] { border-color: var(--line); color: var(--accent-ink); }
  .lang { align-self: flex-start; margin-top: 16px; }
  .brand img { height: 50px; }
  .header-row { min-height: 66px; }
  .hero::after { background: linear-gradient(180deg, rgba(17,28,48,.78), rgba(17,28,48,.86)); }
  .svc-grid, .steps, .price-grid, .about-grid, .team, .contact-grid { grid-template-columns: 1fr; }
  .svc, .svc + .svc { padding: 24px 0; border-left: 0; }
  .svc + .svc { border-top: 1px solid var(--line); }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .fit { min-height: 0; }
  .price.featured { margin-top: 8px; }
  .card.wide { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .main-nav { padding: 8px 18px 20px; }
  .gallery { columns: 2; column-gap: 8px; }
  .shot { margin-bottom: 8px; }
  .big { font-size: 1.1rem; overflow-wrap: break-word; }
  .btn-row .btn { width: 100%; }
  .lb-prev, .lb-next { position: absolute; bottom: 16px; z-index: 2; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lightbox img { max-height: calc(100vh - 190px); }
  .member { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- header lockup ---------- */
.brand { gap: 14px; text-decoration: none; }
.brand-mark { font-family: var(--display); font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--navy); letter-spacing: -.03em; }
.brand-text { display: flex; flex-direction: column; gap: 3px; border-left: 2px solid var(--accent); padding-left: 14px; }
.brand-name { font-size: .8rem; font-weight: 700; letter-spacing: .24em; color: var(--navy); white-space: nowrap; }
.brand-est { font-size: .62rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- six services ---------- */
.svc-grid { gap: 0 40px; border-top: 0; }
.svc, .svc + .svc { padding: 24px 0 28px; border-left: 0; border-top: 2px solid var(--navy); }
.svc:nth-child(n+4) { border-top: 1px solid var(--line); }

/* ---------- pricing extras and agencies ---------- */
.extras { margin-top: 24px; border-top: 2px solid var(--navy); }
.extras li { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr auto; gap: 8px 28px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.extras h3 { font-size: 1.2rem; }
.extras p { color: var(--muted); }
.extras .onreq { font-weight: 700; color: var(--accent-ink); white-space: nowrap; }
.agency { margin-top: 56px; padding: 36px; background: var(--navy); color: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.agency h2 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.agency p { color: #c9d1de; max-width: 58ch; }

@media (max-width: 900px) {
  .svc, .svc + .svc, .svc:nth-child(n+4) { border-top: 1px solid var(--line); padding: 22px 0; }
  .svc:first-child { border-top: 2px solid var(--navy); }
  .extras li { grid-template-columns: 1fr; }
  .agency { padding: 28px 24px; }
}
@media (max-width: 520px) {
  .brand-mark { font-size: 2rem; }
  .brand-name { font-size: .68rem; letter-spacing: .18em; }
  .brand-text { padding-left: 10px; }
  .brand { gap: 10px; }
}

/* ---------- logo: two pyramids + name ---------- */
.logo-d { display: inline-flex; align-items: center; gap: .45em; font-size: 29px; line-height: 1; color: var(--navy); }
.logo-mark { display: block; height: 1.7em; width: auto; max-width: none; }
.logo-name { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
.footer-brand .logo-d { font-size: 34px; margin-bottom: 18px; }
@media (max-width: 520px) { .site-header .logo-d { font-size: 25px; } }


/* ---------- checkout ---------- */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.co-main { display: grid; gap: 28px; }
.co-block { border: 0; margin: 0; padding: 0; min-width: 0; }
.co-block legend { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--navy); padding: 0; margin-bottom: 14px; }
.co-plans { display: grid; gap: 12px; }
.co-plan, .co-opt { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
.co-plan:hover, .co-opt:hover { border-color: var(--navy); }
.co-plan input, .co-opt input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--navy); }
.co-plan:has(input:checked), .co-opt:has(input:checked) { border-color: var(--navy); background: #f7f9fc; box-shadow: 0 0 0 1px var(--navy); }
.co-plan:has(input:focus-visible), .co-opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.co-plan-body { display: grid; gap: 2px; flex: 1; }
.co-plan-top { display: flex; justify-content: space-between; gap: 12px; font-size: 1.1rem; }
.co-plan-price { font-family: var(--display); font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.co-plan-fit { color: var(--muted); font-size: .95rem; }
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.fld.full { grid-column: 1 / -1; }
.fld input, .fld textarea { font: inherit; font-weight: 500; color: var(--ink); padding: 12px 14px; border: 1px solid #b9c1ce; border-radius: var(--radius); background: #fff; width: 100%; }
.fld input:focus, .fld textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--navy); }
.fld textarea { resize: vertical; }
.co-side { position: sticky; top: 96px; display: grid; gap: 14px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.co-summary h2 { font-size: 1.3rem; margin-bottom: 12px; }
.co-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.co-summary dt { color: var(--muted); }
.co-summary dd { margin: 0; text-align: right; font-weight: 600; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--navy); }
.co-total b { font-family: var(--display); font-size: 2rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.co-nopay, .co-hint { font-size: .9rem; color: var(--muted); }
.co-nopay { font-weight: 600; color: var(--navy); }
.co-send, .co-copy { width: 100%; cursor: pointer; font-family: inherit; }
.co-status { min-height: 1.2em; font-weight: 700; color: var(--accent-ink); font-size: .92rem; }
.co-call { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.co-call .btn { width: 100%; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .co { grid-template-columns: 1fr; gap: 28px; }
  .co-side { position: static; }
}
@media (max-width: 520px) { .co-fields { grid-template-columns: 1fr; } }
#co-call { display: grid; gap: 10px; }
.co-summary dd { white-space: nowrap; }
