/*
Theme Name: Stephanie Blog
Theme URI: https://humanearte.com
Author: Claudeware
Author URI: https://humanearte.com
Description: Tema personalizado para el blog de Stephanie Paiz - Psicóloga Clínica Humanista
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: stephanie-blog
Tags: blog, custom-colors, custom-typography
*/

/* ── VARIABLES ── */
:root {
  --cream:        #f7f3ee;
  --warm-white:   #fbf6f1;
  --orange:       #d46a3a;
  --orange-hover: #c05a2a;
  --orange-soft:  #faeae0;
  --pink-dark:    #7a2d5a;
  --pink-mid:     #a84080;
  --pink-light:   #f0d0e4;
  --pink-label:   #8a3a6a;
  --text-muted:   #7a5068;
  --text-light:   #b090a8;
  --border-soft:  rgba(122,45,90,0.12);
  --border-mid:   rgba(122,45,90,0.28);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--pink-dark);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TIPOGRAFÍA ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 300;
  line-height: 1.25;
  color: var(--pink-dark);
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251,246,241,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border-soft);
  padding: 0 3rem;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--pink-dark); }

.nav-links .nav-cta {
  color: white !important;
  background: var(--orange);
  padding: 8px 20px;
  border-radius: 30px;
  transition: background 0.2s, transform 0.2s;
}

.nav-links .nav-cta:hover {
  background: var(--orange-hover) !important;
  transform: translateY(-1px);
}

/* ── FOOTER ── */
.site-footer {
  background: #3d1630;
  padding: 60px 3rem 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.12);
  align-items: start;
}

.footer-brand img {
  height: 80px;
  width: auto;
  object-fit: contain;
  object-position: left;
  margin-bottom: 1.2rem;
  display: block;
}

.footer-brand p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d46a3a;
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col ul a {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: white; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.footer-contact-item svg {
  width: 14px; height: 14px;
  stroke: #d46a3a; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0; margin-top: 2px;
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.82rem; font-weight: 300;
  color: rgba(255,255,255,0.65);
  text-decoration: none; transition: color 0.2s; line-height: 1.5;
}

.footer-contact-item a:hover { color: white; }

.footer-socials { display: flex; gap: 0.6rem; margin-top: 1.4rem; }

.social-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 0.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.2s;
}

.social-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

.social-btn svg {
  width: 14px; height: 14px;
  stroke: rgba(255,255,255,0.65); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.2s;
}

.social-btn:hover svg { stroke: white; }

.footer-bottom {
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.72rem; font-weight: 300;
  color: rgba(255,255,255,0.3); letter-spacing: 0.04em;
}

.footer-bottom-links { display: flex; gap: 1.5rem; list-style: none; }

.footer-bottom-links a {
  font-size: 0.72rem; font-weight: 300;
  color: rgba(255,255,255,0.3); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── CONTENEDOR GENERAL ── */
.site-main {
  padding-top: 66px;
}

/* ── ANIMACIONES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-footer { padding: 50px 1.5rem 24px; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}
