/* ============================================
   FYL Associates — Corporate B2B Website
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-gold: #E7B51C;
  --color-gold-dark: #C99A14;
  --color-gold-light: #F0CC5B;
  --color-gold-glow: rgba(231, 181, 28, 0.3);
  --color-black: #111111;
  --color-dark-gray: #4A4A4A;
  --color-gray: #5F5F5F;
  --color-light-gray: #E5E5E5;
  --color-warm-gray: #E8E6E1;
  --color-off-white: #F7F6F3;
  --color-white: #FFFFFF;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;

  --max-width: 1200px;
  --border-radius: 8px;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 4px 20px rgba(231, 181, 28, 0.15);
  --shadow-gold-lg: 0 8px 32px rgba(231, 181, 28, 0.25);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-dark-gray);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.3px;
}

.section-header .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  border-radius: 2px;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--color-gray);
  max-width: 600px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

/* Sweep shine effect on all buttons */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 150%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-black);
  border-color: var(--color-gold);
  box-shadow: 0 2px 8px rgba(231, 181, 28, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  border-color: var(--color-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(231, 181, 28, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(231, 181, 28, 0.2);
}

.btn-outline {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: transparent;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-black);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(231, 181, 28, 0.25);
  border-color: var(--color-gold);
}

.btn-outline:active {
  transform: translateY(0);
}

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

.btn-white:hover {
  background-color: var(--color-light-gray);
  border-color: var(--color-light-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  padding: 0 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--color-light-gray);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.logo-img {
  height: 55px;
  width: auto;
  display: block;
  margin: 0;
  padding: 0;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark-gray);
  transition: color var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  position: relative;
}

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

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

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

/* --- Language Switcher --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 1.5rem;
}

.lang-btn {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.5rem;
  color: var(--color-gray);
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: color var(--transition), background-color var(--transition);
}

.lang-btn:hover {
  color: var(--color-black);
  background-color: rgba(231, 181, 28, 0.08);
}

.lang-btn.active {
  color: var(--color-gold-dark);
  background-color: rgba(231, 181, 28, 0.12);
}

.lang-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background-color: var(--color-light-gray);
  margin: 0 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  transition: var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

/* --- App & Views --- */
#app {
  flex: 1 0 auto;
  padding-top: 4rem;
}

.view {
}

/* --- Keyframes --- */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--color-gold-glow); }
  50%      { box-shadow: 0 0 0 6px rgba(231, 181, 28, 0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes lineGrow {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231, 181, 28, 0.5); }
  50%      { box-shadow: 0 0 0 14px rgba(231, 181, 28, 0); }
}

@keyframes borderGlow {
  0%, 100% { border-color: var(--color-light-gray); }
  50%      { border-color: var(--color-gold); }
}

@keyframes iconBounce {
  0%       { transform: translateY(0) scale(1); }
  20%      { transform: translateY(-8px) scale(1.15); }
  40%      { transform: translateY(-2px) scale(1.05); }
  60%      { transform: translateY(-5px) scale(1.08); }
  80%      { transform: translateY(-1px) scale(1.02); }
  100%     { transform: translateY(0) scale(1); }
}

@keyframes shimmerSweep {
  0%   { left: -100%; }
  100% { left: 200%; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.15; }
  50%      { opacity: 0.35; }
}

/* New keyframes for enhanced animations */
@keyframes particleFloat {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
  33%  { transform: translateY(-30px) translateX(12px) scale(1.15); opacity: 0.9; }
  66%  { transform: translateY(-15px) translateX(-8px) scale(0.9); opacity: 0.5; }
  100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.6; }
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(8px); opacity: 0.5; }
}

@keyframes rippleOut {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes processLineFill {
  from { width: 0%; }
  to   { width: 100%; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.05); }
}

@keyframes borderTrace {
  0%   { clip-path: inset(0 100% 100% 0); }
  25%  { clip-path: inset(0 0 100% 0); }
  50%  { clip-path: inset(0 0 0 0); }
  75%  { clip-path: inset(100% 0 0 0); }
  100% { clip-path: inset(100% 100% 0 0); }
}

@keyframes diagonalSlide {
  from { transform: translateX(-100%) skewX(-15deg); }
  to   { transform: translateX(300%) skewX(-15deg); }
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231, 181, 28, 0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(231, 181, 28, 0); }
}

/* Premium card float */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* Soft glow breathing */
@keyframes glowBreathe {
  0%, 100% { opacity: 0; box-shadow: 0 0 0 0 rgba(231, 181, 28, 0); }
  50%      { opacity: 1; box-shadow: 0 0 30px rgba(231, 181, 28, 0.08); }
}

/* Elegant border reveal from corners */
@keyframes borderRevealTopLeft {
  0%   { width: 0; height: 0; opacity: 0; }
  50%  { width: 24px; height: 0; opacity: 1; }
  100% { width: 24px; height: 24px; opacity: 1; }
}

@keyframes borderRevealBottomRight {
  0%   { width: 0; height: 0; opacity: 0; }
  50%  { width: 24px; height: 0; opacity: 1; }
  100% { width: 24px; height: 24px; opacity: 1; }
}

