/* ==========================================================================
   JYG SOLUCIONES INDUSTRIALES S.A.C. - DESIGN SYSTEM & STYLES
   Light Theme: https://coolors.co/palette/03045e-0077b6-00b4d8-90e0ef-caf0f8
   #03045e (Deep Navy), #0077b6 (Corporate Blue), #00b4d8 (Pacific Cyan),
   #90e0ef (Soft Sky), #caf0f8 (Light Ice)
   ========================================================================== */

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

:root {
  /* Palette Colors */
  --c-navy: #03045e;
  --c-blue: #0077b6;
  --c-cyan: #00b4d8;
  --c-sky: #90e0ef;
  --c-ice: #caf0f8;

  /* Surfaces & Backgrounds */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0fdfa;
  --bg-tint-light: #f0f9ff;
  --bg-tint-ice: #e0f2fe;
  --bg-glass: rgba(255, 255, 255, 0.9);

  --border-subtle: #e2e8f0;
  --border-card: rgba(0, 180, 216, 0.22);
  --border-card-hover: #00b4d8;

  /* Text & Typography */
  --text-main: #1e293b;
  --text-heading: #03045e;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-cyan: #0077b6;

  --accent: #d97706;
  --accent-gold: #b45309;
  --success: #059669;
  --danger: #dc2626;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions & Shadows */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(3, 4, 94, 0.05);
  --shadow-md: 0 10px 25px -3px rgba(3, 4, 94, 0.08), 0 4px 10px -2px rgba(0, 180, 216, 0.05);
  --shadow-lg: 0 20px 45px -10px rgba(3, 4, 94, 0.12), 0 0 25px rgba(0, 180, 216, 0.12);
  --shadow-glow: 0 0 20px rgba(0, 180, 216, 0.25);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(144, 224, 239, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 90% 55%, rgba(202, 240, 248, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #f0f9ff 50%, #ffffff 100%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #90e0ef;
  border-radius: 5px;
  border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--c-blue);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

/* Highlight Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #03045e 0%, #0077b6 60%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-primary {
  background: #e0f2fe;
  color: var(--c-blue);
  border: 1px solid #90e0ef;
  box-shadow: 0 2px 8px rgba(0, 180, 216, 0.15);
}

.badge-gold {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

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

.section-header .subtitle {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-blue);
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--c-navy);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #03045e 0%, #0077b6 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.55rem 0;
  font-size: 0.825rem;
  color: #e0f2fe;
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

.top-bar-item i {
  color: var(--c-sky);
}

.top-bar-item strong {
  color: #ffffff;
  font-weight: 700;
}

.top-bar a {
  color: #e0f2fe;
}

.top-bar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 180, 216, 0.15);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 180, 216, 0.3);
  box-shadow: 0 4px 20px rgba(3, 4, 94, 0.08);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-brand img {
  height: 52px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 119, 182, 0.2);
  transition: var(--transition);
}

.logo-brand:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
}

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

.logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo-text .brand-sub {
  font-size: 0.725rem;
  letter-spacing: 0.08em;
  color: var(--c-blue);
  text-transform: uppercase;
  font-weight: 700;
}

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

.nav-link {
  color: #334155;
  font-weight: 600;
  font-size: 0.925rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-blue);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--c-blue);
}

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

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-sky);
  color: var(--c-navy);
  font-size: 1.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0077b6 0%, #03045e 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(3, 4, 94, 0.4);
  color: #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  border: 2px solid var(--c-blue);
  color: var(--c-blue);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--c-ice);
  border-color: var(--c-navy);
  color: var(--c-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 4.5rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 45%, #ffffff 100%);
}

.hero-bg-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 400px;
  background: radial-gradient(circle, rgba(144, 224, 239, 0.3) 0%, rgba(202, 240, 248, 0.2) 60%, transparent 80%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

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

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 900;
  color: var(--c-navy);
}

.hero-description {
  font-size: 1.15rem;
  color: #475569;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 119, 182, 0.15);
  margin-top: 1rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #90e0ef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.1);
}

.highlight-text h4 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--c-navy);
}

.highlight-text p {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* Hero Media / Graphic Showcase */
.hero-media {
  position: relative;
}

.hero-card-preview {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #ffffff;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
}

.hero-card-preview:hover {
  box-shadow: 0 25px 60px rgba(3, 4, 94, 0.18), 0 0 25px rgba(0, 180, 216, 0.25);
  transform: translateY(-4px);
}

.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-slow);
}

.floating-badge {
  position: absolute;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid #90e0ef;
  box-shadow: 0 8px 25px rgba(3, 4, 94, 0.15);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

.floating-badge.badge-1 {
  bottom: 25px;
  left: -20px;
}

.floating-badge.badge-2 {
  top: 30px;
  right: -20px;
  animation-delay: 2s;
}

.floating-badge i {
  font-size: 1.5rem;
  color: var(--c-blue);
}

.floating-badge-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--c-navy);
}

.floating-badge-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

/* ==========================================================================
   METRICS BAR
   ========================================================================== */
.metrics-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 3rem 0;
}

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

