/* LIBELAW · Conócenos
   Página de misión, visión, filosofía y marca.
   Reutiliza los tokens de styles.css y el encabezado de experience.css. */

.firma-hero{
  position:relative;
  padding-block:92px 84px;
  background:
    radial-gradient(120% 90% at 88% 8%, #ffffff 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg,#faf8f3 0%,#f5f2ea 100%);
  border-bottom:1px solid var(--line);
}
.firma-hero-inner{display:grid;grid-template-columns:1.15fr .85fr;gap:72px;align-items:end}
.firma-hero h1{font-size:clamp(2.9rem,5.2vw,4.5rem);line-height:1.04;letter-spacing:-.045em;margin-bottom:26px}
.firma-hero h1 em{color:var(--wine);font-style:italic}
.firma-lead{max-width:520px;font-size:.97rem;line-height:1.95;color:var(--muted)}

.firma-index{border:1px solid var(--line);background:#fff;box-shadow:0 22px 55px #142c450a}
.firma-index a{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:18px;padding:22px 26px;border-bottom:1px solid var(--line);transition:background .2s ease}
.firma-index a:last-child{border-bottom:0}
.firma-index a:hover,.firma-index a:focus-visible{background:#fbf9f3}
.firma-index span{grid-row:1/3;font:22px/1 var(--serif);color:var(--gold);padding-top:3px}
.firma-index strong{font-size:.9rem;font-weight:600;color:var(--navy)}
.firma-index small{font-size:.72rem;color:var(--muted);margin-top:3px}

.firma-section{padding-block:96px}
.firma-section-head{max-width:720px;margin-bottom:52px}
.firma-section-head h2{font-size:clamp(2.2rem,3.8vw,3.2rem);letter-spacing:-.04em;margin-bottom:18px}
.firma-section-head p:not(.eyebrow){font-size:.93rem;line-height:1.9;color:var(--muted);max-width:560px}

.mv-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.mv-card{position:relative;background:#fff;border:1px solid var(--line);padding:42px 40px 44px}
.mv-card:before{content:'';position:absolute;top:0;left:0;width:100%;height:3px;background:var(--gold)}
.mv-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}
.mv-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#f7f0e2;color:var(--gold)}
.mv-icon svg{width:26px;height:26px}
.mv-index{font-size:.6rem;letter-spacing:.18em;font-weight:700;color:var(--muted)}
.mv-card h3{font-size:1.9rem;letter-spacing:-.03em;margin-bottom:18px}
.mv-card p{font-size:.9rem;line-height:1.95;color:var(--muted);margin-bottom:14px}
.mv-card p:last-child{margin-bottom:0}

.firma-philosophy{background:var(--navy);color:#fff;padding-block:104px}
.firma-philosophy .container{max-width:1000px}
.firma-quote{font:clamp(2.1rem,4.4vw,3.7rem)/1.25 var(--serif);letter-spacing:-.035em;margin:0}
.firma-quote em{color:#e1c28d;font-style:italic}
.firma-cite{display:block;margin-top:30px;font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:#b8c9dc;font-style:normal}

.firma-story{padding-block:96px}
.story-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}
.story-grid h2{font-size:clamp(2rem,3.4vw,2.9rem);letter-spacing:-.04em}
.story-grid h2 em{color:var(--wine);font-style:italic}
.story-copy p{font-size:.97rem;line-height:2;color:var(--ink);margin-bottom:20px;max-width:620px}
.story-copy .story-sign{font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin-top:32px}

.firma-brand{background:#f3f1eb;border-block:1px solid var(--line);padding-block:96px}
.brand-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center;margin-bottom:46px}
.brand-copy h2{font-size:clamp(2.1rem,3.6vw,3rem);letter-spacing:-.04em;margin-bottom:22px}
.brand-copy h2 em{color:var(--wine);font-style:italic}
.brand-copy p{font-size:.93rem;line-height:1.95;color:var(--muted);max-width:540px}
.brand-colors{display:flex;gap:34px;margin:26px 0;flex-wrap:wrap}
.brand-colors span{display:flex;align-items:center;gap:10px;font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--navy);font-weight:700}
.brand-colors i{width:34px;height:34px;border-radius:50%;display:block;border:1px solid #142c4514}
.brand-figure{position:relative;isolation:isolate;background:#fff;border:1px solid var(--line);padding:34px;display:grid;place-items:center}
.brand-figure:after{content:'';position:absolute;inset:14px -14px -14px 14px;border:1px solid var(--gold);z-index:-1}
.brand-figure img{width:132px;height:auto;mix-blend-mode:multiply}
.brand-figure figcaption{margin-top:22px;font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);text-align:center;line-height:1.8}
.brand-close{font-size:.93rem;line-height:2;color:var(--ink);max-width:900px;border-top:1px solid #ddd6c6;padding-top:34px}

.firma-cta{background:var(--navy-dark);color:#fff;padding-block:84px}
.firma-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap}
.firma-cta h2{font-size:clamp(1.9rem,3.2vw,2.7rem);letter-spacing:-.04em}
.firma-cta h2 em{color:#e1c28d;font-style:italic}
.firma-cta-actions{display:flex;gap:14px;flex-wrap:wrap}
.button-light{background:#faf8f3;border-color:#faf8f3;color:var(--navy)}
.button-light:hover{background:#fff;color:var(--navy)}
.button-ghost{background:transparent;border-color:#ffffff59;color:#fff}
.button-ghost:hover{background:#ffffff12;color:#fff}

@media(max-width:1050px){
  .firma-hero-inner,.brand-grid{gap:48px}
}
@media(max-width:900px){
  .firma-hero-inner{grid-template-columns:1fr;gap:38px;align-items:start}
  .firma-index{max-width:520px}
  .mv-grid{grid-template-columns:1fr}
  .story-grid,.brand-grid{grid-template-columns:1fr;gap:34px}
  .firma-section,.firma-story,.firma-brand{padding-block:70px}
}
@media(max-width:760px){
  .firma-hero{padding-block:56px}
  .firma-hero h1{font-size:clamp(2.4rem,9.6vw,3.3rem)}
  .firma-index a{padding:18px 20px}
  .firma-quote{font-size:clamp(1.75rem,7.6vw,2.4rem)}
  .firma-philosophy{padding-block:72px}
  .mv-card{padding:30px 24px 32px}
  .mv-card h3{font-size:1.6rem}
  .brand-figure{padding:26px}
  .firma-cta{padding-block:64px}
  .firma-cta-actions{width:100%}
  .firma-cta-actions .button{flex:1;min-width:170px}
}

/* Filosofía: cita y explicación en un mismo panel azul. */
.firma-philosophy{padding-block:78px 86px}
.firma-philosophy .philosophy-story{max-width:1000px;margin-top:58px;padding-top:46px;border-top:1px solid #ffffff3d}
.philosophy-story .eyebrow{color:#e5c994}
.philosophy-story h2,.philosophy-story h2 em{color:#fff}
.philosophy-story .story-copy p{color:#dce6f1}
.philosophy-story .story-copy .story-sign{color:#e5c994;border-color:#ffffff3d}
@media(max-width:760px){.firma-philosophy{padding-block:62px 68px}.firma-philosophy .philosophy-story{margin-top:38px;padding-top:32px}}