/* Icon spin-in */
@keyframes iconSpinIn {
  0%   { transform: scale(0.6) rotate(-15deg); opacity: 0; }
  60%  { transform: scale(1.08) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Stagger scale pop */
@keyframes cardPop {
  0%   { opacity: 0; transform: translateY(32px) scale(0.94); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.01); }
  80%  { transform: translateY(2px) scale(0.995); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating orb drift */
@keyframes orbDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(60px, -30px) scale(1.1); }
  50%  { transform: translate(20px, -60px) scale(0.95); }
  75%  { transform: translate(-40px, -20px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-50px, 40px) scale(1.08); }
  66%  { transform: translate(30px, 60px) scale(0.92); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes geometricRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes lineSlide {
  0%   { transform: translateX(-100%) scaleX(0.5); opacity: 0; }
  50%  { opacity: 0.4; }
  100% { transform: translateX(200%) scaleX(0.5); opacity: 0; }
}

/* --- Scroll Reveal System (Spring Physics) --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-scale { transform: scale(0.88); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed { transform: translate(0); }
.reveal-scale.revealed { transform: scale(1); }

/* Stagger children — spring easing with cardPop animation */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.06s; opacity: 1; transform: translateY(0) scale(1); }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.14s; opacity: 1; transform: translateY(0) scale(1); }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.22s; opacity: 1; transform: translateY(0) scale(1); }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.30s; opacity: 1; transform: translateY(0) scale(1); }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.38s; opacity: 1; transform: translateY(0) scale(1); }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.46s; opacity: 1; transform: translateY(0) scale(1); }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.54s; opacity: 1; transform: translateY(0) scale(1); }

.view-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 4rem - 100px);
  font-size: 1rem;
  color: var(--color-gray);
}

.view-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 4rem - 100px);
  color: #dc2626;
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
}

/* --- View Transitions (Curtain System) --- */

.view-transition-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  overflow: hidden;
}

/* Dark curtain panel */
.curtain-panel {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #0d0d0b 0%,
    #131210 40%,
    #0d0d0b 100%
  );
  transform: translateY(102%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  will-change: transform;
}

/* Gold accent line */
.curtain-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  bottom: 0;
  transform: translateY(0);
  background: linear-gradient(
    90deg,
    transparent 2%,
    var(--color-gold-dark) 15%,
    var(--color-gold) 35%,
    var(--color-gold-light) 50%,
    var(--color-gold) 65%,
    var(--color-gold-dark) 85%,
    transparent 98%
  );
  box-shadow:
    0 0 15px rgba(231, 181, 28, 0.6),
    0 0 40px rgba(231, 181, 28, 0.25),
    0 0 80px rgba(231, 181, 28, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* ============================================
   HOME VIEW
   ============================================ */

/* --- Hero --- */
.hero {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  background-color: #0a0a0a;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(231, 181, 28, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(231, 181, 28, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.82) 0%, rgba(15, 13, 10, 0.78) 40%, rgba(10, 10, 10, 0.85) 100%),
    url('../img/hero-bg.png');
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(231, 181, 28, 0.09) 0%, transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold) 30%, var(--color-gold) 70%, transparent 100%);
  opacity: 0.6;
  pointer-events: none;
}

/* Diagonal decorative sweep */
.hero-diagonal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-diagonal::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 181, 28, 0.3), transparent);
  transform: rotate(-35deg);
  transform-origin: left center;
  animation: diagonalSlide 8s ease-in-out infinite;
}

.hero-diagonal::after {
  content: '';
  position: absolute;
  top: 55%;
  left: -10%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 181, 28, 0.2), transparent);
  transform: rotate(-35deg);
  transform-origin: left center;
  animation: diagonalSlide 10s 2s ease-in-out infinite;
}

/* Dot pattern overlay on hero */
.hero-dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(rgba(231, 181, 28, 0.09) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: dotPulse 4s ease-in-out infinite;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.5;
}

.particle-1 { width: 5px; height: 5px; top: 15%; left: 55%; animation: particleFloat 7s 0s ease-in-out infinite; }
.particle-2 { width: 3px; height: 3px; top: 65%; left: 72%; animation: particleFloat 9s 1.5s ease-in-out infinite; }
.particle-3 { width: 6px; height: 6px; top: 35%; left: 85%; animation: particleFloat 8s 0.5s ease-in-out infinite; }
.particle-4 { width: 4px; height: 4px; top: 80%; left: 62%; animation: particleFloat 6s 2s ease-in-out infinite; }
.particle-5 { width: 3px; height: 3px; top: 25%; left: 90%; animation: particleFloat 11s 1s ease-in-out infinite; }
.particle-6 { width: 5px; height: 5px; top: 50%; left: 78%; animation: particleFloat 7.5s 3s ease-in-out infinite; }

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 660px;
}

/* Badge / label */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(231, 181, 28, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(231, 181, 28, 0.25);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  animation: floatUp 0.8s ease both, badgeGlow 3s ease-in-out infinite;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.35rem;
  color: var(--color-white);
  animation: floatUp 0.8s 0.1s ease both;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero h1 .hero-typed-word {
  color: var(--color-gold);
  position: relative;
  display: inline;
}

.hero-cursor {
  color: var(--color-gold);
  font-weight: 300;
  animation: cursorBlink 1s step-end infinite;
  margin-left: 2px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 530px;
  animation: floatUp 0.8s 0.2s ease both;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: floatUp 0.8s 0.3s ease both;
}

.hero-cta .btn-primary {
  animation: ctaPulse 2.5s ease-in-out infinite;
}

/* Scroll indicator */
.hero-scroll-indicator {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: floatUp 0.8s 0.5s ease both;
}

.scroll-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: scrollBounce 1.6s ease-in-out infinite;
}

