/* ==========================================================================
   ASOTECNICOS & CÍA LTDA. - SISTEMA DE DISEÑO Y ESTILOS CORPORATIVOS
   Diseño, Fabricación, Modernización y Mantenimiento de Ascensores
   ========================================================================== */

:root {
  --navy-950: #040d1f;
  --navy-900: #071a3e;
  --navy-850: #0a2352;
  --navy-800: #0f2d6b;
  --navy-700: #194091;
  --navy-600: #2563eb;
  
  --red-600: #e11d27;
  --red-500: #ef233c;
  --red-400: #ff4d59;
  --red-glow: rgba(225, 29, 39, 0.35);

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  --accent-gold: #f59e0b;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1eb956;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 2px 8px rgba(7, 26, 62, 0.06);
  --shadow-md: 0 8px 24px rgba(7, 26, 62, 0.10);
  --shadow-lg: 0 16px 40px rgba(7, 26, 62, 0.16);
  --shadow-glow: 0 0 30px var(--red-glow);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

img, picture {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

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

/* Tipografías */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-900);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement Bar */
.top-bar {
  background: var(--navy-950);
  color: var(--slate-400);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.top-bar-item a {
  color: var(--slate-200);
  transition: color var(--transition-fast);
}

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

.top-emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(225, 29, 39, 0.18);
  color: #ff6b74;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: 1px solid rgba(225, 29, 39, 0.35);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red-500);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 35, 60, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 35, 60, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(239, 35, 60, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 35, 60, 0); }
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 13, 31, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  max-width: 1320px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #000000;
  padding: 2px 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-fast);
}

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

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

.brand-caption-title {
  color: var(--white);
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.4px;
  line-height: 1.1;
}

.brand-caption-subtitle {
  color: var(--slate-400);
  font-size: 0.62rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--slate-200);
  font-weight: 600;
  font-size: 0.77rem;
  white-space: nowrap;
  transition: color var(--transition-fast);
  position: relative;
  padding: 3px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--red-600);
  transition: width var(--transition-fast);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn.btn-header,
.nav-actions .btn-header {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 5px;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Botones Principales */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  letter-spacing: 0.3px;
}

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

.btn-primary:hover {
  background-color: var(--red-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 29, 39, 0.5);
}

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-950);
  background-image: 
    linear-gradient(105deg, rgba(4, 13, 31, 0.94) 0%, rgba(7, 26, 62, 0.88) 55%, rgba(15, 23, 42, 0.82) 100%),
    url('../images/hero-bg.jpg');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-overlay-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 29, 39, 0.15);
  border: 1px solid rgba(225, 29, 39, 0.4);
  color: #ff6870;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}

.hero-title .highlight-red {
  color: var(--red-500);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--slate-300);
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 28px;
}

.metric-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.metric-item strong span {
  color: var(--red-500);
}

.metric-item p {
  color: var(--slate-400);
  font-size: 0.85rem;
  margin-top: 6px;
  line-height: 1.35;
}

/* Hero Visual Card (Real Elevator Photo showcase) */
.hero-card-preview {
  position: relative;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.hero-card-preview-inner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.hero-card-preview:hover .hero-card-preview-img {
  transform: scale(1.04);
}

.hero-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 26, 62, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(4, 13, 31, 0.95), transparent);
  color: var(--white);
}

.hero-card-footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.hero-card-footer p {
  color: var(--slate-300);
  font-size: 0.82rem;
}

/* Secciones Generales */
.section {
  padding: 96px 0;
  position: relative;
}

.section-light {
  background-color: var(--slate-50);
}

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

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-kicker {
  display: inline-block;
  color: var(--red-600);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-dark .section-kicker {
  color: var(--red-400);
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

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

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

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

/* Servicios Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--shadow-lg);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-600), var(--navy-700));
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--slate-100);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.service-icon-box svg {
  width: 30px;
  height: 30px;
}

.service-card:hover .service-icon-box {
  background: var(--navy-800);
  color: var(--white);
  transform: scale(1.05);
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--navy-900);
}

.service-card-text {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-list {
  border-top: 1px dashed var(--slate-200);
  padding-top: 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--slate-700);
}

.service-card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.service-card-list li svg {
  width: 16px;
  height: 16px;
  color: var(--red-600);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-700);
  transition: color var(--transition-fast);
}

.service-link:hover {
  color: var(--red-600);
}

/* Galería de Proyectos Reales */
.projects-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy-950);
  group: 1;
}

