/* ============================================================
   FloreríasParaguay — main.css
   Tema: Elegante · Romántico · Floral
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --primary:       #9B2335;
  --primary-dark:  #7a1a27;
  --primary-light: #fdf0f2;
  --secondary:     #2D5016;
  --secondary-light: #f0f5eb;
  --gold:          #C5A028;
  --gold-light:    #fdf8ec;
  --blush:         #F2A7BB;
  --cream:         #FFF8F0;
  --ivory:         #FAF6F0;

  --text:          #1a1a2e;
  --text-muted:    #6b6b7a;
  --text-light:    #9a9aaa;
  --border:        #e8ddd5;
  --border-light:  #f2ece6;
  --bg:            #ffffff;
  --bg-warm:       #FFF8F0;
  --gray-100:      #faf7f4;
  --gray-200:      #f0ebe5;

  --radius:        12px;
  --radius-lg:     20px;
  --radius-sm:     8px;
  --shadow:        0 4px 24px rgba(155,35,53,.08);
  --shadow-md:     0 8px 40px rgba(155,35,53,.12);
  --shadow-lg:     0 20px 60px rgba(155,35,53,.15);

  --font-display:  'Cormorant Garamond', serif;
  --font-body:     'DM Sans', sans-serif;

  --header-h:      70px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }

/* ── Utilities ──────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.req { color: var(--primary); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 50px;
  font-family: var(--font-body); font-size: .875rem; font-weight: 500;
  border: 2px solid transparent; cursor: pointer;
  transition: all .2s ease; white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark); color: #fff;
  transform: translateY(-1px); box-shadow: 0 6px 20px rgba(155,35,53,.3);
}
.btn-secondary {
  background: var(--secondary); color: #fff; border-color: var(--secondary);
}
.btn-secondary:hover { background: #1e3a0e; border-color: #1e3a0e; color: #fff; }
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-dark {
  background: transparent; color: var(--text); border-color: var(--border);
}
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }
.btn-whatsapp {
  background: #25D366; color: #fff; border-color: #25D366;
}
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; color: #fff; }
.btn-gold {
  background: var(--gold); color: #fff; border-color: var(--gold);
}
.btn-gold:hover { background: #a8881f; color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 6px 14px; font-size: .8rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: .85rem; font-weight: 500;
  color: var(--text); margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .9rem;
  background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(155,35,53,.1);
}
textarea.form-control { resize: vertical; min-height: 90px; }
.form-hint { font-size: .76rem; color: var(--text-muted); margin-top: 4px; }
select.form-control { cursor: pointer; }

/* ── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 50px;
  font-size: .72rem; font-weight: 600; letter-spacing: .3px;
}
.badge-primary   { background: var(--primary-light); color: var(--primary); }
.badge-success   { background: #dcfce7; color: #166534; }
.badge-warning   { background: #fef3c7; color: #92400e; }
.badge-danger    { background: #fee2e2; color: #991b1b; }
.badge-gold      { background: var(--gold-light); color: var(--gold); }
.badge-green     { background: var(--secondary-light); color: var(--secondary); }
.badge-gray      { background: var(--gray-200); color: var(--text-muted); }

/* ── Alerts ─────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .88rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.alert-info    { background: var(--primary-light); color: var(--primary); border: 1px solid var(--blush); }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,248,240,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 20px rgba(155,35,53,.06);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px;
}
.header-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0;
}
.header-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--blush));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; flex-shrink:0;
}
.header-logo-text {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--primary); line-height: 1;
}
.header-logo-text span { color: var(--secondary); }
.header-nav {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.header-nav a {
  padding: 8px 14px; border-radius: 8px;
  font-size: .875rem; color: var(--text); font-weight: 500;
  transition: all .15s; white-space: nowrap;
}
.header-nav a:hover, .header-nav a.active {
  background: var(--primary-light); color: var(--primary);
}
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink:0; }
.mobile-menu-btn {
  display: none; background: none; border: 1.5px solid var(--border-light);
  border-radius: 8px; width: 38px; height: 38px;
  font-size: 1rem; color: var(--text); cursor: pointer;
  align-items: center; justify-content: center; flex-shrink: 0;
}
/* Desktop: ocultar hamburger y nav mobile explícitamente */
@media (min-width: 769px) {
  .mobile-menu-btn { display: none !important; }
  .mobile-nav { display: none !important; }
  .ha-login, .ha-registro { display: flex; }
}
/* Mobile nav drawer */
.mobile-nav {
  display: none; flex-direction: column;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: #fff; border-bottom: 2px solid var(--primary-light);
  box-shadow: 0 8px 32px rgba(155,35,53,.12);
  padding: 12px 20px 20px; z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 14px; border-radius: 10px;
  font-size: .95rem; color: var(--text); font-weight: 500;
  text-decoration: none; border-bottom: 1px solid var(--primary-light);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--primary-light); color: var(--primary); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--primary-light); }
