/* ===== TIPOGRAFÍA PERSONALIZADA ===== */

/* MAGNUM — solo H1 / display */
@font-face {
  font-family: "Magnum Regular";
  src: url("../fonts/MagnumSansW01-ExtraBlack.woff2") format("woff2"),
       url("../fonts/MagnumSansW01-ExtraBlack.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Magnum Regular";
  src: url("../fonts/MagnumSansW01-ExtraBlack.woff2") format("woff2"),
       url("../fonts/MagnumSansW01-ExtraBlack.woff") format("woff");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

/* NEUE EINSTELLUNG — H2 / H3 / subtítulos */
@font-face {
  font-family: "Neue Einstellung";
  src: url("../fonts/NeueEinstellung-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Einstellung";
  src: url("../fonts/NeueEinstellung-Bold.woff2") format("woff2"),
       url("../fonts/NeueEinstellung-Bold.woff") format("woff");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

/* CLEAR SANS — cuerpo / párrafos / UI */
@font-face {
  font-family: "Clear Sans";
  src: url("../fonts/ClearSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Clear Sans";
  src: url("../fonts/ClearSans-Medium.woff") format("woff");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

/* ===== VARIABLES DE FUENTE ===== */
:root {
  --font-display:  "Magnum Regular", "Barlow Condensed", "Impact", sans-serif;
  --font-heading:  "Neue Einstellung", "Barlow", "DM Sans", sans-serif;
  --font-body:     "Clear Sans", "Barlow", "Inter", system-ui, sans-serif;
}

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

:root {
  --green: #54AE32;
  --green-light: #8FD435;
  --green-dark: #5a9e0f;
  --dark: #1e2530;
  --dark2: #252c38;
  --gray-bg: #f4f6f8;
  --text-dark: #1a1a2e;
  --text-mid: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --border: #e2e8f0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===== JERARQUÍA TIPOGRÁFICA GLOBAL ===== */
h1 {
  font-family: var(--font-display);
}

h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

p, a, span, li, label, input, textarea, select, button {
  font-family: var(--font-body);
}

/* Los span dentro de headings heredan la fuente del heading, no var(--font-body) */
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
  font-family: inherit;
}

/* ===== ANIMACIONES GLOBALES ===== */

/* Fade In Up con blur */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Slide In Left con rotación */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px) rotateY(25deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
    filter: blur(0);
  }
}

/* Slide In Right con rotación */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px) rotateY(-25deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
    filter: blur(0);
  }
}

/* Scale In con rotación */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-15deg);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0);
  }
}

/* Float Up mejorado */
@keyframes floatUp {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Revelar con clip-path */
@keyframes revealFromLeft {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
  }
}

