/* =========================================================
   ALLIANCE — Equipo Terrestre de Perforación 3,000 HP
   Hoja de estilos institucional / industrial premium
   ========================================================= */

:root{
  --navy-950:#060b14;
  --navy-900:#0a1220;
  --navy-800:#0f1c30;
  --navy-700:#152840;
  --navy-600:#1d3455;
  --steel-500:#3d5a80;
  --steel-300:#7d93ad;
  --steel-200:#aab8cb;
  --steel-100:#dbe2ea;
  --accent-orange:#d9772e;
  --accent-orange-light:#f0a15f;
  --accent-blue:#2f8fd6;
  --white:#ffffff;
  --off-white:#f5f7fa;
  --line:rgba(255,255,255,0.09);
  --line-dark:rgba(10,18,32,0.10);
  --shadow-1: 0 10px 30px rgba(4,10,20,0.35);
  --shadow-2: 0 4px 14px rgba(4,10,20,0.18);
  --radius:2px;
  --maxw:1240px;
  --font-head: 'Libre Franklin', 'Inter', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  background:var(--off-white);
  color:var(--navy-900);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 28px;
}
section{position:relative;}

.eyebrow{
  font-family:var(--font-head);
  font-size:12.5px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--accent-orange);
  font-weight:600;
  display:inline-block;
  margin-bottom:14px;
}
.eyebrow.on-dark{color:var(--accent-orange-light);}

