/* ==========================================================
   ESSENZA · SERVICE PAGES (Optimized)
   File: /assets/css/services.css
   Notes:
   - Uses your global variables: --oxford, --xeketic, --azure, --radius
   - Safe fallbacks included.
   ========================================================== */

:root{
  --oxford: var(--oxford, #0b2d4f);
  --xeketic: var(--xeketic, #140f16);
  --azure: var(--azure, #eaf9fb);
  --radius: var(--radius, 18px);

  --card-border: rgba(20,20,20,.08);
  --muted: rgba(20,20,20,.70);
  --muted-2: rgba(20,20,20,.55);
  --shadow-sm: 0 10px 26px rgba(0,0,0,.06);
  --shadow-md: 0 18px 44px rgba(0,0,0,.08);
}

/* Base wrapper */
.service-page{
  overflow-x: clip;
}

/* ==========================================================
   HERO
   ========================================================== */
.service-hero{
  padding: 5.2rem 0 3.2rem;
  background:
    radial-gradient(1200px 420px at 20% 20%, rgba(11,45,79,.06), transparent 55%),
    linear-gradient(180deg, rgba(197,245,244,.38) 0%, rgba(255,255,255,1) 70%);
  position: relative;
}

.service-kicker{
  letter-spacing: .34em;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(20,20,20,.55);
  margin: 0 0 .8rem;
}

.service-hero h1{
  margin: 0 0 .7rem;
}

.service-subtitle{
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* subtle underline accent */
.service-hero .container{
  position: relative;
}
.service-hero .container::after{
  content:"";
  display:block;
  width: 160px;
  height: 1px;
  background: rgba(20,20,20,.12);
  margin-top: 2rem;
}

/* ==========================================================
   Intro panel (Quién es)
   ========================================================== */
.service-panel{
  background: #fff;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(20,20,20,.06);
  box-shadow: var(--shadow-sm);
  padding: 2.2rem 2.2rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.service-panel::before{
  content:"";
  position:absolute;
  inset: 14px 14px auto 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11,45,79,.34), rgba(11,45,79,0));
  opacity: .65;
}

.service-panel h2{
  margin: 0 0 .7rem;
}
.service-panel p{
  margin: 0;
  color: var(--muted);
}

/* ==========================================================
   Section spacing (keeps your .section / .section-alt)
   ========================================================== */
.section{
  padding: 4rem 0;
}
.section-alt{
  background: var(--azure);
}

/* ==========================================================
   Qué incluye
   ========================================================== */
.service-columns{
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 2rem;
  margin-top: 1.6rem;
  align-items: start;
}

.service-list{
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
}
.service-list li{
  margin: .55rem 0;
}

.service-note{
  background: #fff;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(20,20,20,.06);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem 1.8rem;
}
.service-note h3{
  margin: 0 0 .9rem;
  font-size: 1rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(20,20,20,.58);
}
.service-note p{
  margin: 0;
  color: rgba(20,20,20,.80);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* ==========================================================
   Steps (Cómo trabajamos)
   ========================================================== */
.steps-minimal{
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 1.1rem;
  max-width: 980px;
}
.steps-minimal > li{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid rgba(20,20,20,.06);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s cubic-bezier(.2,.8,.2,1);
}
.steps-minimal > li:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(0,0,0,.08);
}
.step-num{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(11,45,79,.08);
  color: rgba(11,45,79,.90);
  font-weight: 700;
  letter-spacing: .06em;
}
.step-body h3{
  margin: 0 0 .35rem;
  font-weight: 600;
  font-size: 1.05rem;
}
.step-body p{
  margin: 0;
  color: var(--muted);
}

/* ==========================================================
   Fit (Ideal / No está pensado)
   ========================================================== */
.fit-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.fit-card{
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(20,20,20,.06);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-sm);
  padding: 1.7rem 1.7rem;
  backdrop-filter: blur(6px);
}
.fit-card h3{
  margin: 0 0 .9rem;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(20,20,20,.60);
}

.fit-list{
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
}
.fit-list li{ margin: .45rem 0; }

/* ==========================================================
   CTA
   ========================================================== */
.service-cta{
  padding: 4.2rem 0;
  background:
    radial-gradient(700px 300px at 70% 20%, rgba(11,45,79,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(197,245,244,.28) 100%);
}
.service-cta-inner{
  background: #fff;
  border: 1px solid rgba(20,20,20,.06);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-md);
  padding: 2.6rem 2.4rem;
  text-align: center;
}

.service-muted{
  color: rgba(20,20,20,.68);
  max-width: 62ch;
  margin: .8rem auto 1.8rem;
}

/* Button polish without breaking your global .btn */
.btn.btn-primary{
  border-radius: 999px;
  padding: .95rem 1.5rem;
  box-shadow: 0 12px 26px rgba(11,45,79,.18);
}
.btn.btn-primary:hover{
  transform: translateY(-1px);
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px){
  .service-hero{ padding: 4.3rem 0 2.7rem; }
  .service-subtitle{ font-size: 1rem; }

  .service-columns{ grid-template-columns: 1fr; }
  .service-note{ order: 2; }

  .fit-grid{ grid-template-columns: 1fr; }

  .steps-minimal > li{ grid-template-columns: 64px 1fr; }
  .step-num{ width: 50px; height: 50px; }
}

@media (max-width: 520px){
  .section{ padding: 3.2rem 0; }
  .service-panel{ padding: 1.6rem 1.4rem; }
  .steps-minimal > li{ padding: 1.25rem 1.2rem; }
  .service-cta-inner{ padding: 2.2rem 1.4rem; }
  .service-hero .container::after{ width: 120px; }
}