.hero-scroll-indicator::after {
  content: 'Explore';
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.7;
}

/* --- Sections comunes --- */
.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Radial glow orb — top right */
.section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(231, 181, 28, 0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: orbDrift1 20s ease-in-out infinite;
}

/* Secondary glow orb — bottom left */
.section::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(231, 181, 28, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: orbDrift2 25s ease-in-out infinite;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-alt {
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(231, 181, 28, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(231, 181, 28, 0.04) 0%, transparent 55%),
    linear-gradient(165deg, #FAFAFA 0%, #F3F0EA 30%, #F7F5F0 55%, #F5F5F5 75%, #F8F6F0 100%);
  position: relative;
  overflow: hidden;
}

/* Top gradient border — wider, more vivid */
.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold-dark) 15%, var(--color-gold) 35%, var(--color-gold-light) 50%, var(--color-gold) 65%, var(--color-gold-dark) 85%, transparent 100%);
  opacity: 0.55;
  z-index: 2;
}

/* Mesh gradient texture + geometric pattern */
.section-alt::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(231, 181, 28, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 10% 85%, rgba(231, 181, 28, 0.05) 0%, transparent 40%),
    radial-gradient(rgba(231, 181, 28, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px;
  pointer-events: none;
  z-index: 0;
  animation: dotPulse 6s ease-in-out infinite;
}

.section-alt > .container {
  position: relative;
  z-index: 1;
}

.section-divider {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold) 20%, var(--color-gold) 80%, transparent 100%);
  opacity: 0.5;
}

/* --- Textured sections (white background with geometric accents) --- */
.section-textured {
  background:
    radial-gradient(ellipse 60% 40% at 75% 25%, rgba(231, 181, 28, 0.035) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 20% 75%, rgba(231, 181, 28, 0.025) 0%, transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #FDFCFA 50%, #FAF9F6 100%);
}

/* Geometric dot pattern */
.section-geo-dots {
  position: absolute;
  top: 40px;
  left: 20px;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(rgba(231, 181, 28, 0.12) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  animation: dotPulse 5s ease-in-out infinite;
}

.section-geo-dots-right {
  left: auto;
  right: 20px;
  top: 60px;
  width: 150px;
  height: 150px;
  background-size: 22px 22px;
}

/* Diagonal accent line */
.section-accent-line {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.section-accent-line::before {
  content: '';
  position: absolute;
  top: 30%;
  right: -5%;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 181, 28, 0.2), rgba(231, 181, 28, 0.08), transparent);
  transform: rotate(-25deg);
  transform-origin: right center;
}

.section-accent-line::after {
  content: '';
  position: absolute;
  bottom: 25%;
  right: -5%;
  width: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 181, 28, 0.15), transparent);
  transform: rotate(-25deg);
  transform-origin: right center;
}

.section-accent-line-alt::before {
  top: auto;
  bottom: 35%;
  right: auto;
  left: -5%;
  transform: rotate(20deg);
  transform-origin: left center;
}

.section-accent-line-alt::after {
  bottom: auto;
  top: 20%;
  right: auto;
  left: -5%;
  width: 30%;
  transform: rotate(20deg);
  transform-origin: left center;
}

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

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

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

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

.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Quiénes somos --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--color-dark-gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* Animated gold title underline */
.about-title-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
  background-size: 200% 100%;
  border-radius: 2px;
  margin-bottom: 1.25rem;
  animation: shimmer 3s ease-in-out infinite;
}

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

/* Large watermark text behind stat cards */
.stat-bg-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4.5rem;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(231, 181, 28, 0.08) 0%, rgba(231, 181, 28, 0.02) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  transition: all 0.4s ease;
  z-index: 0;
}

.stat-card:hover .stat-bg-icon {
  background: linear-gradient(180deg, rgba(231, 181, 28, 0.14) 0%, rgba(231, 181, 28, 0.04) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translate(-50%, -50%) scale(1.1);
}

.stat-card .stat-number,
.stat-card .stat-label {
  position: relative;
  z-index: 1;
}

.stat-card {
  background: linear-gradient(150deg, var(--color-white) 0%, var(--color-off-white) 100%);
  border: 1px solid var(--color-warm-gray);
  border-left: 3px solid var(--color-warm-gray);
  padding: 1.75rem;
  border-radius: calc(var(--border-radius) + 4px);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Top-left corner accent */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 2px solid var(--color-gold);
  border-left: 2px solid var(--color-gold);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 4px 0 0 0;
}

/* Bottom-right corner accent */
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 2px solid var(--color-gold);
  border-right: 2px solid var(--color-gold);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  border-radius: 0 0 4px 0;
}

.stat-card:hover::before {
  width: 24px;
  height: 24px;
  opacity: 1;
}

.stat-card:hover::after {
  width: 24px;
  height: 24px;
  opacity: 1;
}