h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:700;
  color:var(--navy-900);
  letter-spacing:-0.01em;
}
.section-title{
  font-size:clamp(26px,3.2vw,38px);
  line-height:1.18;
  margin-bottom:16px;
}
.section-sub{
  font-size:16px;
  color:var(--steel-500);
  max-width:720px;
  margin-bottom:44px;
}
.section-head{
  margin-bottom:40px;
}
.section-head.center{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.section-head.center .section-sub{margin-left:auto;margin-right:auto;}

/* ============ TOP CONFIDENTIALITY BAR ============ */
.confidential-bar{
  background:var(--navy-950);
  color:var(--steel-200);
  font-size:12px;
  letter-spacing:.03em;
  text-align:center;
  padding:9px 18px;
  border-bottom:1px solid var(--line);
}
.confidential-bar strong{color:var(--accent-orange-light);font-weight:600;}

/* ============ HEADER / NAV ============ */
.site-header{
  background:var(--navy-900);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:1000;
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 28px;
  max-width:var(--maxw);
  margin:0 auto;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-logo-link{display:flex;align-items:center;}
.brand-logo{
  height:34px;
  width:auto;
  max-width:160px;
  display:block;
  object-fit:contain;
}
.brand-mark{
  font-family:var(--font-head);
  font-size:22px;
  font-weight:800;
  letter-spacing:.03em;
  color:var(--white);
}
.brand-mark span{color:var(--accent-orange);}
.brand-sub{
  font-size:10px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--steel-500);
}
.main-nav{
  display:flex;
  align-items:center;
  gap:34px;
}
.main-nav a{
  font-size:13.5px;
  font-weight:500;
  color:var(--steel-200);
  letter-spacing:.02em;
  transition:color .2s;
  white-space:nowrap;
}
.main-nav a:hover{color:var(--white);}
.lang-switch{
  display:flex;
  gap:6px;
  font-size:12px;
  color:var(--steel-300);
}
.lang-switch span,
.lang-switch a{
  padding:3px 7px;
  border:1px solid var(--line);
  border-radius:2px;
  color:var(--steel-300);
}
.lang-switch a:hover{color:var(--white);border-color:var(--steel-500);}
.lang-switch .active{color:var(--white);border-color:var(--steel-500);}
.nav-cta{
  background:var(--accent-orange);
  color:var(--white) !important;
  padding:10px 18px;
  border-radius:2px;
  font-weight:600;
  font-size:13px;
}
.nav-cta:hover{background:var(--accent-orange-light);}
.menu-toggle{
  display:none;
  background:none;
  border:1px solid var(--line);
  color:var(--white);
  font-size:20px;
  width:40px;height:38px;
  border-radius:2px;
  cursor:pointer;
}

/* ============ HERO ============ */
.hero{
  background:linear-gradient(160deg,var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color:var(--white);
  padding:76px 0 60px;
  position:relative;
  overflow:hidden;
  border-bottom:4px solid var(--accent-orange);
}
.hero::after{
  content:"";
  position:absolute;
  right:-120px;top:-160px;
  width:520px;height:520px;
  background:radial-gradient(circle, rgba(217,119,46,0.16), transparent 70%);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:48px;
  align-items:center;
  position:relative;
  z-index:2;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent-orange-light);
  font-weight:600;
  margin-bottom:22px;
}
.hero-kicker .dot{width:6px;height:6px;background:var(--accent-orange);border-radius:50%;}
.hero h1{
  color:var(--white);
  font-size:clamp(30px,4vw,46px);
  line-height:1.14;
  margin-bottom:20px;
  max-width:640px;
}
.hero .subtitle{
  font-size:17px;
  color:var(--steel-200);
  max-width:560px;
  margin-bottom:28px;
}
.hero-notice{
  border-left:3px solid var(--accent-orange);
  background:rgba(255,255,255,0.04);
  padding:14px 18px;
  font-size:13px;
  color:var(--steel-200);
  max-width:600px;
  margin-bottom:32px;
  line-height:1.55;
}
.hero-notice strong{color:var(--white);}
.hero-ctas{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:14px 26px;
  font-size:14px;
  font-weight:600;
  letter-spacing:.01em;
  border-radius:2px;
  transition:all .2s;
  border:1px solid transparent;
  cursor:pointer;
}
.btn-primary{
  background:var(--accent-orange);
  color:var(--white);
}
.btn-primary:hover{background:var(--accent-orange-light);}
.btn-outline{
  border:1px solid var(--line);
  color:var(--white);
  background:transparent;
}
.btn-outline:hover{border-color:var(--steel-300);background:rgba(255,255,255,0.05);}
.btn-outline.dark-bg{border-color:#0f1c30;color:#0f1c30;}

.hero-media{
  position:relative;
}
.hero-media img{
  width:100%;
  height:520px;
  object-fit:cover;
  border-radius:2px;
  box-shadow:var(--shadow-1);
}
.hero-media-tag{
  position:absolute;
  bottom:-18px;left:-18px;
  background:var(--navy-950);
  border:1px solid var(--line);
  padding:12px 18px;
  font-size:11.5px;
  color:var(--steel-200);
  letter-spacing:.03em;
  max-width:230px;
  box-shadow:var(--shadow-2);
}

/* ============ EXECUTIVE SUMMARY ============ */
.exec-summary{
  background:var(--off-white);
  padding:74px 0 64px;
  border-bottom:1px solid var(--line-dark);
}
.exec-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line-dark);
  border:1px solid var(--line-dark);
}
.exec-card{
  background:var(--white);
  padding:26px 22px;
  min-height:128px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.exec-card .label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--steel-500);
  font-weight:600;
}
.exec-card .value{
  font-family:var(--font-head);
  font-size:21px;
  font-weight:700;
  color:var(--navy-900);
  margin-top:10px;
}
.exec-card .value small{
  display:block;
  font-size:12px;
  font-weight:500;
  color:var(--steel-500);
  margin-top:4px;
}
.exec-status-note{
  margin-top:26px;
  font-size:13px;
  color:var(--steel-500);
  text-align:center;
}

/* ============ TECH SPECS ============ */
.tech-specs{
  background:var(--navy-900);
  color:var(--steel-200);
  padding:80px 0;
}
.tech-specs .section-title, .tech-specs h3{color:var(--white);}
.tech-specs .section-sub{color:var(--steel-300);}
.spec-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:36px;
  border-bottom:1px solid var(--line);
  padding-bottom:0;
}
.spec-tab-btn{
  background:transparent;
  border:none;
  color:var(--steel-300);
  font-size:13.5px;
  font-weight:600;
  padding:12px 6px;
  cursor:pointer;
  border-bottom:2px solid transparent;
  letter-spacing:.02em;
  transition:.2s;
}
.spec-tab-btn:hover{color:var(--white);}
.spec-tab-btn.active{color:var(--accent-orange-light);border-color:var(--accent-orange);}
.spec-panel{display:none;}
.spec-panel.active{display:block;animation:fade .35s ease;}
@keyframes fade{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);}}

