/* ============================================================
   EFINIA – Quiénes Somos
   Archivo: efinia-quienes-somos.css
   Subir vía FTP a: /templates/assets/css/
   Vincular en la página estática de Tiendanube con:
   <link rel="stylesheet" href="{{ 'efinia-quienes-somos.css' | asset_url }}">
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --cream:  #FDFAF4;
  --blush:  #F5EDD8;
  --sage:   #e5d4a7;
  --terra:  #B89A5A;
  --deep:   #3A2F1E;
  --muted:  #8A7A56;
  --accent: #e5d4a7;
  --verdelindo: #c8d8c0;
}

/* ── RESET SCOPED ── */
.efinia-qs *,
.efinia-qs *::before,
.efinia-qs *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.efinia-qs {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--deep);
  overflow-x: hidden;
  background-color: var(--cream);
}

/* ── HERO ── */
.efinia-qs .hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.efinia-qs .hero-left {
  background-color: var(--blush);
  display: flex;
  align-items: flex-end;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

.efinia-qs .hero-left::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--terra);
  opacity: 0.12;
}

.efinia-qs .hero-left::after {
  content: '';
  position: absolute;
  bottom: 40px; left: 40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.35;
}

.efinia-qs .brand-block {
  position: relative;
  z-index: 2;
}

.efinia-qs .brand-tag {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 16px;
}

.efinia-qs .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(64px, 10vw, 110px);
  line-height: 0.9;
  color: var(--deep);
}

.efinia-qs .brand-year {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
  letter-spacing: 0.1em;
}

.efinia-qs .hero-right {
  background-color: var(--terra);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.efinia-qs .hero-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(229,212,167,0.22) 0%, transparent 60%);
}

.efinia-qs .hero-right h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 32px;
  position: relative;
}

.efinia-qs .hero-right h1 em {
  color: var(--terra);
  font-style: italic;
}

.efinia-qs .hero-intro {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(250,247,242,0.75);
  max-width: 440px;
  position: relative;
}

.efinia-qs .scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250,247,242,0.4);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: efinia-bounce 2.4s infinite;
}

.efinia-qs .scroll-hint svg { opacity: 0.5; }

@keyframes efinia-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── STORY ── */
.efinia-qs .story {
  padding: 120px 6vw;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.efinia-qs .story-aside {
  position: sticky;
  top: 40px;
}

.efinia-qs .section-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 24px;
}

.efinia-qs .aside-quote {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  line-height: 1.4;
  color: var(--deep);
  font-style: italic;
}

.efinia-qs .aside-line {
  width: 48px;
  height: 2px;
  background: var(--terra);
  margin-top: 32px;
}

.efinia-qs .story-body p {
  font-size: 17px;
  line-height: 1.9;
  color: #5C4A2A;
  margin-bottom: 28px;
}

.efinia-qs .story-body p:first-child::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  float: left;
  line-height: 0.75;
  margin-right: 12px;
  color: var(--terra);
}

.efinia-qs .highlight-box {
  background: var(--blush);
  border-left: 3px solid var(--terra);
  padding: 24px 32px;
  margin: 40px 0;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--deep);
  line-height: 1.6;
}

/* ── LORENA ── */
.efinia-qs .lorena {
  background-color: #c8d8c0;
  padding: 120px 6vw;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.efinia-qs .lorena::after {
  content: 'L';
  font-family: 'Playfair Display', serif;
  font-size: 500px;
  color: rgba(255,255,255,0.2);
  position: absolute;
  right: -40px;
  bottom: -80px;
  line-height: 1;
  pointer-events: none;
}

.efinia-qs .lorena-content { position: relative; z-index: 2; }

.efinia-qs .lorena-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 58px);
  color: var(--verdelindo);
  line-height: 1.1;
  margin-bottom: 32px;
}

.efinia-qs .lorena-content h2 span {
  display: block;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 8px;
}

.efinia-qs .lorena-content p {
  font-size: 17px;
  line-height: 1.85;
  color: #3A2F1E;
  margin-bottom: 24px;
}

.efinia-qs .lorena-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(59,46,42,0.12);
}

.efinia-qs .lorena-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--blush);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: var(--terra);
}

.efinia-qs .lorena-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--deep);
  margin-bottom: 6px;
}

.efinia-qs .lorena-card .role {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
}

.efinia-qs .lorena-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── PILLARS ── */
.efinia-qs .pillars {
  padding: 120px 6vw;
}

.efinia-qs .pillars-header {
  text-align: center;
  margin-bottom: 80px;
}

.efinia-qs .pillars-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.5vw, 52px);
  color: var(--deep);
  line-height: 1.2;
}

.efinia-qs .pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--blush);
}

.efinia-qs .pillar {
  background: var(--cream);
  padding: 56px 40px;
  transition: background 0.3s;
}

.efinia-qs .pillar:hover { background: var(--blush); }

.efinia-qs .pillar-icon {
  font-size: 36px;
  margin-bottom: 24px;
  display: block;
}

.efinia-qs .pillar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--deep);
  margin-bottom: 16px;
}

.efinia-qs .pillar p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* ── CATEGORIES ── */
.efinia-qs .categories {
  background: var(--deep);
  padding: 80px 6vw;
  overflow: hidden;
}

.efinia-qs .categories h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--cream);
  text-align: center;
  margin-bottom: 56px;
}

.efinia-qs .cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.efinia-qs .cat-item {
  background: rgba(250,247,242,0.04);
  border: 1px solid rgba(250,247,242,0.08);
  padding: 36px 20px;
  text-align: center;
  transition: background 0.3s, border-color 0.3s;
  cursor: default;
}

.efinia-qs .cat-item:hover {
  background: rgba(229,212,167,0.15);
  border-color: var(--accent);
}

.efinia-qs .cat-item .cat-icon {
  font-size: 30px;
  margin-bottom: 14px;
  display: block;
}

.efinia-qs .cat-item span {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(250,247,242,0.7);
  text-transform: uppercase;
}

/* ── CLOSING ── */
.efinia-qs .closing {
  padding: 120px 6vw;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.efinia-qs .closing h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 54px);
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 32px;
}

.efinia-qs .closing h2 em {
  color: var(--terra);
  font-style: italic;
}

.efinia-qs .closing p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 48px;
}

.efinia-qs .cta-btn {
  display: inline-block;
  background: var(--terra);
  color: var(--cream);
  padding: 16px 48px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.efinia-qs .cta-btn:hover {
  background: var(--deep);
  transform: translateY(-2px);
}

/* ── ANIMACIONES ── */
.efinia-qs .fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.efinia-qs .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .efinia-qs .hero              { grid-template-columns: 1fr; min-height: auto; }
  .efinia-qs .hero-left         { padding: 80px 32px 60px; min-height: 50vh; align-items: center; }
  .efinia-qs .hero-right        { padding: 60px 32px 80px; }
  .efinia-qs .story             { grid-template-columns: 1fr; gap: 40px; padding: 80px 6vw; }
  .efinia-qs .story-aside       { position: static; }
  .efinia-qs .lorena            { grid-template-columns: 1fr; gap: 48px; padding: 80px 6vw; }
  .efinia-qs .lorena::after     { display: none; }
  .efinia-qs .pillars-grid      { grid-template-columns: 1fr; }
  .efinia-qs .cat-grid          { grid-template-columns: repeat(2, 1fr); }
}
