/* ========================================
   GRUPO INNOVA – Espacios Verdes
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan:    #00BCD4;
  --cyan-dk: #0097A7;
  --dark:    #222831;
  --gray:    #555E6A;
  --light:   #F5F7FA;
  --white:   #FFFFFF;
  --green:   #4CAF50;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Inter', system-ui, sans-serif; }

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

a { text-decoration: none; color: inherit; }

.container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
}

.section { padding: 70px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: 30px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: .9rem;
  transition: all .25s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--cyan); color: var(--white); }
.btn-primary:hover { background: var(--cyan-dk); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--cyan); }
.btn-sm { background: var(--cyan); color: var(--white); padding: .45rem 1.1rem; font-size: .82rem; border-radius: 20px; margin-top: .8rem; display: inline-block; }
.btn-sm:hover { background: var(--cyan-dk); }
.btn-whatsapp { background: #25D366; color: var(--white); display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; }
.btn-whatsapp:hover { background: #1ebe5a; }
.btn-whatsapp-sm { background: #25D366; color: var(--white); padding: .45rem 1.1rem; border-radius: 20px; font-size: .82rem; font-weight: 700; }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: .6rem; }
.section-header p { color: var(--gray); font-size: 1rem; }
.section-line { width: 60px; height: 4px; background: var(--cyan); border-radius: 2px; margin: .8rem auto 0; }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.18));
}
.logo-img-sm { height: 48px; width: auto; object-fit: contain; }

.logo-fallback {
  display: none;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: 'Inter', system-ui, sans-serif;
}
.logo-text strong { font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--dark); text-transform: uppercase; }
.logo-text em { font-size: 1rem; font-weight: 700; font-style: normal; color: var(--cyan); }

/* Nav links */
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  color: rgba(255,255,255,.92);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .2s;
}
.navbar.scrolled .nav-links a { color: var(--dark); }
.navbar.scrolled .nav-links a:hover { color: var(--cyan); }
.nav-links a:hover { color: var(--cyan); }

/* Nav right: instagram + hamburger */
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-insta {
  color: rgba(255,255,255,.85);
  display: flex; align-items: center;
  transition: color .2s;
}
.nav-insta:hover { color: #fff; }
.navbar.scrolled .nav-insta { color: var(--dark); }
.navbar.scrolled .nav-insta:hover { color: var(--cyan); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: rgba(255,255,255,.9); border-radius: 2px; transition: all .3s; }
.navbar.scrolled .hamburger span { background: var(--dark); }

/* ========================================
   HERO – gradiente claro estilo minimal
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background:
    linear-gradient(to right, rgba(0,0,0,.62) 0%, rgba(0,0,0,.35) 100%),
    url('proyectos/circunvalacion/IMG_4063.JPG') center/cover no-repeat;
}

.hero-content {
  padding: 5rem 0 4rem;
}

/* Pills de categoría */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 2rem;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 99px;
  padding: .35rem .9rem;
  backdrop-filter: blur(6px);
}
.hero-pill svg { opacity: .8; flex-shrink: 0; }

/* Heading grande */
.hero-heading {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.4rem;
  letter-spacing: -.025em;
}

/* Descripción */
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2.2rem;
}

/* Logo unidad en hero */
.hero-unit-logo {
  margin-bottom: 1.8rem;
  height: 72px;
  display: flex;
  align-items: center;
}
.hero-unit-logo img {
  height: 72px;
  max-width: 220px;
  object-fit: contain;
  transition: opacity .2s ease;
}

/* Botones pill outline */
.hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-hero-pill {
  display: inline-block;
  padding: .65rem 1.6rem;
  border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,.4);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  transition: all .22s;
  cursor: pointer;
  appearance: none;
}
.btn-hero-pill.active {
  background: rgba(255,255,255,.35);
  border-color: rgba(255,255,255,.8);
}
.btn-hero-pill:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,188,212,.3);
}

/* Foto de cierre en sección Servicios */
.servicios-foto {
  position: relative;
  margin-top: 3rem;
  border-radius: 18px;
  overflow: hidden;
}
.servicios-foto img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.servicios-foto-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
  padding: 2rem 2rem 1.4rem;
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
}

/* ========================================
   EQUIPO – banner + cards
   ======================================== */