.spec-block-title{
  font-family:var(--font-head);
  color:var(--accent-orange-light);
  font-size:14px;
  letter-spacing:.05em;
  text-transform:uppercase;
  margin:26px 0 14px;
  font-weight:700;
}
.spec-block-title:first-child{margin-top:0;}
.spec-table{
  width:100%;
  border-collapse:collapse;
  margin-bottom:6px;
}
.spec-table tr{
  border-bottom:1px solid var(--line);
}
.spec-table td{
  padding:12px 4px;
  font-size:14.5px;
}
.spec-table td:first-child{
  color:var(--steel-300);
  width:46%;
}
.spec-table td:last-child{
  color:var(--white);
  font-weight:500;
  text-align:right;
}
.spec-cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 48px;
}
.pending-flag{
  display:inline-block;
  background:rgba(217,119,46,0.15);
  color:var(--accent-orange-light);
  border:1px solid rgba(217,119,46,0.35);
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.06em;
  padding:2px 8px;
  border-radius:2px;
  margin-left:8px;
  vertical-align:middle;
}
.pending-banner{
  background:rgba(217,119,46,0.08);
  border:1px solid rgba(217,119,46,0.28);
  color:var(--steel-100);
  font-size:13px;
  padding:14px 18px;
  margin-bottom:22px;
  line-height:1.55;
}
.pending-banner strong{color:var(--accent-orange-light);}

/* ============ GALLERY ============ */
.gallery-section{
  background:var(--off-white);
  padding:80px 0;
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.gallery-grid figure{
  position:relative;
  overflow:hidden;
  border-radius:2px;
  cursor:pointer;
  background:var(--navy-900);
  aspect-ratio:4/3;
}
.gallery-grid figure img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .5s ease;
}
.gallery-grid figure:hover img{transform:scale(1.06);}
.gallery-grid figure figcaption{
  position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(to top, rgba(6,11,20,0.88), transparent);
  color:var(--white);
  font-size:12px;
  padding:26px 12px 10px;
  letter-spacing:.02em;
}
.gallery-grid figure.tall{grid-row:span 2;aspect-ratio:auto;}
.gallery-cta{
  text-align:center;
  margin-top:38px;
}
.gallery-note{
  max-width:760px;
  margin:36px auto 0;
  font-size:13px;
  color:var(--steel-500);
  text-align:center;
  border-top:1px solid var(--line-dark);
  padding-top:24px;
  line-height:1.6;
}

/* full gallery page grid */
.full-gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.full-gallery-grid figure{
  overflow:hidden;
  border-radius:2px;
  cursor:pointer;
  aspect-ratio:4/3;
  background:var(--navy-900);
}
.full-gallery-grid figure img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .4s ease;
}
.full-gallery-grid figure:hover img{transform:scale(1.05);}

/* lightbox */
.lightbox{
  position:fixed;inset:0;
  background:rgba(4,8,15,0.94);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:3000;
  flex-direction:column;
  padding:24px;
}
.lightbox.open{display:flex;}
.lightbox img{
  max-width:90vw;max-height:80vh;
  object-fit:contain;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.lightbox-caption{
  color:var(--steel-200);
  font-size:13px;
  margin-top:14px;
  text-align:center;
}
.lightbox-close, .lightbox-prev, .lightbox-next{
  position:absolute;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.18);
  color:var(--white);
  border-radius:2px;
  cursor:pointer;
  font-size:18px;
  width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
}
.lightbox-close{top:20px;right:20px;}
.lightbox-prev{left:20px;top:50%;transform:translateY(-50%);}
.lightbox-next{right:20px;top:50%;transform:translateY(-50%);}
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover{background:rgba(255,255,255,0.18);}

