/* =========================================================
   Galery Moments — galeries photo & vidéo pour tous vos événements
   Thème : princesse, rose rouge & or
   ========================================================= */

:root {
  --ivory: #fdf6f1;
  --paper: #fbeae6;
  --paper-dark: #f3d3ce;
  --ink: #3a141d;
  --ink-soft: #7c4a52;
  --rose: #a4123f;
  --rose-dark: #7c0e30;
  --blush: #e8b4bb;
  --blush-deep: #c9727c;
  --gold: #c9982f;
  --gold-light: #e6c672;
  --line: rgba(58, 20, 29, 0.16);
  --shadow: 0 20px 60px -25px rgba(90, 10, 30, 0.45);
  --radius: 22px;
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --script: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
button { font-family: inherit; }
a { color: inherit; }

/* Paper texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(164,18,63,.06), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(201,152,47,.08), transparent 45%);
}

/* =========================================================
   Gate page
   ========================================================= */

.gate-body {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  position: relative;
  overflow-x: hidden;
}

.foliage {
  position: fixed;
  width: min(46vw, 420px);
  height: min(46vw, 420px);
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23a4123f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M100 190 C 100 150 95 110 90 80'/%3E%3Cpath d='M90 130 C 70 125 60 110 65 95'/%3E%3Cpath d='M95 150 C 115 145 125 128 120 112'/%3E%3Cpath d='M90 80 C 60 78 55 50 80 40 C 100 32 120 45 115 62 C 112 74 95 78 92 66 C 90 58 98 54 104 60'/%3E%3Cpath d='M92 160 L 80 166' stroke-width='1.2'/%3E%3Cpath d='M97 128 L 110 132' stroke-width='1.2'/%3E%3C/svg%3E");
  opacity: .5;
  pointer-events: none;
  z-index: 0;
  color: var(--rose);
}
.foliage--tl { top: -8%; left: -10%; transform: rotate(-8deg); }
.foliage--br { bottom: -10%; right: -10%; transform: rotate(172deg); }

@media (max-width: 640px) {
  .foliage { width: 62vw; height: 62vw; opacity: .35; }
}

.gate {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.gate-card {
  width: 100%;
  max-width: 460px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 40px 36px;
  text-align: center;
  animation: rise .8s cubic-bezier(.2,.8,.2,1) both;
  position: relative;
}
.gate-card::before,
.gate-card::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  opacity: .5;
}
.gate-card::before { left: 14px; border-right: none; border-bottom: none; }
.gate-card::after { right: 14px; border-left: none; border-bottom: none; }

.crown {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  color: var(--gold);
}
.crown svg { width: 100%; height: 100%; }

.eyebrow {
  margin: 0 0 6px;
  font-size: 0.997rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.gate-names {
  margin: 0;
  font-family: var(--script);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 3.6rem);
  line-height: 1.05;
  color: var(--rose-dark);
}
.gate-names .amp {
  font-family: var(--serif);
  font-style: normal;
  color: var(--gold);
  padding: 0 6px;
  font-size: .7em;
  vertical-align: middle;
}

.divider {
  width: 30px;
  height: 30px;
  margin: 14px auto;
  color: var(--rose);
}
.divider svg { width: 100%; height: 100%; }

.gate-date {
  margin: 0 0 18px;
  font-family: var(--serif);
  letter-spacing: .12em;
  font-size: 1.216rem;
  color: var(--ink-soft);
}
.gate-date span { color: var(--rose); margin: 0 2px; }

.gate-intro {
  margin: 0 0 28px;
  font-size: 1.193rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.gate-form { text-align: left; display: flex; flex-direction: column; gap: 6px; }

.field-label {
  font-size: 0.997rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 14px;
}
.field-label .optional { text-transform: none; letter-spacing: 0; opacity: .7; }

input[type="text"] {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.16rem;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  margin-top: 6px;
  transition: border-color .2s, box-shadow .2s;
}
input[type="text"]:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(164,18,63,.15);
}
#code { letter-spacing: .3em; font-weight: 500; }

.gate-error {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(164,18,63,.1);
  color: var(--rose-dark);
  font-size: 1.078rem;
}

.btn-main {
  margin-top: 22px;
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: var(--ivory);
  font-size: 1.193rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: filter .2s, transform .15s;
  box-shadow: 0 10px 24px -12px rgba(164,18,63,.65);
}
.btn-main:hover { filter: brightness(1.08); }
.btn-main:active { transform: scale(.98); }
.btn-main:disabled { opacity: .6; cursor: default; transform: none; }

.gate-footnote {
  margin: 22px 0 0;
  font-size: 0.997rem;
  color: var(--ink-soft);
  opacity: .8;
}
.link-quiet-inline {
  color: var(--rose-dark);
  text-decoration: underline;
  opacity: 1;
}

@media (max-width: 480px) {
  .gate-card { padding: 38px 24px 30px; }
}

/* =========================================================
   Gallery page
   ========================================================= */

.gallery-body { background: var(--ivory); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(253, 246, 241, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: baseline; gap: 10px; }
.site-header__names {
  margin: 0;
  font-family: var(--script);
  font-style: italic;
  font-size: 1.72rem;
  color: var(--rose-dark);
}
.site-header__names .amp { color: var(--gold); font-family: var(--serif); font-style: normal; padding: 0 2px; }
.site-header__date {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.997rem;
  letter-spacing: .14em;
  color: var(--ink-soft);
}

@media (max-width: 480px) {
  .site-header { padding: 12px 14px; gap: 8px; }
  .site-header__names {
    font-size: 1.328rem;
    max-width: 48vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
  }
  .site-header__date { display: none; }
  .link-quiet { padding: 7px 12px; font-size: 0.997rem; }
}

.link-quiet {
  font-size: 1.043rem;
  text-decoration: none;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.link-quiet:hover { border-color: var(--rose); color: var(--rose-dark); }

/* Hero banner */
.hero {
  position: relative;
  width: 100%;
  height: clamp(320px, 52vw, 560px);
  overflow: hidden;
  background: var(--ink);
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(58,20,29,.9) 0%, rgba(58,20,29,.35) 42%, rgba(58,20,29,.05) 70%),
    linear-gradient(to bottom, rgba(58,20,29,.55) 0%, transparent 30%);
}
.hero__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 24px 30px;
  text-align: center;
  color: #fdf1ee;
}
.hero__eyebrow {
  margin: 0 0 6px;
  font-size: 0.951rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero__names {
  margin: 0;
  font-family: var(--script);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero__names .amp {
  font-family: var(--serif);
  font-style: normal;
  color: var(--gold-light);
  padding: 0 10px;
  font-size: .65em;
  vertical-align: middle;
}
.hero__date {
  margin: 8px 0 0;
  font-family: var(--serif);
  letter-spacing: .16em;
  font-size: 1.193rem;
  color: #f4e2df;
}

.gallery-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.upload-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
}
.upload-panel__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid var(--gold);
  color: var(--rose);
}
.upload-panel__icon svg { width: 24px; height: 24px; }
.upload-panel__text h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.72rem;
  margin: 0 0 6px;
  color: var(--rose-dark);
}
.upload-panel__text p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 1.158rem;
  line-height: 1.55;
  max-width: 60ch;
}
@media (max-width: 480px) {
  .upload-panel__text { text-align: center; }
  .upload-panel__text p { margin-left: auto; margin-right: auto; }
}
.upload-panel--readonly { text-align: center; }
.upload-panel--readonly .upload-panel__text p { max-width: 46ch; margin-left: auto; margin-right: auto; }

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 36px 20px;
  border: 1.5px dashed var(--blush-deep);
  border-radius: 16px;
  background: var(--ivory);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.is-dragover {
  border-color: var(--rose);
  background: rgba(164,18,63,.05);
}
.dropzone__icon { width: 34px; height: 34px; color: var(--rose); margin-bottom: 4px; }
.dropzone__label { font-family: var(--serif); font-size: 1.216rem; color: var(--ink); }
.dropzone__cta {
  margin-top: 10px;
  padding: 13px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: var(--ivory);
  font-size: 1.043rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px -12px rgba(164,18,63,.6);
  transition: transform .15s, box-shadow .15s;
}
.dropzone:hover .dropzone__cta { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(164,18,63,.7); }
.dropzone__sub { margin-top: 2px; font-size: 0.997rem; color: var(--ink-soft); }

