/* fotovarna.com — Alex Mitov Studio
   Идентичност, взета от alexmitov.com: Cormorant за заглавия, системен шрифт за текст,
   бяло и почти черно, златен акцент. Златото (--gold) е приблизително — сложи точния hex от сватбения сайт. */

:root {
  --ink: #1a1a1a;
  --text: #333333;
  --muted: #6b6a66;
  --paper: #ffffff;
  --stone: #f3f3f1;
  --line: #deddd8;
  --gold: #c9a24a;
  --gold-ink: #7d5f1d;
  --todo: #fff1a8;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans: -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --wrap: 1120px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 700; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.01em; max-width: 16ch; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; max-width: 22ch; }
h3 { font-size: 1.55rem; line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: 1.2rem; color: var(--ink); max-width: 52ch; }
.small { font-size: .9rem; color: var(--muted); }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 50; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: block; line-height: 0; text-decoration: none; }
.brand img { height: 64px; width: auto; }
.foot-logo { height: 96px; width: auto; margin-bottom: 1rem; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.site-header nav a { text-decoration: none; font-size: .96rem; color: var(--ink); padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover { border-color: var(--gold); color: var(--ink); }
.site-header nav a[aria-current="page"] { border-color: var(--gold); }
.site-header nav a.wed { border: 1px solid var(--ink); padding: .45rem .95rem; border-radius: 2px; }
.site-header nav a.wed:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); color: var(--ink); font: inherit; font-size: .95rem; padding: .45rem .9rem; border-radius: 2px; cursor: pointer; }

/* buttons */
.btn { display: inline-block; font: 600 1rem/1 var(--sans); padding: 1rem 1.6rem; border-radius: 2px; text-decoration: none; border: 1px solid var(--ink); cursor: pointer; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d8b35e; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* placeholders for photos — замени всеки <figure class="ph"> с <img> */
.ph { margin: 0; position: relative; background: repeating-linear-gradient(135deg, #ecebe7, #ecebe7 14px, #e4e3de 14px, #e4e3de 28px); display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--muted); font-size: .9rem; min-height: 12rem; }
.ph::after { content: attr(data-ph); max-width: 26ch; }
.r45 { aspect-ratio: 4 / 5; } .r32 { aspect-ratio: 3 / 2; } .r43 { aspect-ratio: 4 / 3; } .r11 { aspect-ratio: 1 / 1; }
.todo { background: var(--todo); padding: 0 .25em; border-radius: 2px; }

/* sections */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.tint { background: var(--stone); }
.dark { background: var(--ink); color: #d9d8d3; }
.dark h2, .dark h3 { color: #fff; }
.dark a { color: #fff; }
.section-head { margin-bottom: 2.2rem; }

/* hero */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .lead { margin-top: 1.6rem; }
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero .lead { margin-top: 1.3rem; }

/* service rows on home */
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { display: grid; grid-template-columns: 12rem 1fr auto; gap: 1.8rem; align-items: center; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc .ph { min-height: 0; aspect-ratio: 3 / 2; padding: .5rem; font-size: .75rem; }
.svc p { margin: .35rem 0 0; }
.svc a.go { font-weight: 600; white-space: nowrap; }

/* process sequence (a real sequence → numbered) */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 1.2rem 1.1rem 0 0; position: relative; }
.steps li::before { content: counter(s); font-family: var(--serif); font-weight: 700; font-size: 2.2rem; color: var(--gold-ink); display: block; line-height: 1; margin-bottom: .6rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.steps p { font-size: .95rem; margin: 0; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps.three { grid-template-columns: repeat(3, 1fr); }

/* packages */
.pk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pk > div { border: 1px solid var(--line); padding: 1.8rem 1.6rem; background: var(--paper); display: flex; flex-direction: column; }
.pk .price { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--ink); margin: .6rem 0 1rem; }
.pk ul { margin: 0 0 1.2rem; padding-left: 1.1rem; }
.pk li { margin-bottom: .45rem; }
.pk .feat { border-color: var(--ink); border-width: 2px; }

/* tables */
.tbl-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .98rem; }
th, td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); border-bottom: 2px solid var(--ink); }
tbody th { font-weight: 600; color: var(--ink); }

/* two-col text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split.photo { grid-template-columns: .8fr 1.2fr; align-items: center; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cols h3 { margin-bottom: .5rem; }
.cols p { font-size: .98rem; }

/* form */
form { display: grid; gap: 1.1rem; max-width: 34rem; }
label { font-weight: 600; font-size: .95rem; color: var(--ink); display: grid; gap: .35rem; }
input, select, textarea { font: inherit; padding: .8rem .9rem; border: 1px solid #b9b8b2; border-radius: 2px; background: #fff; color: var(--ink); width: 100%; }
textarea { min-height: 8rem; resize: vertical; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .88rem; }
.consent input { width: auto; margin-top: .25rem; }
.hp { position: absolute; left: -9999px; }
.notice { background: var(--stone); border-left: 4px solid var(--gold); padding: 1rem 1.2rem; max-width: 34rem; margin-bottom: 1.5rem; }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-list li { margin-bottom: .6rem; }

/* footer */
.site-footer { background: var(--ink); color: #bdbcb6; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.foot h3 { color: #fff; font-size: 1.25rem; margin-bottom: .6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .35rem; }
.legal { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid #3a3a3a; font-size: .85rem; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .site-header nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; }
  .site-header nav.open { display: block; }
  .site-header nav ul { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .hero-grid, .split, .split.photo { grid-template-columns: 1fr; }
  .hero .r45 { max-height: 26rem; aspect-ratio: 3 / 2; }
  .svc li { grid-template-columns: 1fr; gap: .8rem; }
  .svc .ph { max-width: 14rem; }
  .steps, .steps.four, .steps.three { grid-template-columns: 1fr; border-top: 0; }
  .steps li { border-top: 2px solid var(--ink); margin-bottom: 1rem; padding-right: 0; }
  .pk, .cols { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