/* ============ STATUS SECTION ============ */
.status-section{
  background:var(--navy-950);
  color:var(--white);
  padding:80px 0;
}
.status-section .section-title, .status-section h2{color:var(--white);}
.status-section .section-sub{color:var(--steel-300);}

/* ============ SCOPE NOTE SECTION ============ */
.scope-section{
  background:var(--off-white);
  padding:56px 0;
  border-bottom:1px solid var(--line-dark);
}
.scope-section .section-sub{margin-bottom:0;}
.scope-section p{
  font-size:15px;
  color:var(--steel-500);
  line-height:1.75;
  max-width:900px;
  margin-bottom:14px;
}
.scope-section p:last-child{margin-bottom:0;}
.scope-section p strong{color:var(--navy-900);}
.scope-section h3{font-size:20px;margin-bottom:14px;color:var(--navy-900);}
.status-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.status-item{
  background:var(--navy-900);
  padding:22px 24px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.status-item .si-label{
  font-size:14.5px;
  color:var(--steel-100);
  font-weight:500;
}
.status-pill{
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  padding:5px 12px;
  border-radius:2px;
  white-space:nowrap;
  text-transform:uppercase;
}
.pill-yes{background:rgba(63,163,110,0.15);color:#5fce93;border:1px solid rgba(63,163,110,0.4);}
.pill-avail{background:rgba(47,143,214,0.15);color:#63b3ea;border:1px solid rgba(47,143,214,0.4);}
.pill-pending{background:rgba(217,119,46,0.15);color:var(--accent-orange-light);border:1px solid rgba(217,119,46,0.4);}
.pill-validate{background:rgba(174,146,255,0.13);color:#b6a2ff;border:1px solid rgba(174,146,255,0.35);}

/* ============ PROCESS ============ */
.process-section{
  background:var(--off-white);
  padding:80px 0;
}
.process-steps{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:14px;
}
.process-step{
  background:var(--white);
  border:1px solid var(--line-dark);
  padding:24px 16px 20px;
  position:relative;
}
.process-step .step-num{
  font-family:var(--font-head);
  font-size:26px;
  font-weight:800;
  color:var(--accent-orange);
  margin-bottom:14px;
}
.process-step .step-text{
  font-size:13px;
  color:var(--navy-800);
  font-weight:500;
  line-height:1.5;
}

/* ============ ROLE SECTION ============ */
.role-section{
  background:var(--navy-800);
  color:var(--steel-100);
  padding:80px 0;
}
.role-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:start;
}
.role-section .section-title{color:var(--white);}
.role-grid p{
  font-size:15.5px;
  color:var(--steel-200);
  margin-bottom:18px;
  line-height:1.75;
}
.role-grid .highlight{
  border-left:3px solid var(--accent-orange);
  padding-left:18px;
  font-size:16px;
  color:var(--white);
  font-weight:500;
  margin-bottom:24px;
}
.role-list{display:flex;flex-direction:column;gap:16px;}
.role-list li{
  display:flex;
  gap:12px;
  font-size:14px;
  color:var(--steel-200);
  border-bottom:1px solid var(--line);
  padding-bottom:14px;
}
.role-list li i{color:var(--accent-orange-light);margin-top:3px;}

/* ============ LEGAL ============ */
.legal-section{
  background:var(--navy-950);
  color:var(--steel-300);
  padding:56px 0;
  border-top:1px solid var(--line);
}
.legal-section h3{color:var(--steel-100);font-size:15px;margin-bottom:16px;text-transform:uppercase;letter-spacing:.06em;}
.legal-section p{
  font-size:12.5px;
  line-height:1.8;
  color:var(--steel-300);
  margin-bottom:12px;
}

/* ============ CONTACT CTA ============ */
.contact-cta{
  background:linear-gradient(120deg,var(--navy-900), var(--navy-700));
  color:var(--white);
  padding:70px 0;
  text-align:center;
  border-top:4px solid var(--accent-orange);
}
.contact-cta h2{color:var(--white);margin-bottom:14px;font-size:clamp(24px,3vw,32px);}
.contact-cta p{color:var(--steel-200);max-width:600px;margin:0 auto 30px;font-size:15.5px;}
.contact-info{
  margin-top:26px;
  font-size:14px;
  color:var(--steel-300);
}
.contact-info a{color:var(--accent-orange-light);font-weight:600;}
.contact-cta .hero-ctas{justify-content:center;}

/* ============ FOOTER ============ */
.site-footer{
  background:var(--navy-950);
  color:var(--steel-300);
  padding:40px 0 26px;
  border-top:1px solid var(--line);
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap:wrap;
  gap:24px;
  padding-bottom:24px;
  border-bottom:1px solid var(--line);
  margin-bottom:20px;
}
.footer-brand{font-family:var(--font-head);font-weight:800;font-size:18px;color:var(--white);}
.footer-brand span{color:var(--accent-orange);}
.footer-brand-logo{height:38px;width:auto;max-width:180px;display:block;object-fit:contain;margin-bottom:8px;}
.footer-brand-sub{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--steel-500);
  margin-top:2px;
}
.footer-brand-site{
  font-size:12px;
  color:var(--steel-300);
  margin-top:6px;
}
.footer-brand-site a{color:var(--accent-orange-light);font-weight:600;}
.footer-links{display:flex;gap:26px;flex-wrap:wrap;}
.footer-links a{font-size:13px;color:var(--steel-300);}
.footer-links a:hover{color:var(--white);}
.footer-bottom{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
  font-size:11.5px;color:var(--steel-500);
}

/* ============ BACK LINK (gallery page) ============ */
.page-hero{
  background:var(--navy-900);
  color:var(--white);
  padding:56px 0 40px;
  border-bottom:4px solid var(--accent-orange);
}
.back-link{
  display:inline-flex;align-items:center;gap:8px;
  color:var(--steel-300);
  font-size:13px;margin-bottom:20px;
}
.back-link:hover{color:var(--white);}
.page-hero h1{font-size:clamp(26px,3.5vw,38px);margin-bottom:14px;}
.page-hero p{color:#aab8cb;max-width:700px;font-size:15.5px;}
.filter-bar{
  display:flex;gap:10px;flex-wrap:wrap;margin-bottom:30px;
}
.filter-btn{
  background:var(--white);
  border:1px solid var(--line-dark);
  color:var(--steel-500);
  padding:9px 16px;
  font-size:12.5px;
  font-weight:600;
  border-radius:2px;
  cursor:pointer;
}
.filter-btn.active{background:var(--navy-900);color:var(--white);border-color:var(--navy-900);}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px){
  .exec-grid{grid-template-columns:repeat(2,1fr);}
  .process-steps{grid-template-columns:repeat(4,1fr);}
  .gallery-grid{grid-template-columns:repeat(3,1fr);}
  .full-gallery-grid{grid-template-columns:repeat(3,1fr);}
  .role-grid{grid-template-columns:1fr;gap:30px;}
}

@media (max-width: 860px){
  .main-nav{
    position:fixed;
    top:0;right:-100%;
    height:100vh;width:78%;
    background:var(--navy-950);
    flex-direction:column;
    align-items:flex-start;
    padding:90px 30px 30px;
    gap:22px;
    transition:right .3s ease;
    border-left:1px solid var(--line);
    z-index:999;
  }
  .main-nav.open{right:0;}
  .menu-toggle{display:block;}
  .lang-switch{order:3;margin-top:10px;}
  .hero-grid{grid-template-columns:1fr;gap:36px;}
  .hero-media img{height:320px;}
  .hero-media-tag{position:static;margin-top:14px;max-width:100%;}
  .exec-grid{grid-template-columns:1fr 1fr;}
  .spec-cols{grid-template-columns:1fr;}
  .process-steps{grid-template-columns:repeat(2,1fr);}
  .status-list{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .full-gallery-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{flex-direction:column;}
}

@media (max-width: 520px){
  .container{padding:0 18px;}
  .exec-grid{grid-template-columns:1fr;}
  .process-steps{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:1fr 1fr;}
  .full-gallery-grid{grid-template-columns:1fr 1fr;}
  .hero{padding:52px 0 44px;}
  .nav-cta{padding:9px 14px;font-size:12px;}
}
