@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-dark: #0a0e17;
  --primary-navy: #111827;
  --primary-blue: #1e293b;
  --header-black: #0a0e17;
  --accent-red: #c81e36;
  --accent-red-gradient: linear-gradient(135deg, #df203e 0%, #c81e36 100%);
  --accent-red-hover: #a31429;
  --accent-gold: #c81e36;
  --accent-gold-hover: #a31429;
  --accent-yellow: #f43f5e;
  --accent-orange: #df203e;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-surface: #ffffff;
  --border-color: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-gold: 0 10px 25px -5px rgba(200, 30, 54, 0.35);
  --shadow-red: 0 10px 25px -5px rgba(200, 30, 54, 0.4);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-gold {
  color: #df203e !important;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-py {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-py-sm {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* Page Hero Banners for Subpages (Matching Hero Slider Theme) */
.page-hero-banner {
  padding: 5.5rem 0 5rem 0;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #1e293b;
  z-index: 1;
}

.page-hero-banner .container {
  position: relative;
  z-index: 10;
}

.page-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--banner-bg, url('../images/services/edificacion.jpg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(1.15) brightness(0.85);
  -webkit-filter: grayscale(100%) contrast(1.15) brightness(0.85);
  z-index: 1;
}

.page-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.80) 0%, rgba(51, 65, 85, 0.72) 100%),
              radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.15), transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.page-hero-title {
  color: #ffffff !important;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0.5rem 0 1rem 0;
  font-weight: 800;
  line-height: 1.15;
}

.page-hero-desc {
  max-width: 680px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  line-height: 1.6;
}

/* Mission & Vision Grid */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.mv-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

/* Service Alternating Rows */
.service-row-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.service-row-item:last-child {
  margin-bottom: 0;
}

.service-row-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Contact Grid & Form Rows */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: flex-start;
}

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

.contact-box-left {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

/* Contact Form Alerts (Green Success & Red Error Boxes) */
.alert-success-custom {
  background-color: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1.5px solid #10b981 !important;
  border-left: 5px solid #059669 !important;
  padding: 1.15rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 1.5rem !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.85rem !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15) !important;
  animation: alertFadeIn 0.35s ease-out;
}

.alert-success-custom i {
  color: #059669 !important;
  font-size: 1.35rem !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}

.alert-error-custom {
  background-color: #fef2f2 !important;
  color: #991b1b !important;
  border: 1.5px solid #ef4444 !important;
  border-left: 5px solid #dc2626 !important;
  padding: 1.15rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 1.5rem !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.85rem !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15) !important;
  animation: alertFadeIn 0.35s ease-out;
}

.alert-error-custom i {
  color: #dc2626 !important;
  font-size: 1.35rem !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}

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

.contact-box-right {
  background: var(--primary-navy);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  margin-bottom: 2rem;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Topbar */
.topbar {
  background-color: #03060a;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
}

.topbar-item a {
  color: #e2e8f0;
}

.topbar-item a:hover {
  color: #ef4444;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-sm {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.8rem;
  transition: var(--transition);
}

.social-icon-sm:hover {
  background: #dc2626;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Navbar */
.navbar-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(6, 10, 18, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.navbar-header.scrolled {
  background-color: rgba(3, 6, 11, 0.99);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
  padding: 0.15rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-link.active {
  color: #ef4444;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #dc2626;
  border-radius: 2px;
}

/* Dropdown */
.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: #0d1527;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 100;
}

.nav-item.dropdown:hover .dropdown-menu-custom {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: var(--transition);
}

.dropdown-link:hover {
  background-color: rgba(220, 38, 38, 0.15);
  color: #f87171;
  padding-left: 1.25rem;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #ffffff;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(220, 38, 38, 0.6);
}

.btn-navy {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-navy:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: #05080e;
  border-color: #ffffff;
  transform: translateY(-3px);
}

.btn-outline-dark {
  background: transparent;
  border-color: #0f172a;
  color: #0f172a;
}

.btn-outline-dark:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Badges */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.18);
  color: #f87171;
  border: 1px solid rgba(220, 38, 38, 0.35);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 6rem 0;
  overflow: hidden;
  background-color: #1e293b;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/services/edificacion.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(1.15) brightness(0.85);
  -webkit-filter: grayscale(100%) contrast(1.15) brightness(0.85);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.80) 0%, rgba(51, 65, 85, 0.72) 100%),
              radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.15), transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  font-size: 3.6rem;
  color: #ffffff;
  margin: 1.25rem 0;
  font-weight: 800;
  line-height: 1.1;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #f87171, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.hero-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(220, 38, 38, 0.15);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-feature-text h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.hero-feature-text p {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Hero Card / Quick Quote Widget */