.field-inline { margin-bottom: 20px; max-width: 320px; }
.field-inline input { width: 100%; }
.field-inline .required { text-transform: none; letter-spacing: 0; color: var(--rose); opacity: 1; }
.field-inline input.is-invalid { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(164,18,63,.15); }
.field-error {
  margin: 6px 0 0;
  font-size: 1.02rem;
  color: var(--rose-dark);
}
.field-error[hidden] { display: none; }

.upload-queue {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.upload-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.043rem;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
}
.upload-item__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-item__bar {
  width: 80px;
  height: 5px;
  border-radius: 4px;
  background: var(--paper-dark);
  overflow: hidden;
  flex-shrink: 0;
}
.upload-item__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--blush-deep);
  transition: width .2s;
}
.upload-item.is-done .upload-item__bar span { background: var(--rose); }
.upload-item.is-error { color: var(--rose-dark); }
.upload-item__status { flex-shrink: 0; font-size: 1.16rem; line-height: 1; }

.gallery-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.gallery-section__head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.72rem;
  margin: 0;
  color: var(--ink);
}
.gallery-count { margin: 0; font-size: 1.078rem; color: var(--ink-soft); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: italic;
  border: 1px dashed var(--line);
  border-radius: 16px;
}

.tile {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-dark);
  cursor: pointer;
  border: 1px solid var(--line);
}
.tile img, .tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.tile:hover img, .tile:hover video, .tile:focus-visible img, .tile:focus-visible video {
  transform: scale(1.06);
}
.tile__download {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(58, 20, 29, .55);
  color: #fff;
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s, background .2s;
}
.tile__download svg { width: 16px; height: 16px; }
.tile__download:hover { background: var(--rose); }
.tile:hover .tile__download, .tile:focus-within .tile__download {
  opacity: 1;
  transform: translateY(0);
}
@media (hover: none) {
  .tile__download { opacity: 1; transform: none; }
}

