:root {
  --bg: #f7f0e7;
  --paper: #fffaf2;
  --paper-2: #f1e3d1;
  --ink: #25201b;
  --muted: #75695f;
  --line: rgba(37, 32, 27, 0.14);
  --accent: #9a6a43;
  --accent-dark: #6c4329;
  --shadow: 0 24px 80px rgba(52, 37, 24, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #fff8ef 0, var(--bg) 46%, #eadcc9 100%);
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.site-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 16px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 16px 0 32px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 250, 242, 0.82); backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(52, 37, 24, 0.08);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-family: "Cormorant Garamond", serif; font-size: 17px;
}
.brand-text { white-space: nowrap; }
.nav { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--ink); }
.lang-switcher { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switcher button {
  border: 0; background: transparent; padding: 7px 9px; border-radius: 999px; cursor: pointer;
  color: var(--muted); font-size: 12px; font-weight: 700;
}
.lang-switcher button.active { background: var(--ink); color: var(--paper); }

.section { padding: 72px 0; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; min-height: calc(100vh - 120px); }
.eyebrow { margin: 0 0 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 800; }
h1, h2, h3 { font-family: "Cormorant Garamond", serif; line-height: 0.96; margin: 0; }
h1 { font-size: clamp(48px, 6vw, 86px); letter-spacing: -0.04em; }
h2 { font-size: clamp(38px, 4.4vw, 64px); letter-spacing: -0.035em; }
h3 { font-size: 31px; letter-spacing: -0.025em; }
.hero-text, .section-heading p:not(.eyebrow), .about-copy p, .contact-copy p, .service-card p, .portfolio-card p {
  color: var(--muted); line-height: 1.65;
}
.hero-text { font-size: 18px; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--ink); cursor: pointer; font-weight: 700;
}
.button.primary { background: var(--ink); color: var(--paper); }
.button.ghost { background: transparent; }

.album { perspective: 1300px; }
.album-cover {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; padding: 18px;
  border-radius: 28px; background: linear-gradient(135deg, #5b3b28, #2a211c 60%, #916c4e);
  box-shadow: var(--shadow); transform-style: preserve-3d;
}
.album-page {
  position: relative; padding: 22px; background: var(--paper); border: 1px solid rgba(0,0,0,.08);
  transition: transform .75s ease, box-shadow .75s ease; transform-origin: left center; overflow: hidden;
}
.page-left { border-radius: 18px 3px 3px 18px; }
.page-right { border-radius: 3px 18px 18px 3px; transform-origin: left center; }
.album-cover.flipped .page-right { transform: rotateY(-32deg); box-shadow: -18px 22px 50px rgba(0,0,0,.18); }
.photo-card, .portfolio-thumb, .about-image {
  background-size: cover; background-position: center; background-image: linear-gradient(135deg, rgba(255,255,255,.25), rgba(0,0,0,.12)), linear-gradient(135deg, #d8c1a9, #7f6149);
}
.photo-card { height: 330px; border-radius: 16px; }
.photo-1 { background-image: linear-gradient(135deg, rgba(255,255,255,.28), rgba(0,0,0,.16)), linear-gradient(135deg, #d9b89a, #816b60); }
.photo-2 { background-image: linear-gradient(135deg, rgba(255,255,255,.18), rgba(0,0,0,.2)), linear-gradient(135deg, #b7aa9b, #3b332e); }
.album-page p { color: var(--muted); margin: 18px 0 0; }
.album-flip { margin-top: 18px; border: 0; background: transparent; color: var(--accent-dark); cursor: pointer; font-weight: 800; }

.section-heading { max-width: 720px; margin-bottom: 34px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.portfolio-card {
  border: 1px solid var(--line); border-radius: 24px; background: rgba(255,250,242,.66); overflow: hidden;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(52,37,24,.12); }
.portfolio-thumb { height: 170px; }
.portfolio-body { padding: 18px; }
.portfolio-body h3 { font-size: 26px; }
.portfolio-body p { font-size: 14px; }
.cat-before { background-image: linear-gradient(135deg, #cab09c 0 50%, #5a514b 50%); }
.cat-pregnancy { background-image: linear-gradient(135deg, #e7c8ba, #a6786a); }
.cat-corporate { background-image: linear-gradient(135deg, #d6d1c8, #3e4650); }
.cat-birthday { background-image: linear-gradient(135deg, #eed5a5, #b66d58); }
.cat-food { background-image: linear-gradient(135deg, #d6a15d, #493020); }
.cat-bw { background-image: linear-gradient(135deg, #f1f1f1, #1f1f1f); }
.cat-linkedin { background-image: linear-gradient(135deg, #d8e0e8, #32475a); }
.cat-family { background-image: linear-gradient(135deg, #e6cdb3, #8c6043); }
.cat-couples { background-image: linear-gradient(135deg, #e8b7aa, #6a3f42); }
.cat-kids { background-image: linear-gradient(135deg, #f4df9d, #7aa391); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,250,242,.72); }
.service-card.featured { background: var(--ink); color: var(--paper); transform: translateY(-10px); }
.service-card.featured p { color: rgba(255,250,242,.72); }
.service-card span { display: inline-block; margin-top: 18px; font-weight: 800; color: var(--accent-dark); }
.service-card.featured span { color: #f0d0ac; }

.about-section, .contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.about-image { min-height: 540px; border-radius: 34px; box-shadow: var(--shadow); background-image: linear-gradient(135deg, rgba(255,255,255,.22), rgba(0,0,0,.18)), linear-gradient(135deg, #d9c7b8, #5c4a3f); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.check-list li { padding-left: 28px; position: relative; color: var(--muted); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-dark); font-weight: 900; }

.contact-links { display: flex; gap: 12px; margin-top: 24px; }
.contact-links a { border-bottom: 1px solid currentColor; color: var(--accent-dark); font-weight: 800; }
.lead-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 28px; border-radius: 30px;
  background: rgba(255,250,242,.82); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.lead-form label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); padding: 13px 14px; outline: none;
}
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { border-color: var(--accent); }
.full { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }

.modal[aria-hidden="true"] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,16,12,.62); backdrop-filter: blur(8px); }
.modal-card { position: relative; width: min(980px, 100%); max-height: 88vh; overflow: auto; padding: 30px; border-radius: 30px; background: var(--paper); box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 24px; }
.modal-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.gallery-placeholder { min-height: 210px; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; color: var(--paper); background: linear-gradient(135deg, #d8c1a9, #4f4036); }
.gallery-photo { width: 100%; height: 210px; object-fit: cover; border-radius: 18px; display: block; }
.gallery-placeholder span { font-family: "Cormorant Garamond", serif; font-size: 46px; }
.gallery-placeholder small { opacity: .8; word-break: break-all; }

@media (max-width: 960px) {
  .topbar { align-items: flex-start; border-radius: 24px; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: space-between; }
  .hero, .about-section, .contact-section { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { transform: none; }
}
@media (max-width: 620px) {
  .site-shell { width: min(100% - 20px, 1180px); }
  .section { padding: 52px 0; }
  .brand-text { display: none; }
  .nav { gap: 12px; font-size: 13px; overflow-x: auto; justify-content: flex-start; }
  .portfolio-grid, .lead-form, .modal-gallery { grid-template-columns: 1fr; }
  .album-cover { grid-template-columns: 1fr; min-height: auto; }
  .page-left { display: none; }
  .page-right { border-radius: 18px; }
  .album-cover.flipped .page-right { transform: rotateY(-18deg); }
  .photo-card { height: 300px; }
}