/* Revelar desde arriba */
@keyframes revealFromTop {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

/* Scale + Opacity combinados */
@keyframes scaleUpFade {
  from {
    opacity: 0;
    transform: scale(0.4) translateY(20px);
  }
  50% {
    opacity: 0.7;
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Shimmer / Brillo */
@keyframes shimmer {
  0% {
    opacity: 0;
    transform: translateX(-100%) skewX(-20deg);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100%) skewX(-20deg);
  }
}

/* Rotate + Fade */
@keyframes rotateFadeIn {
  from {
    opacity: 0;
    transform: rotateX(90deg) scale(0.5);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: rotateX(0) scale(1);
    filter: blur(0);
  }
}

/* Elastic bounce */
@keyframes elasticBounce {
  0% {
    opacity: 0;
    transform: scale(0) translateY(40px);
  }
  50% {
    opacity: 1;
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

/* Flip animation */
@keyframes flipIn {
  from {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
  }
  to {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg);
  }
}

/* Wave animation */
@keyframes waveAnimIn {
  0% {
    opacity: 0;
    transform: translateY(30px) rotateX(45deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

/* Fade In Down */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ===== ANIMACIONES CONTINUAS ===== */

/* 1. PULSE - Latido suave */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.8;
  }
}

/* 2. FLOATING - Flotación */
@keyframes floating {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* 3. SHIMMER - Brillo deslizante */
@keyframes shimmerAnimation {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* 4. ROTATE - Rotación continua */
@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 5. GLOW - Brillo pulsante */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(125, 196, 39, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 30px rgba(125, 196, 39, 0.9);
    transform: scale(1.02);
  }
}

/* 6. WAVE - Onda */
@keyframes waveAnimation {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(5px);
  }
}

/* 7. BACKGROUND GRADIENT ANIMATION */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 8. UNDERLINE ANIMATION */
@keyframes underlineSlide {
  from {
    width: 0;
    left: 0;
  }
  to {
    width: 100%;
    left: 0;
  }
}

/* 9. BOUNCE - Rebote suave */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 10. BLINK - Parpadeo sutil */
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 70px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 80px;
}

.logo-hex {
  width: auto;
  height: 58px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  z-index: 101;
}

.hamburger span {
  width: 25px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  z-index: 99;
  animation: slideInDown 0.3s ease;
}

.mobile-menu.active {
  display: flex;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-links {
  list-style: none;
  margin-bottom: 20px;
}

.mobile-nav-item-dropdown {
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* Links simples del menú móvil (Proyectos, Contacto) */
.mobile-nav-links > li > a {
  display: flex;
  align-items: center;
  padding: 16px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav-links > li > a:hover {
  color: var(--green);
  padding-left: 8px;
}

.mobile-nav-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  text-decoration: none;
  padding: 16px 4px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}

.mobile-nav-trigger svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-dark);
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.mobile-nav-trigger.active svg {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  display: none;
  background: #f7f8f7;
  border-radius: 10px;
  margin: 4px 0 12px 0;
  padding: 8px;
  animation: slideInDown 0.3s ease;
}

.mobile-dropdown-menu.active {
  display: block;
}

.mobile-dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 4px;
  border-left: 3px solid var(--green);
  background: white;
  transition: background 0.15s, transform 0.15s;
}

.mobile-dropdown-item:last-child {
  margin-bottom: 0;
}

.mobile-dropdown-item:hover {
  background: #f0faf0;
  transform: translateX(2px);
}

.mobile-dropdown-item .dropdown-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.mobile-dropdown-item .dropdown-item-desc {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.4;
}

.mobile-cta {
  display: block;
  margin-top: auto;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: var(--green);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
}

/* ===== DROPDOWN SERVICIOS (DESKTOP) ===== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-dropdown-trigger:hover,
.nav-item-dropdown.active .nav-dropdown-trigger {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}

.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-dark);
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.2s;
}

.nav-item-dropdown.open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  margin-top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  min-width: 300px;
  padding: 12px 0;
  z-index: 200;
}

.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.nav-item-dropdown.open .nav-dropdown-menu {
  display: block;
  animation: fadeDropdown 0.2s ease-out;
}

.dropdown-item {
  display: block;
  padding: 14px 24px;
  text-decoration: none;
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: var(--gray-bg);
}

.dropdown-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.dropdown-item-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.4;
}

.btn-cta {
  background: var(--green);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cta:hover {
  background: var(--green-dark);
}

/* ===== HERO ===== */
.hero {
  background: #000000;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 80px 80px;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  color: #d1d5db;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--green);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Barlow', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== ANIMATION CLASSES ===== */

/* Animaciones de entrada (una sola vez) */
.slide-up {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.slide-in-left {
  animation: slideInLeft 0.9s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.slide-in-right {
  animation: slideInRight 0.9s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.scale-in-animation {
  animation: scaleIn 0.7s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.elastic-bounce-in {
  animation: elasticBounce 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.rotateFadeIn-animation {
  animation: rotateFadeIn 0.9s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.flipInAnimation {
  animation: flipIn 0.8s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.reveal-left {
  animation: revealFromLeft 0.85s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.reveal-top {
  animation: revealFromTop 0.85s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.scale-up-fade {
  animation: scaleUpFade 0.9s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.wave-in {
  animation: waveAnimIn 0.8s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.fade-in-down {
  animation: fadeInDown 0.7s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.fade-in-section {
  opacity: 1;
}

.fade-in-text {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.step-fade-in {
  animation: fadeInUp 0.7s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

.project-hover-lift {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-hover-lift:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.blog-hover-scale {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.blog-hover-scale:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ===== ANIMACIONES CONTINUAS / INFINITAS ===== */

/* 1. PULSE - Latido en botones CTA */
.pulse-animation {
  animation: pulse 2s ease-in-out infinite !important;
}

/* 2. FLOATING - Flotación en imágenes y tarjetas */
.floating-animation {
  animation: floating 3.5s ease-in-out infinite !important;
}

/* 3. SHIMMER - Brillo deslizante en tarjetas */
.shimmer-animation {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  background-size: 1000px 100%;
  animation: shimmerAnimation 3s infinite;
}

/* 4. ROTATE - Rotación continua en logos */
.rotate-animation {
  animation: rotate360 20s linear infinite !important;
}

/* 5. GLOW - Brillo pulsante en certificación */
.glow-animation {
  animation: glowPulse 2s ease-in-out infinite !important;
}

/* 6. WAVE - Onda en elementos */
.wave-animation {
  animation: waveAnimation 2s ease-in-out infinite;
}

/* 7. BOUNCE - Rebote suave */
.bounce-animation {
  animation: bounce 2s ease-in-out infinite;
}

/* 8. GRADIENT - Cambio de colores de fondo */
.gradient-shift-animation {
  background: linear-gradient(-45deg, #7DC427, #8FD435, #5a9e0f, #7DC427);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* Logo flotante */
.logo-float {
  animation: floating 3.5s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 36px 20px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--green);
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-mid);
  margin-top: 8px;
  font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
.section-services {
  background: var(--gray-bg);
  padding: 80px 80px;
  text-align: center;
}

.section-services h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.2;
}

.section-services > p {
  color: var(--text-mid);
  font-size: 16px;
  max-width: 860px;
  margin: 0 auto 50px;
  line-height: 1.7;
  text-align: left;
}

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

.service-card {
  background: white;
  border-radius: 10px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: #94C93D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: #1a1a2e;
  fill: none;
  stroke-width: 2;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== WHY US ===== */
.section-why {
  background: white;
  padding: 80px 80px;
}

.section-why h2 {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.2;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.why-image-placeholder {
  background: #e8ecef;
  border-radius: 8px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
  font-style: italic;
  border: 2px dashed #cbd5e0;
  overflow: hidden;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #94C93D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.why-point:hover .why-icon {
  background: #54AE32;
  transform: scale(1.1);
}

.why-point:hover .why-icon svg {
  stroke: white;
}

.why-icon svg {
  width: 20px;
  height: 20px;
  stroke: #1a1a2e;
  fill: none;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

.why-point h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.why-point p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== PROCESS ===== */
.section-process {
  background: var(--gray-bg);
  padding: 80px 80px;
  text-align: center;
}

.section-process h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-process .subtitle {
  color: var(--text-mid);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.process-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-step {
  padding: 20px 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--gray-bg);
  cursor: pointer;
  transition: all 0.2s;
}

.process-step:hover {
  background: #f0f9e8;
  border-color: var(--green);
  transform: translateX(8px);
}

.process-step.active {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: var(--green);
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  min-width: 24px;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.process-detail {
  background: white;
  border-radius: 10px;
  padding: 36px;
  border: 1px solid var(--border);
}

.process-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.detail-icon {
  width: 52px;
  height: 52px;
  background: #94C93D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-icon svg {
  width: 24px;
  height: 24px;
  stroke: #1a1a2e;
  fill: none;
  stroke-width: 2;
}

.process-detail h3 {
  font-size: 22px;
  font-weight: 700;
}

.process-detail p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.process-img-placeholder {
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
}
.process-img-placeholder {
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
}

.process-img-placeholder img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== PROJECTS ===== */
.section-projects {
  background: var(--gray-bg);
  padding: 80px 80px;
}

.section-projects h2 {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
}

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

.project-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.project-img-placeholder {
  background: #e8ecef;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
  font-style: italic;
  border-bottom: 2px dashed #cbd5e0;
  overflow: hidden;
}

.project-body {
  padding: 24px;
}

.project-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.project-location {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.project-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 4px;
}

.project-body strong {
  color: var(--text-dark);
}

.project-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-link:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

/* ===== TESTIMONIALS ===== */
.section-testimonials {
  background: white;
  padding: 80px 80px;
  text-align: center;
}

.section-testimonials h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 60px;
}

.testimonial-slide {
  display: none;
  animation: fadeInUp 0.5s ease-out;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-text {
  font-size: 22px;
  font-style: italic;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  background: #ccd4db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-mid);
  margin: 0 auto 12px;
}

.testimonial-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: var(--green-light);
  transform: scale(1.2);
}

.dot.active {
  background: var(--green);
}

/* ===== CLIENTS ===== */
.section-clients {
  background: var(--gray-bg);
  padding: 60px 0 52px;
  text-align: center;
}

.clients-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  padding: 0 80px;
}

.clients-header h3 {
  font-size: 20px;
  font-weight: 700;
}

/* ── Carrusel de clientes (JS-driven) ─────────────────────── */
.clients-marquee-wrap {
  overflow: hidden;
  padding: 8px 0;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.clients-track {
  display: flex;             /* fila horizontal */
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  will-change: transform;    /* optimización GPU */
}

/* Tarjeta uniforme: caja fija + object-fit iguala todos los logos */
.client-item {
  flex: 0 0 150px;
  width: 150px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 14px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: default;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.client-item:hover {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
}

.client-item img {
  width: 130px;
  height: 62px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: grayscale(1) opacity(.5);
  transition: filter 0.2s;
}

.client-item:hover img { filter: none; }

.client-item-name {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text-light);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
  text-align: center;
}

/* Ocultar markup viejo */
.client-logo, .clients-logos { display: none; }

@media (max-width: 768px) {
  .clients-header { padding: 0 24px; }
  .client-item { flex: 0 0 120px; width: 120px; padding: 10px 8px 8px; }
  .client-item img { width: 104px; height: 50px; }
  .clients-track { gap: 12px; }
}

/* ===== BLOG ===== */
.section-blog {
  background: white;
  padding: 80px 80px;
}

.section-blog h2 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.section-blog .subtitle {
  text-align: center;
  color: var(--text-mid);
  font-size: 15px;
  margin-bottom: 48px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

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

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog-img-placeholder {
  background: #e8ecef;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
  font-style: italic;
  border-bottom: 2px dashed #cbd5e0;
  overflow: hidden;
}

.blog-body {
  padding: 24px;
}

.blog-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-link {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-link:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

/* ===== CTA ===== */
.section-cta {
  background: var(--dark);
  padding: 80px 80px;
  text-align: center;
}

.section-cta h2 {
  font-size: 44px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta p {
  color: #9ca3af;
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 80px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 32px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 14px;
  margin-top: 12px;
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 240px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-icon:hover {
  border-color: var(--green);
  background: rgba(125, 196, 39, 0.1);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  stroke: #9ca3af;
  fill: none;
  stroke-width: 2;
  transition: stroke 0.3s ease;
}

.social-icon:hover svg {
  stroke: var(--green);
}

/* TikTok y otros íconos fill-based */
.social-icon-fill svg { fill: #9ca3af; stroke: none !important; }
.social-icon-fill:hover svg { fill: var(--green); stroke: none !important; }

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: white;
  transform: translateX(4px);
  display: inline-block;
}

.footer-col-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-col-cert h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

.footer-cert-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  transition: transform 0.3s ease;
}

.footer-cert-img:hover {
  transform: scale(1.05) rotate(5deg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

/* Floating button */
.floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(125, 196, 39, 0.4);
  z-index: 999;
  animation: floatUp 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(125, 196, 39, 0.6);
}

.floating-btn svg {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
}

/* ===== RESPONSIVE ===== */

/* Tablet grande (<=1024px) */
@media (max-width: 1024px) {
  nav {
    padding: 0 24px;
  }
  .nav-logo {
    margin-left: 20px;
  }
  .hero {
    padding: 60px 40px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .section-services,
  .section-why,
  .section-process,
  .section-projects,
  .section-testimonials,
  .section-clients,
  .section-blog,
  .section-cta {
    padding: 60px 40px;
  }
  footer {
    padding: 50px 40px 32px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    gap: 36px;
  }
  .process-layout {
    grid-template-columns: 260px 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-col-cert {
    align-items: flex-start;
    text-align: left;
  }
}

/* Tablet (<=768px) */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  /* Ocultar el botón CTA del navbar en móvil — solo aparece dentro de la hamburguesa */
  nav > .btn-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-logo {
    margin-left: 0;
  }
  nav {
    padding: 0 20px;
  }
  .logo-hex {
    height: 52px;
  }
  .hero {
    padding: 48px 24px;
    min-height: auto;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero p {
    font-size: 15px;
  }
  .section-services,
  .section-why,
  .section-process,
  .section-projects,
  .section-testimonials,
  .section-clients,
  .section-blog,
  .section-cta {
    padding: 48px 24px;
  }
  footer {
    padding: 40px 24px 28px;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .why-image-placeholder {
    height: 260px;
  }
  .process-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-steps {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .process-step {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
    min-height: auto;
    padding: 14px 16px;
  }
  .process-step:hover {
    transform: none;
  }
  .process-detail {
    padding: 24px 20px;
  }
  .process-img-placeholder {
    height: 200px;
  }
  .section-services h2,
  .section-why h2,
  .section-process h2,
  .section-projects h2,
  .section-testimonials h2,
  .section-blog h2,
  .section-cta h2 {
    font-size: 28px;
  }
  .testimonial-text {
    font-size: 17px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-col-cert {
    align-items: flex-start;
    text-align: left;
  }
}

/* Movil (<=480px) */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
  }
  .process-step {
    flex: none;
    width: 100%;
    padding: 12px 16px;
  }
  .section-cta h2 {
    font-size: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== MISION / VISION ===== */
.section-mision {
  background: #f8f9fa;
  padding: 70px 80px;
}

.mision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.mision-card {
  background: white;
  border-radius: 14px;
  padding: 36px 28px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mision-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.mision-icon {
  width: 60px;
  height: 60px;
  background: #94C93D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mision-icon svg {
  width: 28px;
  height: 28px;
  stroke: #1a1a2e;
}

.mision-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.mision-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ===== INSTAGRAM SECTION ===== */
.section-instagram {
  background: white;
  padding: 70px 80px;
  text-align: center;
}

.section-instagram h2 {
  margin-bottom: 10px;
}

.section-instagram .subtitle {
  color: var(--text-mid);
  margin-bottom: 36px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto 28px;
}

.ig-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.ig-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.ig-post:hover img {
  transform: scale(1.06);
}

.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(84, 174, 50, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.ig-post:hover .ig-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.ig-overlay svg {
  opacity: 0;
  transition: opacity 0.3s;
  width: 30px;
  height: 30px;
}

.ig-post:hover .ig-overlay svg {
  opacity: 1;
}

.ig-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  transition: opacity 0.2s, transform 0.2s;
}

.btn-ig:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.ig-note {
  font-size: 12px;
  color: var(--text-mid);
  max-width: 500px;
}

.ig-note a {
  color: var(--green-primary);
  font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.section-contacto {
  background: #1e2530;
  padding: 80px;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contacto-info h2 {
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contacto-info > p {
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contacto-datos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dato-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.5;
}

.dato-icon {
  width: 40px;
  height: 40px;
  background: #94C93D;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dato-icon svg {
  width: 18px;
  height: 18px;
  stroke: #1a1a2e;
}

.dato-item strong {
  color: white;
  display: block;
  margin-bottom: 2px;
}

.dato-item a {
  color: #d1d5db;
  text-decoration: none;
}

.dato-item a:hover {
  color: #54AE32;
}

.form-card {
  background: white;
  border-radius: 14px;
  padding: 36px 32px;
}

.form-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-card > p {
  color: var(--text-mid);
  font-size: 13px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #54AE32;
}

.form-group textarea {
  resize: vertical;
}

.btn-form-submit {
  width: 100%;
  background: #54AE32;
  color: white;
  border: none;
  padding: 13px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.btn-form-submit:hover {
  background: #3d8a22;
}

.btn-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ===== RESPONSIVE additions ===== */
@media (max-width: 1024px) {
  .mision-grid { grid-template-columns: 1fr 1fr; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .contacto-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Formulario primero en tablet/móvil */
  .contacto-form { order: -1; }
}

@media (max-width: 768px) {
  .section-mision { padding: 48px 24px; }
  .mision-grid { grid-template-columns: 1fr; }
  .section-instagram { padding: 48px 24px; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .section-contacto { padding: 48px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

@keyframes fadeDropdown {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== BOTON INICIO FIJO ===== */
.btn-home-fixed {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid #54AE32;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  z-index: 998;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-home-fixed:hover {
  background: #54AE32;
  transform: scale(1.08);
}
.btn-home-fixed svg {
  width: 20px;
  height: 20px;
  stroke: #54AE32;
  fill: none;
  stroke-width: 2;
  transition: stroke 0.3s;
}
.btn-home-fixed:hover svg { stroke: white; }
.btn-home-fixed .tooltip {
  position: absolute;
  right: 56px;
  background: #1e2530;
  color: white;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.btn-home-fixed:hover .tooltip { opacity: 1; }

/* ===== VARIABLES ADICIONALES ===== */
:root {
  --green-deeper: #3d8a22;
  --card-shadow: 0 2px 12px rgba(0,0,0,0.07);
  --radius: 10px;
}

html { scroll-behavior: smooth; }

/* Helpers */
.text-green { color: var(--green); }
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== NAV.NAV-ALFA (PÁGINAS INTERIORES) ===== */
nav.nav-alfa {
  position: sticky; top: 0; z-index: 100;
  background: white;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 70px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
nav.nav-alfa .nav-logo { display: flex; align-items: center; gap: 8px; }
nav.nav-alfa .logo-hex { width: auto; height: 58px; object-fit: contain; }
nav.nav-alfa .nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
nav.nav-alfa .nav-links > li { position: relative; height: 70px; display: flex; align-items: center; }
nav.nav-alfa .nav-links > li::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--green); transform: scaleX(0);
  transition: transform 0.25s ease; border-radius: 2px 2px 0 0;
}
nav.nav-alfa .nav-links > li.nav-active::after { transform: scaleX(1); }
nav.nav-alfa .nav-links > li:hover::after { transform: scaleX(1); }
nav.nav-alfa .nav-links a {
  text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 15px;
  padding-bottom: 2px; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
nav.nav-alfa .nav-links a:hover,
nav.nav-alfa .nav-links a.nav-active { color: var(--green); border-bottom-color: var(--green); }
nav.nav-alfa .nav-links > li.nav-active > a { color: var(--green); font-weight: 600; }
nav.nav-alfa .nav-item-dropdown { position: relative; }
nav.nav-alfa .nav-dropdown-trigger {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  font-weight: 500; font-size: 15px; color: var(--text-dark);
  background: none; border: none; font-family: var(--font-body); height: 70px;
}
nav.nav-alfa .nav-dropdown-trigger:hover,
nav.nav-alfa .nav-item-dropdown.nav-active .nav-dropdown-trigger { color: var(--green); }
nav.nav-alfa .nav-dropdown-trigger svg { width: 14px; height: 14px; stroke: var(--text-dark); fill: none; stroke-width: 2.5; transition: transform 0.2s; }
nav.nav-alfa .nav-item-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
nav.nav-alfa .nav-item-dropdown.open .nav-dropdown-trigger { color: var(--green); }
nav.nav-alfa .nav-item-dropdown.nav-active .nav-dropdown-trigger { color: var(--green); font-weight: 600; }
nav.nav-alfa .nav-item-dropdown.nav-active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--green); border-radius: 2px 2px 0 0;
}
nav.nav-alfa .nav-dropdown-menu {
  display: none; position: absolute; top: 70px; left: 50%;
  transform: translateX(-50%); background: white; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12); min-width: 300px; padding: 12px 0; z-index: 200;
}
nav.nav-alfa .nav-item-dropdown.open .nav-dropdown-menu { display: block; animation: fadeDropdown 0.2s ease-out; }
nav.nav-alfa .dropdown-item { display: block; padding: 14px 24px; text-decoration: none; transition: background 0.15s; color: var(--text-dark); }
nav.nav-alfa .dropdown-item:hover { background: var(--gray-bg); }
nav.nav-alfa .dropdown-item-title { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
nav.nav-alfa .dropdown-item-desc { font-size: 13px; color: var(--text-light); line-height: 1.4; }
nav.nav-alfa .dropdown-item.dropdown-active { background: #f0f9e8; border-left: 3px solid var(--green); }
nav.nav-alfa .dropdown-item.dropdown-active .dropdown-item-title { color: var(--green); }
nav.nav-alfa .btn-cta-nav {
  background: var(--green); color: white; border: none;
  padding: 12px 24px; border-radius: 6px; font-size: 15px;
  font-weight: 600; cursor: pointer; transition: background 0.2s; font-family: var(--font-body);
}
nav.nav-alfa .btn-cta-nav:hover { background: var(--green-dark); }
nav.nav-alfa .hamburger { display: none; flex-direction: column; background: none; border: none; cursor: pointer; gap: 6px; z-index: 101; }
nav.nav-alfa .hamburger span { width: 25px; height: 2.5px; background: var(--text-dark); border-radius: 2px; transition: all 0.3s; }
nav.nav-alfa .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px,8px); }
nav.nav-alfa .hamburger.active span:nth-child(2) { opacity: 0; }
nav.nav-alfa .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-7px); }
nav.nav-alfa .mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: white; flex-direction: column; padding: 24px 20px 20px; overflow-y: auto; z-index: 99; }
nav.nav-alfa .mobile-menu.active { display: flex; }
nav.nav-alfa .mobile-nav-links { list-style: none; margin-bottom: 20px; }
nav.nav-alfa .mobile-nav-links li { border-bottom: 1px solid rgba(0,0,0,0.07); }
nav.nav-alfa .mobile-nav-links li a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 16px; display: flex; align-items: center; padding: 16px 4px; transition: color 0.2s, padding-left 0.2s; }
nav.nav-alfa .mobile-nav-links li a:hover { color: var(--green); padding-left: 8px; }
nav.nav-alfa .mobile-nav-links li.nav-active > a { color: var(--green); }
nav.nav-alfa .mobile-nav-trigger { display: flex; align-items: center; justify-content: space-between; gap: 6px; cursor: pointer; font-weight: 600; font-size: 16px; color: var(--text-dark); padding: 16px 4px; width: 100%; border: none; background: none; font-family: var(--font-body); }
nav.nav-alfa .mobile-nav-trigger svg { width: 16px; height: 16px; stroke: var(--text-dark); fill: none; stroke-width: 2.5; transition: transform 0.3s; flex-shrink: 0; }
nav.nav-alfa .mobile-nav-trigger.active svg { transform: rotate(180deg); }
nav.nav-alfa .mobile-nav-item-dropdown { border-bottom: 1px solid rgba(0,0,0,0.07); }
nav.nav-alfa .mobile-dropdown-menu { display: none; background: #f7f8f7; border-radius: 10px; margin: 4px 0 12px 0; padding: 8px; }
nav.nav-alfa .mobile-dropdown-menu.active { display: block; }
nav.nav-alfa .mobile-dropdown-item { display: flex; flex-direction: column; padding: 12px 14px; text-decoration: none; border-radius: 8px; margin-bottom: 4px; border-left: 3px solid var(--green); background: white; transition: background 0.15s, transform 0.15s; }
nav.nav-alfa .mobile-dropdown-item:last-child { margin-bottom: 0; }
nav.nav-alfa .mobile-dropdown-item:hover { background: #f0faf0; transform: translateX(2px); }
nav.nav-alfa .mobile-dropdown-item.dropdown-active { background: #eaf6e0; }
nav.nav-alfa .mobile-dropdown-item .dropdown-item-title { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; display: block; }
nav.nav-alfa .mobile-dropdown-item .dropdown-item-desc { font-size: 12px; color: #666; line-height: 1.4; display: block; }
nav.nav-alfa .mobile-cta { display: block; margin-top: auto; width: 100%; background: var(--green); color: white; border: none; padding: 14px; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: var(--font-body); text-align: center; text-decoration: none; box-sizing: border-box; }

@media (max-width: 768px) {
  nav.nav-alfa .nav-links { display: none; }
  nav.nav-alfa .btn-cta-nav { display: none; }
  nav.nav-alfa .hamburger { display: flex; }
}

/* ===== FOOTER.FOOTER-ALFA (PÁGINAS INTERIORES) ===== */
footer.footer-alfa {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 80px 28px;
}
footer.footer-alfa .footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; margin-bottom: 32px; align-items: start;
}
footer.footer-alfa .footer-logo { height: 130px; object-fit: contain; margin-bottom: 8px; display: block; }
footer.footer-alfa .footer-tagline { color: #9ca3af; font-size: 14px; line-height: 1.6; max-width: 240px; margin-bottom: 20px; }
footer.footer-alfa .footer-social { display: flex; gap: 12px; }
footer.footer-alfa .footer-social a { width: 34px; height: 34px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
footer.footer-alfa .footer-social a:hover { border-color: var(--green); background: rgba(84,174,50,0.1); transform: translateY(-3px); }
footer.footer-alfa .footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: white; margin-bottom: 20px; display: block; }
footer.footer-alfa ul { list-style: none; }
footer.footer-alfa ul li { margin-bottom: 10px; }
footer.footer-alfa ul a { color: #9ca3af; text-decoration: none; font-size: 14px; transition: color 0.2s; }
footer.footer-alfa ul a:hover { color: white; }
footer.footer-alfa .footer-addr { color: #9ca3af; font-size: 13px; line-height: 1.6; }
footer.footer-alfa .footer-cert img { width: 100px; height: 100px; object-fit: contain; border-radius: 50%; }
footer.footer-alfa .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; color: #6b7280; font-size: 13px; }

@media (max-width: 1024px) {
  footer.footer-alfa { padding: 40px; }
  footer.footer-alfa .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  footer.footer-alfa { padding: 32px 24px; }
  footer.footer-alfa .footer-grid { grid-template-columns: 1fr; }
}

/* ===== HERO INTERIOR (PÁGINAS DE SERVICIO) ===== */
.hero-interior {
  background: linear-gradient(rgba(8,8,8,0.62), rgba(30,37,48,0.65)) center/cover no-repeat;
  background-attachment: fixed;
  min-height: 580px; display: flex; align-items: center;
  justify-content: center; padding: 80px; text-align: center;
}
.hero-interior .hero-content { max-width: 900px; }
.hero-interior .hero-badge { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; }
.hero-interior h1 { font-size: 54px; color: white; margin-bottom: 24px; }
.hero-interior p { color: #d1d5db; font-size: 16px; line-height: 1.75; margin-bottom: 36px; max-width: 780px; margin-left: auto; margin-right: auto; }
.hero-interior .hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== HERO OSCURO (EDIFICIOS / NAVES) ===== */
.hero-dark {
  background: var(--dark);
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 80px;
  color: white;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}
.hero-dark .hero-content {
  width: 100%;
  max-width: 100%;
}
.hero-dark h1 {
  color: white;
  font-size: 48px;
  line-height: 1.1;
  max-width: 640px;
  width: 100%;
  margin-bottom: 20px;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero-dark .hero-desc { font-size: 15px; color: #b8c2d4; max-width: 500px; line-height: 1.65; margin-bottom: 32px; }
.hero-dark .cg, .hero-dark .c-time, .hero-dark .c-seg { color: var(--green); font-weight: 700; }
.hero-dark .cy, .hero-dark .c-pres { color: #f0c040; font-weight: 700; }

@media (max-width: 1024px) { .hero-dark { padding: 60px 40px; } .hero-dark h1 { font-size: 36px; } }
@media (max-width: 768px) { .hero-dark { padding: 40px 20px; min-height: auto; } .hero-dark h1 { font-size: 26px; } .hero-dark .hero-desc { font-size: 14px; } }
@media (max-width: 480px) { .hero-dark { padding: 32px 18px; } .hero-dark h1 { font-size: 22px; } }

.btn-hero {
  background: var(--green); color: white; border: none;
  padding: 14px 28px; border-radius: 7px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: var(--font-body); transition: background 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero:hover { background: var(--green-dark); transform: translateY(-2px); }

@media (max-width: 1024px) {
  .hero-interior { padding: 60px 40px; }
  .hero-interior h1 { font-size: 40px; }
}
@media (max-width: 768px) {
  .hero-interior { padding: 48px 24px; min-height: auto; }
  .hero-interior h1 { font-size: 32px; }
  .hero-interior p { font-size: 15px; }
}

/* ===== COMPONENTES COMPARTIDOS (PÁGINAS INTERIORES) ===== */
.section-inner { max-width: 1200px; margin: 0 auto; }
.card-base { background: white; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--card-shadow); }

.tab-bar { display: flex; border-bottom: 2px solid #e0e3e8; margin-bottom: 40px; }
.tab-btn {
  padding: 13px 36px; font-size: 15px; font-weight: 600; cursor: pointer;
  color: var(--text-light); border: none; background: none;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  font-family: var(--font-body); transition: color 0.2s;
}
.tab-btn.active { color: var(--green); border-bottom-color: var(--green); }
.tab-btn:hover:not(.active) { color: var(--text-dark); }
.tab-panel { display: flex; gap: 56px; align-items: flex-start; }
.tab-left { flex: 1; }
.tab-left h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); line-height: 1.2; }
.tab-left p { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 20px; }
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #444; padding: 6px 0; line-height: 1.5; }
.check-list li .ck { color: var(--green); font-weight: 800; flex-shrink: 0; font-size: 16px; }
.tab-img-wrap { width: 340px; flex-shrink: 0; }
.tab-img { width: 300px; height: 300px; border-radius: 10px; overflow: hidden; background: #d8dde5; flex-shrink: 0; }
.tab-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.step-list-shared { display: flex; flex-direction: column; gap: 8px; width: 220px; flex-shrink: 0; }
.step-item-shared { padding: 13px 16px; border-radius: 8px; border: 1px solid var(--border); background: white; font-size: 14px; font-weight: 600; color: var(--text-mid); cursor: pointer; font-family: var(--font-body); text-align: left; transition: all 0.2s; }
.step-item-shared.active { background: var(--green); color: white; border-color: var(--green); }
.step-item-shared:hover:not(.active) { border-color: var(--green); color: var(--text-dark); }

.paso-panel-shared { flex: 1; background: white; border-radius: 12px; padding: 32px; box-shadow: var(--card-shadow); }
.paso-panel-shared h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.paso-panel-shared p { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 20px; }
.paso-img-shared { width: 100%; border-radius: 8px; overflow: hidden; background: #c8cdd6; max-height: 280px; }
.paso-img-shared img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sec-title { font-weight: 800; color: var(--text-dark); line-height: 1.25; }
.sec-title.lg { font-size: 30px; margin-bottom: 48px; text-align: center; }
.sec-title.md { font-size: 26px; margin-bottom: 8px; text-align: center; }
.sec-sub { text-align: center; color: var(--text-mid); font-size: 14px; margin-bottom: 36px; }

.finput, .ftextarea {
  width: 100%; padding: 12px 13px; border: 1.5px solid var(--border); border-radius: 7px;
  font-family: var(--font-body); font-size: 14px; color: var(--text-dark);
  background: white; outline: none; transition: border-color 0.2s;
}
.finput { flex: 1; }
.finput:focus, .ftextarea:focus { border-color: var(--green); }
.ftextarea { resize: vertical; min-height: 100px; }
.frow { display: flex; gap: 10px; margin-bottom: 10px; }
.fcheck { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; margin-bottom: 16px; }
.fcheck a { color: var(--green); }
.btn-submit {
  width: 100%; background: var(--green); color: white; border: none;
  padding: 14px; border-radius: 7px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: var(--font-body); transition: background 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--green-dark); }
.fsub { text-align: center; color: var(--text-mid); font-size: 13px; margin-bottom: 18px; }

/* ===== PORTAFOLIO — TARJETAS DE PROYECTO ===== */
.proyectos-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.proyecto-card {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.proyecto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

.proyecto-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: #1a1a2e;
}

.proyecto-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.proyecto-card:hover .proyecto-card-img img { transform: scale(1.06); }

.proyecto-card-video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.65);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.proyecto-card-body { padding: 16px 18px 18px; }

.proyecto-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 8px 0 4px;
}

.proyecto-card-meta {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== PROYECTO MODAL ===== */
.proyecto-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 6000;
  flex-direction: column;
  overflow: hidden;
}

.proyecto-modal.active { display: flex; }

.proyecto-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.proyecto-modal-header h2 {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 2px;
}

.proyecto-modal-header p {
  color: #9ca3af;
  font-size: 13px;
  margin: 0;
}

.modal-close-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover { background: rgba(255,255,255,0.2); }

.proyecto-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
}

.proyecto-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.modal-media-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #1a1a2e;
}

.modal-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.modal-media-item:hover img { transform: scale(1.04); }

.modal-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.28);
  transition: background 0.2s;
  pointer-events: none;
}

.modal-media-item.playing .video-play-overlay { display: none; }
.modal-media-item:hover .video-play-overlay { background: rgba(84,174,50,0.25); }

.video-play-overlay svg { width: 56px; height: 56px; }

@media (max-width: 1024px) {
  .proyectos-cards { grid-template-columns: repeat(2, 1fr); }
  .proyecto-modal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .proyectos-cards { grid-template-columns: 1fr; }
  .proyecto-modal-header { padding: 14px 16px; }
  .proyecto-modal-body { padding: 14px 16px; }
  .proyecto-modal-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ===== GALERÍA PAGE ===== */
.galeria-hero {
  background: linear-gradient(135deg, #1e2530 60%, #2d3a28 100%);
  padding: 80px 80px 60px; text-align: center; color: white;
}
.galeria-hero h1 { font-size: 46px; font-weight: 800; margin-bottom: 14px; }
.galeria-hero p { color: #9ca3af; font-size: 16px; max-width: 600px; margin: 0 auto; line-height: 1.7; }

.galeria-filtros {
  background: white; padding: 32px 80px 0;
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}
.filtro-btn {
  background: none; border: 2px solid var(--border); padding: 9px 22px;
  border-radius: 50px; font-size: 14px; font-weight: 600; cursor: pointer;
  color: var(--text-mid); font-family: var(--font-body); transition: all 0.2s; margin-bottom: 16px;
}
.filtro-btn:hover { border-color: var(--green); color: var(--green); }
.filtro-btn.active { background: var(--green); border-color: var(--green); color: white; }

.galeria-wrapper { padding: 48px 80px 80px; background: #f8f9fa; }
.galeria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.gal-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; background: #dde0e6; aspect-ratio: 4/3; box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.gal-item:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.gal-item.featured { grid-column: span 2; aspect-ratio: 16/9; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%); opacity: 0; transition: opacity 0.3s; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay h3 { color: white; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.gal-overlay p { color: rgba(255,255,255,0.8); font-size: 13px; }
.gal-overlay .gal-tag { display: inline-block; background: var(--green); color: white; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.gal-zoom { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.8); transition: all 0.3s; }
.gal-item:hover .gal-zoom { opacity: 1; transform: scale(1); }
.gal-zoom svg { width: 16px; height: 16px; stroke: var(--dark); fill: none; stroke-width: 2; }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.93); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.lightbox.active { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 85vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-img { max-width: 100%; max-height: 75vh; border-radius: 8px; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-caption { color: white; text-align: center; margin-top: 16px; font-size: 16px; font-weight: 600; }
.lightbox-close { position: fixed; top: 20px; right: 20px; background: rgba(255,255,255,0.1); border: none; color: white; width: 44px; height: 44px; border-radius: 50%; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev, .lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: white; width: 52px; height: 52px; border-radius: 50%; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(84,174,50,0.5); }
.lightbox-counter { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 8px; }

.galeria-cta { background: var(--dark); padding: 60px 80px; text-align: center; }
.galeria-cta h2 { color: white; font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.galeria-cta p { color: #9ca3af; font-size: 15px; margin-bottom: 28px; line-height: 1.7; max-width: 560px; margin-left: auto; margin-right: auto; }
.galeria-cta a { display: inline-block; background: var(--green); color: white; padding: 14px 32px; border-radius: 7px; font-size: 15px; font-weight: 700; text-decoration: none; font-family: var(--font-body); transition: background 0.2s, transform 0.2s; }
.galeria-cta a:hover { background: var(--green-dark); transform: translateY(-2px); }

@media (max-width: 1024px) {
  .galeria-hero { padding: 60px 40px 48px; }
  .galeria-filtros { padding: 24px 40px 0; }
  .galeria-wrapper { padding: 40px 40px 60px; }
  .galeria-grid { grid-template-columns: repeat(2,1fr); }
  .gal-item.featured { grid-column: span 1; aspect-ratio: 4/3; }
  .tab-panel { flex-direction: column; }
  .tab-img-wrap, .tab-img { width: 100%; }
}
@media (max-width: 640px) {
  .galeria-hero { padding: 48px 24px 40px; }
  .galeria-hero h1 { font-size: 30px; }
  .galeria-filtros { padding: 20px 24px 0; }
  .galeria-wrapper { padding: 32px 24px 48px; }
  .galeria-grid { grid-template-columns: 1fr; }
  .galeria-cta { padding: 48px 24px; }
}

/* ===== EDIFICIOS COMERCIALES Y CORPORATIVOS ===== */
.value-sec { background: var(--gray-bg); padding: 64px 80px; }
.icon-cards { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.icon-card { background: white; border-radius: 10px; padding: 36px 28px 32px; box-shadow: var(--card-shadow); width: 280px; min-height: 260px; display: flex; flex-direction: column; align-items: center; text-align: center; border-top: 3px solid var(--green); flex-shrink: 0; }
.icon-card .ic { font-size: 36px; margin-bottom: 20px; }
.icon-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--text-dark); line-height: 1.3; }
.icon-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.6; }
.portafolio-sec { background: white; padding: 64px 80px; }
.metodo-sec { background: var(--gray-bg); padding: 64px 80px; }
.proceso-layout { display: flex; gap: 24px; align-items: flex-start; }
.step-list { width: 220px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }
.step-item { padding: 13px 16px; border-radius: 8px; border: 1px solid var(--border); background: white; font-size: 14px; font-weight: 600; color: var(--text-mid); cursor: pointer; font-family: var(--font-body); text-align: left; transition: all 0.2s; }
.step-item.active { background: var(--green); color: white; border-color: var(--green); }
.step-item:hover:not(.active) { border-color: var(--green); color: var(--text-dark); }
.paso-panel { flex: 1; background: white; border-radius: 12px; padding: 32px; box-shadow: var(--card-shadow); }
.paso-panel h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.paso-panel p { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 20px; }
.paso-img { width: 100%; border-radius: 8px; overflow: hidden; background: #c8cdd6; max-height: 300px; }
.paso-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-sec { background: var(--gray-bg); padding: 64px 80px; display: flex; gap: 64px; align-items: flex-start; }
.cta-text { flex: 1; }
.cta-text h2 { font-size: 30px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; color: var(--text-dark); }
.cta-text p { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 20px; }
.cta-list { list-style: none; }
.cta-list li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.cta-list li:last-child { border-bottom: none; }
.cta-list-icon { width: 40px; height: 40px; border-radius: 8px; background: #94C93D; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-list-icon svg { width: 20px; height: 20px; stroke: #1a1a2e; fill: none; stroke-width: 2; }
.cta-list-text h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.cta-list-text p { font-size: 13px; color: var(--text-mid); line-height: 1.5; margin-bottom: 0; }
.form-card { background: white; border-radius: 12px; padding: 36px 32px; width: 420px; flex-shrink: 0; box-shadow: var(--card-shadow); }
.form-card h3 { text-align: center; font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }

@media (max-width: 1024px) {
  .value-sec { padding: 60px 40px; }
  .portafolio-sec { padding: 60px 40px; }
  .metodo-sec { padding: 60px 40px; }
  .cta-sec { padding: 60px 40px; flex-direction: column; gap: 40px; }
  .form-card { width: 100%; }
  .proceso-layout { flex-direction: column; }
  .step-list { width: 100%; }
}
@media (max-width: 768px) {
  .value-sec { padding: 48px 24px; }
  .portafolio-sec { padding: 48px 24px; }
  .metodo-sec { padding: 48px 24px; }
  .cta-sec { padding: 48px 24px; flex-direction: column; }
}

/* ===== NAVES INDUSTRIALES ===== */
.three-cards { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.val-card { background: white; border-radius: 10px; padding: 20px 18px; box-shadow: var(--card-shadow); width: 220px; height: 220px; display: flex; flex-direction: column; flex-shrink: 0; }
.val-card h3 { color: var(--green); font-size: 13px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.val-card p { color: var(--text-mid); font-size: 12.5px; line-height: 1.55; }
.bullets-2col { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.bul-item { background: white; border-left: 4px solid var(--green); border-radius: 0 8px 8px 0; padding: 14px 16px; font-size: 13px; color: #444; line-height: 1.5; box-shadow: var(--card-shadow); width: 340px; flex-shrink: 0; }
.bul-item strong { color: var(--text-dark); }
.tipos-sec { background: white; padding: 48px 80px; }
.proceso-sec { background: var(--gray-bg); padding: 48px 80px; }
.cta-sec-naves { background: var(--dark); padding: 52px 80px; display: flex; gap: 60px; align-items: center; }
.cta-sec-naves .cta-text-naves { flex: 1; color: white; }
.cta-sec-naves .cta-text-naves h2 { font-size: 30px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; color: white; }
.cta-sec-naves .cta-text-naves p { font-size: 14px; color: #a8b4c8; line-height: 1.6; margin-bottom: 20px; }
.cta-checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cta-checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: white; }
.ci { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; color: white; font-weight: 700; }
.form-card-outer { background: white; border-radius: 12px; padding: 8px; width: 390px; flex-shrink: 0; }
.form-card-inner { background: #f7f8fa; border-radius: 8px; padding: 26px 24px; }
.form-card-inner h3 { text-align: center; font-size: 19px; font-weight: 800; color: var(--text-dark); margin-bottom: 5px; }

@media (max-width: 1024px) {
  .tipos-sec { padding: 48px 40px; }
  .proceso-sec { padding: 48px 40px; }
  .cta-sec-naves { padding: 48px 40px; flex-direction: column; }
  .form-card-outer { width: 100%; }
}
@media (max-width: 768px) {
  .tipos-sec { padding: 40px 24px; }
  .proceso-sec { padding: 40px 24px; }
  .cta-sec-naves { padding: 40px 24px; flex-direction: column; }
}

/* ===== ESTRUCTURAS ESPECTACULARES ===== */
.section-responsibilities { background: var(--gray-bg); padding: 80px; }
.responsibilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.responsibility-card { background: white; border-radius: 12px; padding: 40px 32px; border: 1px solid var(--border); text-align: center; transition: all 0.3s ease; }
.responsibility-card:hover { transform: translateY(-8px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.resp-icon { width: 64px; height: 64px; background: #94C93D; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: all 0.3s ease; }
.responsibility-card:hover .resp-icon { background: var(--green); transform: scale(1.1) rotate(5deg); }
.resp-icon svg { width: 32px; height: 32px; stroke: #1a1a2e; fill: none; stroke-width: 1.5; transition: stroke 0.3s ease; }
.responsibility-card:hover .resp-icon svg { stroke: white; }
.responsibility-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--text-dark); }
.responsibility-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.section-unipolar { background: white; padding: 80px; }
.unipolar-tabs { display: flex; gap: 12px; margin-bottom: 60px; border-bottom: 1px solid var(--border); justify-content: center; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeInUp 0.5s ease-out; }
.unipolar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.unipolar-text h2 { font-size: 36px; font-weight: 800; color: var(--text-dark); margin-bottom: 24px; line-height: 1.2; }
.unipolar-text p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 32px; }
.unipolar-features { list-style: none; }
.unipolar-features li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; font-size: 14px; color: var(--text-dark); }
.check { color: var(--green); font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.unipolar-image { border-radius: 12px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.unipolar-image img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.unipolar-image:hover img { transform: scale(1.05); }
.section-process-espect { background: white; padding: 80px; padding-top: 120px; }
.process-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.process-steps-left { display: grid; grid-template-columns: 300px 1fr; gap: 30px; text-align: left; align-items: center; }
.process-steps { display: flex; flex-direction: column; gap: 12px; }
.process-step { background: #e8f5d0; border-radius: 8px; padding: 18px 20px; cursor: pointer; border: 1px solid var(--green); transition: all 0.3s ease; display: flex; align-items: center; gap: 14px; }
.process-step:hover { background: #f0f9e8; transform: translateX(8px); }
.process-step.active { background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.step-num { font-size: 13px; font-weight: 700; color: var(--green); min-width: 24px; }
.step-title { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.process-detail { background: white; border-radius: 10px; padding: 36px; border: 1px solid var(--border); }
.process-detail-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.detail-icon { width: 52px; height: 52px; background: #94C93D; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-icon svg { width: 24px; height: 24px; stroke: #1a1a2e; fill: none; stroke-width: 2; }
.process-detail h3 { font-size: 22px; font-weight: 700; color: var(--text-dark); }
.process-detail p { color: var(--text-mid); font-size: 15px; line-height: 1.7; margin-bottom: 24px; margin-top: 16px; }
.process-detail-img { width: 100%; height: 260px; border-radius: 8px; object-fit: cover; display: block; }
.section-contact-espect { background: #f8f9fa; padding: 80px; }
.contact-grid-espect { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-left h2 { font-size: 36px; font-weight: 800; color: var(--text-dark); margin-bottom: 24px; line-height: 1.2; }
.contact-left p { color: var(--text-mid); font-size: 15px; line-height: 1.8; margin-bottom: 32px; }
.contact-left a { color: var(--green); font-weight: 600; text-decoration: none; }
.contact-button { background: var(--green); color: white; border: none; padding: 12px 24px; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 24px; display: inline-block; transition: background 0.2s; font-family: var(--font-body); }
.contact-button:hover { background: var(--green-dark); }
.contact-form-espect { background: white; border-radius: 12px; padding: 32px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.form-title { text-align: center; font-size: 20px; font-weight: 700; margin-bottom: 24px; color: var(--text-dark); }
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font-body); font-size: 14px; transition: border 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--green); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; background: var(--green); color: white; border: none; padding: 12px; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s; font-family: var(--font-body); }
.form-submit:hover { background: var(--green-dark); }

@media (max-width: 1024px) {
  .section-responsibilities { padding: 60px 40px; }
  .responsibilities-grid { grid-template-columns: repeat(2, 1fr); }
  .section-unipolar { padding: 60px 40px; }
  .unipolar-grid { gap: 36px; }
  .section-process-espect { padding: 60px 40px; }
  .process-steps-left { grid-template-columns: 1fr; }
  .section-contact-espect { padding: 60px 40px; }
  .contact-grid-espect { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section-responsibilities { padding: 48px 24px; }
  .responsibilities-grid { grid-template-columns: 1fr; }
  .section-unipolar { padding: 48px 24px; }
  .unipolar-grid { grid-template-columns: 1fr; gap: 32px; }
  .unipolar-text h2 { font-size: 28px; }
  .section-process-espect { padding: 48px 24px; }
  .process-steps-left { grid-template-columns: 1fr; }
  .section-contact-espect { padding: 48px 24px; }
  .contact-grid-espect { grid-template-columns: 1fr; }
}

/* ===== BARES Y CENTROS NOCTURNOS ===== */
.hero-section {
  background: linear-gradient(135deg, #1a1f2e 0%, #242b38 100%);
  color: white; padding: 8rem 3rem 7rem;
  min-height: 580px; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; top: 0; right: 0; width: 55%; height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(84,174,50,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content-bar { max-width: 1280px; margin: 0 auto; width: 100%; position: relative; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(84,174,50,0.15); border: 1px solid rgba(84,174,50,0.3); color: #7FBB00; font-size: 12px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 1.8rem; }
.hero-section h1 { font-size: 3.6rem; font-weight: 700; line-height: 1.12; margin-bottom: 1.6rem; max-width: 620px; letter-spacing: -0.8px; }
.hero-section h1 span { color: var(--green); }
.hero-content-bar > p { font-size: 1.05rem; line-height: 1.7; color: #9ca3af; max-width: 560px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-outline { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.25); padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.25s; font-family: var(--font-body); }
.btn-hero-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-stat-val { font-size: 1.8rem; font-weight: 700; color: white; line-height: 1; }
.hero-stat-label { font-size: 12px; color: #6b7280; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.experience-section { background: white; padding: 6rem 3rem; }
.capacidades-section { background: var(--gray-bg); padding: 6rem 3rem; }
.metodologia-section { background: white; padding: 6rem 3rem; }
.proyectos-section { background: linear-gradient(135deg, #1a1f2e 0%, #242b38 100%); padding: 6rem 3rem; }
.contacto-section { background: white; padding: 6rem 3rem; }
.section-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.section-title { font-size: 2.4rem; font-weight: 700; color: var(--text-dark); letter-spacing: -0.4px; margin-bottom: 1rem; line-height: 1.2; }
.section-title.center { text-align: center; }
.section-subtitle { color: var(--text-mid); font-size: 1rem; line-height: 1.7; max-width: 580px; margin: 0 auto 3.5rem; text-align: center; }
.cards-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 2.2rem 2rem; transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s; }
.card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); transform: translateY(-4px); border-color: #d1d5db; }
.card-icon-wrap { width: 52px; height: 52px; border-radius: 12px; background: #94C93D; display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem; }
.card-icon-wrap svg { width: 24px; height: 24px; stroke: #1a1a2e; fill: none; stroke-width: 1.8; }
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.65rem; }
.card p { color: var(--text-mid); font-size: 0.92rem; line-height: 1.7; }
.metodologia-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.metodologia-menu { display: flex; flex-direction: column; gap: 4px; }
.metodologia-btn { background: transparent; border: 1px solid transparent; padding: 12px 16px; border-radius: 10px; cursor: pointer; text-align: left; font-weight: 500; color: var(--text-mid); font-size: 13.5px; transition: all 0.25s; font-family: var(--font-body); display: flex; align-items: center; gap: 10px; }
.metodologia-btn:hover { background: var(--gray-bg); color: var(--text-dark); }
.metodologia-btn.active { background: #edf7e8; color: var(--green); border-color: rgba(84,174,50,0.25); font-weight: 600; }
.metodologia-step-num { width: 24px; height: 24px; border-radius: 50%; background: rgba(84,174,50,0.15); color: var(--green); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.metodologia-btn.active .metodologia-step-num { background: var(--green); color: white; }
.metodologia-content-area { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 2.5rem; min-height: 520px; }
.metodologia-item { display: none; }
.metodologia-item.active { display: block; animation: fadeInUp 0.3s ease; }
.metodologia-item h3 { font-size: 1.6rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.8rem; }
.metodologia-item p { color: var(--text-mid); line-height: 1.8; margin-bottom: 1.2rem; font-size: 0.95rem; }
.metodologia-item img { width: 100%; border-radius: 10px; height: 360px; object-fit: cover; margin-top: 1rem; display: block; }
.proyectos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.proyecto-card { position: relative; border-radius: 12px; overflow: hidden; height: 260px; cursor: pointer; }
.proyecto-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.proyecto-card:hover img { transform: scale(1.06); }
.proyecto-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); padding: 2rem 1.2rem 1.2rem; color: white; font-weight: 600; font-size: 0.9rem; }
.proyecto-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.5px; color: var(--green); text-transform: uppercase; margin-bottom: 4px; display: block; }
.contacto-grid-bar { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start; }
.contacto-left { }
.contacto-left h2 { font-size: 2.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1.2rem; line-height: 1.25; }
.contacto-left p { color: var(--text-mid); margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.75; }
.benefit-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; align-items: flex-start; }
.benefit-icon { width: 36px; height: 36px; border-radius: 8px; background: #94C93D; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-icon svg { width: 18px; height: 18px; stroke: #1a1a2e; fill: none; stroke-width: 2; }
.benefit-text { color: var(--text-dark); font-weight: 600; font-size: 0.92rem; line-height: 1.5; padding-top: 8px; }
.form-box { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.form-box h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; }
.form-box > p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 2rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-2 .form-group { margin-bottom: 0; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--text-dark); font-size: 0.85rem; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #d1d5db; }
.form-group input:focus, .form-group textarea:focus { box-shadow: 0 0 0 3px rgba(84,174,50,0.1); }
.form-checkbox { display: flex; gap: 10px; align-items: center; margin: 1.2rem 0 1.8rem; }
.form-checkbox input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--green); }
.form-checkbox label { color: var(--text-light); font-size: 0.87rem; cursor: pointer; }
.form-checkbox a { color: var(--green); text-decoration: none; }

@media (max-width: 1024px) {
  .cards-3col { grid-template-columns: repeat(2, 1fr); }
  .proyectos-grid { grid-template-columns: repeat(2, 1fr); }
  .metodologia-layout { grid-template-columns: 1fr; }
  .contacto-grid-bar { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .cards-3col, .cards-2col { grid-template-columns: 1fr; }
  .proyectos-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero-section { padding: 5rem 1.5rem 4rem; }
  .hero-section h1 { font-size: 2.2rem; }
  .hero-stats { gap: 1.5rem; }
  .experience-section, .capacidades-section, .metodologia-section, .proyectos-section, .contacto-section { padding: 4rem 1.5rem; }
  .metodologia-item img { height: 220px; }
}

/* ===== HERO CONTACTO ===== */
.contacto-hero {
  background: var(--dark);
  padding: 56px 80px 48px;
  text-align: center;
}

.contacto-hero-badge {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contacto-hero h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.1;
}

.contacto-hero p {
  color: #9ca3af;
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .contacto-hero { padding: 36px 24px 32px; }
  .contacto-hero h1 { font-size: 28px; }
  .contacto-hero p { font-size: 14px; }
}

@media (max-width: 480px) {
  .contacto-hero h1 { font-size: 24px; }
}

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.btn-whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 998;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: floatUp 3s ease-in-out infinite;
}

.btn-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.65);
}

.btn-whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
  stroke: none;
}

.btn-whatsapp-float .wa-tooltip {
  position: absolute;
  left: 64px;
  background: #1e2530;
  color: white;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-whatsapp-float:hover .wa-tooltip { opacity: 1; }

@media (max-width: 480px) {
  .btn-whatsapp-float { bottom: 20px; left: 20px; width: 50px; height: 50px; }
  .btn-whatsapp-float .wa-tooltip { display: none; }
}
