/* ============================================================
   nosotros.css — Estilos exclusivos de la página Nosotros
   ============================================================ */

.nosotros-page {
  background: var(--color-background);
}

/* Padding vertical extra */
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

@media (max-width: 767.98px) {
  .py-6 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}


/* ============================================================
   HERO
   ============================================================ */
.nos-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.nos-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(212,163,115,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(63,79,60,0.3) 0%, transparent 50%);
}

.nos-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(212,163,115,0.03) 0,
    rgba(212,163,115,0.03) 1px,
    transparent 0,
    transparent 60px
  );
  z-index: 0;
}

.nos-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,33,18,0.85) 0%, rgba(10,17,9,0.7) 100%);
  z-index: 0;
}

.nos-hero-content {
  position: relative;
  z-index: 2;
  padding: 9rem 1.5rem 5rem;
}

.nos-hero-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.nos-hero-title em {
  font-style: italic;
  color: var(--color-gold);
  font-weight: 400;
}

.nos-hero-subtitle {
  font-family: var(--font-alt);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.65);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}


/* ============================================================
   INTRO / HISTORIA
   ============================================================ */
.nos-intro-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.nos-intro-img-bg {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  opacity: 0.08;
}

.nos-intro-img {
  width: 100%;
  max-width: 360px;
  height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.15));
  position: relative;
  z-index: 1;
}

/* Stat cards flotantes */
.nos-stat-card {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  text-align: center;
  z-index: 2;
  min-width: 110px;
}

.nos-stat-card--1 { top: 5%;   right: 0; }
.nos-stat-card--2 { bottom: 8%; left: 0; }

.nos-stat-num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.nos-stat-label {
  font-size: 0.72rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-top: 0.2rem;
}

.nos-body-text {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.nos-value-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(63,79,60,0.08);
  border: 1px solid rgba(63,79,60,0.15);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
}

.nos-value-pill i { color: var(--color-accent); }

@media (max-width: 767.98px) {
  .nos-intro-img          { max-width: 260px; height: 300px; }
  .nos-stat-card--1       { top: 0; right: -.5rem; }
  .nos-stat-card--2       { bottom: 0; left: -.5rem; }
}


/* ============================================================
   CITA DEL CHEF
   ============================================================ */
.quote-section {
  background: var(--color-primary);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    60deg,
    rgba(212,163,115,.03) 0,
    rgba(212,163,115,.03) 1px,
    transparent 0,
    transparent 50px
  );
}

.quote-mark {
  font-family: var(--font-title);
  font-size: 10rem;
  line-height: .6;
  color: rgba(212,163,115,.15);
  display: block;
  margin-bottom: 1.5rem;
}

.quote-text {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.5;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.quote-text em { color: var(--color-gold); font-style: normal; }

.quote-author { display: flex; align-items: center; gap: 1rem; }

.quote-author-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}

.quote-author-name {
  font-family: var(--font-alt);
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-white);
  display: block;
}

.quote-author-role {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  display: block;
}

.quote-side-img {
  width: 100%;
  max-width: 400px;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.quote-side-badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.quote-side-badge-num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}

.quote-side-badge-label {
  font-size: .7rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  display: block;
  margin-top: .15rem;
}

@media (max-width: 991.98px) {
  .quote-side-img   { max-width: 100%; height: 280px; margin-top: 3rem; }
  .quote-side-badge { bottom: -.75rem; left: 1rem; }
}


/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-gold), var(--color-primary));
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2.5rem);
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item--right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2.5rem);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: calc(50% - 8px);
  top: 1.25rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-background-alt);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-year {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -1.75rem;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-background-alt);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.timeline-content {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--color-gold);
  max-width: 100%;
}

.timeline-item--right .timeline-content {
  border-left: none;
  border-right: 3px solid var(--color-accent);
}

.timeline-content h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767.98px) {
  .timeline::before { left: 16px; }
  .timeline-item,
  .timeline-item--right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 3.5rem;
  }
  .timeline-item::after { left: 8px; }
  .timeline-year { left: 3rem; transform: none; }
}


