/* =============================================
   HOJA DE ESTILOS - ESTUDIO JURÍDICO GQ (SAN LUIS)
   Metodología: Mobile-First
   ============================================= */

/* --- 1. VARIABLES Y RESET --- */
:root {
  /* Paleta de colores Autoridad y Fuerza (Rojo, Negro, Blanco) */
  --color-primary: #000000; /* Negro para autoridad */
  --color-secondary: #333333; /* Gris oscuro para textos secundarios */
  --color-accent: #C41E3A; /* Rojo para acentos y llamadas a la acción */
  --color-background-light: #f8f9fa; /* Blanco roto/gris muy claro para fondos */
  --color-text: #1a1a1a; /* Negro casi puro para texto de lectura */
  --color-text-light: #ffffff; /* Blanco puro */
  --color-border: #e0e0e0; /* Gris claro bordes */

  /* Tipografía */
  --font-heading: "Merriweather", serif;
  --font-body: "Lato", sans-serif;

  /* Espaciado y Layout */
  --container-width: 1140px;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;
  --header-height: 70px;
}

/* Reset básico */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  background-color: var(--color-text-light);
}

a { color: var(--color-accent); text-decoration: none; transition: opacity 0.3s ease; }
a:hover { opacity: 0.8; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- 2. UTILIDADES GLOBALES --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 1rem; }
.section { padding: var(--spacing-lg) 0; }

.about-modern, .stats-wrapper, .testimonial, .faq-section, #ubicacion {
  content-visibility: auto; contain-intrinsic-size: 1px 800px;
}
.btn, .card, .contact-card { will-change: transform; }
.bg-light { background-color: var(--color-background-light); }

.section-title {
  font-size: 2rem; text-align: center; font-family: var(--font-heading);
  color: var(--color-primary); line-height: 1.3;
}
.section-subtitle {
  text-align: center; max-width: 600px; margin: 0 auto 2rem auto; font-size: 1.1rem;
}

/* Botones (CTAs) */
.btns-hero { display: flex; justify-content: space-around; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 0.8rem 1.8rem; border-radius: 5px;
  font-weight: 700; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3); }

/* Corrección de contraste de botones */
.btn-primary { background-color: var(--color-accent); color: var(--color-text-light); border: 2px solid var(--color-accent); }
.btn-primary:hover { color: var(--color-text-light); opacity: 0.9; }
.btn-secondary { background-color: var(--color-primary); color: var(--color-text-light); }

.btn-whatsapp-hero {
  background-color: transparent; color: var(--color-text-light); border: 2px solid var(--color-text-light);
  display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1.5rem; justify-content: center;
}
.btn-whatsapp-hero svg { width: 24px; height: 24px; fill: #25d366; }
.btn-whatsapp-hero:hover { background-color: var(--color-text-light); color: var(--color-primary); }

.btn-dark-pill {
  display: inline-block; background-color: var(--color-accent); color: var(--color-text-light);
  padding: 1rem 2.5rem; border-radius: 50px; font-weight: 700; text-transform: uppercase;
  font-size: 0.9rem; letter-spacing: 1px; transition: all 0.3s ease;
}
.btn-dark-pill:hover { background-color: var(--color-primary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); color: white;}

.no-scroll { overflow: hidden; }

/* --- 3. HEADER Y NAVEGACIÓN --- */
.header {
  background-color: var(--color-text-light); height: var(--header-height);
  position: sticky; top: 0; z-index: 900; box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; gap: 0.75rem; color: var(--color-primary); text-decoration: none; }
.logo-img { height: 50px; width: auto; }
.logo-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--color-primary); }

.nav {
  position: fixed; bottom: 95px; right: 1.5rem; width: 280px;
  background-color: var(--color-primary); border-radius: 8px; padding: 1rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25); z-index: 1000;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: opacity 0.3s ease, visibility 0s 0.3s linear, transform 0.3s ease;
}
.nav.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 0.3s ease, visibility 0s 0s linear, transform 0.3s ease;
}
.nav a {
  color: var(--color-text-light); font-weight: 700; font-size: 1.1rem;
  padding: 0.5rem 1rem; width: 100%; border-radius: 4px; transition: all 0.2s ease;
}
.nav a.active, .nav a:hover { color: var(--color-text-light); background-color: var(--color-accent); }