.tile__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.272rem;
  background: radial-gradient(circle, rgba(0,0,0,.25) 0%, transparent 60%);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
  pointer-events: none;
}
.tile__category {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.882rem;
  color: #fff;
  background: rgba(164,18,63,.75);
  backdrop-filter: blur(2px);
}
.tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 5px 9px;
  font-size: 0.928rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.tile.is-new { animation: pop .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pop {
  from { opacity: 0; transform: scale(.85); }
  to { opacity: 1; transform: scale(1); }
}

/* =========================================================
   Marketing homepage
   ========================================================= */

.marketing-body { background: var(--ivory); }

.marketing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 28px;
  background: rgba(253, 246, 241, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.marketing-nav__brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.328rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.marketing-nav__brand .amp { color: var(--rose-dark); }
.marketing-nav__logo { height: 46px; width: auto; display: block; }
@media (max-width: 640px) { .marketing-nav__logo { height: 38px; } }
.marketing-nav__links { display: flex; align-items: center; gap: 22px; }
.marketing-nav__links a {
  text-decoration: none;
  font-size: 1.112rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marketing-nav__links a:hover { color: var(--rose-dark); }
.marketing-nav__cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--ivory) !important;
  font-weight: 500;
  white-space: nowrap;
}
.marketing-nav__cta:hover { background: var(--rose-dark); color: var(--ivory) !important; }

@media (max-width: 640px) {
  .marketing-nav { padding: 13px 16px; }
  .marketing-nav__brand { font-size: 1.16rem; }
  .marketing-nav__links { gap: 12px; }
  .marketing-nav__links a:not(.marketing-nav__cta) { display: none; }
  .marketing-nav__cta { padding: 8px 14px; font-size: 1.043rem; }
}

.marketing-banner {
  width: 100%;
  line-height: 0;
}
.marketing-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.marketing-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 90px;
  text-align: center;
}
.marketing-hero__content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.marketing-hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 10px 0 20px;
}
.marketing-hero__subtitle {
  font-size: 1.182rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 34px;
}
.marketing-hero__ctas { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.marketing-hero__cta { width: auto; padding: 15px 32px; margin-top: 0; }
.marketing-hero__secondary {
  font-size: 1.158rem;
  color: var(--rose-dark);
  text-decoration: underline;
}

/* Trust chips */
.trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 38px 0 0;
  padding: 0;
}
.trust-chips li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.trust-chips svg { width: 17px; height: 17px; color: var(--rose); flex-shrink: 0; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible {
  animation: revealUp .7s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
}

/* Gallery preview mockup */
.marketing-preview {
  padding: 20px 24px 90px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.preview-frame {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: visible;
  text-align: left;
}
.preview-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.preview-frame__bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blush-deep);
  opacity: .6;
}
.preview-frame__url {
  margin-left: 14px;
  font-size: 0.951rem;
  color: var(--ink-soft);
  background: var(--ivory);
  border-radius: 999px;
  padding: 4px 14px;
  font-family: var(--sans);
}
.preview-frame__body { padding: 22px 22px 26px; }
.preview-frame__head { text-align: center; margin-bottom: 16px; }
.preview-frame__names {
  margin: 0;
  font-family: var(--script);
  font-style: italic;
  font-size: 1.696rem;
  color: var(--rose-dark);
}
.preview-frame__names .amp { font-family: var(--serif); font-style: normal; color: var(--gold); font-size: .7em; }
.preview-frame__date { margin: 2px 0 0; font-size: 0.928rem; letter-spacing: .12em; color: var(--ink-soft); }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.preview-tile {
  aspect-ratio: 1/1;
  border-radius: 8px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--paper-dark);
}