.stat-card:hover {
  border-color: rgba(231, 181, 28, 0.35);
  border-left-color: var(--color-gold);
  box-shadow:
    0 20px 40px rgba(231, 181, 28, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(231, 181, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  background: linear-gradient(150deg, #FFFEF8 0%, #FBF9F0 100%);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover .stat-number {
  transform: scale(1.18);
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(231, 181, 28, 0.25));
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.stat-card:hover .stat-label {
  color: var(--color-dark-gray);
}

/* --- Qué resolvemos --- */
.resolve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.resolve-card {
  background: linear-gradient(145deg, var(--color-white) 0%, #FDFCF9 100%);
  border: 1px solid var(--color-light-gray);
  border-top: 3px solid transparent;
  padding: 2rem;
  border-radius: calc(var(--border-radius) + 4px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 800px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Elegant shimmer sweep — smoother, wider */
.resolve-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(231, 181, 28, 0.06) 40%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(231, 181, 28, 0.06) 60%,
    transparent 80%
  );
  transform: skewX(-18deg);
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.resolve-card:hover::before {
  left: 180%;
}

/* Bottom-right corner ornament with animation */
.resolve-card::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 0;
  height: 0;
  border-bottom: 2px solid var(--color-gold);
  border-right: 2px solid var(--color-gold);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
  border-radius: 0 0 4px 0;
}

.resolve-card:hover::after {
  width: 22px;
  height: 22px;
  opacity: 0.7;
}

.resolve-card:hover {
  border-color: rgba(231, 181, 28, 0.3);
  border-top-color: var(--color-gold);
  transform: translateY(-10px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.07),
    0 0 0 1px rgba(231, 181, 28, 0.1),
    0 12px 24px rgba(231, 181, 28, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: linear-gradient(145deg, #FFFEF8 0%, #FEFCF3 100%);
}

/* Icon wrapper — hexagonal style with gradient ring */
.resolve-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 246, 243, 0.95) 100%);
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid rgba(231, 181, 28, 0.12);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Gradient ring glow on hover */
.resolve-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light), var(--color-gold-dark), var(--color-gold));
  background-size: 300% 300%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
  animation: gradientShift 4s ease infinite;
}

.resolve-card:hover .resolve-icon-wrap::before {
  opacity: 1;
}

.resolve-card:hover .resolve-icon-wrap {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 253, 240, 0.98) 100%);
  transform: scale(1.12) rotate(-3deg);
  border-color: transparent;
  box-shadow:
    0 8px 24px rgba(231, 181, 28, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.resolve-icon {
  width: 44px;
  height: 44px;
  color: var(--color-gold-dark);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.icon-ripple {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231,181,28,0.15) 0%, transparent 70%);
  transform: scale(0.7);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.resolve-card:hover .icon-ripple {
  opacity: 1;
  transform: scale(1.1);
  animation: rippleOut 1.5s ease-out infinite;
}

.resolve-card:hover .resolve-icon {
  animation: iconBounce 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-gold);
  filter: drop-shadow(0 2px 6px rgba(231, 181, 28, 0.3));
}

.resolve-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-black);
  margin-bottom: 0.75rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.resolve-card:hover h3 {
  color: var(--color-gold-dark);
  transform: translateX(3px);
}

.resolve-card p {
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.65;
  transition: color 0.3s ease;
}

.resolve-card:hover p {
  color: var(--color-dark-gray);
}

/* --- Soluciones --- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  perspective: 1200px;
}

.solution-card {
  background: linear-gradient(160deg, var(--color-white) 0%, var(--color-off-white) 100%);
  border: 1px solid var(--color-warm-gray);
  border-top: 3px solid var(--color-warm-gray);
  border-radius: calc(var(--border-radius) + 4px);
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(0);
}

/* Shimmer sweep */
.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(231, 181, 28, 0.08), rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  z-index: 1;
}

.solution-card:hover::before {
  left: 200%;
}

/* Corner gold ornament */
.solution-card::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 40px solid rgba(231, 181, 28, 0.06);
  border-left: 40px solid transparent;
  transition: all 0.4s ease;
  z-index: 0;
}

.solution-card:hover::after {
  border-top-color: rgba(231, 181, 28, 0.15);
  border-top-width: 50px;
  border-left-width: 50px;
}

.solution-card:hover {
  border-color: rgba(231, 181, 28, 0.3);
  border-top-color: var(--color-gold);
  transform: translateY(-12px) rotateX(3deg) scale(1.02);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.1),
    0 10px 25px rgba(231, 181, 28, 0.1),
    0 0 0 1px rgba(231, 181, 28, 0.08),
    inset 0 -2px 6px rgba(231, 181, 28, 0.04);
  background: linear-gradient(160deg, #FFFEF8 0%, #FBF8EF 100%);
}

.solution-card-body {
  padding: 2.25rem 2rem;
  position: relative;
  z-index: 2;
}

.solution-card-body .resolve-icon {
  margin-bottom: 1.25rem;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 246, 243, 0.95) 100%);
  border-radius: 20px;
  display: inline-block;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid rgba(231, 181, 28, 0.12);
  color: var(--color-gold-dark);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
}

/* Gradient ring for solution card icons */
.solution-card-body .resolve-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light), var(--color-gold-dark), var(--color-gold));
  background-size: 300% 300%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
  animation: gradientShift 4s ease infinite;
}