.nav-item.dropdown { width: 100%; }
.dropdown-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.dropdown-arrow {
  display: inline-block; width: 12px; height: 12px;
  border-right: 3px solid var(--color-text-light); border-bottom: 3px solid var(--color-text-light);
  transform: rotate(45deg); transition: transform 0.3s ease; margin-right: 10px;
}
.nav-item.is-open .dropdown-arrow { transform: rotate(225deg); margin-top: -6px; }
.dropdown-menu {
  max-height: 0; overflow: hidden; opacity: 0; transition: all 0.4s ease-out;
  padding: 0 1rem; background-color: rgba(255, 255, 255, 0.1); border-radius: 0 0 4px 4px;
}
.nav-item.is-open .dropdown-menu { max-height: 400px; opacity: 1; padding: 0.5rem 1rem; }
.dropdown-menu a { font-size: 1rem; font-weight: 400; padding: 0.5rem 1rem 0.5rem 1.5rem; }

.menu-btn {
  display: flex; align-items: center; justify-content: center; position: fixed;
  bottom: 1.5rem; right: 1.5rem; z-index: 1001; width: 60px; height: 60px;
  background-color: var(--color-accent); color: var(--color-text-light);
  border: none; border-radius: 50%; box-shadow: 0 4px 12px rgba(196, 30, 58, 0.4);
  cursor: pointer; transition: background-color 0.3s ease;
}
.menu-icon-container { width: 24px; height: 18px; position: relative; }
.menu-icon-container span {
  display: block; position: absolute; height: 3px; width: 100%;
  background: var(--color-text-light); border-radius: 3px; left: 0; transition: all 0.3s ease-in-out;
}
.menu-icon-container span:nth-child(1) { top: 0px; }
.menu-icon-container span:nth-child(2) { top: 7px; }
.menu-icon-container span:nth-child(3) { top: 14px; }
.menu-btn.is-open .menu-icon-container span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open .menu-icon-container span:nth-child(2) { opacity: 0; }
.menu-btn.is-open .menu-icon-container span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- 4. HERO SECTION (NEGRO/ROJO) --- */
.hero {
  position: relative; background-image: url("/assets/poder-judicial-san-luis.webp");
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  padding: 2rem 1rem; color: var(--color-text-light); overflow: hidden;
}
/* Gradiente oscuro negro a transparente */
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.7) 100%); z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
.hero-content { text-align: center; max-width: 100%; }
.hero-badge {
  display: inline-block; background-color: rgba(196, 30, 58, 0.2);
  color: #ff4d6d; /* Rojo claro para destacar sobre negro */ padding: 0.4rem 1rem;
  border-radius: 50px; font-size: 0.9rem; font-weight: 700; margin-bottom: 1.5rem;
  border: 1px solid rgba(196, 30, 58, 0.5); text-transform: uppercase; letter-spacing: 1px;
}
.hero-title { color: var(--color-text-light); font-size: 2.5rem; line-height: 1.2; margin-bottom: 1.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2.5rem; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.hero .btn { width: 100%; max-width: 300px; }
.hero-visuals { width: 100%; display: flex; justify-content: center; }
/* AJUSTE PARA PALABRAS LARGAS EN CELULAR */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; width: 100%; max-width: 500px; }

.feature-card {
  background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px; padding: 1rem 0.5rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 0.5rem; transition: transform 0.3s ease, background 0.3s ease; min-height: 110px;
}
.feature-card:hover { background: rgba(196, 30, 58, 0.15); transform: translateY(-5px); border-color: var(--color-accent); }
.feature-card svg { width: 36px; height: 36px; color: var(--color-accent); stroke-width: 1.5; }
.feature-card span { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: #fff; letter-spacing: 0; line-height: 1.2; word-break: break-word; }


/* --- 5. TARJETAS DE SERVICIOS --- */
.card-grid { display: grid; gap: var(--spacing-md); }
.card {
  border: 1px solid var(--color-border); padding: var(--spacing-md); border-radius: 5px;
  background-color: var(--color-text-light); transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.1); border-bottom: 3px solid var(--color-accent); }
.card-title { font-size: 1.3rem; margin-top: 0; color: var(--color-primary); }
.card-title a { color: inherit; }
.card-link { font-weight: 700; text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.card-icon { display: inline-block; margin-bottom: 1rem; color: var(--color-accent); transition: transform 0.3s ease; }
.card-icon svg { width: 48px; height: 48px; stroke-width: 1.5px; }
.card:hover .card-icon { transform: scale(1.1); }

/* --- 6. SOBRE NOSOTROS --- */
.about-grid { display: flex; flex-direction: column-reverse; gap: 3rem; align-items: center; }
.about-image { width: 100%; position: relative; }
.about-image img { width: 100%; height: auto; aspect-ratio: 18/10; object-fit: cover; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.2); transition: transform 0.3s ease; }
.about-image:hover img { transform: translateY(-5px); }
.about-content { text-align: left; }
.about-title { font-size: 2rem; line-height: 1.2; margin-bottom: 1.5rem; color: var(--color-primary); }
.about-lead { font-size: 1.15rem; line-height: 1.6; color: var(--color-accent); font-weight: 700; margin-bottom: 1.5rem; }
.about-content p { margin-bottom: 1rem; color: var(--color-secondary); }
.about-cta { margin-top: 2rem; }