.equipo-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.equipo-banner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.equipo-banner-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
  padding: 2rem 1.5rem 1.2rem;
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.equipo-text-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.equipo-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.equipo-member {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.equipo-member:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.13); }
.equipo-member-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.equipo-member h4 { font-size: .92rem; font-weight: 700; margin: .8rem .8rem .2rem; color: var(--dark); }
.equipo-member p { font-size: .78rem; color: var(--gray); margin: 0 .8rem .9rem; line-height: 1.4; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: transform .22s, box-shadow .22s;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.55); }

/* ========================================
   CARDS INTRO
   ======================================== */
.cards-intro { background: var(--light); padding: 56px 0; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card-intro {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
}
.card-intro:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.card-intro.featured { border-top: 4px solid var(--cyan); }
.card-icon { color: var(--cyan); margin-bottom: .8rem; display: flex; justify-content: center; }
.card-intro h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; color: var(--dark); }
.card-intro p { font-size: .88rem; color: var(--gray); line-height: 1.6; }

/* ========================================
   EN GRUPO INNOVA
   ======================================== */
.en-innova { background: var(--white); }
.en-innova-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.tag-accent { color: var(--cyan); font-size: 1.5rem; font-weight: 800; }
.en-innova-text h2 { margin-bottom: 1rem; }
.en-innova-text p { color: var(--gray); line-height: 1.8; }
.en-innova-img img {
  border-radius: 14px;
  width: 100%; height: 360px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  background: #d0e8d0;
}

/* ========================================
   PROYECTOS / GALLERY
   ======================================== */
.proyectos { background: var(--light); }
.gallery-slider { position: relative; overflow: hidden; border-radius: 14px; }
.gallery-track {
  display: flex;
  transition: transform .5s ease;
}
.gallery-item {
  min-width: calc(100% / 3);
  padding: 0 6px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-label {
  position: absolute;
  bottom: 0; left: 6px; right: 6px;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%);
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  padding: 2rem 1rem .85rem;
  border-radius: 0 0 10px 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,188,212,.85);
  color: var(--white); border: none; cursor: pointer;
  font-size: 1.8rem; width: 40px; height: 40px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.gal-arrow:hover { background: var(--cyan); }
.gal-prev { left: .6rem; }
.gal-next { right: .6rem; }

/* ========================================
   SERVICIOS
   ======================================== */
.servicios { background: var(--white); }
.servicios-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
}
.servicios-tagline {
  font-size: 1.7rem; font-weight: 800; line-height: 1.2; color: var(--dark); margin-bottom: 1rem;
}
.servicios-tagline span { color: var(--cyan); }
.servicios-left p { color: var(--gray); font-size: .92rem; line-height: 1.7; }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.servicio-item {
  background: var(--light);
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
  transition: transform .22s, box-shadow .22s;
}
.servicio-item:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.servicio-icon { color: var(--cyan); margin-bottom: .7rem; display: flex; justify-content: center; }
.servicio-item h4 { font-size: .83rem; font-weight: 700; color: var(--dark); line-height: 1.4; }

/* ========================================
   EQUIPO
   ======================================== */
.equipo { background: var(--light); }
.equipo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.equipo-text-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.equipo-col { }
.equipo-icon { color: var(--cyan); margin-bottom: .6rem; }
.equipo-col h4 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.equipo-col p { font-size: .86rem; color: var(--gray); line-height: 1.6; }

.equipo-slider { position: relative; }
.equipo-cards { display: flex; overflow: hidden; }
.equipo-card {
  min-width: 100%;
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  display: none;
}
.equipo-card.active { display: block; }
.placeholder-photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: #c8e6c9;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1rem;
  border: 4px solid var(--cyan);
}
.equipo-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.equipo-card p { font-size: .85rem; color: var(--gray); }
.equipo-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.equipo-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ccc; border: none; cursor: pointer; transition: background .2s;
}
.equipo-dot.active { background: var(--cyan); }

/* ========================================
   STATS
   ======================================== */
