/* ============================================================
   TINTERO CULTURAL — Rediseño claro y limpio
   Colores del logo: teal #1e4252 · rojo-pluma #8b1f28 · crema #f8f4ed
   Tipografía: Playfair Display (títulos) · Inter (cuerpo) · Lora (artículos)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;1,400&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Fondos */
  --bg:          #ffffff;
  --bg-soft:     #f8f6f1;
  --bg-card:     #ffffff;
  --bg-card2:    #f4f1eb;
  --bg-dark:     #1e4252;   /* teal del tintero */

  /* Colores de marca */
  --teal:        #1e4252;   /* teal principal del logo */
  --teal-mid:    #2d5f76;
  --teal-light:  #e8f2f6;
  --red:         #8b1f28;   /* rojo de la pluma */
  --red-light:   #fdf0f1;

  /* Texto */
  --text:        #1a2930;
  --text-mid:    #3a4f5c;
  --text-muted:  #7a8f9a;

  /* Acentos colores del logo (puntos) */
  --dot-red:     #c0392b;
  --dot-yellow:  #e8c547;
  --dot-green:   #27ae60;
  --dot-blue:    #2980b9;
  --dot-orange:  #e67e22;

  /* Bordes y sombras */
  --border:      #e2ddd5;
  --border-light:#ede9e1;
  --shadow-sm:   0 2px 8px rgba(30,66,82,0.07);
  --shadow:      0 6px 24px rgba(30,66,82,0.1);
  --shadow-lg:   0 16px 48px rgba(30,66,82,0.13);

  /* Layout */
  --radius:      12px;
  --radius-lg:   20px;
  --trans:       all 0.28s cubic-bezier(0.4,0,0.2,1);
  --max-w:       1280px;

  /* Tipografías */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-lora:   'Lora', Georgia, serif;
}

/* ─── RESET ──────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--teal-mid); border-radius: 3px; }

/* ─── UTILIDADES ─────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: var(--trans);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-mid);
  border-color: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30,66,82,0.22);
}
.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-red:hover {
  background: #a0252f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,31,40,0.22);
}
.btn-outline {
  border-color: var(--teal);
  color: var(--teal);
  background: transparent;
}
.btn-outline:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}
.btn-outline-red {
  border-color: var(--red);
  color: var(--red);
}
.btn-outline-red:hover {
  background: var(--red-light);
  transform: translateY(-2px);
}
.btn-lg { padding: 15px 36px; font-size: 1rem; }

.divider {
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 14px 0 22px;
}
.divider-center { margin: 14px auto 22px; }
.divider-teal { background: var(--teal); }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--teal);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-red { background: var(--red-light); color: var(--red); }
.tag-sm { padding: 3px 9px; font-size: 0.64rem; }

/* ─── HEADER ─────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 68px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.1;
}
.nav-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--trans);
}
.nav-links a:hover { color: var(--teal); background: var(--teal-light); }
.nav-links a.active { color: var(--teal); font-weight: 600; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 20px;
  justify-content: center;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: var(--trans);
}

/* Logo menor en móvil para que quepa bien en la barra */
@media (max-width: 900px) {
  .nav-logo img { height: 48px; }
}

/* Menú hamburguesa */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 999;
  }
  .nav-links.open a { padding: 12px 16px; font-size: 1rem; }
  /* Botón CTA dentro del menú móvil */
  .nav-mobile-cta { display: block !important; padding: 8px 0 4px; }
  .nav-mobile-cta a { display: block; text-align: center; background: var(--red); color: #fff !important; border-radius: 50px; padding: 12px 20px !important; font-weight: 600; font-size: 0.9rem !important; }
}
/* Ocultar el ítem CTA en desktop */
.nav-mobile-cta { display: none; }

@media (max-width: 640px) {
  .nav-logo img { height: 42px; }
}

/* ─── ANNOUNCE BAR ───────────────────────────────────────── */
.announce-bar {
  background: var(--teal);
  color: #fff;
  padding: 10px 0;
  text-align: center;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}
.announce-bar a { color: var(--dot-yellow); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding: 80px 0 80px;
  min-height: 86vh;
}
.hero-dots {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  pointer-events: none;
  overflow: hidden;
}
.hero-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(10deg); }
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--red-light);
  border-radius: 50px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}
.hero-label-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--teal);
  margin-bottom: 22px;
}
.hero-title em { font-style: italic; color: var(--red); }
.hero-subtitle {
  font-family: var(--font-lora);
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* FEATURED CARD en el hero */
.hero-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--trans);
  position: relative;
  z-index: 2;
}
.hero-featured:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(30,66,82,0.16); }
.hero-featured-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.hero-featured-body { padding: 22px 24px 26px; }
.hero-featured-body .tag { margin-bottom: 10px; }
.hero-featured-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--teal);
  margin-bottom: 10px;
}
.hero-featured-excerpt {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--red);
}

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-featured { display: none; }
}

