/*
Theme Name: Proyectos Civiles C&C
Theme URI: https://www.proyectoscivilesdeingenicriacaldern.com
Description: Tema profesional para Proyectos Civiles de Ingeniería C&C S.A.S. - Construcción e Ingeniería Civil en Cali, Colombia
Version: 2.0.2
Author: Proyectos Civiles C&C
Author URI: https://www.proyectoscivilesdeingenicriacaldern.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: proyectos-civiles-cc
Domain Path: /languages
Requires at least: 5.9
Requires PHP: 7.4
Tested up to: 6.4

=====================================================
    PROYECTOS CIVILES DE INGENIERÍA C&C S.A.S.
    Diseño Premium 2024 - World Class Construction
    Nueva Paleta Elegante y Profesional
=====================================================
*/

/* ============= IMPORTS ============= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap');

/* ============= VARIABLES ============= */
:root {
  /* Nueva paleta elegante */
  --primary: #0A0A0A;
  --primary-light: #1a1a1a;
  --secondary: #141414;
  --accent: #C9A962;
  --accent-rgb: 201, 169, 98;
  --accent-light: #D4B872;
  --accent-dark: #B8943F;
  --white: #FFFFFF;
  --gray-100: #F7F7F7;
  --gray-200: #E8E8E8;
  --gray-300: #D1D1D1;
  --gray-400: #9A9A9A;
  --gray-500: #6B6B6B;
  --gray-600: #4A4A4A;
  --text: #1A1A1A;
  --text-light: #6B6B6B;

  /* Tipografía */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.15);

  /* Radical UI Variables */
  --radical-bg: #09090b;
  --radical-stage: #18181b;
  --radical-glass-border: rgba(255, 255, 255, 0.1);
  --radical-glow: rgba(255, 255, 255, 0.8);
  --radical-input-bg: rgba(24, 24, 27, 0.8);
}

/* ============= RESET & BASE ============= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ============= UTILIDADES ============= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 40px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 25px;
  height: 1px;
  background: var(--accent);
}

.section-tag.light {
  color: var(--accent);
}

.section-tag.light::before {
  background: var(--accent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.section-header.light h2 {
  color: var(--primary);
}

/* ============= HEADER ============= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 0;
}

header.scrolled nav .logo span {
  color: var(--primary);
}

header.scrolled nav a {
  color: var(--gray-600);
}

header.scrolled nav a:hover {
  color: var(--accent);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo,
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

nav .logo img,
nav .custom-logo {
  height: 45px;
  width: auto;
}

nav .logo span,
.logo-text {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

header.scrolled .logo-text {
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
}

nav a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--primary) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 4px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============= HERO SECTION ============= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.85) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  padding: 0 2rem;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 2rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: 50px;
  animation: fadeInDown 0.8s ease;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(201, 169, 98, 0.3);
}

.btn-hero-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 5px rgba(201, 169, 98, 0.2);
}

.btn-hero-primary svg {
  transition: var(--transition);
}

.btn-hero-primary:hover svg {
  transform: translateX(4px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-hero-secondary:active {
  transform: translateY(2px);
  box-shadow: none;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.hero-scroll-indicator:hover {
  color: var(--accent);
}

.hero-scroll-indicator:hover .scroll-line {
  background: linear-gradient(to bottom, var(--accent-light), transparent);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.5);
    opacity: 0.5;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Radical Keyframes */
@keyframes shimmerMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(200%);
  }
}

@keyframes pulseText {
  from {
    opacity: 0.4;
    transform: translateX(0);
  }

  to {
    opacity: 1;
    transform: translateX(2px);
  }
}