.hero-card-widget {
  background: rgba(30, 41, 59, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.hero-card-widget .badge-gold {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
}

.widget-title {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.widget-subtitle {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.hero-card-widget .form-group {
  margin-bottom: 1rem;
}

.hero-card-widget .form-label {
  font-size: 0.82rem;
  color: #e2e8f0;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.hero-card-widget .form-control {
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  border-radius: 8px;
}

/* Stats Bar */
.stats-section {
  background: #ffffff;
  margin-top: -3rem;
  position: relative;
  z-index: 20;
}

.stats-card-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #e2e8f0;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.35rem;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 0.75rem 0 1rem 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  border-color: #dc2626;
}

.service-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features-list li {
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features-list li i {
  color: #dc2626;
  font-size: 0.85rem;
}

.service-link {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link:hover {
  color: #dc2626;
  gap: 0.75rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

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

.about-floating-card {
  position: absolute;
  bottom: -2rem;
  right: -1.5rem;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
  max-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-ceo-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.about-ceo-img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #dc2626;
}

.about-ceo-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.about-ceo-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Value Cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.value-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: #dc2626;
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Portfolio Gallery */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: #f1f5f9;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

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

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 14, 0.95) 0%, rgba(5, 8, 14, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #ffffff;
  transition: var(--transition);
}

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

.project-category {
  font-size: 0.75rem;
  color: #f87171;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.project-title {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  opacity: 0.85;
}

/* Process Section */
.process-section {
  background: var(--primary-dark);
  color: #ffffff;
}

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

.process-item {
  position: relative;
  text-align: center;
}

.process-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.15);
  border: 2px solid #dc2626;
  color: #f87171;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition);
}

.process-item:hover .process-num {
  background: #dc2626;
  color: #ffffff;
  transform: scale(1.1);
}

.process-item h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.process-item p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Interactive Calculator */
.calculator-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  padding: 3rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: #f8fafc;
}

.form-control:focus {
  outline: none;
  border-color: #dc2626;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.calc-result-card {
  background: rgba(5, 10, 20, 0.55);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-badge {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.calc-summary-title {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 700;
  margin: 0.25rem 0 0.5rem 0;
  line-height: 1.35;
}

.calc-summary-item {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.calc-btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  letter-spacing: 0.2px;
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-card.open {
  border-color: #dc2626;
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}

.faq-header i {
  color: #dc2626;
  transition: transform 0.3s ease;
}

.faq-card.open .faq-header i {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  display: none;
}

.faq-card.open .faq-body {
  display: block;
}

/* Call to Action Banner */
.cta-banner-wrapper {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner-wrapper::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.cta-banner-text h2 {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-banner-text p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 600px;
}

/* Footer */
.main-footer {
  background: #060d17;
  color: #94a3b8;
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand img {
  height: 52px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: #dc2626;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #ef4444;
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: #ef4444;
  margin-top: 0.2rem;
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: #25d366;
  color: #ffffff;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #ffffff;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================================================
   Responsive Media Queries - Mobile-First Polish & Perfection
   ========================================================================= */

/* Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .calc-grid,
  .contact-grid,
  .mv-grid,
  .service-row-item {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .services-grid,
  .process-grid,
  .footer-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

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

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .about-main-img,
  .service-row-img {
    height: 340px;
  }
}

/* Tablet & Mobile Nav Trigger (<= 991px) */
@media (max-width: 991px) {
  .d-none-mobile {
    display: none !important;
  }

  .nav-links {
    display: none !important;
  }

  .nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .menu-toggle-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.35rem;
    cursor: pointer;
    transition: var(--transition);
    touch-action: manipulation;
  }

  .menu-toggle-btn:hover,
  .menu-toggle-btn:active {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
  }
}

/* Standard Mobile Devices & Phablets (<= 768px) */
@media (max-width: 768px) {
  /* Section Spacing */
  .section-py {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .section-py-sm {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .container {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }

  .section-header {
    margin-bottom: 2.25rem !important;
  }

  .section-header h2 {
    font-size: 1.85rem !important;
  }

  .section-header p {
    font-size: 0.95rem !important;
  }

  /* Topbar */
  .topbar {
    padding: 0.4rem 0;
    font-size: 0.78rem;
  }

  .topbar-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .topbar-info {
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .topbar-item-phone a {
    font-weight: 700;
    font-size: 0.82rem;
  }

  .topbar-social {
    gap: 0.35rem;
  }

  .social-icon-sm {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }

  /* Navbar */
  .navbar-header {
    padding: 0.1rem 0;
  }

  .navbar-container {
    padding: 0.5rem 1.15rem;
  }

  .nav-brand img {
    height: 38px;
    max-height: 38px;
  }

  /* Hero Section (Index) */
  .hero-section {
    min-height: auto !important;
    padding: 3.75rem 0 3rem 0 !important;
    background-attachment: scroll;
  }

  .hero-content {
    text-align: left;
  }

  .hero-content h1 {
    font-size: 2.2rem !important;
    line-height: 1.18 !important;
    margin: 1rem 0 !important;
  }

  .hero-subtitle {
    font-size: 0.98rem !important;
    margin-bottom: 1.75rem !important;
    line-height: 1.65 !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }

  .hero-features {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
    padding-top: 1.5rem !important;
  }

  .hero-feature-item {
    gap: 0.75rem;
  }

  .hero-card-widget {
    padding: 1.5rem 1.25rem !important;
    margin-top: 0.5rem;
    border-radius: var(--radius-md);
  }

  .widget-title {
    font-size: 1.25rem !important;
  }

  /* Subpages Header Banner */
  .page-hero-banner {
    padding: 3.75rem 0 3.25rem 0 !important;
  }

  .page-hero-title {
    font-size: 2.1rem !important;
  }

  .page-hero-desc {
    font-size: 0.98rem !important;
  }

  /* Stats Section */
  .stats-section {
    margin-top: 0 !important;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background: #f8fafc;
  }

  .stats-card-container {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding: 1.5rem 1.25rem !important;
    margin-top: 0 !important;
    box-shadow: var(--shadow-sm);
  }

  .stat-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
  }

  .stat-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .stat-item::after {
    display: none !important;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

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

  /* About / Company Section */
  .about-main-img {
    height: 260px !important;
    border-radius: var(--radius-md);
  }

  .about-floating-card {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    margin-top: 1rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: var(--shadow-md) !important;
  }

  .about-mission-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .about-ceo-info {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    align-items: center;
  }

  .about-ceo-info > div:last-child {
    margin-left: 0 !important;
    width: 100%;
  }

  .about-ceo-info .btn {
    width: 100%;
    justify-content: center;
  }

  /* Mission & Vision */
  .mv-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .mv-card {
    padding: 1.75rem 1.35rem !important;
  }

  /* Services Grid & Details */
  .services-grid,
  .values-grid,
  .process-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .service-row-item {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    margin-bottom: 3.5rem !important;
  }

  .service-row-item > div[style*="order"] {
    order: unset !important;
  }

  .service-row-img {
    height: 240px !important;
  }

  .service-card-img {
    height: 190px;
  }

  .service-card-body {
    padding: 1.35rem;
  }

  .value-card {
    padding: 1.5rem 1.25rem !important;
  }

  /* Portfolio Gallery & Filter */
  .portfolio-filter {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 1.75rem !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0.5rem !important;
  }

  .portfolio-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0.85rem !important;
    padding: 0.5rem 1.15rem !important;
  }

  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .project-card {
    height: 290px !important;
  }

  .project-overlay {
    padding: 1.25rem !important;
  }

  /* Interactive Calculator / Cotizador */
  .calculator-box {
    padding: 1.5rem 1.15rem !important;
  }

  .calc-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .calc-result-card {
    padding: 1.35rem 1.15rem !important;
  }

  /* Contact Page */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .contact-box-left {
    padding: 1.65rem 1.25rem !important;
  }

  .contact-box-right {
    padding: 1.65rem 1.25rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* Call to Action Banner */
  .cta-banner-wrapper {
    padding: 2.5rem 1.35rem !important;
    border-radius: var(--radius-lg) !important;
  }

  .cta-banner-text h2 {
    font-size: 1.75rem !important;
  }

  .cta-banner-text p {
    font-size: 0.95rem !important;
  }

  .cta-banner-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  .cta-banner-content > div:last-child {
    width: 100% !important;
    flex-direction: column !important;
    display: flex !important;
    gap: 0.75rem !important;
  }

  .cta-banner-content .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Footer */
  .main-footer {
    padding-top: 3.5rem !important;
    padding-bottom: 2rem !important;
  }

  .footer-grid {
    margin-bottom: 2.5rem !important;
    gap: 2rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.75rem !important;
    font-size: 0.8rem !important;
  }

  /* WhatsApp Float */
  .whatsapp-float {
    bottom: 1.25rem !important;
    right: 1.25rem !important;
    width: 54px !important;
    height: 54px !important;
    font-size: 1.75rem !important;
  }
}

/* Small SmartPhones & Narrow Displays (<= 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.9rem !important;
  }

  .page-hero-title {
    font-size: 1.75rem !important;
  }

  .section-header h2 {
    font-size: 1.6rem !important;
  }

  .topbar-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }

  .topbar-info {
    justify-content: center;
  }

  .form-control {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    padding: 0.75rem 0.85rem !important;
  }

  .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.92rem;
  }

  .badge-gold,
  .badge-gold-dark {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
  }

  .calc-btn-action {
    font-size: 0.85rem !important;
    padding: 0.75rem 0.85rem !important;
  }
}

/* Mobile Nav Drawer & Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background-color: #070b13;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem 2rem 1.25rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.8);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.close-mobile-menu-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  touch-action: manipulation;
}

.close-mobile-menu-btn:hover,
.close-mobile-menu-btn:active {
  background-color: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-links a {
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.35rem;
  transition: var(--transition);
  border-radius: 6px;
}

.mobile-nav-links a i {
  color: #ef4444;
  font-size: 1.05rem;
  width: 24px;
  text-align: center;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: #ef4444;
  background-color: rgba(220, 38, 38, 0.08);
  padding-left: 0.65rem;
}

.mobile-submenu-links {
  list-style: none;
  margin: 0.25rem 0 0.25rem 1.5rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(220, 38, 38, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-submenu-links a {
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  padding: 0.3rem 0.35rem !important;
}

.mobile-submenu-links a:hover {
  color: #f87171 !important;
}

/* -------------------------------------------------------------------------- */
/* CLIENTS LOGO CAROUSEL (Fondo Blanco & Scroll Infinito)                     */
/* -------------------------------------------------------------------------- */
.clients-section {
  background-color: #ffffff !important;
  position: relative;
  width: 100%;
}

.clients-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0 20px 0;
  display: flex;
}

.clients-carousel-fade-left,
.clients-carousel-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 5;
  pointer-events: none;
}

.clients-carousel-fade-left {
  left: 0;
  background: linear-gradient(to right, #ffffff 15%, rgba(255, 255, 255, 0) 100%);
}

.clients-carousel-fade-right {
  right: 0;
  background: linear-gradient(to left, #ffffff 15%, rgba(255, 255, 255, 0) 100%);
}

.clients-carousel-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: scrollClients 28s linear infinite;
  will-change: transform;
}

.clients-carousel-track:hover {
  animation-play-state: paused;
}

.client-logo-item {
  flex: 0 0 auto;
  padding: 0 14px;
}

.client-logo-card {
  width: 230px;
  height: 110px;
  background-color: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: var(--radius-md, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.client-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.1);
  border-color: rgba(200, 30, 54, 0.3);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: contrast(102%);
}

.client-logo-card:hover img {
  transform: scale(1.05);
}

@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .clients-carousel-fade-left,
  .clients-carousel-fade-right {
    width: 45px;
  }
  
  .client-logo-card {
    width: 180px;
    height: 92px;
    padding: 12px 16px;
  }
  
  .client-logo-item {
    padding: 0 9px;
  }
  
  .clients-carousel-track {
    animation-duration: 20s;
  }
}


