/* ==========================================================================
   PUERTAS AUTOMÁTICAS SIGLO - STYLESHEET
   Colores Institucionales: Verde (#208b3a), Rojo (#da251b), Carbón (#0f172a)
   ========================================================================== */

:root {
  /* Brand Institutional Colors */
  --brand-green: #208b3a;
  --brand-green-hover: #17702e;
  --brand-green-dark: #0f5121;
  --brand-green-light: #ecfdf5;
  --brand-green-glow: rgba(32, 139, 58, 0.28);

  --brand-red: #da251b;
  --brand-red-hover: #b81d15;
  --brand-red-dark: #8e150f;
  --brand-red-light: #fef2f2;
  --brand-red-glow: rgba(218, 37, 27, 0.28);

  --brand-bronze: #6d5b2b;

  /* Neutrals & Surfaces */
  --slate-950: #090d16;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 14px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 50px rgba(15, 23, 42, 0.16);

  /* Layout */
  --max-width: 1240px;
  --nav-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-700);
  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 {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   TOP BAR (CONTACT QUICK INFO)
   ========================================================================== */
.top-bar {
  background: var(--slate-900);
  color: var(--slate-300);
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-info, .top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--brand-green);
}

.top-bar-item a:hover {
  color: var(--white);
}

.badge-zapopan {
  background: rgba(32, 139, 58, 0.2);
  color: #4ade80;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   STICKY NAVBAR
   ========================================================================== */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: box-shadow var(--transition-normal);
}

.header-sticky.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-name span.green {
  color: var(--brand-green);
}

.brand-name span.red {
  color: var(--brand-red);
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--brand-green);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--brand-green);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.925rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

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

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-green {
  background: var(--brand-green);
  color: var(--white);
  box-shadow: 0 4px 14px var(--brand-green-glow);
}

.btn-green:hover {
  background: var(--brand-green-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-green-glow);
}

.btn-red {
  background: var(--brand-red);
  color: var(--white);
  box-shadow: 0 4px 14px var(--brand-red-glow);
}

.btn-red:hover {
  background: var(--brand-red-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--brand-red-glow);
}

.btn-outline {
  background: transparent;
  border-color: var(--slate-300);
  color: var(--slate-800);
}

.btn-outline:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
  color: var(--slate-900);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--slate-900);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--slate-800);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 10% 20%, #1e293b 0%, #0f172a 100%);
  color: var(--white);
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(32, 139, 58, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(218, 37, 27, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  width: fit-content;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-badge-text {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-200);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-title .highlight-green {
  color: #4ade80;
  position: relative;
  display: inline-block;
}

.hero-title .highlight-red {
  color: #f87171;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--slate-300);
  line-height: 1.65;
  max-width: 580px;
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  color: var(--slate-200);
  font-weight: 600;
}

.hero-bullet-item svg {
  color: var(--brand-green);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Hero Visual & Floating Cards */
.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Floating Card 1: Experience */
.floating-stat-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  z-index: 3;
}

.floating-stat-top {
  top: 1.5rem;
  left: -1.75rem;
  animation: float-slow 4s ease-in-out infinite alternate;
}

.floating-stat-bottom {
  bottom: 1.5rem;
  right: -1.75rem;
  animation: float-slow 4s ease-in-out infinite alternate-reverse;
}

@keyframes float-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.green {
  background: rgba(32, 139, 58, 0.25);
  color: #4ade80;
}

.stat-icon.red {
  background: rgba(218, 37, 27, 0.25);
  color: #f87171;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--slate-300);
  font-weight: 500;
}

/* ==========================================================================
   TRUST STATS BAR
   ========================================================================== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 2rem 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  border-right: 1px solid var(--slate-200);
}

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

.trust-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-green-light);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item-icon.red {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.trust-item-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
}

.trust-item-sub {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--slate-100);
}

.section-dark {
  background: var(--slate-900);
  color: var(--white);
}

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

.section-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.section-badge.red {
  background: var(--brand-red-light);
  color: var(--brand-red-dark);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--slate-300);
}

/* ==========================================================================
   COTIZADOR EXPRESS (INTERACTIVE QUOTE WIZARD)
   ========================================================================== */
.cotizador-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cotizador-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

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

.cotizador-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-200);
  margin-bottom: 0.6rem;
}

