/* ═══════════════════════════════════════════════════════════════
   FÁTIMA COSTA — CSS DE MARCA PERSONAL v4
   ═══════════════════════════════════════════════════════════════ */

body.fc-theme {
  --bone:        #E1D4C5;
  --paper:       #F7F2EE;
  --ink:         #604333;
  --ink-soft:    #604333;
  --mute:        #A48A79;
  --line:        #CFC2B9;
  --accent:      #604333;
  --accent-soft: #A48A79;
  --gold:        #A5887A;
  --plum:        #604333;
}

body.fc-theme {
  background: var(--bone) !important;
  color: var(--ink) !important;
}

::selection {
  background: #A48A79 !important;
  color: #F7F2EE !important;
}

::-webkit-scrollbar-track { background: var(--bone) !important; }
::-webkit-scrollbar-thumb { background: var(--line) !important; border-color: var(--bone) !important; }
::-webkit-scrollbar-thumb:hover { background: var(--mute) !important; }

/* ── HEADER / NAV ─────────────────────────────────────────── */
.masthead {
  background: color-mix(in oklab, #E1D4C5 92%, transparent) !important;
  border-bottom-color: #CFC2B9 !important;
  backdrop-filter: saturate(120%) blur(8px) !important;
}
.masthead__strip { border-bottom-color: #CFC2B9 !important; color: #A48A79 !important; }
.logo { color: #604333 !important; }
.logo sup { color: #A48A79 !important; }
.nav__menu a { color: #604333 !important; }
.nav__menu a::after { background: #604333 !important; }
.nav__cta { border-color: #604333 !important; color: #604333 !important; }
.nav__cta:hover { background: #604333 !important; color: #E1D4C5 !important; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero__issue { border-bottom-color: #CFC2B9 !important; }
.hero__issue .center { color: #604333 !important; }
.hero__issue .left, .hero__issue .right { color: #A48A79 !important; }
.hero__kicker { color: #A48A79 !important; }
.hero__kicker::before { background: #604333 !important; }
.hero__title { color: #604333 !important; }
.hero__title em { color: #A48A79 !important; }
.hero__lede { color: #604333 !important; }
.hero__meta { border-top-color: #CFC2B9 !important; }
.hero__meta dt { color: #A48A79 !important; }
.hero__meta dd { color: #604333 !important; }

.btn--ghost { color: #604333 !important; border-color: #604333 !important; }
.btn--ghost:hover { background: #604333 !important; color: #E1D4C5 !important; }

/* ── FRASE (manifiesto breve) ─────────────────────────────── */
.fc-frase {
  padding: 5rem 0;
  text-align: center;
}
.fc-frase__text {
  font-family: var(--serif, 'Fraunces', 'Times New Roman', serif);
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #604333;
  margin: 0 auto;
  max-width: 26ch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.fc-frase__text::before {
  content: '\25C6';
  font-style: normal;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #A48A79;
  opacity: 0.7;
  flex-shrink: 0;
}
.fc-frase__text::after {
  content: '\25C6';
  font-style: normal;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #A48A79;
  opacity: 0.7;
  flex-shrink: 0;
  transform: scaleX(-1);
  display: inline-block;
}

/* ── PORTFOLIO / SERVICIOS ────────────────────────────────── */
.portfolio { border-top-color: #CFC2B9 !important; }
.section-head { border-bottom-color: #CFC2B9 !important; }
.section-head h2 { color: #604333 !important; }
.section-head h2 em { color: #A48A79 !important; }
.section-head p { color: #604333 !important; }
.card__badge { background: #E1D4C5 !important; color: #604333 !important; }
.card__meta { border-top-color: #CFC2B9 !important; }
.card h3 { color: #604333 !important; }
.card h3 em { color: #A48A79 !important; }
.card p { color: #604333 !important; }
.card__link { color: #604333 !important; }
.card__link:hover { border-color: #604333 !important; }

/* ── SOBRE MÍ ─────────────────────────────────────────────── */
.about { background: #F7F2EE !important; }
.about__content h2 { color: #604333 !important; }
.about__content h2 em { color: #A48A79 !important; }
.about__content p { color: #604333 !important; }
.about__content p:first-of-type::first-letter { color: #A48A79 !important; }
.about__stats { border-top-color: #CFC2B9 !important; border-bottom-color: #CFC2B9 !important; justify-content: center !important; text-align: center !important; }
.stat__num { color: #A48A79 !important; }
.stat__label { color: #A48A79 !important; }
.about__signature { display: none !important; }
.about__stats { border-bottom: none !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.about__content { padding-bottom: 0 !important; }
.about__grid { padding-bottom: 0 !important; }
.about { padding-bottom: 2rem !important; }

/* ── PROCESO ──────────────────────────────────────────────── */
.process-intro {
  background: var(--paper, #F7F2EE);
  padding: 4rem 0;
  border-top: 1px solid var(--line, #CFC2B9);
}
.process-intro .wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}
.process-intro {
  position: relative;
}
.process-intro__text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink, #604333);
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.process-intro__text::before {
  content: '\201C';
  font-family: var(--serif, 'Fraunces', 'Georgia', serif);
  font-size: clamp(8rem, 18vw, 14rem);
  font-style: normal;
  font-weight: 300;
  line-height: 0.8;
  color: #A48A79;
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-55%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}
.process { border-top-color: #CFC2B9 !important; }
.step { border-top: none !important; }
.step::before { color: #A48A79 !important; }
.step h3 { color: #604333 !important; }
.step h3 em { color: #A48A79 !important; }
.step p { color: #604333 !important; }

/* ── TESTIMONIOS ──────────────────────────────────────────── */
.testimonials { background: #604333 !important; }
.testimonials .section-head { border-bottom-color: rgba(207,194,185,0.3) !important; }
.testimonials .section-head h2 { color: #E1D4C5 !important; }
.testimonials .section-head p { color: rgba(225,212,197,0.8) !important; }
.testimonials .eyebrow { color: rgba(207,194,185,0.6) !important; }
.testimonial { border-top-color: rgba(207,194,185,0.25) !important; }
.testimonial blockquote { color: #E1D4C5 !important; }
.testimonial blockquote::before { color: #A48A79 !important; }
.testimonial__name { color: #E1D4C5 !important; }
.testimonial__where { color: rgba(207,194,185,0.7) !important; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq__item { border-top-color: #CFC2B9 !important; }
.faq__item:last-child { border-bottom-color: #CFC2B9 !important; }
.faq__item[open] { background: #F7F2EE !important; }
.faq__item summary { color: #604333 !important; }
.faq__item[open] summary { color: #A48A79 !important; }
.faq__icon { color: #A48A79 !important; }
.faq__answer { color: #604333 !important; }

/* ── CTA FINAL ────────────────────────────────────────────── */
.cta-final { background: #604333 !important; }
.cta-final h2 { color: #E1D4C5 !important; }
.cta-final h2 em { color: #CFC2B9 !important; }
.cta-final p { color: rgba(225,212,197,0.85) !important; }
.cta-final__actions .btn--ghost { color: #E1D4C5 !important; border-color: #E1D4C5 !important; }
.cta-final__actions .btn--ghost:hover { background: #E1D4C5 !important; color: #604333 !important; }
.cta-final__details { border-top-color: rgba(207,194,185,0.2) !important; }
.cta-final__details .eyebrow { color: rgba(207,194,185,0.55) !important; }
.cta-final__details .val { color: #E1D4C5 !important; }


/* ── HIGHLIGHT ───────────────────────────────────────────── */
.fc-highlight {
  color: #A48A79;
  font-style: italic;
}
/* ── GENERALES ────────────────────────────────────────────── */
.colophon { color: #A48A79 !important; }
.colophon a:hover { color: #604333 !important; }
.rule, hr { background: #CFC2B9 !important; }
.eyebrow { color: #A48A79 !important; }

/* ── BIFURCACIÓN (solo mobile) ────────────────────────────── */
.fc-split__question { display: none !important; }
.fc-split__side--right { background: #A48A79 !important; }

@media (min-width: 769px) {
  .fc-split { display: none !important; }
}

/* ── MOBILE ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* ocultar en mobile */
  .hero__issue        { display: none !important; }
  .masthead__strip    { display: none !important; }
  .wa-float           { display: none !important; }
  .hero__cta          { display: none !important; }
  .hero__lede         { display: none !important; }
  .hero__meta         { display: none !important; }

  /* mostrar hero y frase en mobile */
  .hero               { display: block !important; }
  .fc-frase           { display: block !important; padding: 3rem 1.5rem; border-top: 1px solid #CFC2B9; }

  .hero__title {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .hero__kicker     { margin-bottom: 2rem !important; }
  .hero__left       { padding-bottom: 0 !important; margin-bottom: 0 !important; }
  .hero__image-wrap { margin-top: 0 !important; padding-top: 0 !important; }

  /* ocultar hero completo en mobile */
  .hero               { display: none !important; }
}

.page-id-10 .wp-block-gallery .wp-block-image,
.page-id-10 .wp-block-gallery figure {
  display: inline-block !important;
  width: 100% !important;
  margin: 0 0 1rem !important;
  break-inside: avoid;
}
.page-id-10 .wp-block-gallery img {
  width: 100% !important;
  height: auto !important;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.page-id-10 .wp-block-gallery figure:hover img {
  transform: scale(1.02);
  opacity: 0.92;
}
@media (max-width: 1024px) {
  .page-id-10 .wp-block-gallery { columns: 2; }
}
@media (max-width: 600px) {
  .page-id-10 .wp-block-gallery { columns: 1; }
}

.page .entry-content .wp-block-gallery .wp-block-image,
.page .entry-content .wp-block-gallery figure {
  display: inline-block !important;
  width: 100% !important;
  margin: 0 0 1rem !important;
  break-inside: avoid !important;
}
.page .entry-content .wp-block-gallery img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.page .entry-content .wp-block-gallery figure:hover img {
  transform: scale(1.02);
  opacity: 0.92;
}
@media (max-width: 1024px) {
  .page .entry-content .wp-block-gallery { columns: 2 !important; }
}
@media (max-width: 600px) {
  .page .entry-content .wp-block-gallery { columns: 1 !important; }
}

/* ── GALERÍA ──────────────────────────────────────────────── */
.wp-block-gallery {
  columns: 3 !important;
  column-gap: 1rem !important;
  display: block !important;
}
.wp-block-gallery .wp-block-image,
.wp-block-gallery figure {
  display: inline-block !important;
  width: 100% !important;
  margin: 0 0 1rem !important;
  break-inside: avoid !important;
}
.wp-block-gallery img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}
@media (max-width: 1024px) {
  .wp-block-gallery { columns: 2 !important; }
}
@media (max-width: 600px) {
  .wp-block-gallery { columns: 1 !important; }
}

/* ── OCULTAR EN MOBILE ────────────────────────────────────── */
@media (max-width: 768px) {
  .fotolib-card:nth-child(2),
  .fotolib-card:nth-child(3) { display: none !important; }
  .card.card--03 { display: none !important; }
}

/* ── OCULTAR PORTFOLIO EN MENU MOBILE ────────────────────── */
@media (max-width: 768px) {
  .nav__menu a[href*="portfolio"],
  .nav__menu a[href*="galeria"],
  .menu-item a[href*="portfolio"] { display: none !important; }
}

/* ── FONDO FOTOLIBROS ─────────────────────────────────────── */
.fotolibros {
  background: #CFC2B9 !important;
}
/* ── OCULTAR BOTONES "VER GALERÍA" EN MOBILE ───────────── */
@media (max-width: 768px) {
  .card__link,
  .btn--ghost {
    display: none !important;
  }
}