.mobile-nav-actions .btn { justify-content: center; }

@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .ha-login { display: none; }
  .ha-registro { display: none; }
  .header-logo-text { font-size: 1.15rem; }
}
@media (max-width: 400px) {
  .header-logo-text { display: none; }
  .header-inner { gap: 12px; padding: 0 14px; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fff8f0 0%, #fdf0f2 50%, #f0f5eb 100%);
  padding: 80px 0 60px;
}
.hero::before {
  content: '🌸';
  position: absolute; right: -40px; top: -20px;
  font-size: 280px; opacity: .06; transform: rotate(15deg);
  pointer-events: none;
}
.hero::after {
  content: '🌿';
  position: absolute; left: -20px; bottom: -20px;
  font-size: 200px; opacity: .05; transform: rotate(-10deg);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 700px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-light); color: var(--primary);
  padding: 6px 16px; border-radius: 50px; font-size: .82rem; font-weight: 600;
  margin-bottom: 20px; letter-spacing: .5px;
}
.hero h1 { color: var(--text); margin-bottom: 16px; }
.hero h1 em { color: var(--primary); font-style: italic; }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.hero-search {
  background: #fff; border-radius: 50px; padding: 6px 6px 6px 20px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-md); max-width: 560px; margin: 0 auto 24px;
  border: 1px solid var(--border);
}
.hero-search input {
  flex: 1; border: none; background: none; font-family: var(--font-body);
  font-size: .95rem; color: var(--text); outline: none;
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-stats { display: flex; justify-content: center; gap: 32px; margin-top: 24px; }
.hero-stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--primary); }
.hero-stat-label { font-size: .78rem; color: var(--text-muted); }

/* ── Búsqueda Rápida ───────────────────────────────────── */
.quick-search {
  background: #fff; padding: 24px 0; border-bottom: 1px solid var(--border-light);
}
.qs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px;
}
.qs-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--border-light);
  color: var(--text); font-size: .85rem; font-weight: 500;
  cursor: pointer; transition: all .2s; text-decoration: none;
  background: var(--gray-100);
}
.qs-item:hover {
  border-color: var(--primary); background: var(--primary-light); color: var(--primary);
}
.qs-item i { color: var(--primary); width: 18px; text-align: center; }