.project-item.item-tall {
  grid-row: span 2;
}

.project-thumb {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.project-item.item-tall .project-thumb {
  height: 100%;
  min-height: 580px;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 13, 31, 0.94) 0%, rgba(4, 13, 31, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  transition: opacity var(--transition-fast);
}

.project-item:hover .project-thumb {
  transform: scale(1.05);
}

.project-overlay-badge {
  display: inline-block;
  background: var(--red-600);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  align-self: flex-start;
}

.project-overlay h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.project-overlay p {
  color: var(--slate-300);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Comparativa Antes / Después Modernización */
.comparison-section {
  background: #06132d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.comp-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comp-card-badge {
  padding: 12px 20px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comp-badge-before {
  background: rgba(225, 29, 39, 0.2);
  color: #ff6870;
  border-bottom: 1px solid rgba(225, 29, 39, 0.3);
}

.comp-badge-after {
  background: rgba(37, 211, 102, 0.2);
  color: #4ade80;
  border-bottom: 1px solid rgba(37, 211, 102, 0.3);
}

.comp-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.comp-card-body {
  padding: 24px;
}

.comp-card-body h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.comp-card-body p {
  color: var(--slate-300);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Sección Nosotros / Historia */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.about-visual-stack {
  position: relative;
}

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

.about-experience-badge {
  position: absolute;
  bottom: -25px;
  right: 20px;
  background: var(--navy-900);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--red-600);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-experience-badge strong {
  display: block;
  font-size: 2.2rem;
  font-family: var(--font-heading);
  line-height: 1;
}

.about-experience-badge span {
  font-size: 0.85rem;
  color: var(--slate-300);
}

.about-content h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-bottom: 18px;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--slate-700);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.65;
}

.about-text {
  color: var(--slate-600);
  margin-bottom: 24px;
  line-height: 1.7;
}

.about-founder-quote {
  background: var(--slate-100);
  border-left: 4px solid var(--red-600);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 28px;
  font-style: italic;
  color: var(--slate-800);
}

.about-founder-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-900);
}

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

.value-pill {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.value-pill strong {
  display: block;
  color: var(--navy-900);
  font-size: 1rem;
  margin-bottom: 4px;
}

.value-pill span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* Sección Clientes y Alianzas */
.clients-section {
  background: var(--slate-50);
}

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

.client-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-600);
}

.client-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  flex-shrink: 0;
  border: 2px solid var(--red-600);
}

.client-info h4 {
  font-size: 1.02rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.client-info p {
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* Normativa Técnica NTC 5926 */
.normativa-box {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.normativa-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.normativa-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.norm-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--radius-md);
}

.norm-card strong {
  display: block;
  color: #ff6870;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.norm-card p {
  color: var(--slate-300);
  font-size: 0.84rem;
  line-height: 1.4;
}

.norm-cta-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}

.norm-cta-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.norm-cta-card p {
  color: var(--slate-300);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

/* Cotizador Inteligente y Contacto */
.contact-section {
  background-color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
}

.contact-direct-info {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-header h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-info-header p {
  color: var(--slate-300);
  font-size: 0.96rem;
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-method-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #ff6870;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon svg {
  width: 22px;
  height: 22px;
}

.method-details b {
  display: block;
  color: var(--slate-400);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.method-details a, .method-details span {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.method-details a:hover {
  color: var(--red-400);
}

.contact-guarantee-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--slate-300);
}

/* Formulario Cotizador */
.quote-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.quote-form-card h3 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.quote-form-card p {
  color: var(--slate-600);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--slate-900);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--navy-700);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

/* Preguntas Frecuentes FAQ */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item:hover {
  border-color: var(--slate-400);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy-900);
  cursor: pointer;
}

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

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--navy-900);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 26px;
  color: var(--slate-600);
  font-size: 0.98rem;
  line-height: 1.7;
}

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

/* Footer Corporativo */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--slate-300);
  font-size: 0.92rem;
  margin: 18px 0;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

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

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--slate-300);
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  color: #ff6870;
  flex-shrink: 0;
  margin-top: 3px;
}

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

