/* =========================================
   MEDALLO JEANS — SOBRE NOSOTROS (página específica)
   Archivo: sobre-nosotros.css
   Última actualización: 2025-09-21
   ========================================= */

/* Variables de marca */
:root {
  --brand: #8a1538;          /* burdeos MEDALLO */
  --brand-ink: #221f1f;      /* texto principal */
  --ink-2: #4a4646;          /* texto secundario */
  --bg: #ffffff;
  --bg-soft: #faf8f9;
  --line: rgba(0,0,0,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --radius: 16px;
}

/* Utilidades base locales (sin pisar globales) */
.about-story.container,
.about-values .container,
.about-visual .split,
.about-cta {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

section { scroll-margin-top: 80px; }

/* ----------------------------
   HERO
----------------------------- */
.hero.hero-about {
  position: relative;
  min-height: clamp(360px, 54vw, 520px); /* evita CLS */
  display: grid;
  place-items: center;
  overflow: clip;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #0e0d0d;
  isolation: isolate;
}
.hero-about .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}
.hero-about .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55) 50%, rgba(0,0,0,.65));
  mix-blend-mode: multiply;
}
.hero-about .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 24px;
}
.hero-about .hero-content h1 {
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 800;
  letter-spacing: .3px;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.1;
  margin: 0 0 10px;
  text-shadow: 0 6px 24px rgba(0,0,0,.45);
}
.hero-about .hero-content p {
  margin: 0;
  font-size: clamp(14px, 2.4vw, 18px);
  opacity: .95;
}

/* ----------------------------
   HISTORIA
----------------------------- */
.about-story {
  padding: clamp(28px, 4vw, 56px) 0;
}
.about-story h2 {
  font-size: clamp(22px, 3.2vw, 32px);
  color: var(--brand);
  margin: 0 0 12px;
}
.about-story p {
  color: var(--ink-2);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.8;
  margin: 0 0 14px;
  text-wrap: pretty;
}

/* ----------------------------
   VALORES (grid de 3)
----------------------------- */
.about-values {
  background: var(--bg-soft);
  padding: clamp(24px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-values .container.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.4vw, 24px);
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 24px);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.value-card i {
  font-size: clamp(22px, 4vw, 30px);
  color: var(--brand);
  margin-bottom: 10px;
}
.value-card h3 {
  margin: 6px 0 8px;
  font-size: clamp(16px, 2.6vw, 20px);
  color: var(--brand-ink);
}
.value-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.7;
}

/* ----------------------------
   SPLIT Medellín ↔ Zaragoza
----------------------------- */
.about-visual {
  padding: clamp(28px, 4vw, 64px) 0;
}
.about-visual .split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}
.split-text h2 {
  font-size: clamp(20px, 3vw, 28px);
  color: var(--brand);
  margin: 0 0 10px;
}
.split-text p {
  color: var(--ink-2);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.8;
  margin: 0 0 12px;
}
.split-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #eee; /* placeholder para evitar parpadeos */
}

/* ----------------------------
   CTA
----------------------------- */
.about-cta {
  padding: clamp(28px, 4vw, 64px) 0;
  text-align: center;
}
.about-cta h2 {
  font-size: clamp(20px, 3.2vw, 28px);
  margin: 0 0 16px;
  color: var(--brand-ink);
}
.about-cta .btn-primary {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 22px rgba(138,21,56,.28);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.about-cta .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(138,21,56,.35); }
.about-cta .btn-primary:active { transform: translateY(0); opacity: .9; }

/* ----------------------------
   NAV móvil (solo si no existe en global)
----------------------------- */
@media (max-width: 980px) {
  .about-values .container.grid-3 { grid-template-columns: 1fr; }
  .about-visual .split { grid-template-columns: 1fr; }
}

/* Si el menú hamburguesa del sitio no controla visibilidad, aplica esto: */
@media (max-width: 960px) {
  .navbar .nav-links { display: none; }
  .navbar .nav-links.active { 
    display: grid;
    gap: 8px;
    position: absolute;
    inset: 60px 12px auto 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 20;
  }
  .navbar .menu-toggle { z-index: 21; }
}

/* ----------------------------
   Accesibilidad & motion
----------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ----------------------------
   Microajustes de tipografía locales
----------------------------- */
.about-story p em { font-style: normal; color: var(--brand); font-weight: 700; }

/* ----------------------------
   Salvaguardas de imagen (CLS)
----------------------------- */
img.hero-bg { aspect-ratio: 5 / 3; } /* coincide con 1200×720 */
.split-img img { aspect-ratio: 3 / 2; object-fit: cover; }


   /* Footer */
 footer {
  background: #ffffff;
  color: black;
  padding: 80px 20px 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: black !important;
}

.footer-col h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #c6a769;
}

.footer-col p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col li {
  margin-bottom: 15px;
  color: black;
}

.footer-col ul li a {
  color: black !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.footer-col a {
  color: black !important;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  background: #333;
  border-radius: 50%;
  color: white !important;
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  background: #c6a769;
  transform: translateY(-5px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 30px 20px 0;
  border-top: 1px solid #eee;
  text-align: center;
  color: #333;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #333 !important;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: #c6a769;
  transition: var(--transition);
}

.footer-links a:hover:after {
  width: 100%;
}
/* === Fix contraste footer === */
footer .footer-col h4 {
  color: #111 !important;
  font-weight: 700;
}

footer .footer-col ul li a {
  color: #222 !important;
  font-weight: 600;
  opacity: 1 !important;
  text-decoration: none;
}

footer .footer-col ul li a:hover {
  color: #000 !important;
  text-decoration: underline;
}

/* Ajuste del texto del bloque LEGAL y ARTÍCULOS */
footer .footer-col p,
footer .footer-col li {
  color: #222 !important;
  opacity: 1 !important;
}

/* Enlaces legales en bloque inferior */
footer .footer-links a {
  color: #222 !important;
  font-weight: 600;
  opacity: 1 !important;
}
/* Elimina cualquier hueco entre header y hero */
header {
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero {
  margin-top: 0 !important;
  padding-top: 0;
}

.hero h1 {
  margin-top: 0;
}

.breadcrumb {
    padding: 12px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child):after {
    content: "›";
    margin: 0 10px;
    color: #666;
}

.breadcrumb a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

.breadcrumb span {
    color: #7f8c8d;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 8px 0;
        font-size: 0.85rem;
    }
    
    .breadcrumb li:not(:last-child):after {
        margin: 0 8px;
    }
}