@keyframes drawStripe {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============= STATS BAR ============= */
.stats-bar {
  background: var(--white);
  padding: 4rem 0;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number::after {
  content: '+';
  font-size: 2rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============= SERVICIOS PREMIUM ============= */
.servicios-premium {
  padding: 8rem 0;
  background: var(--gray-100);
}

.servicios-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.servicio-anim-wrapper {
  height: 100%;
}

.servicio-featured {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  /* Sexy Card Transition */
  border: 1px solid transparent;
}

.servicio-featured:hover {
  border-color: rgba(201, 169, 98, 0.3);
  /* Accent border on hover */
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.servicio-featured-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.servicio-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.servicio-featured:hover .servicio-featured-img img {
  transform: scale(1.05);
}

.servicio-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.servicio-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.8;
}

.servicio-featured-content {
  padding: 1.5rem;
}

.servicio-featured-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.servicio-featured-content p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.servicio-features {
  list-style: none;
}

.servicio-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.servicio-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.servicios-grid-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.servicio-card-mini {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.servicio-card-mini:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.servicio-icon {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.servicio-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.servicio-card-mini h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.servicio-card-mini p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============= MISIÓN Y VISIÓN SPLIT ============= */
.mision-vision-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.mv-split-left {
  position: relative;
  overflow: hidden;
}

.mv-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
}

.mv-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.6) 100%);
}

.mv-split-right {
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}

.mv-content {
  width: 100%;
  max-width: 500px;
}

.mv-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.mv-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.mv-tab:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.8);
}

.mv-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.mv-tab-icon {
  font-size: 0.8rem;
}

.mv-panels {
  position: relative;
  min-height: 280px;
}

.mv-panel {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.mv-panel.active {
  display: block;
}

.mv-panel h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.mv-panel p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.mv-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mv-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.highlight-icon {
  color: var(--accent);
  font-size: 1rem;
}

/* ============= SOBRE NOSOTROS ============= */
.sobre-nosotros {
  padding: 8rem 0;
  background: var(--white);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-content h2 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.sobre-lead {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.sobre-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sobre-feature {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--gray-100);
  border-radius: 12px;
  transition: var(--transition);
}

.sobre-feature:hover {
  background: var(--gray-200);
}

.feature-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.sobre-visual {
  position: relative;
}

.sobre-image-stack {
  position: relative;
}

.sobre-img-main {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.sobre-img-secondary {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

.sobre-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--primary);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============= PROYECTOS PREMIUM ============= */
.proyectos-premium {
  padding: 8rem 0;
  background: var(--gray-100);
  overflow: hidden;
}

.proyectos-slider {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.slider-container {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem 0;
}

.proyecto-slide {
  flex: 0 0 calc(33.333% - 1.33rem);
  min-width: calc(33.333% - 1.33rem);
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);

  /* Uniform Card Style */
  height: 380px;
  /* Fixed height for uniformity */
  display: flex;
  flex-direction: column;
}

.proyecto-slide:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.proyecto-slide-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.proyecto-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.proyecto-slide:hover .proyecto-slide-img img {
  transform: scale(1.08);
}

.proyecto-slide-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.proyecto-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.proyecto-slide-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.proyecto-slide-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;

  /* Truncate text if too long */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: auto;
  /* Push button to bottom */
}

/* ============= CONTROLES DEL SLIDER (PREMIUM) ============= */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 10;
}

/* Override Swiper Defaults */
.swiper-button-next,
.swiper-button-prev {
  position: static !important;
  /* Force static to sit inside our flex container */
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none !important;
  /* Hide default Swiper icons */
}

.slider-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.slider-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.slider-dots {
  display: flex;
  gap: 0.6rem;
  position: static !important;
  /* Override swiper absolute */
  width: auto !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--gray-300);
  opacity: 1;
  transition: var(--transition);
  margin: 0 !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
  width: 30px;
  border-radius: 5px;
}

/* ============= CONTACTO PREMIUM ============= */
.contacto-premium {
  padding: 8rem 0;
  background: var(--white);
  position: relative;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contacto-info h2 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.contacto-info>p {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.contacto-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.contacto-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.contacto-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.detail-text h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
}

.detail-text p {
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.5;
}

.detail-text a {
  color: var(--primary);
  transition: var(--transition);
}

.detail-text a:hover {
  color: var(--accent);
}

.contacto-mapa-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.contacto-mapa-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.contacto-mapa-header h4 {
  margin: 0.15rem 0;
  font-size: 1.1rem;
}

.mapa-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
}