/* --- 7. ESTADÍSTICAS --- */
.stats-wrapper { padding-top: 2rem; padding-bottom: 2rem; }
.stats-box {
  background-color: var(--color-primary); border-radius: 20px; padding: 3rem 2rem;
  color: var(--color-text-light); box-shadow: 0 15px 30px rgba(0,0,0,0.2); text-align: center; position: relative; overflow: hidden;
}
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; justify-items: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 600; line-height: 1; margin-bottom: 0.5rem; color: var(--color-accent); }
.stat-label { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; opacity: 0.9; letter-spacing: 0.5px; }

/* --- 8. TESTIMONIOS --- */
.testimonial { display: flex; flex-direction: column; gap: 0.8rem; }
.testimonial-grid { display: grid; gap: var(--spacing-md); }
.testimonial-card { background-color: var(--color-background-light); padding: var(--spacing-md); border-left: 5px solid var(--color-accent); border-radius: 5px; }
.testimonial p { font-style: italic; margin-bottom: 1rem; }
.testimonial cite { font-weight: 700; font-style: normal; color: var(--color-primary); }

/* --- 9. FAQ --- */
.faq-container { max-width: 800px; margin: 2rem auto 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); background-color: #ffffff; border-radius: 8px; margin-bottom: 1rem; transition: box-shadow 0.3s ease; }
.faq-item:first-of-type { border-top: 1px solid var(--color-border); }
.faq-item:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.07); }
.faq-question { font-size: 1.2rem; font-weight: 700; padding: 1.5rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--color-primary); }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: "+"; font-size: 2rem; font-weight: 400; line-height: 1; color: var(--color-accent); transition: transform 0.3s ease; margin-left: 1rem; }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-question h2 { font-size: inherit; font-weight: inherit; margin: 0; line-height: inherit; }
.faq-answer { padding: 0 1.5rem 1.5rem 1.5rem; color: var(--color-secondary); }
.faq-answer p:first-child { margin-top: 0; }
.faq-answer p:last-child { margin-bottom: 0; }

/* --- 10. UBICACIÓN Y CONTACTO --- */
.location-grid { display: flex; flex-direction: column; gap: var(--spacing-lg); }
.location-info { text-align: center; }
.location-info-title { color: var(--color-primary); margin-bottom: var(--spacing-md); }
.location-info > p { max-width: 450px; margin: 0 auto var(--spacing-md) auto; }
.map-container { position: relative; overflow: hidden; padding-top: 75%; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); width: 100%; }
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.contact-cards-container { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; margin-bottom: 2rem; }
.contact-card { background-color: #fff; border-radius: 12px; padding: 1rem 1.2rem; display: flex; align-items: center; gap: 1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.05); height: 100%; min-height: 90px; }
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--color-accent); }
.icon-box { background-color: #ffe6e9; /* Fondo roijto claro */ width: 42px; height: 42px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-box svg { color: var(--color-accent); width: 20px; height: 20px; }
.contact-text { flex-grow: 1; text-align: left;}
.contact-text h4 { margin: 0 0 0.2rem 0; font-size: 0.95rem; font-weight: 700; color: var(--color-primary); }
.contact-text p, .contact-text a { margin: 0; font-size: 0.85rem; color: var(--color-secondary); line-height: 1.3; word-wrap: break-word; }
.contact-text a { color: var(--color-secondary); text-decoration: none; }
.contact-text a:hover { color: var(--color-accent); text-decoration: underline; }

/* --- 11. BREADCRUMBS --- */
.breadcrumb-nav { background-color: var(--color-background-light); padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); font-size: 0.9rem; }
.breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; }
.breadcrumb-item { display: flex; align-items: center; }
.breadcrumb-item a { color: var(--color-secondary); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--color-accent); text-decoration: underline; }
.breadcrumb-item + .breadcrumb-item::before { content: ">"; margin: 0 0.5rem; color: var(--color-border); }
.breadcrumb-item.active { color: var(--color-text); font-weight: 700; }

/* --- 12. SECCIÓN PASO A PASO (PROCESO) --- */
.process-section {
  background-color: var(--color-text-light); /* Fondo blanco */
}

.process-grid {
  display: grid;
  gap: 2rem;
  /* En móviles se ve en 1 columna, se adaptará en las media queries */
}

.step-card {
  background-color: var(--color-background-light); /* Gris muy sutil */
  border: 1px solid var(--color-border);
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(196, 30, 58, 0.3); /* Borde rojo sutil al pasar el mouse */
}