.solution-card:hover .solution-card-body .resolve-icon::before {
  opacity: 1;
}

.solution-card:hover .solution-card-body .resolve-icon {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 253, 240, 0.98) 100%);
  transform: scale(1.12) rotate(-3deg);
  border-color: transparent;
  box-shadow:
    0 8px 24px rgba(231, 181, 28, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--color-gold);
  filter: drop-shadow(0 2px 6px rgba(231, 181, 28, 0.25));
}

.solution-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-black);
  margin-bottom: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.solution-card:hover .solution-card-body h3 {
  color: var(--color-gold-dark);
  transform: translateX(4px);
}

.solution-card-body p {
  font-size: 0.95rem;
  color: var(--color-gray);
  line-height: 1.65;
}

/* --- Sectores --- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.sector-card-light {
  background: linear-gradient(160deg, var(--color-white) 0%, #FDFCF9 100%);
  border: 1px solid var(--color-light-gray);
  border-top: 3px solid var(--color-gold);
  padding: 2.25rem 2rem;
  border-radius: calc(var(--border-radius) + 4px);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Wide elegant shimmer */
.sector-card-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(231, 181, 28, 0.05) 40%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(231, 181, 28, 0.05) 60%,
    transparent 80%
  );
  transform: skewX(-18deg);
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-card-light:hover::before {
  left: 180%;
}

/* Decorative bottom-left corner */
.sector-card-light::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-bottom: 2px solid var(--color-gold);
  border-left: 2px solid var(--color-gold);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
  border-radius: 0 0 0 4px;
}

.sector-card-light:hover::after {
  width: 28px;
  height: 28px;
  opacity: 0.6;
}

.sector-card-light:hover {
  border-color: rgba(231, 181, 28, 0.3);
  border-top-color: var(--color-gold-dark);
  transform: translateY(-10px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.07),
    0 0 0 1px rgba(231, 181, 28, 0.08),
    0 12px 24px rgba(231, 181, 28, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: linear-gradient(160deg, #FFFEF8 0%, #FEFCF3 100%);
}

/* Sector icon wrapper — premium glassmorphism with gradient ring */
.sector-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 246, 243, 0.95) 100%);
  margin-bottom: 1.25rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid rgba(231, 181, 28, 0.12);
  position: relative;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Gradient ring glow on hover */
.sector-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light), var(--color-gold-dark), var(--color-gold));
  background-size: 300% 300%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
  animation: gradientShift 4s ease infinite;
}

.sector-card-light:hover .sector-icon-wrap::before {
  opacity: 1;
}

/* Glow ring behind icon on hover */
.sector-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  border: 1.5px solid rgba(231, 181, 28, 0);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-card-light:hover .sector-icon-wrap::after {
  border-color: rgba(231, 181, 28, 0.15);
  animation: goldPulse 2s ease-in-out infinite;
}

.sector-card-light:hover .sector-icon-wrap {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 253, 240, 0.98) 100%);
  transform: scale(1.14) rotate(-3deg);
  border-color: transparent;
  box-shadow:
    0 8px 24px rgba(231, 181, 28, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.sector-card-icon-svg {
  width: 42px;
  height: 42px;
  color: var(--color-gold-dark);
  margin-bottom: 0;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.sector-card-light:hover .sector-card-icon-svg {
  animation: iconBounce 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-gold);
  filter: drop-shadow(0 2px 6px rgba(231, 181, 28, 0.3));
}

.sector-card-light h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-black);
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: all 0.4s ease;
}

.sector-card-light:hover h3 {
  color: var(--color-gold-dark);
}

.sector-card-light p {
  font-size: 0.92rem;
  color: var(--color-gray);
  line-height: 1.65;
  transition: color 0.3s ease;
}

.sector-card-light:hover p {
  color: var(--color-dark-gray);
}

.section-footer-note {
  text-align: center;
  color: var(--color-gray);
  font-size: 0.95rem;
  margin-top: 2.5rem;
  line-height: 1.6;
}

/* --- Propuesta de valor --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  border-radius: calc(var(--border-radius) + 4px);
  border: 1px solid var(--color-light-gray);
  background: linear-gradient(160deg, var(--color-white) 0%, #FAFAF8 60%, #F8F7F2 100%);
  transition: all 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Subtle inner glow on hover */
.value-card > .value-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(231, 181, 28, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.value-card:hover > .value-card-glow {
  opacity: 1;
}

/* Big decorative number behind the card */
.value-card-num {
  position: absolute;
  top: -4px;
  right: 10px;
  font-size: 3.8rem;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(231, 181, 28, 0.18) 0%, rgba(231, 181, 28, 0.06) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -3px;
}

.value-card:hover .value-card-num {
  background: linear-gradient(180deg, rgba(231, 181, 28, 0.4) 0%, rgba(231, 181, 28, 0.12) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transform: scale(1.15) translateY(-6px);
  filter: drop-shadow(0 2px 8px rgba(231, 181, 28, 0.15));
}

/* Animated bottom border — refined with glow */
.value-card-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  border-radius: 0 0 4px 4px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 0 0 rgba(231, 181, 28, 0);
}

.value-card:hover .value-card-border {
  width: 100%;
  box-shadow: 0 -2px 12px rgba(231, 181, 28, 0.2);
}

.value-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.07),
    0 0 0 1px rgba(231, 181, 28, 0.12),
    0 14px 28px rgba(231, 181, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(231, 181, 28, 0.3);
  background: linear-gradient(160deg, #FFFEF8 0%, #FDFCF5 60%, #FBF9F0 100%);
}

.value-card .resolve-icon {
  margin: 0 auto 1.25rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 246, 243, 0.95) 100%);
  border-radius: 18px;
  width: 68px;
  height: 68px;
  border: 1.5px solid rgba(231, 181, 28, 0.12);
  color: var(--color-gold-dark);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
}