.mapa-city {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.mapa-link {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.contacto-mapa-embed iframe {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

/* ============= REDES SOCIALES CONTACTO ============= */
.contacto-social {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.social-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.social-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-btn svg {
  width: 22px;
  height: 22px;
}

.social-btn.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn.whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  filter: brightness(1.1);
}

.social-btn.linkedin {
  background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn.linkedin:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.4);
  filter: brightness(1.1);
}

/* Mapa Styles */
.contacto-mapa {
  margin-top: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.contacto-mapa iframe {
  display: block;
  width: 100%;
  height: 300px;
}

.contacto-form-container {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: 16px;
  margin-top: 0;
  height: auto;
  align-self: start;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--white);
}

.contacto-form-premium h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group-premium {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group-premium input,
.form-group-premium textarea,
.form-group-premium select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 1rem;
  background: var(--white);
  transition: var(--transition);
}

.form-group-premium input:focus,
.form-group-premium textarea:focus,
.form-group-premium select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.form-group-premium label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-size: 0.9rem;
  color: var(--gray-500);
  pointer-events: none;
  transition: var(--transition);
  background: var(--gray-100);
  padding: 0 0.5rem;
}

.form-group-premium input:focus+label,
.form-group-premium input:not(:placeholder-shown)+label,
.form-group-premium textarea:focus+label,
.form-group-premium textarea:not(:placeholder-shown)+label {
  top: -0.5rem;
  font-size: 0.75rem;
  color: var(--accent);
}

.form-group-premium select+label {
  top: -0.5rem;
  font-size: 0.75rem;
  color: var(--accent);
}

.form-group-premium textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem 2rem;
  border: none;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit-premium:hover {
  background: var(--accent);
  color: var(--primary);
}

.form-submit-premium svg {
  transition: var(--transition);
}

.form-submit-premium:hover svg {
  transform: translateX(4px);
}

/* ============= TABLA PROYECTOS COMPLETOS ============= */
.proyectos-completos {
  padding: 5rem 0;
  background: var(--white);
}

.proyectos-filtro-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.proyectos-search-input {
  position: relative;
  flex: 1 1 320px;
}

.proyectos-search-input svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}

