/* Fenik Collage — estilos compartidos */

:root {
  --cream: #f7f2e9;
  --paper: #fffdf8;
  --ink: #1c1a17;
  --ink-soft: #55504a;
  --mustard: #eae064;
  --mustard-dark: #b6ab19;
  --magenta: #e5177a;
  --teal: #1f7a6c;
  --border: rgba(28, 26, 23, 0.12);
  --shadow: 0 18px 40px rgba(28, 26, 23, 0.1);
  --radius: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.brand img.logo-mark {
  height: 64px;
  width: auto;
  display: block;
}

.brand span {
  font-family: "Work Sans", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mustard-dark);
  margin-top: 4px;
}

nav.main-nav {
  display: flex;
  gap: 28px;
}

nav.main-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-color: var(--mustard);
  color: var(--mustard-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 1060px) {
  .brand img.logo-mark { height: 52px; }
  nav.main-nav { gap: 18px; }
  nav.main-nav a { font-size: 0.76rem; }
}

@media (max-width: 720px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.outline {
  background: transparent;
  color: var(--ink);
}

.btn.mustard {
  background: var(--mustard);
  border-color: var(--mustard);
  color: var(--ink);
}

.btn.magenta {
  background: var(--magenta);
  border-color: var(--magenta);
  color: var(--paper);
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 56px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--mustard-dark);
  margin-bottom: 14px;
  display: block;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-frame {
  position: relative;
}

.hero-frame img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-frame { order: -1; max-width: 420px; margin: 0 auto; }
}

/* ---------- Sections ---------- */

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mustard-dark);
  display: block;
  margin-bottom: 10px;
}

.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }

.section-head p { color: var(--ink-soft); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Bio ---------- */

.bio-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.bio-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bio-grid .bio-text p { color: var(--ink-soft); }

@media (max-width: 860px) {
  .bio-grid { grid-template-columns: 1fr; }
}

/* ---------- Grids ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

.work-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(28,26,23,0.08);
  cursor: pointer;
}

.work-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.work-card:hover img { transform: scale(1.05); }

.work-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 14px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.72), rgba(0,0,0,0));
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.work-card:hover .work-caption { opacity: 1; }

.work-caption .t { font-size: 0.85rem; font-weight: 700; display: block; }
.work-caption .d { font-size: 0.72rem; opacity: 0.85; }

.work-card.landscape img { aspect-ratio: 4 / 3; object-fit: cover; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

.shop-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(28,26,23,0.08);
}

.gallery-group { margin-bottom: 56px; }
.gallery-group h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.gallery-group .group-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 15, 13, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 32px;
}

.lightbox.open { display: flex; }

.lightbox figure {
  margin: 0;
  max-width: min(90vw, 900px);
  text-align: center;
}

.lightbox img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox figcaption {
  color: #f2ece0;
  margin-top: 16px;
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: #f2ece0;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Pricing (Memory Collage) ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--mustard);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.price-card .badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--mustard);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-card h3 { font-size: 1.3rem; margin-bottom: 4px; }

.price-card .price {
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin: 10px 0 4px;
  color: var(--mustard-dark);
}

.price-card .format {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  flex-grow: 1;
}

.price-card li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.price-card li:first-child { border-top: none; }

/* ---------- Steps / info strip ---------- */

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 760px) {
  .info-strip { grid-template-columns: 1fr; }
}

.info-strip .item {
  text-align: center;
  padding: 20px;
}

.info-strip .icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.info-strip h4 { font-size: 1rem; margin-bottom: 6px; }
.info-strip p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.contact-card .icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

.contact-card .icon svg {
  width: 24px;
  height: 24px;
  fill: var(--ink);
}

.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); font-size: 0.92rem; }
.contact-card .value { font-weight: 700; color: var(--ink); word-break: break-word; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.cta-band h2 { color: var(--paper); }
.cta-band p { color: #d8d2c6; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 40px;
}

footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer.site-footer .fbrand {
  font-family: "Fraunces", serif;
  font-weight: 600;
}

footer.site-footer .socials {
  display: flex;
  gap: 18px;
  font-size: 0.85rem;
  font-weight: 600;
}

footer.site-footer .copy {
  font-size: 0.78rem;
  color: var(--ink-soft);
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

/* ---------- Page header (non-home) ---------- */

.page-header {
  padding: 54px 0 36px;
  text-align: center;
}

.page-header .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--mustard-dark);
  display: block;
  margin-bottom: 12px;
}

.page-header h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); }
.page-header p { color: var(--ink-soft); max-width: 56ch; margin: 10px auto 0; }