.preview-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  font-size: 1.02rem;
}
.preview-float--code {
  top: -18px;
  right: -22px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  transform: rotate(3deg);
}
.preview-float__label { font-size: 0.882rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.preview-float__value { font-family: var(--serif); font-weight: 600; color: var(--rose-dark); letter-spacing: .06em; }
.preview-float--upload {
  bottom: -16px;
  left: -18px;
  color: var(--ink);
  transform: rotate(-2deg);
}
.preview-float--upload svg { width: 18px; height: 18px; color: var(--rose); }

@media (max-width: 600px) {
  .preview-float { display: none; }
  .preview-grid { grid-template-columns: repeat(3, 1fr); }
}

.marketing-preview__caption {
  margin: 46px 0 0;
  font-size: 1.078rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* FAQ */
.marketing-faq { padding: 70px 24px 90px; max-width: 720px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--serif);
  font-size: 1.227rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.496rem;
  color: var(--rose);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; font-size: 1.112rem; color: var(--ink-soft); line-height: 1.6; }

.marketing-section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.802rem;
  text-align: center;
  margin: 0 0 8px;
  color: var(--ink);
}
.marketing-section-subtitle {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.158rem;
  margin: 0 0 40px;
}

.marketing-steps { padding: 70px 24px; max-width: 1000px; margin: 0 auto; }
.marketing-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
@media (max-width: 760px) { .marketing-steps__grid { grid-template-columns: 1fr; } }
.marketing-step { text-align: center; padding: 0 10px; }
.marketing-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--gold);
  color: var(--rose-dark);
  font-family: var(--serif);
  font-weight: 600;
  margin-bottom: 14px;
}
.marketing-step h3 { font-family: var(--serif); font-size: 1.272rem; margin: 0 0 8px; color: var(--ink); }
.marketing-step p { font-size: 1.135rem; color: var(--ink-soft); line-height: 1.55; margin: 0; }

.marketing-pricing { padding: 70px 24px 90px; max-width: 1080px; margin: 0 auto; }
.marketing-pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}
@media (max-width: 640px) { .marketing-pricing__grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; } }

.marketing-pricing { text-align: center; }

.pricing-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 46px 28px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--rose);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose);
  color: var(--ivory);
  font-size: 0.928rem;
  letter-spacing: .04em;
  padding: 5px 14px;
  border-radius: 999px;
}
.pricing-card h3 { font-family: var(--serif); font-size: 1.552rem; margin: 4px 0 12px; color: var(--ink); }
.pricing-card__price { font-family: var(--serif); font-size: 2.544rem; font-weight: 600; color: var(--rose-dark); margin: 0; }
.pricing-card__desc { font-size: 1.227rem; color: var(--ink-soft); margin: 6px 0 22px; }
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  text-align: left;
  font-size: 1.158rem;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-card__features li { padding-left: 20px; position: relative; }
.pricing-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rose);
  font-weight: 600;
}
.pricing-card .btn-main { margin-top: auto; }

.marketing-footer {
  text-align: center;
  padding: 34px 24px 44px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1.078rem;
}
.marketing-footer p:first-child { font-family: var(--serif); color: var(--ink); margin: 0 0 6px; }
.marketing-footer__links { margin: 0; }
.marketing-footer__links a { color: var(--ink-soft); text-decoration: none; }
.marketing-footer__links a:hover { color: var(--rose-dark); }

