/* NG Fotografía · base común de las propuestas (paleta «Cal y eucalipto») */
:root {
  --bg: #f3f4ef;
  --surface: #e3e8df;
  --salvia: #a9b9a2;
  --salvia-2: #c6d1c0;
  --eucalipto: #56705c;
  --eucalipto-deep: #3f5546;
  --ink: #23302a;
  --ink-2: #4b5b51;
  --graphite: #3a3a38;
  --dorado: #b4915a;
  --dorado-deep: #7a5f35;
  --white: #ffffff;

  --display: "Josefin Sans", "Futura", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--salvia) var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  caret-color: var(--eucalipto);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
::selection { background: var(--salvia); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--salvia); border-radius: 10px; border: 2px solid var(--bg); }
:focus-visible { outline: 2px solid var(--eucalipto); outline-offset: 3px; border-radius: 4px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; cursor: pointer; text-decoration: none;
  background: var(--eucalipto); color: var(--white);
  border-radius: 999px; padding: 15px 28px;
  font: 600 1rem/1 var(--body);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease-out); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--salvia); }
.btn.sm { padding: 11px 20px; font-size: 0.92rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--eucalipto-deep); }
  .btn.ghost:hover { background: var(--surface); }
  .btn:hover svg { transform: translateX(3px); }
}

.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--salvia); }
.lang button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: 600 0.78rem/1 var(--body); letter-spacing: 0.08em; color: var(--ink-2);
  padding: 7px 10px; border-radius: 999px;
  transition: background-color 200ms ease, color 200ms ease;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.demo-flag {
  position: fixed; right: 12px; bottom: 12px; z-index: 90;
  font: 500 0.72rem/1 var(--body); letter-spacing: 0.04em;
  background: rgba(35, 48, 42, 0.86); color: var(--bg);
  padding: 8px 12px; border-radius: 999px; text-decoration: none;
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* Barras de story sobre la foto principal de Wedding Content Creator */
.reel { position: relative; }
.reel-ui { position: absolute; z-index: 4; top: 14px; left: 14px; right: 14px; display: flex; gap: 5px; pointer-events: none; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.reel-ui i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.42); overflow: hidden; }
.reel-ui i::after { content: ""; display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; animation: reel-a 15s linear infinite; }
.reel-ui i:nth-child(2)::after { animation-name: reel-b; }
.reel-ui i:nth-child(3)::after { animation-name: reel-c; }
@keyframes reel-a { 0% { transform: scaleX(0); } 33.3%, 100% { transform: scaleX(1); } }
@keyframes reel-b { 0%, 33.3% { transform: scaleX(0); } 66.6%, 100% { transform: scaleX(1); } }
@keyframes reel-c { 0%, 66.6% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .reel-ui i::after { animation: none; }
  .reel-ui i:first-child::after { transform: scaleX(1); }
}