/* ============================================================
   PILARES / FILOSOFÍA
   ============================================================ */
.pillar-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(63,79,60,0.07);
  transition: var(--transition);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pillar-card--dark                    { background: var(--color-primary-dark); }
.pillar-card--dark .pillar-title      { color: var(--color-white); }
.pillar-card--dark .pillar-desc       { color: rgba(255,255,255,0.65); }
.pillar-card--dark .pillar-num        { color: rgba(212,163,115,0.15); }
.pillar-card--dark .pillar-icon       { color: var(--color-gold); }

.pillar-num {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(63,79,60,0.07);
  line-height: 1;
  margin-bottom: -1rem;
}

.pillar-icon {
  display: block;
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.pillar-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}


/* ============================================================
   VALORES
   ============================================================ */
.valores-section {
  background: var(--color-cream);
  padding: 5rem 0;
}

.valor-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(63,79,60,.1);
  transition: var(--transition);
}

.valor-row:first-child { padding-top: 0; }
.valor-row:last-child  { border-bottom: none; padding-bottom: 0; }
.valor-row:hover .valor-num { color: var(--color-accent); }

.valor-num {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  color: rgba(63,79,60,.08);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  transition: var(--transition);
}

.valor-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.valor-icon-wrap i { color: var(--color-gold); font-size: 1.3rem; }

.valor-body { flex: 1; }

.valor-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: .3rem;
}

.valor-desc {
  font-size: .9rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin: 0;
}

.valor-tag {
  display: inline-block;
  font-family: var(--font-alt);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(196,106,58,.3);
  border-radius: var(--radius-full);
  padding: .2rem .65rem;
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .valor-row { flex-wrap: wrap; gap: .75rem; }
  .valor-num { width: auto; }
  .valor-tag { display: none; }
}


/* ============================================================
   GALERÍA MOSAICO
   ============================================================ */
.gallery-section {
  background: var(--color-background-alt);
  padding: 5rem 0;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-cell {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-primary-dark);
  position: relative;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.gallery-cell:hover img { transform: scale(1.06); }

.gallery-cell--a { grid-column: 1 / 6;  grid-row: 1 / 3; min-height: 340px; }
.gallery-cell--b { grid-column: 6 / 9;  grid-row: 1 / 2; min-height: 160px; }
.gallery-cell--c { grid-column: 9 / 13; grid-row: 1 / 3; min-height: 340px; }
.gallery-cell--d { grid-column: 6 / 9;  grid-row: 2 / 3; min-height: 160px; }
.gallery-cell--e { grid-column: 1 / 5;  grid-row: 3 / 4; min-height: 200px; }
.gallery-cell--f { grid-column: 5 / 9;  grid-row: 3 / 4; min-height: 200px; }
.gallery-cell--g { grid-column: 9 / 13; grid-row: 3 / 4; min-height: 200px; }

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,33,18,.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .4s ease;
}

.gallery-cell:hover .gallery-caption { opacity: 1; }

.gallery-caption-text {
  font-family: var(--font-alt);
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .05em;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-cell--a { grid-column: 1 / 3; grid-row: 1; min-height: 220px; }
  .gallery-cell--b { grid-column: 1 / 2; grid-row: 2; min-height: 170px; }
  .gallery-cell--c { grid-column: 2 / 3; grid-row: 2; min-height: 170px; }
  .gallery-cell--d { grid-column: 1 / 2; grid-row: 3; min-height: 170px; }
  .gallery-cell--e { grid-column: 2 / 3; grid-row: 3; min-height: 170px; }
  .gallery-cell--f { grid-column: 1 / 2; grid-row: 4; min-height: 170px; }
  .gallery-cell--g { grid-column: 2 / 3; grid-row: 4; min-height: 170px; }
}


/* ============================================================
   FAQ — Grid editorial de tarjetas
   ============================================================ */
.faq-section {
  background: var(--color-background);
  padding: 5rem 0 4rem;
}

