/* =========================================================
   WELDING SERVICES - SKELETON BASE
   ESTA HOJA ES SOLO PARA ARMAR ESTRUCTURA
   LUEGO LE QUITAS LOS COLORES DEBUG Y METES EL DISEÑO FINAL
========================================================= */

:root{
  --efw-bg:#080808;
  --efw-bg-soft:#111111;
  --efw-text:#f5f1e8;
  --efw-muted:#c8c0b2;
  --efw-gold:#c7a76a;
  --efw-gold-2:#e3c78d;
  --efw-line:rgba(199,167,106,.28);

  --efw-container:1200px;
  --efw-radius:0;
  --efw-shadow:0 16px 40px rgba(0,0,0,.35);

  --efw-hero-notch-desktop:88px;
  --efw-section-notch-desktop:78px;

  --efw-debug-intro:rgba(0, 90, 170, .20);
  --efw-debug-services:rgba(130, 70, 0, .18);
  --efw-debug-process:rgba(0, 120, 80, .20);
  --efw-debug-gallery:rgba(120, 0, 90, .18);
  --efw-debug-cta:rgba(170, 40, 0, .18);
}

/* =========================================================
   RESET BÁSICO
========================================================= */

.efw-page,
.efw-page *{
  box-sizing:border-box;
}

.efw-page{
  background:var(--efw-bg);
  color:var(--efw-text);
  overflow:hidden;
}

.efw-page a{
  text-decoration:none;
}

.efw-container{
  width:min(var(--efw-container), calc(100% - 32px));
  margin:0 auto;
}

/* =========================================================
   BOTONES
========================================================= */

.efw-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:200px;
  min-height:52px;
  padding:14px 26px;
  border:1px solid transparent;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  transition:all .25s ease;
}

.efw-btn--gold{
  background:var(--efw-gold);
  color:#111;
  border-color:var(--efw-gold);
}

.efw-btn--gold:hover{
  background:transparent;
  color:var(--efw-gold-2);
}

.efw-btn--ghost{
  background:rgba(255,255,255,.02);
  color:var(--efw-gold-2);
  border-color:rgba(199,167,106,.7);
}

.efw-btn--ghost:hover{
  background:var(--efw-gold);
  color:#111;
}

/* =========================================================
   HERO
========================================================= */

.efw-hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:center;
  padding:130px 0 180px;
  background:#050505;
  overflow:hidden;
}

/* =========================================================
   IMAGE HERO
   IMPORTANTE:
   Esta ruta funciona si Welding-Services.css está en:
   /wp-content/themes/Elite-Finish-Pro/
   y la imagen en:
   /wp-content/themes/Elite-Finish-Pro/assets/images/fense_metal.png
========================================================= */

.efw-hero__bg{
  position:absolute;
  inset:0;
  background-color:#050505;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.28)),
    linear-gradient(90deg, rgba(0,0,0,.10), rgba(0,0,0,.04));
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.28)),
    linear-gradient(90deg, rgba(0,0,0,.10), rgba(0,0,0,.04)),
    url('assets/images/fense_metal.png');
  background-size:
    auto,
    auto,
    cover;
  background-position:
    center,
    center,
    center center;
  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat;
  filter:brightness(1.42) saturate(0.90) contrast(1.02);
}

/* ==================================================================
===================================================================== */

.efw-hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.14) 45%, rgba(0,0,0,.30) 100%);
}

.efw-hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.46) 100%);
}

.efw-hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:var(--efw-hero-notch-desktop);
  background:var(--efw-debug-intro);
  clip-path:polygon(0 0, 50% 100%, 100% 0, 100% 100%, 0 100%);
  border-top:1px solid rgba(199,167,106,.24);
}

.efw-hero__inner{
  position:relative;
  z-index:2;
  max-width:860px;
}

.efw-hero__meta{
  margin:0 0 18px;
  color:var(--efw-gold-2);
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.efw-hero__title{
  margin:0 0 22px;
  font-size:clamp(40px, 7vw, 82px);
  line-height:.95;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.efw-hero__text{
  max-width:720px;
  margin:0 0 30px;
  color:var(--efw-muted);
  font-size:18px;
  line-height:1.75;
}

.efw-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:10px;
}

.efw-hero__actions--center{
  justify-content:center;
}

.efw-trust{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:26px;
}

.efw-trust__item{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border:1px solid rgba(199,167,106,.22);
  background:rgba(255,255,255,.03);
  backdrop-filter:blur(4px);
}

.efw-trust__icon{
  color:var(--efw-gold-2);
  font-size:14px;
  letter-spacing:.08em;
}

.efw-trust__label{
  color:#f1e7d5;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* =========================================================
   SECCIONES GENERALES
========================================================= */

.efw-section{
  position:relative;
  padding:110px 0;
  border-top:1px solid rgba(199,167,106,.10);
}

.efw-section--notch-top::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:var(--efw-section-notch-desktop);
  background:var(--section-bg, rgba(255,255,255,.04));
  clip-path:polygon(0 100%, 50% 0, 100% 100%);
  transform:translateY(-100%);
  border-bottom:1px solid rgba(199,167,106,.18);
}

.efw-section-heading{
  max-width:780px;
  margin:0 auto 50px;
  text-align:center;
}

.efw-kicker{
  margin:0 0 12px;
  color:var(--efw-gold-2);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.efw-section-heading h2,
.efw-cta h2{
  margin:0 0 16px;
  font-size:clamp(28px, 4vw, 52px);
  line-height:1.05;
  text-transform:uppercase;
}

.efw-section-heading p,
.efw-cta p{
  margin:0;
  color:var(--efw-muted);
  font-size:17px;
  line-height:1.8;
}

/* =========================================================
   COLORES DEBUG
========================================================= */

.efw-debug--intro{
  --section-bg:var(--efw-debug-intro);
  background:
    linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,.01)),
    var(--efw-debug-intro);
}

