/* ════════════════════════════════════════════════════════════
   NOSOTROS — About Page CSS
   Estética: Warm luxury · Brand storytelling · Institutional
   Prefijo: ns-
═══════════════════════════════════════════════════════════════ */

:root {
  --ns-warm:       #C4956A;
  --ns-warm-light: #D4A87A;
  --ns-warm-dark:  #A07850;
  --ns-cream:      #F5F0EA;
  --ns-cream-dark: #EDE6DC;
  --ns-dark:       #1A1A1A;
  --ns-dark-soft:  #2A2A2A;
  --ns-text:       #333333;
  --ns-text-muted: #777777;
  --ns-white:      #FFFFFF;
  --ns-orange:     #FF8800;
  --ns-orange-deep:#FF6600;

  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Lato', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container-max: 1280px;
  --header-h: 82px;
}

/* ═══════ RESET ═══════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: hidden; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--ns-text); background: var(--ns-cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); margin-bottom: 0.5rem; }
a { color: inherit; text-decoration: none; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ═══════ UTILITIES ═══════ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; width: 100%; }
@media (max-width: 767px) { .container { padding: 0 16px; } }
.text-center { text-align: center; }
.text-white { color: var(--ns-white); }
.text-light { color: #EAEAEA; }
.text-light--soft { opacity: 0.85; }
.text-muted-footer { color: #999999; transition: color 0.2s ease; }
.text-muted-footer:hover { color: var(--ns-orange); }
.ns-relative { position: relative; z-index: 2; }
.skip-link { position: absolute; top: -100px; left: 0; background: var(--ns-orange); color: var(--ns-white); padding: 12px 20px; z-index: 9999; font-weight: 600; }
.skip-link:focus { top: 0; }
*:focus-visible { outline: 2px solid var(--ns-orange); outline-offset: 3px; border-radius: 4px; }

/* ═══════ SECTIONS ═══════ */
.ns-section { padding: 60px 0; }
@media (min-width: 768px) { .ns-section { padding: 80px 0; } }
@media (min-width: 1024px) { .ns-section { padding: 100px 0; } }
.ns-section--white { background: var(--ns-white); }
.ns-section--cream { background: var(--ns-cream); }
.ns-section--dark  { background: var(--ns-dark); color: #EAEAEA; }

.ns-eyebrow {
  display: inline-block; font-family: var(--font-heading); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 1rem;
}
.ns-eyebrow--orange { color: var(--ns-orange); }
.ns-eyebrow--warm { color: var(--ns-warm); }

.ns-section-header { text-align: center; margin-bottom: 48px; }
.ns-section-header__sub { max-width: 640px; margin: 0 auto; font-size: 0.95rem; line-height: 1.7; color: var(--ns-text-muted); }
.ns-section-link { text-align: center; margin-top: 48px; }
@media (max-width: 767px) { .ns-section-link { padding: 0 16px; } }

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; font-family: var(--font-heading); font-size: 0.875rem;
  font-weight: 600; border-radius: var(--radius-sm); text-transform: uppercase;
  letter-spacing: 0.05em; text-align: center;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
@media (max-width: 767px) {
  .btn { width: 100%; padding: 16px 20px; font-size: 0.8rem; }
}
.btn-primary { background: linear-gradient(135deg, #FF9900 0%, #FF8800 100%); color: var(--ns-white); box-shadow: 0 4px 18px rgba(255,136,0,0.25); }
.btn-golden-glow:hover { background: linear-gradient(135deg, #FF8800 0%, #FF6600 100%); box-shadow: 0 0 24px rgba(255,136,0,0.35); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid rgba(0,0,0,0.15); color: var(--ns-text); }
.btn-outline:hover { border-color: var(--ns-orange); color: var(--ns-orange); transform: translateY(-2px); }
.btn-wsp { background: var(--ns-dark); color: var(--ns-white); border: 1px solid rgba(255,255,255,0.1); }
.btn-wsp:hover { background: var(--ns-dark-soft); box-shadow: 0 4px 18px rgba(0,0,0,0.2); transform: translateY(-2px); }
.btn-wsp svg { color: #25D366; }

/* ═══════ HEADER ═══════ */
.ns-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 14px 0;
  background: rgba(26,26,26,0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}
.ns-header.scrolled {
  background: rgba(26,26,26,0.96);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  padding: 8px 0;
}
.ns-header__inner { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.ns-nav { display: flex; align-items: center; gap: 14px; }
.ns-nav__logo img { height: 30px; width: auto; }
.ns-nav__links { display: none; margin-left: auto; gap: 22px; align-items: center; }
@media (min-width: 1024px) { .ns-nav__links { display: flex; } }
.ns-nav__link {
  color: var(--ns-white); font-family: var(--font-heading);
  font-size: 0.72rem; font-weight: 500; opacity: 0.8;
  transition: all 0.2s ease; position: relative; padding: 4px 0;
  letter-spacing: 0.02em;
}
.ns-nav__link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--ns-orange); transition: width 0.3s ease; }
.ns-nav__link:hover { color: var(--ns-orange); opacity: 1; }
.ns-nav__link:hover::after { width: 100%; }
.ns-nav__link.is-active { color: var(--ns-orange); opacity: 1; }

/* Dropdown */
.ns-nav__item--dropdown { position: relative; }
.ns-nav__link--dropdown { display: inline-flex; align-items: center; gap: 4px; }
.ns-dropdown-chevron { transition: transform 0.3s ease; }
.ns-nav__link--dropdown[aria-expanded="true"] .ns-dropdown-chevron { transform: rotate(180deg); }
.ns-nav-dropdown {
  position: absolute; top: calc(100% + 16px); left: -16px;
  min-width: 280px;
  background: rgba(26,26,26,0.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md); padding: 12px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); z-index: 100;
}
.ns-nav__item--dropdown:hover .ns-nav-dropdown,
.ns-nav__link--dropdown[aria-expanded="true"] + .ns-nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.ns-nav-dropdown__link { display: flex; flex-direction: column; padding: 12px 16px; border-radius: var(--radius-sm); transition: all 0.2s ease; }
.ns-nav-dropdown__link:hover { background: rgba(255,136,0,0.08); }
.ns-nav-dropdown__label { font-family: var(--font-heading); font-weight: 600; color: var(--ns-white); font-size: 0.9rem; }
.ns-nav-dropdown__sub { font-size: 0.72rem; color: #999999; margin-top: 2px; }
.ns-nav-dropdown__link--all { color: var(--ns-orange) !important; font-weight: 600; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 6px; padding-top: 16px; font-family: var(--font-heading); font-size: 0.82rem; }
.ns-nav__cta {
  margin-left: auto; background: var(--ns-orange-deep); color: var(--ns-white);
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: all 0.3s ease; display: none;
}
@media (min-width: 1024px) { .ns-nav__cta { display: inline-flex; margin-left: 0; } }
.ns-nav__cta:hover { background: #E67A00; box-shadow: 0 0 24px rgba(255,136,0,0.35); }

/* Mobile toggle */
.ns-nav__toggle { display: flex; flex-direction: column; gap: 5px; padding: 6px; z-index: 1001; margin-left: auto; }
.ns-nav__bar { width: 24px; height: 2px; background: var(--ns-white); border-radius: 2px; transition: all 0.3s ease; }
@media (min-width: 1024px) { .ns-nav__toggle { display: none; } }
@media (max-width: 1023px) {
  .ns-nav__links {
    position: fixed; top: 0; right: 0; width: min(85%, 360px); height: 100vh;
    background: rgba(26,26,26,0.98); backdrop-filter: blur(20px);
    display: flex; flex-direction: column;
    padding: 100px 32px 32px; gap: 8px;
    transform: translateX(100%); transition: transform 0.4s ease;
    border-left: 1px solid rgba(255,255,255,0.08);
  }
  .ns-nav__links.is-open { transform: translateX(0); }
  .ns-nav__links > li { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .ns-nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; backdrop-filter: none; border: none; box-shadow: none;
    padding: 8px 0 0 16px; min-width: 0; display: none;
  }
  .ns-nav__link--dropdown[aria-expanded="true"] + .ns-nav-dropdown { display: block; }
}

/* ═══════ HERO ═══════ */
.ns-hero {
  position: relative; min-height: 55vh; display: flex; align-items: center;
  overflow: hidden; background: var(--ns-dark);
}
@media (min-width: 768px) { .ns-hero { min-height: 50vh; } }
.ns-hero__media { position: absolute; inset: 0; z-index: 1; }
.ns-hero__media picture { display: block; width: 100%; height: 100%; }
.ns-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ns-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.65) 45%, rgba(26,26,26,0.35) 100%);
}
.ns-hero__content { position: relative; z-index: 2; width: 100%; padding: calc(var(--header-h) + 48px) 0 56px; }
.ns-hero__eyebrow {
  display: block; font-family: var(--font-heading); font-size: 0.75rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ns-orange); margin-bottom: 4px; font-weight: 600;
}
.ns-hero__title {
  font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700; color: var(--ns-white); line-height: 1.05;
  margin-bottom: 16px; text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.ns-hero__desc {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem); color: #EAEAEA;
  max-width: 560px; opacity: 0.9; line-height: 1.7;
}

/* Breadcrumb */
.ns-breadcrumb { margin-bottom: 20px; }
.ns-breadcrumb ol { display: flex; align-items: center; gap: 8px; }
.ns-breadcrumb li { font-size: 0.8rem; color: #999999; font-family: var(--font-heading); }
.ns-breadcrumb li + li::before { content: '›'; margin-right: 8px; color: #666666; }
.ns-breadcrumb a { color: #999999; transition: color 0.2s ease; }
.ns-breadcrumb a:hover { color: var(--ns-orange); }
.ns-breadcrumb [aria-current="page"] { color: var(--ns-orange); font-weight: 600; }
@media (max-width: 767px) {
  .ns-hero { min-height: 55vh; }
  .ns-hero__overlay { background: linear-gradient(180deg, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.65) 60%, rgba(26,26,26,0.4) 100%); }
}

/* ═══════ STATS BAR ═══════ */
.ns-stats {
  background: var(--ns-white); border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 40px 0;
}
.ns-stats__grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 24px;
}
@media (min-width: 768px) { .ns-stats__grid { gap: 0; } }
.ns-stats__item { text-align: center; flex: 1 1 140px; min-width: 120px; }
.ns-stats__number {
  display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--ns-orange); line-height: 1;
}
.ns-stats__label {
  display: block; font-family: var(--font-heading); font-size: 0.72rem;
  letter-spacing: 0.06em; color: var(--ns-text-muted); margin-top: 6px;
  text-transform: uppercase; font-weight: 600; line-height: 1.4;
}
.ns-stats__divider {
  width: 1px; height: 50px; background: rgba(0,0,0,0.08);
  flex-shrink: 0; display: none;
}
@media (min-width: 768px) { .ns-stats__divider { display: block; } }

/* ═══════ NUESTRA HISTORIA ═══════ */
.ns-historia__layout {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 768px) { .ns-historia__layout { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
@media (min-width: 1024px) { .ns-historia__layout { gap: 80px; } }

.ns-historia__content p { margin-bottom: 16px; color: var(--ns-text-muted); line-height: 1.8; font-size: 0.95rem; }
.ns-historia__content p strong { color: var(--ns-text); font-weight: 600; }
.ns-historia__content p:last-child { margin-bottom: 0; }

.ns-historia__visual { position: relative; }
.ns-historia__img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
.ns-historia__accent {
  position: absolute; bottom: -16px; left: -16px;
  background: var(--ns-orange); color: var(--ns-white);
  padding: 16px 24px; border-radius: var(--radius-md);
  text-align: center; box-shadow: 0 12px 32px rgba(255,136,0,0.3);
}
.ns-historia__accent strong {
  display: block; font-family: var(--font-heading); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; opacity: 0.9;
}
.ns-historia__accent span {
  display: block; font-family: var(--font-display); font-size: 2.2rem;
  font-weight: 700; line-height: 1;
}
@media (max-width: 767px) {
  .ns-historia__accent { bottom: -12px; left: 16px; padding: 12px 18px; }
  .ns-historia__accent span { font-size: 1.6rem; }
}

/* ═══════ VALORES / PILARES ═══════ */
.ns-valores__grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 640px) { .ns-valores__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ns-valores__grid { grid-template-columns: repeat(4, 1fr); } }

.ns-valor-card {
  background: var(--ns-cream); border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-lg); padding: 36px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.ns-valor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,136,0,0.2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}
.ns-valor-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,136,0,0.08); color: var(--ns-orange);
  margin: 0 auto 20px;
}
.ns-valor-card h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.ns-valor-card p {
  font-size: 0.875rem; color: var(--ns-text-muted); line-height: 1.7;
}

