/* =========================================================
   ALFA NEED CONSTRUCTORES S.A.C. — original stylesheet
   Design system: dark industrial / hazard-stripe accents.
   Written from scratch — not derived from any template.
   ========================================================= */

:root{
  --bg:            #1a1a1a;
  --bg-alt:        #202020;
  --bg-panel:      #242424;
  --bg-panel-2:    #2b2b2b;
  --yellow:        #FDB913;
  --yellow-dark:   #d99e0a;
  --gray:          #6b6b6b;
  --gray-dark:     #3a3a3a;
  --text-body:     #b5b5b5;
  --text-muted:    #8a8a8a;
  --white:         #ffffff;

  --font-head: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', sans-serif;

  --radius: 4px;
  --container-max: 1200px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6{
  font-family: var(--font-head);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p{ margin: 0 0 1.1em; }

a{ color: var(--yellow); text-decoration: none; }
a:hover{ color: var(--yellow-dark); }

img{ max-width: 100%; display: block; }

.container{
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* -------------------------------------------------
   Hazard stripe motif — the brand's recurring device
   ------------------------------------------------- */
.hazard-bar{
  height: 8px;
  width: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--yellow) 0 16px,
    var(--bg) 16px 32px
  );
}
.hazard-bar--thick{ height: 14px; }
.hazard-bar--dark{
  background: repeating-linear-gradient(
    45deg,
    var(--gray) 0 16px,
    var(--bg) 16px 32px
  );
}

.hazard-divider{
  display: flex;
  height: 6px;
  margin: 0 0 0;
}
.hazard-divider span{
  flex: 1;
  background: repeating-linear-gradient(45deg, var(--yellow) 0 12px, var(--gray-dark) 12px 24px);
}

/* -------------------------------------------------
   Buttons
   ------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-accent{
  background: var(--yellow);
  color: #1a1a1a;
  border-color: var(--yellow);
}
.btn-accent:hover{
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  color: #1a1a1a;
  transform: translateY(-2px);
}
.btn-outline{
  background: transparent;
  color: var(--white);
  border-color: var(--gray);
}
.btn-outline:hover{
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}
.btn-block{ width: 100%; justify-content: center; }

/* -------------------------------------------------
   Header / navbar
   ------------------------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(20,20,20,0.97);
  border-bottom: 1px solid #2d2d2d;
}

.navbar{
  padding: 14px 0;
}
.navbar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img{ height: 46px; width: auto; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a{
  font-family: var(--font-head);
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width .2s ease;
}
.nav-links a:hover,
.nav-links a.active{ color: var(--yellow); }
.nav-links a:hover::after,
.nav-links a.active::after{ width: 100%; }

.nav-cta{ display: flex; align-items: center; gap: 20px; }
.nav-cta .btn{ padding: 10px 22px; font-size: 0.82rem; }

.navbar-toggler{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar-toggler span{
  width: 26px;
  height: 3px;
  background: var(--yellow);
  display: block;
}

@media (max-width: 991px){
  .nav-links{
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #161616;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    border-bottom: 1px solid #2d2d2d;
  }
  .nav-links.open{ max-height: 480px; }
  .nav-links li{ width: 100%; }
  .nav-links a{ display: block; padding: 16px 20px; }
  .nav-links a::after{ display: none; }
  .nav-cta .btn-outline{ display: none; }
  .navbar-toggler{ display: flex; }
}

/* -------------------------------------------------
   Hero
   ------------------------------------------------- */
.hero{
  position: relative;
  background: #161616;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(26,26,26,.94) 38%, rgba(26,26,26,.72));
}
.hero::before{
  content: "";
  position: absolute;
  top: -60px; right: -120px;
  width: 480px; height: 480px;
  background: repeating-linear-gradient(45deg, var(--yellow) 0 14px, transparent 14px 28px);
  opacity: 0.12;
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 1;
}
.hero .container{
  position: relative;
  z-index: 2;
}
.hero-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.hero-kicker::before{
  content: "";
  width: 30px; height: 3px;
  background: var(--yellow);
}
.hero h1{
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  max-width: 820px;
  margin-bottom: 22px;
}
.hero h1 .accent{ color: var(--yellow); }
.hero-lead{
  max-width: 620px;
  font-size: 1.08rem;
  color: var(--text-body);
}
.hero-location{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 34px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-location::before{ content: "\25A0"; color: var(--yellow); font-size: 0.6rem; }
.hero-actions{ display: flex; gap: 18px; flex-wrap: wrap; }

/* Decorative equipment row under hero */
.equip-strip{
  background: var(--bg-alt);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  padding: 28px 0;
}
.equip-strip .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.equip-strip img{
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gray-dark);
  filter: grayscale(45%);
  transition: filter .2s ease, transform .2s ease, border-color .2s ease;
}
.equip-strip img:hover{
  filter: grayscale(0);
  border-color: var(--yellow);
  transform: translateY(-3px);
}
.equip-strip img.icon-plain{
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 0;
  border: none;
  opacity: 0.85;
  filter: none;
}
.equip-strip img.icon-plain:hover{ transform: none; }

/* -------------------------------------------------
   Section basics
   ------------------------------------------------- */
section{ padding: 90px 0; }
.section-alt{ background: var(--bg-alt); }

.section-head{
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-head.align-left{ margin-left: 0; text-align: left; }

.kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.kicker::before{ content: ""; width: 24px; height: 3px; background: var(--yellow); }

.section-head h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.section-head p{ color: var(--text-body); }

/* Grids */
.grid{ display: grid; gap: 28px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-6{ grid-template-columns: repeat(6, 1fr); }

@media (max-width: 991px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-6{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px){
  .grid-2, .grid-3, .grid-4, .grid-6{ grid-template-columns: 1fr; }
}

/* -------------------------------------------------
   Cards
   ------------------------------------------------- */
.card{
  background: var(--bg-panel);
  border: 1px solid #2c2c2c;
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover{
  transform: translateY(-4px);
  border-color: var(--yellow);
}

.icon-badge{
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel-2);
  border: 2px solid var(--gray-dark);
  border-radius: 50%;
  margin-bottom: 20px;
}
.icon-badge img{ width: 34px; height: 34px; }

/* Icon badge variant that shows a real photo instead of an SVG icon */
.icon-badge--photo{ overflow: hidden; }
.icon-badge--photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3{ font-size: 1.05rem; margin-bottom: 10px; }
.card p{ font-size: 0.94rem; margin-bottom: 0; color: var(--text-body); }

/* Numbered value-prop cards */
.value-card{ position: relative; }
.value-num{
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gray-dark);
  -webkit-text-stroke: 1px var(--gray);
  margin-bottom: 10px;
  line-height: 1;
}

/* Equipment catalog cards */
.equip-card{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-top: 0;
  overflow: hidden;
}
.equip-thumb{
  width: calc(100% + 52px);
  margin: 0 -26px 20px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.equip-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.equip-card:hover .equip-thumb img{ transform: scale(1.06); }
.equip-card h3{ font-size: 1.02rem; }
.equip-card .btn{
  margin-top: 18px;
  padding: 9px 18px;
  font-size: 0.76rem;
}

/* Service blocks (full description) */
.service-block{
  background: var(--bg-panel);
  border: 1px solid #2c2c2c;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 44px;
  margin-bottom: 34px;
}
.service-block .icon-badge{ width: 78px; height: 78px; }
.service-block .icon-badge img{ width: 42px; height: 42px; }
.service-block h3{ font-size: 1.5rem; }
.service-banner{
  width: calc(100% + 88px);
  margin: -44px -44px 30px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.service-banner img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px){
  .service-banner{
    width: calc(100% + 56px);
    margin: -28px -28px 24px;
  }
  .service-banner img{ height: 200px; }
}

/* Reusable full-width rounded photo banner (used on About) */
.banner-photo{
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 50px;
}
.banner-photo img{
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px){
  .banner-photo img{ height: 220px; }
}
.service-list{
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 30px;
}
.service-list li{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-body);
  padding-bottom: 10px;
  border-bottom: 1px dashed #333;
}
.service-list li::before{
  content: "";
  width: 9px; height: 9px;
  background: var(--yellow);
  flex-shrink: 0;
}
@media (max-width: 600px){
  .service-list{ grid-template-columns: 1fr; }
  .service-block{ padding: 28px; }
}

/* -------------------------------------------------
   CTA band
   ------------------------------------------------- */
.cta-band{
  background: linear-gradient(120deg, #232323, #1a1a1a);
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2{ margin-bottom: 18px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p{ color: var(--text-body); max-width: 560px; margin: 0 auto 30px; }

/* -------------------------------------------------
   About page specifics
   ------------------------------------------------- */
.mv-card{
  background: var(--bg-panel);
  border: 1px solid #2c2c2c;
  border-top: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 38px;
}
.mv-card h3{ font-size: 1.2rem; margin-bottom: 16px; }

.values-grid .card{ text-align: left; }

/* -------------------------------------------------
   Page header (interior pages)
   ------------------------------------------------- */
.page-header{
  background: var(--bg-alt);
  padding: 64px 0 50px;
  position: relative;
}
.page-header .kicker{ margin-bottom: 10px; }
.page-header h1{ font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 0; }
.breadcrumb{
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.breadcrumb a{ color: var(--text-muted); }
.breadcrumb a:hover{ color: var(--yellow); }
.breadcrumb span{ color: var(--yellow); }

/* -------------------------------------------------
   Contact page / form
   ------------------------------------------------- */
.contact-wrap{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}
@media (max-width: 900px){
  .contact-wrap{ grid-template-columns: 1fr; }
}

.form-panel{
  background: var(--bg-panel);
  border: 1px solid #2c2c2c;
  border-radius: var(--radius);
  padding: 40px;
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }

.field{ margin-bottom: 20px; }
.field label{
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-body);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea{
  width: 100%;
  background: var(--bg);
  border: 1px solid #3a3a3a;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--yellow);
}
.field textarea{ resize: vertical; min-height: 120px; }

.info-panel{
  background: var(--bg-panel);
  border: 1px solid #2c2c2c;
  border-radius: var(--radius);
  padding: 40px;
}
.info-item{
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid #2c2c2c;
}
.info-item:last-child{ border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-item .icon-badge{ width: 46px; height: 46px; margin-bottom: 0; flex-shrink: 0; }
.info-item .icon-badge img{ width: 22px; height: 22px; }
.info-item h4{
  font-family: var(--font-head);
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.info-item p{ margin: 0; font-size: 0.92rem; }

.todo-placeholder{
  color: var(--yellow);
  font-style: italic;
  opacity: 0.85;
}

/* -------------------------------------------------
   Footer
   ------------------------------------------------- */
.site-footer{
  background: #141414;
  padding: 60px 0 0;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 46px;
}
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}
.footer-brand img{ height: 44px; margin-bottom: 16px; }
.footer-brand p{ font-size: 0.9rem; max-width: 300px; }
.footer-col h4{
  font-family: var(--font-head);
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col li{ margin-bottom: 12px; }
.footer-col a{ color: var(--text-body); font-size: 0.92rem; }
.footer-col a:hover{ color: var(--yellow); }
.footer-col p{ font-size: 0.92rem; margin-bottom: 10px; }

.footer-bottom{
  border-top: 1px solid #262626;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* -------------------------------------------------
   404 page
   ------------------------------------------------- */
.error-page{
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}
.error-code{
  font-family: var(--font-head);
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow);
  line-height: 1;
  margin-bottom: 10px;
}
.error-page h1{ font-size: 1.6rem; margin-bottom: 14px; }
.error-page p{ color: var(--text-body); max-width: 460px; margin: 0 auto 30px; }
.error-icon{ width: 70px; margin: 0 auto 24px; opacity: 0.9; }

/* -------------------------------------------------
   Utilities
   ------------------------------------------------- */
.text-center{ text-align: center; }
.mt-0{ margin-top: 0; }
.mb-0{ margin-bottom: 0; }

/* -------------------------------------------------
   WhatsApp floating button
   ------------------------------------------------- */
.whatsapp-float{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover{
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}
.whatsapp-float img{
  width: 30px;
  height: 30px;
}
@media (max-width: 576px){
  .whatsapp-float{
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float img{ width: 26px; height: 26px; }
}
