/*
Theme Name: SIV — Servicio Integral Victoria
Theme URI: https://siv-monterrey.com
Author: Gizmo Trece
Author URI: https://gizmotrece.com
Description: Tema a la medida para SIV (Servicio Integral Victoria), taller de maquinado, fabricación y soldadura industrial en Monterrey, N.L. One-page brochure theme con secciones de servicios, equipo instalado y renta de maquinaria.
Version: 2.8.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: siv-theme
*/


/* ============ FONTS (self-contained) ============ */
@font-face{font-family:'Poppins';src:url('./assets/fonts/Poppins-Regular.ttf') format('truetype');font-weight:400;font-style:normal;}
@font-face{font-family:'Poppins';src:url('./assets/fonts/Poppins-Medium.ttf') format('truetype');font-weight:500;font-style:normal;}
@font-face{font-family:'Poppins';src:url('./assets/fonts/Poppins-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;}
@font-face{font-family:'Poppins';src:url('./assets/fonts/Poppins-Bold.ttf') format('truetype');font-weight:700;font-style:normal;}
@font-face{font-family:'Poppins';src:url('./assets/fonts/Poppins-ExtraBold.ttf') format('truetype');font-weight:800;font-style:normal;}
@font-face{font-family:'Poppins';src:url('./assets/fonts/Poppins-Black.ttf') format('truetype');font-weight:900;font-style:normal;}

@font-face{font-family:'Inter';src:url('./assets/fonts/Inter-Variable.ttf') format('truetype-variations');font-weight:100 900;font-style:normal;}

@font-face{font-family:'IBM Plex Mono';src:url('./assets/fonts/IBMPlexMono-Regular.ttf') format('truetype');font-weight:400;font-style:normal;}
@font-face{font-family:'IBM Plex Mono';src:url('./assets/fonts/IBMPlexMono-Medium.ttf') format('truetype');font-weight:500;font-style:normal;}
@font-face{font-family:'IBM Plex Mono';src:url('./assets/fonts/IBMPlexMono-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;}

/* ============ TOKENS ============ */
:root{
  --cream:#F4EFE6;
  --cream-2:#EDE6D8;
  --ink:#191713;
  --ink-soft:#2B2823;
  --graphite:#211F1C;
  --graphite-2:#2C2925;
  --orange:#DD6B20;
  --orange-deep:#B84F16;
  --orange-glow:#F0873C;
  --bronze:#A9805A;
  --grey:#6E6A62;
  --grey-line:#DDD4C2;
  --paper-line: rgba(25,23,19,0.12);
  --max: 1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Inter',Arial,sans-serif;
  font-size:17px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
.wrap{max-width:var(--max);margin:0 auto;padding:0 40px;}

.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-weight:500;
  font-size:12.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.eyebrow-orange{color:var(--orange);}
.eyebrow-cream{color:var(--cream);opacity:.85;}
.eyebrow-ink{color:var(--ink);opacity:.62;}

h1,h2,h3{margin:0;font-family:'Poppins',Arial,sans-serif;text-transform:uppercase;letter-spacing:.01em;}

/* corner-bracket "spec plate" signature element */
.plate{position:relative;}
.plate::before,.plate::after,.plate .bl,.plate .br{
  content:"";position:absolute;width:22px;height:22px;
  border-color:var(--orange);border-style:solid;border-width:0;
  z-index:3;
}
.plate::before{top:-1px;left:-1px;border-top-width:3px;border-left-width:3px;}
.plate::after{top:-1px;right:-1px;border-top-width:3px;border-right-width:3px;}
.plate .bl{bottom:-1px;left:-1px;border-bottom-width:3px;border-left-width:3px;}
.plate .br{bottom:-1px;right:-1px;border-bottom-width:3px;border-right-width:3px;}

/* ============ HEADER (accent line · logo+info · ochre nav bar) ============ */
:root{
  --ochre:#C0791F;
  --ochre-deep:#A5661A;
  --ochre-light:#CE8B3B;
  --ochre-tint:#F3E4CC;
}
.site-header{position:sticky;top:0;z-index:50;}
.header-accent{height:6px;background:var(--ink);}

.header-main{background:#fff;border-bottom:1px solid var(--grey-line);}
.header-main-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:112px;
}
.header-logo img{height:52px;width:auto;display:block;}

.header-info{display:flex;align-items:center;}
.info-item{
  display:flex;align-items:center;
  padding-left:22px;margin-left:22px;
  border-left:1px solid var(--grey-line);
}
.info-item:first-child{border-left:none;padding-left:0;margin-left:0;}
.info-icon{
  width:44px;height:44px;flex-shrink:0;
  background:var(--ochre-tint);border-radius:4px;
  display:flex;align-items:center;justify-content:center;
  margin-right:12px;
}
.info-icon svg{width:19px;height:19px;stroke:var(--ochre-deep);}
.info-text{font-family:'Inter',sans-serif;line-height:1.35;}
.info-text strong{display:block;font-size:14px;font-weight:700;color:var(--ink);}
.info-text span{display:block;font-size:13px;color:var(--grey);}
.partner-item{display:flex;align-items:center;justify-content:center;}
.partner-logo{height:38px;width:auto;display:block;}

.header-nav{background:var(--ochre);}
.header-nav-inner{display:flex;align-items:center;justify-content:space-between;height:56px;}
.header-nav-inner ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;}
.header-nav-inner a{
  font-family:'Inter',sans-serif;font-weight:700;
  color:#fff;letter-spacing:.03em;margin-right:36px;
  text-transform:uppercase;font-size:13px;
  padding-bottom:3px;border-bottom:2px solid transparent;
}
.header-nav-inner li:last-child a{margin-right:0;}
.header-nav-inner a:hover{border-bottom-color:#fff;}

.nav-actions{display:flex;align-items:center;position:relative;}
.nav-search-toggle{
  background:transparent;border:none;cursor:pointer;
  width:36px;height:36px;display:flex;align-items:center;justify-content:center;
  margin-right:18px;
}
.nav-search-toggle svg{width:19px;height:19px;stroke:#fff;}
.header-search-popup{
  display:none;position:absolute;top:calc(100% + 10px);right:0;
  background:#fff;border:1px solid var(--grey-line);box-shadow:0 8px 24px rgba(0,0,0,.15);
  z-index:60;
}
.header-search-popup.open{display:flex;}
.header-search-popup input{
  width:260px;border:none;padding:12px 14px;
  font-family:'Inter',sans-serif;font-size:14px;color:var(--ink);outline:none;
}
.header-search-popup button{
  border:none;background:var(--ink);color:#fff;padding:12px 18px;cursor:pointer;
  font-family:'Inter',sans-serif;font-weight:700;font-size:13.5px;
}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'Inter',sans-serif;font-weight:700;font-size:14.5px;
  padding:12px 22px;border-radius:3px;
  letter-spacing:.01em;
  border:1.5px solid transparent;
}
.btn-cream{background:var(--cream);color:var(--ochre-deep);}
.btn-outline-cream{border-color:rgba(255,255,255,.65);color:#fff;}
.btn-ink{background:var(--ink);color:var(--cream);}
.btn-orange{background:var(--orange);color:#fff;}
.btn-ochre{background:var(--ochre);color:#fff;}

/* ============ HERO — Propuesta A: editorial con corte diagonal ============ */
.hero{
  position:relative;
  overflow:hidden;
  background:
    repeating-linear-gradient(135deg, rgba(25,23,19,.03) 0px, rgba(25,23,19,.03) 1px, transparent 1px, transparent 22px),
    var(--cream);
}
.hero-inner{
  position:relative;
  height:600px;
}
.hero-copy-row{
  position:relative;z-index:2;height:100%;
  display:flex;align-items:center;
}
.hero-copy{
  max-width:560px;
  border-left:5px solid var(--orange-deep);
  padding-left:34px;
}
.hero-statement{
  font-family:'Poppins',sans-serif;font-weight:800;
  font-size:58px;line-height:1.14;color:var(--ink);
  text-transform:none;letter-spacing:-.005em;
  margin:0;max-width:560px;
}
.hero-statement em{font-style:normal;color:var(--orange-deep);position:relative;}
.hero-photo-wrap{
  position:absolute;top:0;right:0;bottom:0;width:50%;
  clip-path:polygon(24% 0, 100% 0, 100% 100%, 8% 100%);
}
.hero-photo-wrap img{width:100%;height:100%;object-fit:cover;object-position:60% 40%;display:block;}
.hero-photo-wrap::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(100deg, rgba(25,23,19,.30) 0%, rgba(25,23,19,0) 30%);
}

/* ============ SECTION HEADS ============ */
.section{padding:88px 0;}
.section-head{
  display:flex;justify-content:space-between;align-items:flex-end;gap:40px;
  margin-bottom:52px;border-bottom:1px solid var(--paper-line);padding-bottom:26px;
}
.section-head h2{font-size:46px;line-height:1.08;font-weight:700;}
.section-head .eyebrow{margin-bottom:12px;}
.section-head p{
  font-family:'Inter',sans-serif;color:var(--grey);max-width:340px;font-size:15.5px;line-height:1.6;
  margin:0;padding-bottom:4px;
}

/* ============ SERVICIOS ============ */
.services-section{background:#fff;}
.section-head-center{max-width:760px;margin:0 auto 56px;text-align:center;}
.section-head-center h2{font-size:34px;line-height:1.15;font-weight:700;}
.section-head-center p{
  font-family:'Inter',sans-serif;color:var(--grey);font-size:16px;line-height:1.65;
  margin:22px auto 0;max-width:520px;
}
.services{display:flex;flex-wrap:wrap;}
.service-card{
  background:var(--ochre);color:#fff;
  padding:36px 28px 34px;width:24.5%;margin-right:2px;margin-bottom:2px;
  position:relative;overflow:hidden;
}
.service-card:last-child{margin-right:0;}
.service-index{
  position:absolute;top:-6px;right:16px;z-index:0;
  font-family:'Poppins',sans-serif;font-weight:900;font-size:88px;
  color:rgba(255,255,255,.14);line-height:1;
}
.service-card h3{
  font-family:'Inter',sans-serif;text-transform:none;font-weight:700;font-size:20px;
  color:#fff;margin-bottom:12px;letter-spacing:0;line-height:1.25;
  position:relative;z-index:1;
}
.service-card p{font-size:14.5px;color:rgba(255,255,255,.82);margin:0;line-height:1.6;position:relative;z-index:1;}

/* ============ EQUIPO (dark) ============ */
.dark{background:var(--graphite);color:var(--cream);}
.dark .section-head{border-bottom-color:rgba(244,239,230,.14);}
.dark .section-head h2{color:var(--cream);}
.dark .section-head p{color:rgba(244,239,230,.55);}
.dark .section-head-center h2{color:var(--cream);}
.dark .section-head-center p{color:rgba(244,239,230,.6);}

.eq-grid{display:flex;flex-wrap:wrap;}
.eq-card{
  background:var(--graphite);padding:28px 24px;position:relative;
  width:23.5%;margin-right:2%;margin-bottom:2%;min-height:158px;
  display:flex;flex-direction:column;justify-content:space-between;
  border:1px solid rgba(244,239,230,.35);
}
.eq-card:nth-child(4n){margin-right:0;}
.eq-card.flag{background:var(--graphite-2);border-color:var(--orange);}
.eq-top{display:flex;justify-content:space-between;align-items:flex-start;}
.eq-code{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--orange-glow);letter-spacing:.03em;font-weight:500;}
.eq-star{color:var(--orange);font-size:14px;}
.eq-name{
  font-family:'Poppins',sans-serif;font-weight:700;font-size:23px;
  text-transform:uppercase;color:var(--cream);margin-top:20px;letter-spacing:.01em;line-height:1.05;
}
.eq-spec{font-family:'Inter',sans-serif;font-size:13.5px;color:rgba(244,239,230,.55);margin-top:6px;}

/* ============ CAPACIDADES CORE (photo cards) ============ */
.core-grid{display:flex;}
.core-card{position:relative;width:31.6%;margin-right:2.6%;}
.core-card:last-child{margin-right:0;}
.core-card .imgwrap{height:230px;overflow:hidden;position:relative;background-size:cover;background-position:center;}
.core-cap{padding:20px 4px 0;}
.core-cap .tag{
  font-family:'IBM Plex Mono',monospace;font-size:10.5px;color:var(--orange-deep);
  letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px;display:block;
}
.core-cap h3{font-family:'Inter',sans-serif;text-transform:none;font-weight:700;font-size:19px;letter-spacing:0;margin-bottom:4px;color:var(--ink);}
.core-cap p{font-size:14px;color:var(--grey);margin:0;}

/* ============ NUEVOS SERVICIOS ============ */
.new-grid{display:flex;margin-top:26px;}
.new-card{
  background:var(--ink);color:var(--cream);position:relative;overflow:hidden;
  min-height:280px;display:flex;flex-direction:column;justify-content:flex-end;
  width:31.6%;margin-right:2.6%;
  border:1px solid rgba(244,239,230,.16);
}
.new-card:last-child{margin-right:0;}
.new-card .imgwrap{position:absolute;top:0;left:0;right:0;bottom:0;background-size:cover;background-position:center;opacity:.5;}
.new-card.solid{background:var(--ink);}
.new-card.solid .imgwrap{display:none;}
.new-card-content{position:relative;z-index:2;padding:26px 24px 24px;
  background:linear-gradient(180deg, rgba(25,23,19,0) 0%, rgba(25,23,19,.88) 62%);
  min-height:168px;box-sizing:border-box;
}
.new-badge{
  display:inline-block;background:var(--orange);color:#fff;
  font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.1em;text-transform:uppercase;
  padding:5px 10px;margin-bottom:14px;font-weight:600;
}
.new-card h3{font-family:'Poppins',sans-serif;font-weight:700;font-size:22px;text-transform:uppercase;color:#fff;}
.new-card p{font-size:14px;color:rgba(244,239,230,.68);margin-top:6px;font-family:'Inter',sans-serif;}
.solid-fill{
  position:absolute;top:0;left:0;right:0;bottom:0;
  background:
    repeating-linear-gradient(135deg, rgba(244,239,230,.035) 0px, rgba(244,239,230,.035) 1px, transparent 1px, transparent 22px),
    var(--ink);
}

/* ============ CLIENTES ============ */
.clients-section{background:#fff;}
.clients-grid{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:40px;margin-top:12px;
}
.client-logo{display:flex;align-items:center;justify-content:center;flex:1 1 0;min-width:140px;}
.client-logo img{
  max-height:56px;width:auto;max-width:100%;
  filter:grayscale(1);opacity:.7;
  transition:filter .25s ease, opacity .25s ease;
}
.client-logo img:hover{filter:grayscale(0);opacity:1;}

/* ============ CONTACTO ============ */
.contact{
  background:var(--ochre);
  background-image:linear-gradient(160deg, var(--ochre) 0%, var(--ochre-deep) 100%);
  color:#fff;padding:96px 0 60px;position:relative;overflow:hidden;
}
.contact-top{display:flex;align-items:flex-end;margin-bottom:64px;}
.contact-top > div:first-child{width:57%;margin-right:60px;}
.contact-top > p{flex:1;min-width:0;}
.contact-eyebrow{color:rgba(255,255,255,.78);}
.contact h2{font-size:52px;line-height:1.05;font-weight:800;color:#fff;margin-top:16px;}
.contact-lead{font-family:'Poppins',sans-serif;font-weight:500;font-size:20px;color:rgba(255,255,255,.92);line-height:1.5;}

.contact-grid{display:flex;border-top:1px solid rgba(255,255,255,.28);border-bottom:1px solid rgba(255,255,255,.28);margin-bottom:44px;}
.contact-item{padding:26px 26px 26px 0;width:25%;border-left:1px solid rgba(255,255,255,.28);padding-left:26px;}
.contact-item:first-child{padding-left:0;border-left:none;}
.contact-item .lbl{font-family:'IBM Plex Mono',monospace;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.7);margin-bottom:10px;}
.contact-item .val{font-family:'Inter',sans-serif;font-weight:700;font-size:19px;color:#fff;line-height:1.3;}
.contact-item .val span{display:block;font-weight:400;font-size:14px;color:rgba(255,255,255,.82);margin-top:4px;}

.contact-cta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.28);padding-top:36px;}
.contact-cta .btn{padding:17px 30px;font-size:16px;min-width:270px;justify-content:center;text-align:center;}
.footer-mark{font-family:'Poppins',sans-serif;font-weight:700;font-size:22px;color:#fff;}
.footer-fine{font-family:'IBM Plex Mono',monospace;font-size:11px;color:rgba(255,255,255,.7);margin-top:6px;letter-spacing:.03em;}

/* footer bottom */
.foot-bottom{background:var(--ink);color:rgba(244,239,230,.55);padding:22px 0;}
.foot-bottom .wrap{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;}
.foot-bottom .wrap p:first-child{margin-right:10px;}
.foot-bottom p{margin:0;font-family:'IBM Plex Mono',monospace;font-size:11.5px;letter-spacing:.03em;}

@media (max-width:980px){
  .wrap{padding:0 22px;}
  .header-info{display:none;}
  .header-nav-inner{overflow-x:auto;}
  .header-nav-inner ul{white-space:nowrap;}
  .header-search-popup{right:0;}
  .hero-inner{height:auto;}
  .hero-copy-row{height:auto;padding:44px 0 32px;}
  .hero-copy{width:100%;max-width:none;}
  .hero-statement{font-size:32px;max-width:none;}
  .hero-photo-wrap{position:relative;width:100%;height:320px;clip-path:none;inset:auto;}
  .services{display:block;}
  .service-card{width:100%;}
  .eq-card{width:50%;}
  .core-grid{display:block;}
  .core-card{width:100%;margin-right:0;margin-bottom:20px;}
  .new-grid{display:block;}
  .new-card{width:100%;margin-right:0;margin-bottom:20px;}
  .contact-top{display:block;}
  .contact-top > div:first-child{width:100%;margin-right:0;margin-bottom:20px;}
  .contact-item{width:50%;}
  .cform-row{display:block;}
  .cform-row .cform-group + .cform-group{margin-left:0;margin-top:22px;}
}

/* ============ PÁGINA DE CONTACTO ============ */
.page-hero{
  background:var(--ochre);
  background-image:linear-gradient(160deg, var(--ochre) 0%, var(--ochre-deep) 100%);
  color:#fff;padding:76px 0 56px;
}
.page-hero h1{font-size:52px;line-height:1.05;font-weight:800;color:#fff;margin-bottom:16px;}
.page-hero p{font-family:'Inter',sans-serif;font-size:17px;line-height:1.6;color:rgba(255,255,255,.9);max-width:560px;margin:0 0 30px;}
.page-hero .btn{padding:15px 28px;font-size:15px;}

.page-hero.light-bg{background:#F1F1EF;background-image:none;color:var(--ink);}
.page-hero.light-bg h1{color:var(--ink);}
.page-hero.light-bg p{color:var(--ink-soft);}
.page-hero.center{text-align:center;}
.page-hero.center h1,.page-hero.center p{max-width:none;}
.page-hero.center .wrap{display:flex;flex-direction:column;align-items:center;}
.page-hero.center .hero-btn-row{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;margin-top:6px;}

.cform-heading{text-align:center;font-size:30px;font-weight:700;font-family:'Poppins',sans-serif;color:var(--ink);margin-bottom:34px;}

.cform-section{background:#fff;padding:80px 0;}
.cform-wrap{max-width:720px;margin:0 auto;}
.cform-alert{padding:16px 20px;margin-bottom:30px;font-family:'Inter',sans-serif;font-size:14.5px;line-height:1.5;border:1px solid;}
.cform-alert.success{background:#EAF6EC;color:#276B36;border-color:#BFE2C6;}
.cform-alert.error{background:#FBEAEA;color:#A93226;border-color:#F0C4C0;}
.cform-row{display:flex;}
.cform-row .cform-group{flex:1;}
.cform-row .cform-group + .cform-group{margin-left:20px;}
.cform-group{margin-bottom:22px;}
.cform-group label{
  display:block;font-family:'Inter',sans-serif;font-weight:600;font-size:13.5px;
  color:var(--ink);margin-bottom:8px;letter-spacing:.01em;
}
.cform-group input,.cform-group textarea{
  width:100%;box-sizing:border-box;
  border:1.5px solid var(--grey-line);background:var(--cream);
  padding:13px 16px;font-family:'Inter',sans-serif;font-size:15px;color:var(--ink);
  outline:none;
}
.cform-group input:focus,.cform-group textarea:focus{border-color:var(--ochre);}
.cform-group textarea{resize:vertical;min-height:150px;}
.cform-hp{position:absolute;left:-9999px;top:-9999px;}
.cform-submit{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:8px;}
.cform-submit button.btn{
  border:none;cursor:pointer;background:var(--ochre);color:#fff;
}
.cform-submit button.btn:hover{background:var(--ochre-deep);}
.cform-or{font-family:'Inter',sans-serif;font-size:14px;color:var(--grey);}

.map-section{padding:0;}
.map-section .map-frame{width:100%;height:440px;border:0;display:block;}