/* Gradient ring for value card icons */
.value-card .resolve-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light), var(--color-gold-dark), var(--color-gold));
  background-size: 300% 300%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
  animation: gradientShift 4s ease infinite;
}

.value-card:hover .resolve-icon::before {
  opacity: 1;
}

.value-card:hover .resolve-icon {
  animation: iconBounce 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transform: none;
  color: var(--color-gold);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 253, 240, 0.98) 100%);
  border-color: transparent;
  box-shadow:
    0 8px 24px rgba(231, 181, 28, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 2px 6px rgba(231, 181, 28, 0.25));
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-black);
  font-weight: 700;
  margin-bottom: 0.65rem;
  transition: all 0.4s ease;
}

.value-card:hover h3 {
  color: var(--color-gold-dark);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.value-card:hover p {
  color: var(--color-dark-gray);
}

/* --- Proceso --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  padding-top: 0;
}

/* Animated connector line */
.process-line {
  position: absolute;
  top: 30px;
  left: 12.5%;
  width: 75%;
  height: 3px;
  background: linear-gradient(90deg, rgba(229,229,229,0.5), var(--color-light-gray), rgba(229,229,229,0.5));
  z-index: 0;
  border-radius: 2px;
  overflow: hidden;
}

.process-line-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  border-radius: 2px;
  transition: width 1.6s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 0 8px rgba(231, 181, 28, 0.4);
}

.process-line-fill.animated {
  width: 100%;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 1.25rem 0.75rem;
  border-radius: calc(var(--border-radius) + 2px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step:hover {
  background: rgba(231, 181, 28, 0.04);
  transform: translateY(-4px);
}

.process-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a1a1a 0%, #111111 100%);
  color: var(--color-gold);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--color-gold);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(231, 181, 28, 0.1);
}

.process-num::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(231, 181, 28, 0.15);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.8);
}

.process-step:hover .process-num {
  transform: scale(1.18) translateY(-5px);
  box-shadow:
    0 10px 28px rgba(231, 181, 28, 0.2),
    0 0 0 10px rgba(231, 181, 28, 0.06),
    inset 0 1px 0 rgba(231, 181, 28, 0.2);
  background: linear-gradient(145deg, #222222 0%, #111111 100%);
  border-color: var(--color-gold-light);
}

.process-step:hover .process-num::before {
  opacity: 1;
  transform: scale(1.05);
  animation: goldPulse 1.8s ease-in-out infinite;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-black);
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: all 0.4s ease;
}

.process-step:hover h3 {
  color: var(--color-gold-dark);
}

.process-step p {
  font-size: 0.88rem;
  color: var(--color-gray);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.process-step:hover p {
  color: var(--color-dark-gray);
}

/* --- Confianza --- */
.trust-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.trust-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-black);
  font-weight: 600;
  margin-bottom: 1rem;
}

.trust-info p {
  color: var(--color-dark-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.trust-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-dark-gray);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.trust-info.reveal.revealed .trust-detail:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateX(0); }
.trust-info.reveal.revealed .trust-detail:nth-child(2) { transition-delay: 0.25s; opacity: 1; transform: translateX(0); }
.trust-info.reveal.revealed .trust-detail:nth-child(3) { transition-delay: 0.4s; opacity: 1; transform: translateX(0); }

.trust-detail svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.trust-cta {
  background: linear-gradient(135deg, #161616 0%, #1c1a16 40%, #1a1a1a 60%, #141414 100%);
  padding: 2.75rem;
  border-radius: calc(var(--border-radius) + 6px);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(231,181,28,0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transform-style: preserve-3d;
  transform: translateZ(0);
}

/* Glow orb behind the CTA box */
.trust-cta-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231,181,28,0.22) 0%, rgba(231,181,28,0.05) 50%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}

.trust-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-gold), var(--color-gold-dark));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-slow);
}

.trust-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(231,181,28,0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.trust-cta:hover {
  transform: translateY(-12px) rotateX(3deg) scale(1.02);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 12px 30px rgba(231,181,28,0.15),
    0 0 0 1px rgba(231,181,28,0.2),
    inset 0 -2px 6px rgba(231,181,28,0.06);
  border-color: rgba(231,181,28,0.35);
}

.trust-cta:hover::before {
  transform: scaleY(1);
}

.trust-cta:hover::after {
  opacity: 1;
}

.trust-cta h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  transition: all 0.3s ease;
}

.trust-cta:hover h3 {
  transform: translateX(4px);
  text-shadow: 0 0 20px rgba(231, 181, 28, 0.2);
}