/* ─── SECTION ─────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.section-dark { background: var(--teal); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

/* ─── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--trans);
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-card2);
}
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}
.card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.card-date { font-size: 0.73rem; color: var(--text-muted); }
.card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--teal);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.card:hover .card-title { color: var(--red); }
.card-excerpt {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--red);
  margin-top: auto;
  transition: gap 0.2s;
}
.card:hover .card-link { gap: 9px; }

/* FEATURED CARD */
.card-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: var(--radius-lg);
}
.card-featured .card-img { aspect-ratio: auto; height: 100%; border-radius: 0; }
.card-featured .card-body { padding: 36px 40px; justify-content: center; }
.card-featured .card-title { font-size: 1.55rem; -webkit-line-clamp: 4; }
.card-featured .card-excerpt { -webkit-line-clamp: 5; }

@media (max-width: 768px) {
  .card-featured { grid-template-columns: 1fr; }
  .card-featured .card-img { height: 200px; }
  .card-featured .card-body { padding: 22px; }
  .card-featured .card-title { font-size: 1.25rem; }
}

/* ─── GRIDS ──────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* ─── CATEGORY CARDS ─────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--trans);
  cursor: pointer;
}
.cat-card:hover {
  border-color: var(--teal);
  background: var(--teal-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.cat-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.cat-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--teal); margin-bottom: 4px; }
.cat-count { font-size: 0.78rem; color: var(--text-muted); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── FILTER BAR ─────────────────────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  font-size: 0.84rem;
  font-weight: 500;
  transition: var(--trans);
  cursor: pointer;
  background: var(--bg-card);
}
.filter-pill:hover, .filter-pill.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ─── SEARCH ─────────────────────────────────────────────── */
.search-bar { position: relative; max-width: 420px; }
.search-bar input {
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 50px;
  padding: 10px 44px 10px 18px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.search-bar input:focus { border-color: var(--teal); }
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ─── ESCRITORES CTA ─────────────────────────────────────── */
.writers-cta {
  background: var(--teal);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.writers-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 100% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.writers-cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.writers-cta .section-label { color: var(--dot-yellow); }
.writers-cta .section-title { color: #fff; }
.writers-cta .section-title em { color: var(--dot-yellow); }
.writers-cta-text {
  font-family: var(--font-lora);
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 32px;
}
.writers-benefits { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.writers-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.writers-benefits li::before { content: '✦'; color: var(--dot-yellow); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) {
  .writers-cta { padding: 48px 28px; }
  .writers-cta-content { grid-template-columns: 1fr; gap: 36px; }
}

/* ─── PRICING ────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--trans);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card.featured { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-light), var(--shadow); }
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.pricing-desc { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
.pricing-price { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 900; color: var(--red); line-height: 1; margin-bottom: 4px; }
.pricing-period { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.85rem; color: var(--text-mid); }
.pricing-features li .check { color: var(--teal); font-weight: 700; flex-shrink: 0; }
.pricing-features li.disabled { color: var(--text-muted); }
.pricing-features li.disabled .check { color: var(--border); }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

/* ─── ARTICLE SINGLE ─────────────────────────────────────── */
.article-hero { position: relative; height: 440px; overflow: hidden; }
.article-hero-img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,66,82,0.88) 0%, rgba(30,66,82,0.35) 55%, transparent 100%);
}
.article-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 48px;
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 24px;
}
.article-body h2, .article-body h3 { font-family: var(--font-serif); color: var(--teal); margin: 32px 0 12px; }
.article-body h2 { font-size: 1.5rem; }
.article-body h3 { font-size: 1.15rem; }
.article-body p { font-family: var(--font-lora); font-size: 1.03rem; line-height: 1.82; color: var(--text-mid); margin-bottom: 18px; }
.article-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article-body img { max-width: 100%; border-radius: var(--radius); margin: 20px 0; }
.article-body blockquote {
  border-left: 3px solid var(--red);
  padding: 14px 22px;
  background: var(--red-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 22px 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--teal);
  font-size: 1.05rem;
}
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 18px; }
.article-body li { font-family: var(--font-lora); color: var(--text-mid); margin-bottom: 5px; line-height: 1.7; }