/* ═══════ COMPROMISO ═══════ */
.ns-compromiso { position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: center; }
.ns-compromiso__bg { position: absolute; inset: 0; z-index: 1; }
.ns-compromiso__bg picture { display: block; width: 100%; height: 100%; }
.ns-compromiso__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ns-compromiso__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.7) 50%, rgba(26,26,26,0.5) 100%);
}
.ns-compromiso__content { max-width: 640px; }
.ns-compromiso__content p { font-size: clamp(0.95rem, 1.2vw, 1.1rem); line-height: 1.8; margin-top: 8px; }

/* ═══════ CTA FINAL ═══════ */
.ns-cta-final { text-align: center; }
.ns-cta-content { max-width: 640px; margin: 0 auto; }
.ns-cta-content__sub { max-width: 480px; margin: 0 auto 32px; font-size: 0.95rem; color: var(--ns-text-muted); line-height: 1.7; }
.ns-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
@media (max-width: 767px) { .ns-cta-buttons { flex-direction: column; align-items: stretch; } }

/* ═══════ FOOTER ═══════ */
.bg-dark{background-color:var(--ns-dark);color:#EAEAEA}.text-muted{color:#999}.hover-primary{transition:color .2s}.hover-primary:hover{color:var(--ns-orange)}.flex-between{display:flex;justify-content:space-between;align-items:center;gap:1rem}.border-top-subtle{border-top:1px solid rgba(255,255,255,.08)}
.site-footer { padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 38px; width: auto; }
.footer-brand__tagline { margin-top: 1rem; font-size: 0.875rem; max-width: 260px; line-height: 1.7; color: #999999; }
.footer-contact { margin-top: 1.5rem; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-item.align-top { align-items: flex-start; }
.icon-primary { color: var(--ns-orange); flex-shrink: 0; }
.mt-fix { margin-top: 1px; }
.footer-links h5, .footer-social h5 { color: var(--ns-orange); margin-bottom: 18px; letter-spacing: 0.18em; font-size: 0.75rem; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #999999; font-size: 0.85rem; transition: all 0.2s ease; display: inline-block; }
.footer-links a:hover { color: var(--ns-orange); padding-left: 5px; }
.social-icons { display: flex; gap: 16px; }
.social-icons a { color: #999999; transition: all 0.3s ease; }
.social-icons a:hover { color: var(--ns-orange); transform: translateY(-2px); }
.footer-wsp { margin-top: 1.5rem; }
.footer-wsp h5 { color: var(--ns-orange); margin-bottom: 0.5rem; letter-spacing: 0.18em; font-size: 0.75rem; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; }
.footer-wsp-link { display: block; font-size: 0.75rem; color: #999999; margin-top: 6px; transition: all 0.2s ease; }
.footer-wsp-link:hover { color: var(--ns-orange); }
.footer-bottom { padding-top: 2rem; margin-top: 2rem; }
.footer-bottom__copy { font-size: 0.8rem; }
.footer-bottom__disclaimer { font-size: 0.75rem; max-width: 400px; text-align: right; color: #666666; }
@media (max-width: 767px) {
  .flex-between { flex-direction: column; align-items: flex-start; }
  .footer-bottom__disclaimer { text-align: left; max-width: 100%; }
}

/* ═══════ ANIMATIONS ═══════ */
.js-fade {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-fade.is-visible { opacity: 1; transform: translateY(0); }
.fade-delay-1 { transition-delay: 0.15s; }
.fade-delay-2 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js-fade { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}