/* ── Secciones Generales ────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-warm); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: .95rem; max-width: 500px; margin: 0 auto; }
.section-eyebrow {
  display: inline-block; color: var(--primary);
  font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 10px;
}

/* ── Empresa Cards (resultados) ─────────────────────────── */
.empresas-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px;
}
.empresa-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  overflow: hidden; transition: all .25s;
  position: relative;
}
.empresa-card:hover {
  border-color: var(--blush); box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.empresa-card.ec-destacado {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.ec-badge {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 12px; border-radius: 50px; font-size: .72rem; font-weight: 700;
  letter-spacing: .5px;
}
.ec-badge-destacado { background: var(--gold); color: #fff; }
.ec-badge-verificado { background: var(--secondary); color: #fff; }
.ec-cover {
  height: 140px; background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; overflow: hidden; position: relative;
}
.ec-cover img { width: 80px; height: 80px; object-fit: contain; border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.ec-cover.ec-cover-logo { background: linear-gradient(135deg, var(--primary-light), var(--secondary-light)); }
.ec-logo-wrap {
  position: absolute; bottom: -28px; left: 20px;
  width: 56px; height: 56px;
  border: 3px solid #fff; border-radius: 12px;
  background: #fff; overflow: hidden;
  box-shadow: var(--shadow);
}
.ec-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ec-logo-wrap span { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 1.6rem; }
.ec-body { padding: 20px 20px 20px; }
.ec-nombre {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  margin-bottom: 4px;
}
.ec-nombre a { color: var(--text); }
.ec-nombre a:hover { color: var(--primary); }
.ec-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; }
.ec-meta i { color: var(--primary); }
.ec-stars { display: flex; align-items: center; gap: 4px; font-size: .82rem; color: #f59e0b; margin-bottom: 10px; }
.ec-stars .ec-rating-num { color: var(--text); font-weight: 600; }
.ec-stars .ec-resenas { color: var(--text-muted); font-size: .75rem; }
.ec-desc { font-size: .83rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.ec-servicios { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ec-productos-preview {
  border-top: 1px solid var(--border-light); padding-top: 12px; margin-bottom: 14px;
}
.ec-prod-titulo { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 8px; }
.ec-prod-lista { display: flex; gap: 8px; overflow: hidden; }
.ec-prod-item {
  display: flex; flex-direction: column; align-items: center;
  min-width: 72px; text-align: center;
}
.ec-prod-item img {
  width: 60px; height: 60px; object-fit: cover; border-radius: 10px;
  border: 1.5px solid var(--border-light); margin-bottom: 4px;
}
.ec-prod-item .ec-prod-nombre { font-size: .72rem; color: var(--text); font-weight: 500; line-height: 1.2; }
.ec-prod-item .ec-prod-precio { font-size: .78rem; color: var(--primary); font-weight: 700; }
.ec-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Productos Grid (directorio) ───────────────────────── */
.productos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px;
}
.producto-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  overflow: hidden; transition: all .25s;
}
.producto-card:hover {
  border-color: var(--blush); box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pc-foto {
  aspect-ratio: 1; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; font-size: 3rem;
}
.pc-foto img { width: 100%; height: 100%; object-fit: cover; }
.pc-body { padding: 14px; }
.pc-empresa {
  display: flex; align-items: center; gap: 6px;
  font-size: .73rem; color: var(--text-muted); margin-bottom: 6px;
}
.pc-empresa img {
  width: 18px; height: 18px; border-radius: 4px; object-fit: cover;
}
.pc-nombre {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--text); margin-bottom: 4px; line-height: 1.3;
}
.pc-desc { font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; line-height: 1.4; }
.pc-precio-wrap { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.pc-precio { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--primary); }
.pc-precio-old { font-size: .82rem; color: var(--text-muted); text-decoration: line-through; }

/* ── Perfil de Empresa (público) ───────────────────────── */
.perfil-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }
.perfil-hero {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; gap: 24px; align-items: flex-start;
  position: relative; overflow: hidden; margin-bottom: 24px;
}
.perfil-hero::after {
  content: '🌸'; position: absolute; right: 20px; top: 10px;
  font-size: 100px; opacity: .1; pointer-events: none;
}
.perfil-logo {
  width: 90px; height: 90px; flex-shrink: 0;
  border-radius: 16px; border: 3px solid rgba(255,255,255,.8);
  background: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
  box-shadow: var(--shadow);
}
.perfil-logo img { width: 100%; height: 100%; object-fit: cover; }
.perfil-info { flex: 1; }
.perfil-nombre { font-family: var(--font-display); font-size: 2rem; font-weight: 400; margin-bottom: 6px; }
.perfil-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.perfil-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .83rem; color: var(--text-muted); }
.perfil-meta i { color: var(--primary); }
.ps-box {
  background: #fff; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light); padding: 20px;
  margin-bottom: 16px;
}
.ps-box h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; margin-bottom: 14px; color: var(--text); }
.perfil-section { margin-bottom: 28px; }
.ps-titulo {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 400;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; gap: 10px;
}
.ps-titulo i { color: var(--primary); font-size: .9em; }

/* ── Contacto Lista ─────────────────────────────────────── */
.contacto-lista { display: flex; flex-direction: column; gap: 10px; }
.cl-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--gray-100); color: var(--text); font-size: .88rem;
  text-decoration: none; transition: all .15s;
}
.cl-item:hover { background: var(--primary-light); color: var(--primary); }
.cl-item i { width: 20px; text-align: center; color: var(--primary); flex-shrink: 0; }
.cl-wa { background: #dcfce7; color: #166534; }
.cl-wa i { color: #25D366; }
.cl-wa:hover { background: #25D366; color: #fff; }
.cl-wa:hover i { color: #fff; }

/* ── Reseñas ─────────────────────────────────────────────── */
.resena-item { display: flex; gap: 14px; margin-bottom: 20px; }
.ri-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--blush));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--primary); flex-shrink: 0; font-size: .95rem;
}
.ri-content { flex: 1; }
.ri-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.ri-stars { color: #f59e0b; }
.ri-fecha { font-size: .75rem; color: var(--text-muted); margin-left: auto; }
.ri-text { font-size: .88rem; color: var(--text-muted); font-style: italic; }
.ri-respuesta {
  background: #f0fdf4; border-left: 3px solid #22c55e;
  padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 10px;
}
.ri-resp-label { font-size: .73rem; font-weight: 700; color: #166534; text-transform: uppercase; margin-bottom: 4px; }
.ri-resp-text { font-size: .85rem; color: var(--text); margin: 0; }

/* ── Star Rating ────────────────────────────────────────── */
.star-rating { display: flex; flex-direction: row-reverse; gap: 4px; }
.star-rating input { display: none; }
.star-rating label {
  font-size: 1.6rem; color: #ddd; cursor: pointer; transition: color .15s;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: #f59e0b; }

/* ── Sucursales Perfil Público ──────────────────────────── */
.sucursales-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 12px; }
.suc-card {
  background: var(--gray-100); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
}
.suc-nombre { font-weight: 700; font-size: .9rem; color: var(--secondary); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.suc-datos { display: flex; flex-direction: column; gap: 5px; }
.suc-dato { font-size: .8rem; color: var(--text-muted); display: flex; align-items: center; gap: 7px; }
.suc-dato i { color: var(--primary); width: 14px; text-align: center; }
.suc-dato a { color: var(--text-muted); }
.suc-dato a:hover { color: var(--primary); }

/* ── Footer ─────────────────────────────────────────────── */
/* ── Footer CTA strip ──────────────────────────────────── */
.footer-cta-strip {
  background: linear-gradient(135deg, var(--primary), #7a1a27);
  padding: 52px 0;
  margin-bottom: 0;
}
.footer-cta-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 20px;
}
.footer-cta-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.footer-cta-sub { font-size: .9rem; color: rgba(255,255,255,.85); margin-bottom: 4px; }
.footer-cta-strip .btn-primary { background:#fff; color:var(--primary); border-color:#fff; white-space:nowrap; padding: 12px 28px; font-size: .95rem; }
.footer-cta-strip .btn-primary:hover { background:var(--cream); }

.site-footer {
  background: var(--text); color: rgba(255,255,255,.7);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .footer-logo-text {
  font-family: var(--font-display); font-size: 1.6rem; color: #fff; margin-bottom: 10px;
}
.footer-brand p { font-size: .85rem; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; font-size: .9rem;
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-col h5 { color: #fff; font-size: .85rem; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: .85rem; transition: color .15s; }
.footer-col ul a:hover { color: var(--blush); }
.footer-bottom {
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--blush); }

/* ── Login / Auth ───────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--cream) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center; padding: 40px 20px;
}
.auth-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 40px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-light);
}
.auth-logo {
  text-align: center; margin-bottom: 28px;
}
.auth-logo-icon {
  width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--primary), var(--blush));
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff;
}
.auth-title { font-family: var(--font-display); font-size: 1.7rem; text-align: center; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--text-muted); font-size: .88rem; margin-bottom: 24px; }
.auth-footer { text-align: center; font-size: .83rem; color: var(--text-muted); margin-top: 20px; }
.auth-footer a { color: var(--primary); font-weight: 500; }

/* ── Pricing ─────────────────────────────────────────────── */
.planes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.plan-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 2px solid var(--border-light); padding: 32px;
  position: relative; transition: all .25s;
}
.plan-card.plan-popular {
  border-color: var(--primary); box-shadow: var(--shadow-md);
  transform: scale(1.03);
}
.plan-card.plan-destacado { border-color: var(--gold); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: 50px;
  font-size: .72rem; font-weight: 700; white-space: nowrap;
}
.plan-nombre { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin-bottom: 4px; }
.plan-precio { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.plan-precio small { font-size: .9rem; font-weight: 400; color: var(--text-muted); }
.plan-desc { font-size: .83rem; color: var(--text-muted); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.plan-feature { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.plan-feature i { width: 18px; text-align: center; color: var(--secondary); flex-shrink: 0; }
.plan-feature.disabled { color: var(--text-muted); }
.plan-feature.disabled i { color: #ddd; }

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--text-muted); padding: 12px 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-light); }

/* ── Pagination ─────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 32px 0; }
.page-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); color: var(--text);
  font-size: .88rem; transition: all .15s; text-decoration: none;
}
.page-btn:hover, .page-btn.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* ── Flash Messages ─────────────────────────────────────── */
.flash-message {
  padding: 14px 20px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: .88rem; animation: slideDown .3s ease;
}
@keyframes slideDown { from { opacity:0; transform:translateY(-10px) } to { opacity:1; transform:none } }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .perfil-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .planes-grid { grid-template-columns: 1fr; }
  .plan-card.plan-popular { transform: none; }
}
@media (max-width: 768px) {
  .hero { padding: 48px 0 36px; }
  .section { padding: 48px 0; }
  .empresas-grid { grid-template-columns: 1fr; }
  .productos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 20px; }
  .perfil-hero { flex-direction: column; }
}
@media (max-width: 480px) {
  .productos-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
}