/* =========================================================
   Legal pages
   ========================================================= */

.legal-body { background: var(--ivory); }
.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 24px 90px;
}
.legal-main h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.014rem;
  color: var(--rose-dark);
  margin: 0 0 6px;
}
.legal-updated { color: var(--ink-soft); font-size: 1.043rem; margin: 0 0 40px; }
.legal-main h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.328rem;
  color: var(--ink);
  margin: 36px 0 12px;
}
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: 1.158rem; line-height: 1.7; }
.legal-main ul { padding-left: 20px; }
.legal-main a { color: var(--rose-dark); }
.legal-back { display: inline-block; margin-bottom: 30px; font-size: 1.078rem; color: var(--ink-soft); text-decoration: none; }
.legal-back:hover { color: var(--rose-dark); }
.legal-todo-inline { color: var(--gold); font-style: italic; }
.legal-todo {
  background: rgba(201,152,47,.14);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1.078rem;
  color: var(--ink);
  margin-bottom: 34px;
}

/* Pro (photographer) offer */
.marketing-pro { padding: 10px 24px 90px; max-width: 1080px; margin: 0 auto; }
.marketing-pro__card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(155deg, var(--rose) 0%, var(--rose-dark) 55%, #45071a 100%);
  border-radius: var(--radius);
  padding: 44px 44px;
  color: #fbe9e3;
}
.marketing-pro__card::before {
  content: "";
  position: absolute;
  inset: -10%;
  opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23ffffff' stroke-width='1.2'%3E%3Cpath d='M20 180 C 40 140, 30 90, 70 50 C 100 20, 140 15, 175 20'/%3E%3Cpath d='M55 130 C 40 122, 30 108, 32 92'/%3E%3Cpath d='M55 130 C 68 128, 82 118, 86 100'/%3E%3Cpath d='M85 92 C 72 86, 62 72, 64 56'/%3E%3Cpath d='M85 92 C 98 88, 110 76, 110 60'/%3E%3Cpath d='M118 52 C 106 46, 98 32, 102 18'/%3E%3Cpath d='M118 52 C 130 48, 142 38, 144 24'/%3E%3Ccircle cx='170' cy='18' r='4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 360px;
  background-position: 100% 0%;
  pointer-events: none;
}
.marketing-pro__text { position: relative; flex: 1 1 380px; }
.marketing-pro__card .eyebrow { color: var(--gold-light); }
.marketing-pro__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.25;
  margin: 8px 0 14px;
  color: #fff;
}
.marketing-pro__desc { font-size: 1.158rem; line-height: 1.6; color: #f4dfdb; margin: 0 0 18px; max-width: 52ch; }
.marketing-pro__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 1.112rem; }
.marketing-pro__features li { display: flex; align-items: center; gap: 9px; }
.marketing-pro__features svg { width: 17px; height: 17px; color: var(--gold-light); flex-shrink: 0; }

.marketing-pro__pricing {
  position: relative;
  flex: 0 0 auto;
  text-align: center;
  background: rgba(253,246,241,.08);
  border: 1px solid rgba(253,246,241,.25);
  border-radius: 18px;
  padding: 28px 32px;
  backdrop-filter: blur(3px);
}
.marketing-pro__price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.226rem;
  color: #fff;
  margin: 0 0 4px;
  white-space: nowrap;
}
.marketing-pro__price span { font-family: var(--sans); font-size: 1.02rem; font-weight: 400; color: #f0d9a8; }
.marketing-pro__price-note { margin: 0 0 16px; font-size: .88rem; color: #f0d9a8; }
.marketing-pro__pricing .btn-main { margin-top: 0; width: auto; background: var(--gold); color: #3a2408; box-shadow: none; }
.marketing-pro__pricing .btn-main:hover { background: var(--gold-light); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(30, 8, 14, .93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  animation: fade .2s ease both;
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { max-width: min(92vw, 900px); max-height: 86vh; }
.lightbox__stage img, .lightbox__stage video {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.12rem;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
}
.lightbox__close:hover { opacity: 1; }

.lightbox__download {
  position: absolute;
  top: 20px;
  right: 72px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  opacity: .85;
  transition: opacity .2s, background .2s;
}
.lightbox__download svg { width: 20px; height: 20px; }
.lightbox__download:hover { opacity: 1; background: var(--rose); }