.cotizador-select, .cotizador-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.cotizador-select:focus, .cotizador-input:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px var(--brand-green-glow);
}

.cotizador-select option {
  background: var(--slate-900);
  color: var(--white);
}

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

.cotizador-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cotizador-summary-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(32, 139, 58, 0.2);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cotizador-summary-text {
  font-size: 0.925rem;
  color: var(--slate-300);
}

.cotizador-summary-text strong {
  color: var(--white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(32, 139, 58, 0.3);
}

.service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-badge.featured {
  background: var(--brand-red);
}

.service-badge.green {
  background: var(--brand-green);
}

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

.service-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-features {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 1.25rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-700);
  font-weight: 500;
}

.service-feature-item svg {
  color: var(--brand-green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   ABOUT / WHY US (COMPARISON & STORY)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.about-visual {
  position: relative;
}

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

.about-badge-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.about-feature-box {
  background: var(--slate-50);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.about-feature-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-feature-title svg {
  color: var(--brand-green);
}

.about-feature-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
}

/* Comparison Table */
.comparison-card {
  margin-top: 3.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.comparison-header {
  text-align: center;
  margin-bottom: 2rem;
}

.table-responsive {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.95rem;
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--slate-900);
  background: var(--slate-50);
}

.comparison-table th.highlight-col,
.comparison-table td.highlight-col {
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  font-weight: 700;
}

/* ==========================================================================
   PORTFOLIO / GALLERY (FILTERABLE & LIGHTBOX)
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
}

.filter-btn.active {
  background: var(--brand-green);
  color: var(--white);
  border-color: var(--brand-green);
  box-shadow: 0 4px 12px var(--brand-green-glow);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.gallery-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(9, 13, 22, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  align-items: center;
  justify-content: center;
}

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

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.lightbox-image {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
}

.lightbox-caption {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-top: 1rem;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================================
   BRANDS SECTION
   ========================================================================== */
.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  padding: 2.5rem 0;
  opacity: 0.85;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-400);
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.brand-badge:hover {
  color: var(--slate-900);
}

.brand-badge span.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-red);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-row {
  display: flex;
  gap: 0.25rem;
  color: #f59e0b;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.975rem;
  color: var(--slate-600);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--slate-200);
  color: var(--slate-700);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.author-name {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 0.95rem;
}

.author-location {
  font-size: 0.775rem;
  color: var(--slate-500);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--brand-green);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  text-align: left;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background var(--transition-fast);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--brand-green-light);
  color: var(--brand-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   CONTACT SECTION & MAP
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

.contact-cards-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.contact-card-box:hover {
  border-color: var(--brand-green);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon.green {
  background: var(--brand-green-light);
  color: var(--brand-green);
}

.contact-card-icon.red {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.contact-card-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-green-dark);
  margin-bottom: 0.25rem;
  display: block;
}

.contact-card-sub {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

/* Contact Form */
.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 1.75rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  background: var(--white);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px var(--brand-green-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Map Embed */
.map-container {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  height: 380px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP & PHONE)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-end;
}

.fab-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.925rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
  color: var(--white);
}

.fab-whatsapp {
  background: #25d366;
}

.fab-whatsapp:hover {
  background: #1eb956;
  transform: scale(1.05);
}

.fab-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.fab-phone {
  background: var(--brand-red);
  padding: 0.75rem;
}

.fab-phone:hover {
  background: var(--brand-red-hover);
  transform: scale(1.05);
}

.fab-phone svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--brand-green);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

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

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item.red svg {
  color: var(--brand-red);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge-wrap {
    margin-inline: auto;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-bullets {
    justify-content: center;
    max-width: 480px;
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .floating-stat-top {
    left: 1rem;
  }

  .floating-stat-bottom {
    right: 1rem;
  }

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

  .trust-item:nth-child(2) {
    border-right: none;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-main-img {
    height: 380px;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 72px;
  }

  .top-bar {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .hero-image-wrapper img {
    height: 320px;
  }

  .floating-stat-card {
    position: static;
    margin-top: 1rem;
    animation: none;
  }

  .cotizador-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 1rem;
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-features-list {
    grid-template-columns: 1fr;
  }

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

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

  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .fab-btn span {
    display: none;
  }

  .fab-btn {
    padding: 0.85rem;
    border-radius: 50%;
  }
}