.metric-item {
  padding: 1.5rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.metric-item:hover {
  border-color: #00b4d8;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--c-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--c-navy);
  font-weight: 600;
}

/* ==========================================================================
   ABOUT & TRUST 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: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.about-experience-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, #03045e 0%, #0077b6 100%);
  border: 2px solid #90e0ef;
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.3);
  padding: 1.5rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.about-exp-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: #caf0f8;
  line-height: 1;
}

.about-exp-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

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

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

.pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--c-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: #f0f9ff;
}

.pillar-icon {
  font-size: 1.5rem;
  color: var(--c-blue);
  margin-bottom: 0.75rem;
}

.pillar-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--c-navy);
}

.pillar-card p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION (CATALOG WITH TABS & RICH CARDS)
   ========================================================================== */
.services-section {
  background: #f8fafc;
}

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

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

.service-card:hover {
  border-color: var(--c-cyan);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

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

.service-badge-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(3, 4, 94, 0.9);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

.service-icon-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.service-icon-title i {
  font-size: 1.4rem;
  color: var(--c-blue);
  background: var(--c-ice);
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--c-sky);
}

.service-body h3 {
  font-size: 1.3rem;
  color: var(--c-navy);
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.service-features-list {
  list-style: none;
  margin-top: auto;
  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: var(--c-blue);
  font-size: 0.8rem;
}

.service-btn-action {
  width: 100%;
}

/* ==========================================================================
   PORTFOLIO & REAL GALLERY SECTION
   ========================================================================== */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--c-navy);
  color: #ffffff;
  border-color: var(--c-navy);
  box-shadow: 0 4px 15px rgba(3, 4, 94, 0.25);
}

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

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: var(--transition);
  height: 280px;
  box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--c-cyan);
  box-shadow: var(--shadow-lg);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(3, 4, 94, 0.92) 90%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0.92;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.2) 0%, rgba(3, 4, 94, 0.95) 80%);
}

.gallery-tag {
  font-size: 0.75rem;
  color: var(--c-sky);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.gallery-title {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

.gallery-details {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 0.25rem;
}

.gallery-zoom-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   SAFETY & COMPLIANCE SECTION (SCTR / NORMAS)
   ========================================================================== */
.safety-section {
  background: linear-gradient(135deg, #03045e 0%, #0077b6 100%);
  border-radius: 20px;
  padding: 3.5rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.safety-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.safety-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.safety-card-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  backdrop-filter: blur(6px);
}

.safety-card-item i {
  color: #fde047;
  font-size: 1.25rem;
  margin-top: 0.2rem;
}

.safety-card-item h5 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.safety-card-item p {
  font-size: 0.8rem;
  color: #e0f2fe;
}

.safety-banner-right {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.4);
}

.safety-banner-right i {
  font-size: 3.5rem;
  color: #caf0f8;
  margin-bottom: 1rem;
}

.safety-banner-right h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.safety-banner-right p {
  font-size: 0.9rem;
  color: #e0f2fe;
}

/* ==========================================================================
   CLIENTS / CASOS DE ÉXITO SECTION
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.client-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.client-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
}

.client-name h3 {
  font-size: 1.35rem;
  color: var(--c-navy);
}

.client-name span {
  font-size: 0.85rem;
  color: var(--c-blue);
  font-weight: 700;
}

.client-badge-verified {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.client-work-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.client-work-list li {
  font-size: 0.875rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.client-work-list li i {
  color: var(--c-blue);
  margin-top: 0.25rem;
}

/* ==========================================================================
   INTERACTIVE QUOTE CALCULATOR & WHATSAPP GENERATOR
   ========================================================================== */
.quote-section {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.quote-calculator-box {
  background: #ffffff;
  border: 2px solid var(--c-sky);
  box-shadow: 0 15px 40px rgba(0, 119, 182, 0.1);
  border-radius: 20px;
  padding: 3rem;
  max-width: 960px;
  margin: 0 auto;
}

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

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-navy);
  margin-bottom: 0.5rem;
}

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

.form-control:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
  background: #ffffff;
}

select.form-control option {
  background: #ffffff;
  color: #0f172a;
}

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

.quote-preview-box {
  background: #f0f9ff;
  border: 1px dashed var(--c-blue);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.quote-preview-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--c-blue);
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-submit-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   BANK & CORPORATE FISCAL SECTION
   ========================================================================== */
.fiscal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.fiscal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.fiscal-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--c-ice);
  border: 1px solid var(--c-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.fiscal-info h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.fiscal-info p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-navy);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #03045e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5rem 0 2rem;
  color: #cbd5e1;
  position: relative;
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: #94a3b8;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--c-sky);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.footer-contact-item i {
  color: var(--c-sky);
  margin-top: 0.25rem;
}

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

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.modal-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 94, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 2rem;
}

.modal-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-box {
  max-width: 900px;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #ffffff;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--danger);
  border-color: var(--danger);
}

.modal-img-holder {
  max-height: 550px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-holder img {
  max-height: 550px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.modal-info-box {
  padding: 1.5rem 2rem;
}

.modal-info-title {
  font-size: 1.35rem;
  color: var(--c-navy);
  margin-bottom: 0.35rem;
}

.modal-info-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   FLOATING WHATSAPP & SCROLL TOP BUTTON
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.floating-whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse 2s infinite;
  pointer-events: none;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.scroll-top-btn {
  position: fixed;
  bottom: 105px;
  right: 35px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--c-blue);
  color: var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 998;
  box-shadow: var(--shadow-md);
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: var(--c-blue);
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .safety-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .services-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    transition: var(--transition);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-menu.open {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-cta {
    display: none;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .services-grid, .gallery-grid, .clients-grid, .fiscal-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
  }
  .about-pillars, .safety-list {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .quote-calculator-box {
    padding: 1.75rem;
  }
  .floating-badge.badge-1, .floating-badge.badge-2 {
    position: static;
    margin-top: 1rem;
    display: inline-flex;
  }
}