.step-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-accent); /* Rojo de la paleta */
  opacity: 0.15; /* Lo hacemos como una marca de agua gigante */
  line-height: 1;
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.step-title {
  font-size: 1.3rem;
  color: var(--color-primary); /* Negro */
  margin-top: 1.5rem; /* Da espacio para que se vea el número de fondo */
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--color-secondary);
  font-size: 0.95rem;
  margin: 0;
}


/* --- 13. OTROS ELEMENTOS --- */
#whatsapp-flotante {
  position: fixed; width: 80px; height: 80px; bottom: 100px; right: 20px;
  background-color: #25d366; color: #fff; border-radius: 50%; text-align: center;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.4); z-index: 1000; transition: all 0.3s ease-in-out;
  display: flex; align-items: center; justify-content: center;
}
#whatsapp-flotante:hover { transform: scale(1.1); box-shadow: 4px 4px 12px rgba(0,0,0,0.5); }
#whatsapp-flotante svg { width: 35px; height: 40px; fill: white; }

.footer { background-color: var(--color-primary); color: var(--color-text-light); padding-top: var(--spacing-lg); }
.footer-grid { display: grid; gap: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.footer a { color: var(--color-text-light); opacity: 0.8; }
.footer a:hover { opacity: 1; text-decoration: underline; color: var(--color-accent); }
.footer-heading, footer h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--color-accent); margin-bottom: 1rem; }
.footer-bottom { background-color: #111; padding: 1rem 0; text-align: center; font-size: 0.9rem; border-top: 1px solid #333;}
.footer-bottom p { margin: 0; color: #aaa;}

/* --- 13. MEDIA QUERIES --- */
@media (min-width: 768px) {
  h1 { font-size: 3rem; } h2 { font-size: 2.5rem; }
  .hero-title { font-size: 3rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-areas: "about about" "links contact"; }
  .footer-about { grid-area: about; } .footer-links { grid-area: links; } .footer-contact { grid-area: contact; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .contact-cards-container { grid-template-columns: 1fr 1fr; }
  #whatsapp-flotante { bottom: 30px; right: 30px; width: 70px; height: 70px; }
  #whatsapp-flotante svg { width: 45px; height: 45px; }
}

@media (min-width: 992px) {
  .hero { padding: 5rem 1rem; text-align: left; }
  .hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
  .hero-content { text-align: left; padding-right: 2rem; }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { margin-left: 0; margin-right: 0; font-size: 1.25rem; }
  .hero-actions { flex-direction: row; justify-content: flex-start; }
  .hero .btn { width: auto; }
  .features-grid { gap: 1.5rem; }
  .feature-card { padding: 2rem; min-height: 160px; }
  .feature-card svg { width: 42px; height: 42px; }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .location-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
  .location-info { text-align: left; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .stat-item:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, 0.1); width: 100%; }
  .process-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav {
    position: static; flex-direction: row; width: auto; height: auto;
    background-color: transparent; z-index: auto; gap: 0; padding: 0;
    box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav a { color: var(--color-primary); font-size: 1rem; padding: 0 1rem; background-color: transparent; }
  .nav a.active, .nav a:hover { color: var(--color-accent); background-color: transparent; }
  .dropdown-toggle { display: flex; gap: 0.5rem; }
  .dropdown-arrow { width: 10px; height: 10px; border-right: 3px solid var(--color-accent); border-bottom: 3px solid var(--color-accent); }
  .nav-item.dropdown { position: relative; width: auto; }
  .dropdown-menu {
    position: absolute; top: calc(100% + 5px); left: 0; min-width: 240px;
    background-color: var(--color-text-light); border-radius: 5px; box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    padding: 0.5rem 0; z-index: 1000; max-height: none; overflow: visible; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
  }
  .nav-item.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .dropdown-menu a { display: block; color: var(--color-primary); padding: 0.75rem 1.5rem; font-weight: 700; }
  .dropdown-menu a:hover { background-color: var(--color-background-light); color: var(--color-accent); }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; grid-template-areas: "about links contact"; }
}

/* ==============================================================
   CRÉDITO EN EL FOOTER
   ============================================================== */
.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.developer-credit {
  font-size: 0.85rem;
  opacity: 0.7; /* Lo hace un poquito más sutil para que no compita con tu marca */
}

.developer-credit a {
  color: #ffffff;
  font-weight: 700;
  transition: color 0.3s ease;
}

.developer-credit a:hover {
  color: var(--color-accent); /* Se pone rojo al pasar el mouse */
}

/* En computadoras lo ponemos uno en cada punta */
@media (min-width: 768px) {
  .footer-bottom-flex {
    flex-direction: row;
    justify-content: space-between;
  }
}