.stats { background: var(--dark); padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item {
  color: var(--white);
  padding: 1rem 1.5rem;
  border-left: 1px solid rgba(255,255,255,.1);
}
.stat-item:first-child { border-left: none; }
.stat-number {
  display: block;
  color: var(--cyan);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2.6rem; font-weight: 800;
  margin-bottom: .3rem;
}
.stat-label { font-size: .83rem; color: rgba(255,255,255,.55); line-height: 1.4; letter-spacing: .02em; text-transform: uppercase; font-weight: 500; }

/* ========================================
   NOVEDAD – RC MOWER
   ======================================== */
.novedad { background: var(--light); }

.novedad-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.novedad-badge {
  display: inline-block;
  background: var(--cyan);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .28rem .85rem;
  border-radius: 99px;
  margin-bottom: .9rem;
}

.novedad-text h2 {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}
.novedad-title-accent { color: var(--cyan); }

.novedad-text p {
  color: var(--gray);
  line-height: 1.75;
  font-size: .95rem;
  margin-bottom: 1.2rem;
}

.novedad-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.novedad-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--dark);
  font-weight: 500;
}
.novedad-features li svg { color: var(--cyan); flex-shrink: 0; }

/* Galería de RC Mower */
.novedad-galeria { display: flex; flex-direction: column; gap: .75rem; }

.novedad-principal {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
}
.novedad-principal img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: opacity .3s ease;
}

.novedad-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.rc-thumb {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: .55;
  border: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.rc-thumb:hover { opacity: .85; }
.rc-thumb.active { opacity: 1; border-color: var(--cyan); }

/* ========================================
   UNIDADES DE NEGOCIO
   ======================================== */
.unidades { background: var(--white); }
.unidades-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.unidad-img img {
  width: 100%; height: 360px;
  object-fit: cover; border-radius: 14px;
  background: #b0d4b0;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}
.unidades-list { display: flex; flex-direction: column; gap: 1.2rem; }
.unidad-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  background: var(--light);
  transition: background .2s;
}
.unidad-item:hover { background: #e0f7fa; }
.unidad-item.highlight { background: var(--cyan); color: var(--white); }
.unidad-item.highlight h4, .unidad-item.highlight p { color: var(--white); }
.unidad-num {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.6rem; font-weight: 800;
  color: var(--cyan); min-width: 42px;
  line-height: 1;
}
.unidad-item.highlight .unidad-num { color: rgba(255,255,255,.7); }
.unidad-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.unidad-item p { font-size: .84rem; color: var(--gray); line-height: 1.5; }

/* ========================================
   CONTACTO
   ======================================== */
.contacto { background: var(--light); }
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contacto-box {
  background: var(--dark);
  color: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.contacto-box h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.contacto-phone { font-size: 1.4rem; font-weight: 700; color: var(--cyan); margin-bottom: .4rem; }
.contacto-email { font-size: .92rem; opacity: .8; margin-bottom: .2rem; }
.contacto-form-box {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.contacto-form-box h3 { font-size: 1.15rem; margin-bottom: 1.2rem; font-weight: 700; }
.contacto-form { display: flex; flex-direction: column; gap: .85rem; }
.contacto-form input,
.contacto-form textarea {
  border: 1.5px solid #dde3ee;
  border-radius: 8px;
  padding: .7rem 1rem;
  font-size: .9rem;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  transition: border-color .2s;
  resize: none;
  outline: none;
}
.contacto-form input:focus,
.contacto-form textarea:focus { border-color: var(--cyan); }

/* ========================================
   TRABAJA CON NOSOTROS
   ======================================== */
.trabaja { background: var(--dark); padding: 48px 0; }
.trabaja-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}
.trabaja-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}
.trabaja-left strong { display: block; font-size: 1.1rem; font-family: 'Inter', system-ui, sans-serif; }
.trabaja-left span { font-size: .85rem; opacity: .75; }
.trabaja-right { color: var(--white); }
.trabaja-right p { font-size: .9rem; opacity: .85; margin-bottom: 1rem; line-height: 1.6; }
.trabaja-contact { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.trabaja-contact span { font-size: .88rem; opacity: .75; }

/* ========================================
   REDES
   ======================================== */
.redes { background: var(--light); padding: 40px 0; text-align: center; }
.redes-inner h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.redes-icons { display: flex; justify-content: center; gap: 1rem; }
.red-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.red-icon svg { stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.red-icon:hover { background: var(--cyan); transform: translateY(-3px); }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: #111820; padding: 20px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.55);
  font-size: .82rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); flex-direction: column; padding: 1.5rem; gap: 1.2rem; border-bottom: 1px solid rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .cards-grid { grid-template-columns: 1fr; }
  .en-innova-inner { grid-template-columns: 1fr; }
  .servicios-layout { grid-template-columns: 1fr; }
  .servicios-grid { grid-template-columns: repeat(2,1fr); }
  .equipo-text-cols { grid-template-columns: 1fr; }
  .equipo-cards-grid { grid-template-columns: repeat(2,1fr); }
  .novedad-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .unidades-grid { grid-template-columns: 1fr; }
  .contacto-inner { grid-template-columns: 1fr; }
  .trabaja-inner { grid-template-columns: 1fr; }
  .gallery-item { min-width: 50%; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item { min-width: 100%; }
  .hero-btns { flex-direction: column; }
  .equipo-cards-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   PORTFOLIO PAGE
   ======================================== */

.port-hero {
  background: var(--dark);
  padding: 120px 0 64px;
}

.port-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .8rem;
}

.port-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--cyan);
  font-size: .9rem;
  font-weight: 600;
  transition: opacity .2s;
}
.port-back:hover { opacity: .75; }

.port-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  font-weight: 800;
  margin-top: .4rem;
}