.proyectos-search-input input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.proyectos-search-input input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.proyectos-filtro-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-reset {
  background: transparent;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.btn-reset:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.proyectos-filtro-hint {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.proyectos-tabla-container {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.proyectos-tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.proyectos-tabla thead {
  background: var(--primary);
  color: var(--white);
}

.proyectos-tabla th,
.proyectos-tabla td {
  padding: 1rem 1.5rem;
  text-align: left;
  vertical-align: top;
}

.proyectos-tabla tbody tr:nth-child(odd) {
  background: var(--gray-100);
}

.proyectos-tabla tbody tr:hover {
  background: var(--gray-200);
}

.proyectos-tabla a {
  color: var(--primary);
  font-weight: 600;
}

.proyectos-tabla-container strong {
  color: var(--primary);
}

.proyectos-tabla-container td {
  color: var(--gray-600);
}

.proyectos-tabla-container th {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.proyectos-tabla tbody tr {
  transition: background var(--transition);
}

.proyectos-tabla-container .proyectos-chip {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ============= FOOTER ============= */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
}

.footer-logo span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-section h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {

  .sobre-grid,
  .contacto-grid,
  .mision-vision-split {
    grid-template-columns: 1fr;
  }

  .servicios-showcase {
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns on small laptops */
    gap: 1.5rem;
  }

  .contacto-form-container {
    margin-top: 0;
    height: auto;
    max-width: none;
    padding: 2rem;
  }

  .contacto-info-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proyecto-slide {
    flex: 0 0 calc(50% - 1rem);
  }

  .mv-split-left {
    height: 400px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* Removed 900px media query to force 3 columns until 768px */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .servicios-showcase {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on tablets/large phones */
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .servicios-grid-small {
    grid-template-columns: 1fr;
  }

  .proyecto-slide {
    flex: 0 0 100%;
  }

  .proyectos-buscador,
  .proyectos-filtro-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .proyectos-buscador-meta,
  .proyectos-filtro-meta {
    justify-content: space-between;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 1rem;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .servicios-showcase,
  .stats-grid,
  .servicios-grid-small,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .servicio-featured-img {
    height: 180px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .sobre-img-secondary {
    display: none;
  }

  .sobre-badge {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 1rem;
  }
}

/* ============= FILTROS DE PROYECTOS ============= */
.proyectos-filtros {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filtro-btn {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.filtro-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filtro-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ============= GRID DE PROYECTOS ============= */
.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.proyecto-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.proyecto-card.hidden {
  display: none;
}

.proyecto-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.proyecto-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.proyecto-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.proyecto-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.proyecto-card:hover .proyecto-overlay {
  opacity: 1;
}

.btn-ver-mas {
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  transform: translateY(20px);
  font-family: var(--font-primary);
}

.proyecto-card:hover .btn-ver-mas {
  transform: translateY(0);
}

.btn-ver-mas:hover {
  background: var(--accent-light);
}

.proyecto-card-content {
  padding: 1.5rem;
}

.proyecto-card-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.proyecto-card-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============= BUSCADOR DE PROYECTOS ============= */
.proyectos-buscador {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.proyectos-buscador-input {
  position: relative;
  flex: 1 1 320px;
}

.proyectos-buscador-input svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
}

.proyectos-buscador-input input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  height: 56px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.proyectos-buscador-input input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.proyectos-buscador-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.proyectos-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: var(--gray-100);
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  font-weight: 600;
  color: var(--primary);
}

.proyectos-hint {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.proyectos-empty {
  text-align: center;
  color: var(--gray-500);
  margin: 1rem 0 3rem;
}

/* ============= MODAL DE PROYECTO ============= */
.proyecto-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.modal-content {
  background: var(--white);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.modal-close:hover {
  background: var(--gray-100);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img {
  height: 100%;
  min-height: 400px;
}

.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 2.5rem;
}

.modal-info h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.modal-description {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.modal-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
}

.detail-value {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
}

/* ============= MAPA DE CONTACTO ============= */
.contacto-mapa {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contacto-mapa iframe {
  display: block;
}

/* ============= RESPONSIVE PROYECTOS Y MODAL ============= */
@media (max-width: 1024px) {
  .proyectos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-img {
    height: 250px;
    min-height: auto;
  }
}

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

  .proyectos-filtros {
    gap: 0.5rem;
  }

  .filtro-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .modal-info {
    padding: 1.5rem;
  }

  .modal-details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============= INDUSTRIAL STRIPE ============= */
.industrial-stripe {
  width: 100%;
  height: 20px;
  background: repeating-linear-gradient(45deg,
      #FFD700,
      #FFD700 10px,
      #000000 10px,
      #000000 20px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

/* ============= 3D TILT EFFECT ============= */
.servicio-featured {
  perspective: 1000px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.1s ease-out;
  /* Smooth reset on mouse leave */
}

.servicio-featured:hover {
  z-index: 10;
}

.servicio-featured-content,
.servicio-featured-img {
  transform-style: preserve-3d;
  pointer-events: none;
  /* Let clicks pass through if needed, but important for smooth hover */
}

/* ============= RADICAL UI COMPONENTS (Refined for Brand) ============= */

/* Particle Canvas Wrapper */
.particle-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  /* Subtle background */
}


/* ============= REACT UI PORT (High Fidelity) ============= */

/* 1. SECTION CONTAINER */
.contacto-premium {
  background-color: #fcfcfc !important;
  padding: 6rem 0 8rem 0;
  position: relative;
  overflow: hidden;
}

/* 2. GRID SYSTEM */
.grid-12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .grid-12 {
    grid-template-columns: repeat(12, 1fr);
    gap: 5rem;
    align-items: start;
  }

  .col-span-12 {
    grid-column: span 12;
  }

  .col-span-5 {
    grid-column: span 5;
  }

  .col-span-7 {
    grid-column: span 7;
  }
}

/* 3. TYPOGRAPHY */
.serif-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  color: #111827;
}

/* 4. MAP CARD (Custom Overlay) */
.map-card-container {
  position: relative;
  border-radius: 2.5rem;
  /* Large rounded corners */
  overflow: hidden;
  height: 320px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  /* Stronger shadow */
  border: 1px solid #ffffff;
  margin-bottom: 3rem;
  background: #e5e7eb;
}

.map-overlay-card {
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.map-overlay-btn {
  background: #000;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0.8rem;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.map-overlay-btn:hover {
  background: #222;
  color: #fff;
}

/* Map Bottom Pin */
.map-pin-bottom {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 10;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  border: 2px solid #fff;
}

/* 5. CONTACT INFO CARDS (Individual) */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 2rem;
  /* Matches reference image rounded-3xl */
  border: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: #fff;
}

.contact-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.2rem;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact-info-card:hover .contact-icon-box {
  background: #111827;
  color: #fff;
}

.contact-card-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.contact-card-value {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

/* 6. FORM CARD (Right Column) */

.form-card-clean {
  background: #fff;
  padding: 4rem 3.5rem;
  border-radius: 3.5rem;
  /* Very large rounded corners */
  box-shadow: 0 40px 60px -15px rgba(0, 0, 0, 0.1);
  border: 1px solid #f9fafb;
}

@media (max-width: 768px) {
  .form-card-clean {
    padding: 2rem;
    border-radius: 2rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  /* More space between inputs */
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.input-clean-group {
  position: relative;
  width: 100%;
}

/* Clean Input Style */
.input-clean {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  /* Thinner border */
  padding: 0.8rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  outline: none;
  transition: all 0.3s ease;
  border-radius: 0;
}

.input-clean:focus {
  border-color: #000;
  box-shadow: 0 1px 0 0 #000;
}

.input-clean::placeholder {
  color: #9ca3af;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Select Styling */
select.input-clean {
  cursor: pointer;
  background-image: none;
  /* Remove default arrow */
  color: #374151;
  /* Darker placeholder */
}

/* Textarea Box Style */
textarea.input-clean {
  background: #f9fafb !important;
  /* Light gray box */
  border: none !important;
  border-radius: 1.5rem !important;
  padding: 1.5rem !important;
  min-height: 160px;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #4b5563;
}

textarea.input-clean::placeholder {
  color: #9ca3af;
}

/* AI Button */
.ai-enhance-btn {
  font-size: 0.65rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: default;
  margin-top: 0.5rem;
  float: right;
}

/* Submit Button */
.form-submit-premium {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 1.2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.form-submit-premium:hover {
  background: #111;
  transform: scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Social Buttons Row */
.social-buttons-container {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #9ca3af;
}

.social-icons-group {
  display: flex;
  gap: 1rem;
}

.social-btn-color {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.social-btn-color svg {
  width: 1.6rem;
  height: 1.6rem;
}

.social-btn-color:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.social-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-linkedin {
  background: linear-gradient(135deg, #0077B5, #00507a);
}

/* Hide Old Styles */
.contacto-social-floating,
.contacto-grid,
.cntacto-info,
.contacto-form-container,
.contacto-social-form-bottom {
  display: none;
}

/* ============= PORTFOLIO REDESIGN (React Port) ============= */
.portfolio-section {
  background-color: #FDFDFD;
  padding: 5rem 0 8rem 0;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 4rem;
}

.portfolio-header .subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.portfolio-header .line {
  width: 3rem;
  height: 1px;
  background-color: #C5A565;
}

.portfolio-header .tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #C5A565;
}

.portfolio-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .portfolio-header h2 {
    font-size: 4rem;
  }
}

.portfolio-header p {
  color: #6B7280;
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: 300;
}

/* Filters */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.filter-pill {
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
  background: #fff;
  color: #4b5563;
  cursor: pointer;
}

.filter-pill:hover {
  border-color: #C5A565;
  color: #C5A565;
}

.filter-pill.active {
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

/* Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

@media(min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

/* Card */
.portfolio-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.portfolio-card.hidden {
  display: none;
}

.portfolio-card .img-container {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

.portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  transition: background 0.5s ease;
}

.portfolio-card:hover .overlay {
  background: rgba(0, 0, 0, 0);
}

.portfolio-card .content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-card .cat-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #C5A565;
  margin-bottom: 0.5rem;
  display: block;
}

.portfolio-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #111827;
  line-height: 1.2;
}

.portfolio-card .btn-container {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #f9fafb;
  display: flex;
  justify-content: center;
}

.portfolio-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: #C5A565;
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.portfolio-btn:hover {
  background: #a38952;
  transform: scale(0.98);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.portfolio-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-btn svg {
  transform: translateX(4px);
}

/* Modal Updates for High Fidelity */
.proyecto-modal .modal-content {
  border-radius: 1.5rem;
  overflow: hidden;
}

.proyecto-modal .modal-body {
  display: flex;
  flex-direction: column;
}

@media(min-width: 768px) {
  .proyecto-modal .modal-body {
    flex-direction: row;
    height: 600px;
    /* Fixed height for desktop look */
  }

  .proyecto-modal .modal-img {
    width: 50%;
    height: 100%;
  }

  .proyecto-modal .modal-info {
    width: 50%;
    padding: 3rem;
    overflow-y: auto;
  }
}

/* ============= ABOUT US PREMIUM (React Port) ============= */
.about-section-premium {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: #f8fafc;
  /* Slate-50 equivalent */
}

/* Background Circles */
.bg-circle-anim {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bg-circle-1 {
  top: -10%;
  left: -5%;
  width: 40%;
  height: 60%;
  background: rgba(245, 158, 11, 0.05);
  /* amber-500/5 */
  filter: blur(120px);
}

.bg-circle-2 {
  bottom: -10%;
  right: -5%;
  width: 40%;
  height: 60%;
  background: rgba(15, 23, 42, 0.05);
  /* slate-900/5 */
  filter: blur(120px);
}

.spin-circle-outer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #0f172a;
  opacity: 0.1;
  border-radius: 50%;
  animation: spin 60s linear infinite;
}

.spin-circle-inner {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border: 1px solid #d97706;
  opacity: 0.1;
  border-radius: 50%;
  animation: spin 40s linear infinite reverse;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Content Left */
.about-grid-premium {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media(min-width: 1024px) {
  .about-grid-premium {
    grid-template-columns: 5fr 7fr;
  }
}

.about-tag-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-line {
  height: 2px;
  width: 3rem;
  background: #d97706;
  /* amber-600 */
}

.about-tag-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #d97706;
}

.about-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  /* md: text-6xl */
  line-height: 1.1;
  color: #0f172a;
  /* slate-900 */
  margin-bottom: 2rem;
}

@media(min-width: 768px) {
  .about-heading {
    font-size: 3.5rem;
  }
}

.about-heading .italic-highlight {
  font-style: italic;
  color: #64748b;
  /* slate-500 */
}

.about-desc {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.about-desc strong {
  color: #0f172a;
  font-weight: 600;
}

/* Feature Cards */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card-premium {
  display: flex;
  gap: 1.25rem;
  padding: 1rem 0;
}

.feature-icon-box {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: #fffbeb;
  /* amber-50 */
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-card-premium:hover .feature-icon-box {
  background: #fef3c7;
  /* amber-100 */
  transform: scale(1.1);
}

.feature-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.feature-content p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

.btn-about-gold {
  margin-top: 3rem;
  padding: 1rem 2rem;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-about-gold:hover {
  background: #d97706;
  transform: translateY(-2px);
}

/* Visual Right */
.about-visual-right {
  position: relative;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media(min-width: 1024px) {
  .about-visual-right {
    justify-content: flex-end;
    height: 650px;
  }
}

.visual-main-card {
  position: relative;
  width: 85%;
  aspect-ratio: 4/3;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 1rem;
  z-index: 5;
  overflow: hidden;
}

.visual-inner {
  width: 100%;
  height: 100%;
  background: rgba(241, 245, 249, 0.5);
  /* slate-100/50 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0.5rem;
  position: relative;
}

/* Graphic Representation */
.const-graphic-box {
  width: 8rem;
  height: 8rem;
  border: 12px solid rgba(217, 119, 6, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.const-text-main {
  font-size: 2.25rem;
  font-weight: 900;
  color: #e2e8f0;
  letter-spacing: -0.05em;
  line-height: 1;
}

.const-text-sub {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(203, 213, 225, 0.5);
  font-style: italic;
  letter-spacing: -0.05em;
  line-height: 1;
}

.const-quote {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #94a3b8;
  font-style: italic;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Floating Elements */
.floating-badge {
  position: absolute;
  top: 2.5rem;
  right: 0;
  background: #C5A565;
  color: #fff;
  padding: 2.5rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  z-index: 20;
  border: 4px solid #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: rotate(6deg);
  transition: all 0.3s ease;
}

.floating-badge:hover {
  transform: rotate(0deg) scale(1.05);
}

.floating-badge .num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.floating-badge .txt {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.floating-image-card {
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 12rem;
  height: 12rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

@media(min-width: 768px) {
  .floating-image-card {
    width: 14rem;
    height: 14rem;
    left: 1rem;
  }

  .floating-badge {
    right: 1rem;
  }
}

.floating-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machinery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
  padding: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.machinery-label span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============= MOBILE RESPONSIVE OVERRIDES ============= */
@media (max-width: 768px) {

  /* About Us - Visual Area */
  .about-visual-right {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 4rem;
    /* Space for floating elements */
    display: block;
    /* Ease stacking */
    margin-top: 2rem;
  }

  .visual-main-card {
    width: 100%;
    margin-bottom: 2rem;
  }

  /* Floating Elements - Scale Down */
  .floating-badge {
    position: absolute;
    top: -1rem;
    right: 0;
    padding: 1.5rem 1rem;
    transform: rotate(0deg) scale(0.85);
    z-index: 30;
  }

  .floating-badge .num {
    font-size: 2rem;
  }

  .floating-badge .txt {
    font-size: 0.55rem;
  }

  .floating-image-card {
    width: 8rem;
    height: 8rem;
    bottom: 0;
    left: 0;
    border-width: 3px;
  }

  .machinery-label span {
    font-size: 0.5rem;
  }

  /* Typography */
  .about-heading {
    font-size: 2.25rem;
  }

  .section-tag {
    font-size: 0.7rem;
  }
}

@media (max-width: 640px) {

  /* Portfolio Grid */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-header h2 {
    font-size: 2rem;
  }

  /* Contact Section */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .col-span-5,
  .col-span-7 {
    grid-column: span 1;
  }

  /* Modal Mobile */
  .proyecto-modal .modal-content {
    height: 100%;
    border-radius: 0;
  }

  .proyecto-modal .modal-body {
    flex-direction: column;
    overflow-y: auto;
  }

  .proyecto-modal .modal-img {
    height: 250px;
  }

  .proyecto-modal .modal-info {
    padding: 1.5rem;
  }

  .modal-details-grid {
    grid-template-columns: 1fr;
    /* Stack details */
  }

  .detail-box.span-2 {
    grid-column: span 1;
  }
}