.efw-debug--services{
  --section-bg:var(--efw-debug-services);
  background:
    linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,.01)),
    var(--efw-debug-services);
}

.efw-debug--process{
  --section-bg:var(--efw-debug-process);
  background:
    linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,.01)),
    var(--efw-debug-process);
}

.efw-debug--gallery{
  --section-bg:var(--efw-debug-gallery);
  background:
    linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,.01)),
    var(--efw-debug-gallery);
}

.efw-debug--cta{
  --section-bg:var(--efw-debug-cta);
  background:
    linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,.01)),
    var(--efw-debug-cta);
}

/* =========================================================
   BLOQUE 1 - DOS COLUMNAS
========================================================= */

.efw-two-col{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:24px;
}

.efw-panel{
  padding:34px;
  border:1px dashed rgba(199,167,106,.35);
  background:rgba(0,0,0,.26);
  box-shadow:var(--efw-shadow);
}

.efw-panel h3{
  margin:0 0 14px;
  font-size:24px;
  text-transform:uppercase;
}

.efw-panel p{
  margin:0;
  color:var(--efw-muted);
  line-height:1.8;
}

/* =========================================================
   BLOQUE 2 - CARDS
========================================================= */

.efw-cards{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:24px;
}

.efw-card{
  border:1px solid rgba(199,167,106,.18);
  background:rgba(0,0,0,.30);
  box-shadow:var(--efw-shadow);
  overflow:hidden;
}

.efw-card__media{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:220px;
  border-bottom:1px dashed rgba(199,167,106,.24);
  background:
    linear-gradient(135deg, rgba(199,167,106,.16), rgba(255,255,255,.03));
  color:var(--efw-gold-2);
  font-size:14px;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.efw-card__body{
  padding:28px;
}

.efw-card__body h3{
  margin:0 0 12px;
  font-size:24px;
  text-transform:uppercase;
}

.efw-card__body p{
  margin:0;
  color:var(--efw-muted);
  line-height:1.8;
}

/* =========================================================
   BLOQUE 3 - PASOS
========================================================= */

.efw-steps{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:24px;
}

.efw-step{
  padding:30px;
  border:1px solid rgba(199,167,106,.18);
  background:rgba(0,0,0,.28);
  box-shadow:var(--efw-shadow);
}

.efw-step__num{
  display:inline-block;
  margin-bottom:18px;
  color:var(--efw-gold-2);
  font-size:28px;
  line-height:1;
  letter-spacing:.06em;
}

.efw-step h3{
  margin:0 0 12px;
  font-size:24px;
  text-transform:uppercase;
}

.efw-step p{
  margin:0;
  color:var(--efw-muted);
  line-height:1.8;
}

/* =========================================================
   BLOQUE 4 - GRID
========================================================= */

.efw-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:24px;
}

.efw-grid__item{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:280px;
  border:1px dashed rgba(199,167,106,.35);
  background:
    linear-gradient(135deg, rgba(255,255,255,.03), rgba(199,167,106,.08));
  color:var(--efw-gold-2);
  font-size:15px;
  letter-spacing:.16em;
  text-transform:uppercase;
  box-shadow:var(--efw-shadow);
}

/* =========================================================
   BLOQUE 5 - CTA
========================================================= */

.efw-cta{
  max-width:860px;
  margin:0 auto;
  text-align:center;
  padding:20px 0 0;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px){

  .efw-hero{
    min-height:auto;
    padding:110px 0 140px;
  }

  .efw-hero__title{
    font-size:clamp(34px, 9vw, 58px);
  }

  .efw-hero__text{
    font-size:16px;
  }

  .efw-two-col,
  .efw-cards,
  .efw-steps,
  .efw-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 767px){

  :root{
    --efw-hero-notch-desktop:58px;
    --efw-section-notch-desktop:52px;
  }

  .efw-container{
    width:min(var(--efw-container), calc(100% - 22px));
  }

  .efw-hero{
    padding:95px 0 110px;
  }

  .efw-hero__meta{
    font-size:11px;
    text-align:center;
  }

  .efw-hero__inner{
    text-align:center;
  }

  .efw-hero__text{
    margin-left:auto;
    margin-right:auto;
    font-size:15px;
    line-height:1.7;
  }

  .efw-hero__actions,
  .efw-trust{
    justify-content:center;
  }

  .efw-btn{
    width:100%;
  }

  .efw-section{
    padding:78px 0;
  }

  .efw-section-heading{
    margin-bottom:36px;
  }

  .efw-section-heading h2,
  .efw-cta h2{
    font-size:clamp(24px, 8vw, 38px);
  }

  .efw-section-heading p,
  .efw-cta p,
  .efw-panel p,
  .efw-card__body p,
  .efw-step p{
    font-size:15px;
    line-height:1.7;
    text-align:center;
  }

  .efw-panel,
  .efw-card__body,
  .efw-step{
    padding:24px 20px;
  }

  .efw-panel h3,
  .efw-card__body h3,
  .efw-step h3{
    text-align:center;
    font-size:20px;
  }

  .efw-grid__item{
    min-height:220px;
  }
}