.trust-cta p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.trust-btn {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

/* --- CTA Contacto --- */
.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.25rem;
  color: var(--color-black);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--color-dark-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--color-dark-gray);
  padding: 0.9rem 1rem;
  border-radius: calc(var(--border-radius) + 2px);
  background: linear-gradient(135deg, var(--color-off-white) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid var(--color-warm-gray);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.contact-channel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(231, 181, 28, 0.06), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.contact-channel:hover::before {
  left: 200%;
}

.contact-channel:hover {
  transform: translateX(8px) translateY(-3px);
  border-color: rgba(231, 181, 28, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(231, 181, 28, 0.08);
  background: linear-gradient(135deg, rgba(231, 181, 28, 0.06) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.contact-channel svg {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
  flex-shrink: 0;
  padding: 4px;
  background: rgba(74, 74, 74, 0.06);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-channel:hover svg {
  transform: scale(1.15) rotate(-3deg);
  background: rgba(231, 181, 28, 0.12);
  box-shadow: 0 2px 8px rgba(231, 181, 28, 0.15);
}

.contact-channel a {
  color: var(--color-dark-gray);
  transition: color var(--transition);
  font-weight: 500;
}

.contact-channel a:hover {
  color: var(--color-gold-dark);
}

/* --- Contact Form --- */
.contact-form {
  background: linear-gradient(160deg, var(--color-white) 0%, var(--color-off-white) 100%);
  padding: 2.5rem;
  border-radius: calc(var(--border-radius) + 4px);
  border: 1px solid var(--color-warm-gray);
  border-top: 3px solid var(--color-warm-gray);
  position: relative;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
  transform: translateZ(0);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.contact-form::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 40px solid rgba(231, 181, 28, 0.05);
  border-left: 40px solid transparent;
  transition: all 0.4s ease;
}

.contact-form:hover::after {
  border-top-color: rgba(231, 181, 28, 0.12);
  border-top-width: 50px;
  border-left-width: 50px;
}

.contact-form:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(231, 181, 28, 0.06),
    0 0 0 1px rgba(231, 181, 28, 0.06);
  border-color: rgba(231, 181, 28, 0.2);
}

.contact-form h3 {
  font-size: 1.25rem;
  color: var(--color-black);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--color-dark-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-black);
  background-color: var(--color-white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(231, 181, 28, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.contact-form .btn {
  width: 100%;
}

/* --- Form status --- */
.form-status {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.success {
  color: #16a34a;
}

.form-status.error {
  color: #dc2626;
}

/* ============================================
   SECONDARY PAGES
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #141210 40%, #111111 70%, #0d0d0d 100%);
  color: var(--color-white);
  padding: 5.5rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(231, 181, 28, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Solutions page hero with background image */
.page-hero-soluciones {
  background-image:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(231, 181, 28, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 70%, rgba(231, 181, 28, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.84) 0%, rgba(12, 11, 9, 0.78) 40%, rgba(10, 10, 10, 0.86) 100%),
    url('../img/solutions-hero-bg.png');
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  padding: 6rem 0 4rem;
}

.page-hero-soluciones::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold) 30%, var(--color-gold) 70%, transparent 100%);
  opacity: 0.5;
  z-index: 2;
}

/* Sectors page hero with background image */
.page-hero-sectores {
  background-image:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(231, 181, 28, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(231, 181, 28, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.82) 0%, rgba(12, 11, 9, 0.76) 40%, rgba(10, 10, 10, 0.85) 100%),
    url('../img/sectors-hero-bg.png');
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  padding: 6rem 0 4rem;
}

.page-hero-sectores::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold) 30%, var(--color-gold) 70%, transparent 100%);
  opacity: 0.5;
  z-index: 2;
}

/* Nosotros page hero with background image */
.page-hero-nosotros {
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(231, 181, 28, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 70%, rgba(231, 181, 28, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.83) 0%, rgba(12, 11, 9, 0.78) 40%, rgba(10, 10, 10, 0.86) 100%),
    url('../img/about-hero-bg.png');
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  padding: 6rem 0 4rem;
}

.page-hero-nosotros::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold) 30%, var(--color-gold) 70%, transparent 100%);
  opacity: 0.5;
  z-index: 2;
}

/* Contact page hero with background image */
.page-hero-contact {
  background-image:
    radial-gradient(ellipse 50% 50% at 40% 50%, rgba(231, 181, 28, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(231, 181, 28, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.82) 0%, rgba(12, 11, 9, 0.77) 40%, rgba(10, 10, 10, 0.85) 100%),
    url('../img/contact-hero-bg.png');
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  padding: 6rem 0 4rem;
}

.page-hero-contact::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gold) 30%, var(--color-gold) 70%, transparent 100%);
  opacity: 0.5;
  z-index: 2;
}

/* --- Sectors page detail cards --- */
.sectors-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  perspective: 1200px;
}

.sector-detail-card {
  background: linear-gradient(160deg, var(--color-white) 0%, var(--color-off-white) 100%);
  border: 1px solid var(--color-warm-gray);
  border-top: 3px solid var(--color-warm-gray);
  border-radius: calc(var(--border-radius) + 4px);
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(0);
}

/* Shimmer sweep */
.sector-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(231, 181, 28, 0.08), rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  z-index: 1;
}

.sector-detail-card:hover::before {
  left: 200%;
}

/* Corner ornament */
.sector-detail-card::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 45px solid rgba(231, 181, 28, 0.06);
  border-left: 45px solid transparent;
  transition: all 0.4s ease;
  z-index: 0;
}