/* ── Tarjeta de pregunta ──────────────────────────────────── */
.faq-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  height: 100%;
  border: 1px solid rgba(63, 79, 60, .08);
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* Línea superior decorativa */
.faq-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-light), transparent);
  transition: background .35s ease;
}

.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.faq-card:hover::before {
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
}

/* Variante destacada (carta 04) */
.faq-card--accent {
  background: var(--color-primary-dark);
}

.faq-card--accent::before {
  background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
}

.faq-card--accent .faq-card-num  { color: rgba(212, 163, 115, .12); }
.faq-card--accent .faq-card-icon { background: rgba(212, 163, 115, .12); color: var(--color-gold); }
.faq-card--accent .faq-card-q    { color: var(--color-white); }
.faq-card--accent .faq-card-a    { color: rgba(255, 255, 255, .6); }

/* ── Cabecera interna de cada tarjeta ─────────────────────── */
.faq-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.faq-card-num {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(63, 79, 60, .06);
  display: block;
  /* Desplazamiento sutil hacia arriba para efecto decorativo */
  margin-top: -.4rem;
}

.faq-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(63, 79, 60, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease;
}

.faq-card:hover .faq-card-icon {
  background: var(--color-accent);
  color: #fff;
}

.faq-card--accent:hover .faq-card-icon {
  background: var(--color-gold);
  color: var(--color-primary-dark);
}

/* ── Texto ────────────────────────────────────────────────── */
.faq-card-q {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.35;
  margin-bottom: .85rem;
}

.faq-card-a {
  font-size: .88rem;
  color: var(--color-text-light);
  line-height: 1.85;
  margin: 0;
}

/* ── Tira de contacto inferior ────────────────────────────── */
.faq-contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding: 1.75rem 2.25rem;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
}

.faq-contact-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-alt);
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
}

.faq-contact-icon {
  font-size: 1.4rem;
  color: var(--color-gold);
  flex-shrink: 0;
}

.faq-contact-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.faq-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-alt);
  font-size: .82rem;
  font-weight: 600;
  padding: .65rem 1.35rem;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  transition: var(--transition);
  white-space: nowrap;
}

.faq-contact-btn:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.faq-contact-btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .8);
}

.faq-contact-btn--outline:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

@media (max-width: 767.98px) {
  .faq-contact-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .faq-contact-actions {
    width: 100%;
  }

  .faq-contact-btn {
    flex: 1;
    justify-content: center;
  }
}

/* ============================================================
   CTA — RESERVAR MESA
   (fondo de imagen con overlay terracota — claramente distinto del footer)
   ============================================================ */
.nos-cta {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  text-align: center;
}

/* Imagen de fondo */
.nos-cta-img-bg {
  position: absolute;
  inset: 0;
  background: url('../img/platos/menu_paella.webp') center / cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.nos-cta:hover .nos-cta-img-bg {
  transform: scale(1);
}

/* Overlay con gradiente cálido, claramente diferente al footer oscuro */
.nos-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(164, 70, 30, 0.92) 0%,
    rgba(44, 56, 41, 0.88) 100%
  );
}

.nos-cta-content {
  position: relative;
  z-index: 2;
}

/* Tag sobre fondo cálido */
.nos-cta-tag {
  color: rgba(255,255,255,.8) !important;
}

.nos-cta-tag::before,
.nos-cta-tag::after {
  background: rgba(255,255,255,.4) !important;
}

.nos-cta-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.12;
  margin-bottom: 0;
}

.nos-cta-title em {
  font-style: italic;
  color: var(--color-gold);
  font-weight: 400;
}

.nos-cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  max-width: 500px;
  margin: 1.25rem auto 0;
  line-height: 1.75;
}

.nos-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* Fila de badges de confianza */
.nos-cta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

.nos-cta-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-alt);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
}

.nos-cta-badge i {
  color: var(--color-gold);
  font-size: .9rem;
}

.nos-cta-sep {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.2);
}

@media (max-width: 575.98px) {
  .nos-cta-sep  { display: none; }
  .nos-cta-badges { gap: 1rem; }
}