.footer-bottom p {
  color: var(--slate-400);
}

.footer-bottom strong {
  color: var(--white);
}

/* Floating Actions (WhatsApp & Llamada 24/7) */
.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-fast);
  position: relative;
}

.floating-btn svg {
  width: 30px;
  height: 30px;
}

.floating-wa {
  background-color: var(--whatsapp-green);
}

.floating-wa:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.1);
}

.floating-wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--red-600);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  border: 2px solid var(--white);
  letter-spacing: 0.5px;
}

.scroll-top-btn {
  background: var(--navy-800);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--navy-700);
  transform: translateY(-4px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin: 0 auto 34px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-metrics {
    max-width: 600px;
    margin: 0 auto;
  }
  .hero-card-preview {
    max-width: 580px;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual-stack {
    max-width: 580px;
    margin: 0 auto 40px;
  }
  .projects-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-item.item-tall {
    grid-row: span 1;
  }
  .project-item.item-tall .project-thumb {
    min-height: 280px;
  }
  .normativa-grid {
    grid-template-columns: 1fr;
  }
  .normativa-items {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1180px) and (min-width: 769px) {
  .nav-menu {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.75rem;
  }
  .brand-caption-subtitle {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy-950);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-120%);
    transition: transform var(--transition-normal);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-actions .btn-header {
    display: none;
  }
  .comparison-box {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .projects-gallery {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
}

/* ==========================================================================
   SECCIÓN HOMENAJE AL FUNDADOR: GRATINIANO MARTÍNEZ RODRÍGUEZ
   41 Años Construyendo un Legado (1985 - 2026)
   ========================================================================== */
.tribute-section {
  background: radial-gradient(circle at 50% 15%, #0f2d6b 0%, #061533 55%, #030a1a 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}

.tribute-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.tribute-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(245, 158, 11, 0.1);
  position: relative;
}

.tribute-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.22) 0%, rgba(225, 29, 39, 0.22) 100%);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fcd34d;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.tribute-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}

.tribute-portrait-wrapper {
  position: relative;
  text-align: center;
}

.tribute-portrait-frame {
  position: relative;
  max-width: 320px;
  margin: 0 auto 24px;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 40%, #071a3e 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(245, 158, 11, 0.25);
}

.tribute-founder-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: block;
}

.tribute-seal-mini {
  position: absolute;
  bottom: -18px;
  right: -12px;
  background: linear-gradient(135deg, #071a3e 0%, #0d2b62 100%);
  border: 2.5px solid #f59e0b;
  border-radius: 50%;
  width: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  color: #fbbf24;
  text-align: center;
  padding: 4px;
  z-index: 5;
}

.tribute-seal-mini strong {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1;
  color: #fbbf24;
}

.tribute-seal-mini span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
  margin-top: 2px;
}

.tribute-portrait-caption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: #fcd34d;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tribute-seal-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #071a3e;
  border: 2px dashed rgba(245, 158, 11, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--white);
  text-align: center;
}

.tribute-seal-logo {
  height: 44px;
  width: auto;
  margin-bottom: 10px;
  border-radius: 6px;
  background: #000;
  padding: 2px 4px;
}

.tribute-seal-years {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
}

.tribute-seal-label {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-top: 5px;
}

.tribute-meta-dates {
  font-size: 0.9rem;
  color: #fbbf24;
  font-weight: 700;
  letter-spacing: 1px;
}

.tribute-family-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 22px;
  text-align: left;
}

.tribute-family-card b {
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.tribute-family-card p {
  color: var(--slate-300);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.tribute-title {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 6px;
}

.tribute-subtitle {
  font-size: 1.15rem;
  color: #fbbf24;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  display: block;
}

.tribute-body p {
  color: var(--slate-200);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.tribute-quote-highlight {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid #f59e0b;
  padding: 22px 26px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}

.tribute-quote-highlight p {
  color: #fef3c7;
  font-size: 1.12rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0;
}

.tribute-elevating-punchline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(90deg, rgba(225, 29, 39, 0.35) 0%, rgba(245, 158, 11, 0.35) 100%);
  padding: 14px 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.5px;
}

.tribute-arrow-up {
  color: #ef233c;
  animation: floatUp 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 900px) {
  .tribute-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .tribute-card {
    padding: 36px 22px;
  }
}