.sector-detail-card:hover::after {
  border-top-color: rgba(231, 181, 28, 0.15);
  border-top-width: 55px;
  border-left-width: 55px;
}

.sector-detail-card:hover {
  border-color: rgba(231, 181, 28, 0.35);
  border-top-color: var(--color-gold-dark);
  transform: translateY(-12px) rotateX(3deg) scale(1.02);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.1),
    0 12px 28px rgba(231, 181, 28, 0.1),
    0 0 0 1px rgba(231, 181, 28, 0.08),
    inset 0 -2px 6px rgba(231, 181, 28, 0.04);
  background: linear-gradient(160deg, #FFFEF8 0%, #FBF8EF 100%);
}

.sector-detail-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 2rem 0;
  position: relative;
  z-index: 2;
}

.sector-detail-header .sector-icon-wrap {
  transition: all 0.4s ease;
}

.sector-detail-card:hover .sector-detail-header .sector-icon-wrap {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 6px 18px rgba(231, 181, 28, 0.18);
  border-color: rgba(231, 181, 28, 0.3);
  background: linear-gradient(135deg, rgba(231, 181, 28, 0.2) 0%, rgba(231, 181, 28, 0.08) 100%);
}

.sector-detail-header h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-black);
  transition: all 0.3s ease;
}

.sector-detail-card:hover .sector-detail-header h2 {
  color: var(--color-gold-dark);
  transform: translateX(4px);
}

.sector-detail-body {
  padding: 1.25rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

.sector-detail-body > p {
  color: var(--color-dark-gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.sector-detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.sector-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--color-dark-gray);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.sector-feature:hover {
  background: rgba(231, 181, 28, 0.06);
  transform: translateX(3px);
}

.sector-feature svg {
  color: var(--color-gold);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.sector-feature:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 4px rgba(231, 181, 28, 0.3));
}

@media (max-width: 768px) {
  .sectors-page-grid {
    grid-template-columns: 1fr;
  }
  .sector-detail-features {
    grid-template-columns: 1fr;
  }
}

.page-hero .section-label {
  color: var(--color-gold);
}

.page-hero .section-title {
  color: var(--color-white);
  font-size: 2.5rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.page-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
  margin: 0.75rem auto 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Nosotros --- */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-page-text p {
  color: var(--color-dark-gray);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* Mission box */
.mission-box {
  background: linear-gradient(135deg, rgba(231, 181, 28, 0.04) 0%, rgba(245, 245, 245, 0.8) 100%);
  border-left: 4px solid var(--color-gold);
  padding: 1.75rem;
  margin: 2rem 0;
  border-radius: 0 calc(var(--border-radius) + 2px) calc(var(--border-radius) + 2px) 0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.mission-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(231, 181, 28, 0.06), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.mission-box:hover::before {
  left: 200%;
}

.mission-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(231, 181, 28, 0.05), transparent);
  pointer-events: none;
}

.mission-box:hover {
  transform: translateY(-6px) translateX(4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(231, 181, 28, 0.08);
  border-left-color: var(--color-gold-dark);
  background: linear-gradient(135deg, rgba(231, 181, 28, 0.07) 0%, rgba(245, 245, 245, 0.9) 100%);
}

.mission-box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-black);
  margin-bottom: 0.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.mission-box:hover h3 {
  color: var(--color-gold-dark);
}

.mission-box p {
  color: var(--color-dark-gray);
  font-size: 0.95rem;
  margin: 0;
}

/* --- Footer --- */
.footer {
  background: linear-gradient(180deg, #0e0e0e 0%, #111111 40%, #0a0a0a 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 1.5rem;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dark), var(--color-gold), var(--color-gold-dark), transparent);
  opacity: 0.7;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(231, 181, 28, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: var(--color-gold);
  font-weight: 600;
}

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

.footer-contact h4,
.footer-nav h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

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

.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--color-gold);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition), transform 0.2s ease;
  cursor: pointer;
}

.footer-nav a:hover {
  color: var(--color-gold);
  transform: translateX(3px);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .resolve-grid,
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-grid,
  .value-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .process-line {
    display: none;
  }

  .about-content,
  .trust-content,
  .contact-section .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    padding: 5rem 1.5rem 1.5rem;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1.05rem;
  }

  .nav-toggle {
    display: block;
    z-index: 101;
  }

  .nav-toggle.active .hamburger {
    background-color: transparent;
  }

  .nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .nav-toggle {
    order: 2;
  }

  .lang-switcher {
    order: 1;
    margin-left: auto;
    margin-right: 0.7rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-scroll-indicator {
    margin-top: 2rem;
  }

  .particle { display: none; }

  .section-title {
    font-size: 1.75rem;
  }

  .resolve-grid,
  .solutions-grid,
  .sectors-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

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

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

  .section {
    padding: 3.5rem 0;
  }

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

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

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

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

  .hero h1 {
    font-size: 1.85rem;
    letter-spacing: -0.2px;
  }

  .section-title {
    font-size: 1.5rem;
  }

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

  .hero-cta .btn {
    width: 100%;
  }

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

  .trust-cta {
    padding: 1.75rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .value-card-num {
    font-size: 3rem;
  }
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  z-index: 100;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: var(--color-white);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 35px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
