/* ===== HEADER (solo esto) ===== */

/* contenedor general (si ya tenés .wrap, dejá uno solo) */
.wrap{
  max-width:1140px;
  margin:0 auto;
  padding:0 20px;
}

/* header estático */
.topbar{
  position: static;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}

/* fila del header */
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 18px 0;
}

/* bloque logo */
.brand{
  display:flex;
  align-items:center;
  min-height: 64px;
}

/* imagen logo (control tamaño) */
.logo-img{
  height: 64px;     /* subí/bajá acá */
  width: auto;
  max-width: 340px;
  object-fit: contain;
  display:block;
}

/* nav desktop */
.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}

/* links */
.nav a{
  font-size: 14px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
}
.nav a:hover{
  color: #111;
}

/* botón "Cotizar" */
.nav .cta{
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
}

/* hamburger */
.hamburger{
  display:none;
  border: 1px solid rgba(0,0,0,0.10);
  background:#fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}

/* ===== MOBILE ===== */
@media (max-width: 860px){
  .nav{ display:none; }
  .hamburger{ display:block; }

  /* cuando JS agrega class "mobile" */
  .nav.mobile{
    display:flex;
    flex-direction:column;
    position:absolute;
    right: 20px;
    top: 86px;                /* si tu header es más alto, subí esto */
    background:#fff;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 16px;
    padding: 12px;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
    z-index: 999;
    min-width: 220px;
  }

  .nav.mobile a{
    padding: 8px 10px;
    border-radius: 10px;
  }
  .nav.mobile a:hover{
    background: rgba(0,0,0,0.04);
  }
}

/* ===== HERO / SECCIÓN PRINCIPAL ===== */

.hero{
  padding: 56px 0 72px;
  background: #F5F7FA; /* claro elegante */
}

/* grilla principal */
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

/* CARD TEXTO */
.hero-card{
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(14,27,42,0.08);
}

/* badge superior */
.hero-badge{
  display:inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #0E1B2A;
  background: rgba(85,160,180,0.15);
  margin-bottom: 16px;
}

/* título */
.hero-card h1{
  font-size: 44px;
  line-height: 1.1;
  color: #0E1B2A;
  margin-bottom: 16px;
}

/* texto */
.hero-card p{
  font-size: 16px;
  line-height: 1.7;
  color: #4A5568;
  margin-bottom: 24px;
}

/* botones */
.hero-actions{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-primary{
  background: #0E1B2A;
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
}

.btn-secondary{
  background: #fff;
  border: 1px solid rgba(14,27,42,0.15);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  color: #0E1B2A;
}

/* chips */
.hero-chips{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-chip{
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: #0E1B2A;
  border: 1px solid rgba(85,160,180,0.4);
  background: #fff;
}

/* CARD IMAGEN */
.hero-image{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(14,27,42,0.10);
  background: #e9eef3;

  /* 👇 clave */
  height: 420px;     /* controla lo “larga” */
}

.hero-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;       /* recorta sin deformar */
  object-position: center bottom; /* podés mover si querés */
}

/* texto overlay opcional */
.hero-image span{
  position:absolute;
  top: 16px;
  left: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #0E1B2A;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px){
  .hero-grid{
    grid-template-columns: 1fr;
  }

  .hero-card h1{
    font-size: 36px;
  }
}

/* ===== SERVICIOS ===== */
.services{
  padding: 60px 0;
  background: #F6F6F4; /* mismo fondo general */
}

.services-head{
  margin-bottom: 22px;
}

.services-head h2{
  font-size: 28px;
  color: #0E1B2A;
  margin-bottom: 8px;
}

.services-head p{
  color: rgba(14,27,42,0.65);
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* card */
.service-card{
  background: #fff;
  border: 1px solid rgba(14,27,42,0.10);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 28px rgba(14,27,42,0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* encabezado card */
.service-top{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* detalle acento (tu color #55A0B4) */
.service-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #55A0B4;
  box-shadow: 0 0 0 4px rgba(85,160,180,0.18);
}

.service-card h3{
  font-size: 18px;
  color: #0E1B2A;
  letter-spacing: .2px;
}

.service-card p{
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(14,27,42,0.68);
}

/* hover premium */
.service-card:hover{
  transform: translateY(-2px);
  border-color: rgba(85,160,180,0.35);
  box-shadow: 0 18px 40px rgba(14,27,42,0.10);
}

/* responsive */
@media (max-width: 980px){
  .services-grid{
    grid-template-columns: 1fr;
  }
}

/* ===== TRABAJOS ===== */
.works{
  padding: 60px 0;
  background: #F5F7FA;
}

.works-head h2{
  font-size: 28px;
  color: #0E1B2A;
  margin-bottom: 8px;
}
.works-head p{
  color: rgba(14,27,42,.65);
  font-size: 15px;
  margin-bottom: 22px;
}

.works-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.work-card{
  margin: 0;
}

.work-btn{
  width: 100%;
  border: 1px solid rgba(14,27,42,0.10);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  position: relative;
  box-shadow: 0 14px 28px rgba(14,27,42,0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.work-btn img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.work-tag{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(14,27,42,0.10);
  color: #0E1B2A;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.work-btn:hover{
  transform: translateY(-2px);
  border-color: rgba(85,160,180,0.45);
  box-shadow: 0 18px 40px rgba(14,27,42,0.10);
}

@media (max-width: 1100px){
  .works-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px){
  .works-grid{ grid-template-columns: repeat(2, 1fr); }
  .work-btn img{ height: 200px; }
}
@media (max-width: 480px){
  .works-grid{ grid-template-columns: 1fr; }
  .work-btn img{ height: 230px; }
}

/* ===== LIGHTBOX (modal) ===== */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.lightbox.open{ display: block; }

.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(14,27,42,0.75);
}

.lightbox-panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100% - 32px));
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

.lightbox-panel img{
  width: 100%;
  height: auto;
  display:block;
}

.lightbox-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  font-size: 16px;
}

/* ===== PROCESO ===== */
.process{
  padding: 60px 0;
  background: #F5F7FA; /* coherente con hero/trabajos */
}

.process-head{
  margin-bottom: 22px;
}
.process-head h2{
  font-size: 28px;
  color: #0E1B2A;
  margin-bottom: 8px;
}
.process-head p{
  color: rgba(14,27,42,.65);
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
}

.process-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* card de paso */
.step-card{
  background:#fff;
  border: 1px solid rgba(14,27,42,0.10);
  border-radius: 18px;
  padding: 18px;
  display:flex;
  gap: 14px;
  align-items:flex-start;
  box-shadow: 0 14px 28px rgba(14,27,42,0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* número */
.step-num{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 700;
  color: #0E1B2A;
  background: rgba(85,160,180,0.18);
  border: 1px solid rgba(85,160,180,0.35);
  flex: 0 0 auto;
}

/* contenido */
.step-body h3{
  font-size: 17px;
  color:#0E1B2A;
  margin: 2px 0 6px;
}
.step-body p{
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(14,27,42,.68);
}

/* hover */
.step-card:hover{
  transform: translateY(-2px);
  border-color: rgba(85,160,180,0.45);
  box-shadow: 0 18px 40px rgba(14,27,42,0.10);
}

/* responsive */
@media (max-width: 980px){
  .process-grid{ grid-template-columns: 1fr; }
  .step-card{ padding: 16px; }
}

/* ===== CONTACTO ===== */
.contact{
  padding: 60px 0;
  background: #F5F7FA;
}

.contact-head{
  margin-bottom: 22px;
}
.contact-head h2{
  font-size: 28px;
  color: #0E1B2A;
  margin-bottom: 8px;
}
.contact-head p{
  color: rgba(14,27,42,.65);
  font-size: 15px;
  line-height: 1.6;
  max-width: 65ch;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

/* form */
.contact-form{
  background: #fff;
  border: 1px solid rgba(14,27,42,0.10);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 28px rgba(14,27,42,0.06);
}

.field{
  display: block;
  margin-bottom: 14px;
}
.field span{
  display:block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(14,27,42,.85);
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(14,27,42,0.12);
  background: #fff;
  font-size: 14.5px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field textarea{ resize: vertical; min-height: 130px; }

.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color: rgba(85,160,180,0.55);
  box-shadow: 0 0 0 4px rgba(85,160,180,0.15);
}

.contact-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* info */
.contact-info .info-card{
  background: #fff;
  border: 1px solid rgba(14,27,42,0.10);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 28px rgba(14,27,42,0.06);
}

.info-card h3{
  margin-bottom: 14px;
  font-size: 16px;
  color: #0E1B2A;
}

.info-item{
  display:flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(14,27,42,0.06);
}
.info-item:last-child{
  border-bottom: none;
}

.info-dot{
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: #55A0B4;
  box-shadow: 0 0 0 4px rgba(85,160,180,0.18);
  flex: 0 0 auto;
}

.info-item strong{
  color: #0E1B2A;
  font-size: 13.5px;
}
.info-item p{
  color: rgba(14,27,42,.68);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 4px;
}

.info-item a{
  color: #0E1B2A;
  text-decoration: none;
  border-bottom: 1px solid rgba(85,160,180,0.45);
}
.info-item a:hover{
  border-bottom-color: rgba(14,27,42,0.35);
}

.mini-note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(85,160,180,0.12);
  color: rgba(14,27,42,.85);
  font-size: 13.5px;
  line-height: 1.5;
  border: 1px solid rgba(85,160,180,0.25);
}

.mini-badge{
  display:inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0E1B2A;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
}

@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER ===== */
.footer{
  background: linear-gradient(135deg, #0E1B2A 0%, #081421 100%);
  padding: 28px 20px 20px;   /* 👈 altura controlada */
}

/* contenedor */
.footer-inner{
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

/* título */
.footer-title{
  color: rgba(255,255,255,0.7);
  font-size: 24px;
  letter-spacing: 3px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* redes */
.footer-socials{
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 14px 0;
}

/* botón red */
.footer-socials a{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all .25s ease;
}

.footer-socials a:hover{
  background: rgba(85,160,180,0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* iconos */
.footer-socials img{
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* copyright */
.footer-copy{
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.footer,
.footer * {
  color: #ffffff;
}

.footer-copy {
  color: rgba(255,255,255,0.75) !important;
}

.footer-title {
  color: #ffffff !important;
}

.topbar{
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  z-index: 2000; /* CLAVE */
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 16px 0;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}

.hamburger{
  display:none;
  border: 1px solid rgba(0,0,0,0.10);
  background:#fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  z-index: 3000; /* CLAVE */
}

@media (max-width: 860px){
  .nav{ display:none; }
  .hamburger{ display:block; }

  .nav.mobile{
    display:flex;
    flex-direction:column;
    position:absolute;
    right: 20px;
    top: 72px;
    background:#fff;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 16px;
    padding: 12px;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    z-index: 2500;
    min-width: 220px;
  }
}

@media (max-width: 1024px){
  .nav{ display:none; }
  .hamburger{ display:block; }

  .nav.mobile{
    display:flex;
    flex-direction:column;
    position:absolute;
    right: 20px;
    top: 72px;
    background:#fff;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 16px;
    padding: 12px;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    z-index: 2500;
    min-width: 220px;
  }
}