.port-hero p {
  color: #99aabb;
  font-size: 1.1rem;
}

.port-hero-line {
  width: 56px;
  height: 4px;
  background: var(--cyan);
  border-radius: 2px;
  margin-top: .6rem;
}

/* Project list */
.port-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Project card */
.port-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid #eee;
}
.port-card:last-child { border-bottom: none; }

.port-card.reverse { direction: rtl; }
.port-card.reverse > * { direction: ltr; }

/* Gallery */
.port-main-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light);
}

.port-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.port-main-img:hover img { transform: scale(1.04); }

.port-thumbs {
  display: flex;
  gap: .6rem;
  margin-top: .8rem;
  flex-wrap: wrap;
}

.port-thumb {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: .55;
  outline: 2px solid transparent;
  transition: opacity .2s, outline-color .2s;
}
.port-thumb.active,
.port-thumb:hover { opacity: 1; outline-color: var(--cyan); }

/* Info */
.port-tag {
  display: inline-block;
  background: var(--cyan);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .28rem .9rem;
  border-radius: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.port-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.port-info p {
  color: var(--gray);
  line-height: 1.75;
  font-size: 1rem;
}

.port-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.port-meta span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--gray);
  font-size: .88rem;
  font-weight: 500;
}

.port-meta svg { stroke: var(--cyan); flex-shrink: 0; }

/* CTA */
.port-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 3.5rem 0;
  text-align: center;
}

.port-cta h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
}

/* Portfolio responsive */
@media (max-width: 900px) {
  .port-card,
  .port-card.reverse { grid-template-columns: 1fr; direction: ltr; gap: 2rem; }
}

/* ========================================
   EN CONSTRUCCIÓN
   ======================================== */
.en-construccion { background: var(--light); }

.en-construccion-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  padding: 5rem 1rem;
}

.en-construccion-icon {
  color: var(--cyan);
  margin-bottom: .5rem;
}

.en-construccion-badge {
  display: inline-block;
  background: var(--cyan);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .28rem 1rem;
  border-radius: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.en-construccion h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
}

.en-construccion p {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
}

.en-construccion-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .8rem;
}

.btn-outline-dark {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: 30px;
  border: 2px solid var(--dark);
  color: var(--dark);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: .9rem;
  transition: all .25s;
}
.btn-outline-dark:hover { background: var(--dark); color: #fff; }

/* ========================================
   UNIDADES – logo switcher
   ======================================== */
.unidad-logo-display {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-radius: 16px;
  padding: 3rem 2rem;
  min-height: 260px;
}

.unidad-logo-display img {
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
  transition: opacity .2s ease;
}

.unidad-item { cursor: pointer; }

/* ========================================
   INNOVA UNIT CARDS (servicios.html)
   ======================================== */
.innova-units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.innova-unit-card {
  background: var(--dark);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  transition: transform .25s;
}

.innova-unit-card:hover { transform: translateY(-4px); }

.innova-unit-card img {
  max-height: 110px;
  max-width: 180px;
  object-fit: contain;
}

.innova-unit-card h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.innova-unit-card p {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  line-height: 1.65;
}

@media (max-width: 750px) {
  .innova-units-grid { grid-template-columns: 1fr; }
}