/* ─── FORM ───────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 0.93rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--teal); }
.form-textarea { resize: vertical; min-height: 110px; }

/* ─── NEWSLETTER ─────────────────────────────────────────── */
.newsletter {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px;
  text-align: center;
}
.newsletter-title { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: var(--teal); margin-bottom: 10px; }
.newsletter-sub { color: var(--text-muted); font-family: var(--font-lora); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.newsletter-form .form-input { flex: 1; }
@media (max-width: 560px) { .newsletter { padding: 36px 18px; } .newsletter-form { flex-direction: column; } }

/* ─── QUOTE STRIP ────────────────────────────────────────── */
.quote-strip {
  background: var(--bg-soft);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 40px 52px;
  margin: 48px 0;
}
.quote-strip blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-style: italic;
  color: var(--teal);
  line-height: 1.45;
  margin-bottom: 12px;
}
.quote-strip cite { font-size: 0.88rem; color: var(--red); font-style: normal; font-weight: 600; }
@media (max-width: 640px) { .quote-strip { padding: 28px 22px; } }

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 44px; }
.page-btn {
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  font-size: 0.88rem;
  transition: var(--trans);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
}
.page-btn:hover, .page-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  font-weight: 600;
}

/* ─── BACK TO TOP ────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 50;
  width: 44px; height: 44px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--trans);
  pointer-events: none;
  box-shadow: var(--shadow);
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--teal-mid); transform: translateY(-3px); }

/* ─── TOAST ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(70px);
  background: var(--teal);
  color: #fff;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  z-index: 200;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ─── LOADING ────────────────────────────────────────────── */
.loading { display: flex; justify-content: center; align-items: center; padding: 64px; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--teal); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── EMPTY STATE ────────────────────────────────────────── */
.empty { text-align: center; padding: 64px 20px; color: var(--text-muted); }
.empty-icon { font-size: 2.8rem; margin-bottom: 14px; }
.empty h3 { font-family: var(--font-serif); color: var(--text-mid); margin-bottom: 6px; }

/* ─── PAGE BANNER ────────────────────────────────────────── */
.page-banner {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 44px;
  text-align: center;
}
.page-banner p { color: var(--text-muted); font-family: var(--font-lora); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--teal);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand .nav-logo-text { color: #fff; }
.footer-brand .nav-logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.86rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 270px; }
.footer-col h4 { font-family: var(--font-serif); font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; color: #fff; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 0.84rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--dot-yellow); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: var(--dot-yellow); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── RECENT SIDEBAR ─────────────────────────────────────── */
.recent-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--trans);
}
.recent-item:last-child { border-bottom: none; }
.recent-img {
  width: 68px; height: 68px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-card2);
}
.recent-title {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--teal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.recent-item:hover .recent-title { color: var(--red); }
.recent-date { font-size: 0.72rem; color: var(--text-muted); }

/* ─── STEPS ──────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  transition: var(--trans);
}
.step-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.step-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  color: var(--teal);
  opacity: 0.12;
  line-height: 1;
  position: absolute;
  top: 12px; right: 16px;
}
.step-icon { font-size: 1.7rem; margin-bottom: 10px; }
.step-title { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--teal); margin-bottom: 7px; }
.step-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: var(--trans);
}
.testimonial:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.testimonial-stars { color: var(--dot-yellow); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-family: var(--font-lora); font-style: italic; color: var(--text-mid); line-height: 1.7; font-size: 0.9rem; margin-bottom: 18px; }
.testimonial-name { font-weight: 600; font-size: 0.87rem; color: var(--teal); }
.testimonial-role { font-size: 0.76rem; color: var(--text-muted); }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 740px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 0.93rem;
  color: var(--teal);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--teal-light); }
.faq-icon { flex-shrink: 0; font-size: 1.2rem; transition: transform 0.3s; color: var(--red); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 22px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.7;
  font-family: var(--font-lora);
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.55s ease both; }
.fade-up-1 { animation-delay: 0.08s; }
.fade-up-2 { animation-delay: 0.16s; }
.fade-up-3 { animation-delay: 0.24s; }
.fade-up-4 { animation-delay: 0.32s; }

/* ─── WHATSAPP FLOAT ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 82px; right: 26px; z-index: 50;
  width: 52px; height: 52px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--trans); text-decoration: none;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,0.55); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ─── COOKIE BANNER ─────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--teal); color: #fff; padding: 16px 24px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.84rem; color: rgba(255,255,255,0.85); margin: 0; flex: 1; min-width: 220px; line-height: 1.5; }
.cookie-banner p a { color: var(--dot-yellow); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn { padding: 9px 22px; border-radius: 50px; font-size: 0.83rem; font-weight: 600; cursor: pointer; transition: var(--trans); border: none; font-family: inherit; }
.cookie-accept { background: var(--dot-yellow); color: var(--teal); }
.cookie-accept:hover { background: #f0d050; transform: scale(1.04); }
.cookie-reject { background: transparent; color: rgba(255,255,255,0.75); border: 1.5px solid rgba(255,255,255,0.3) !important; }
.cookie-reject:hover { border-color: rgba(255,255,255,0.6) !important; color: #fff; }

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 0.79rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--teal); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { color: var(--border); }
