/* ============================================
   HSE TRANSPORTES DEL NORTE SpA
   CSS SYSTEM v14.0 — HD BANNERS & ORGANIC CHATBOT TO WHATSAPP
   ============================================ */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

/* ---------- VARIABLES ---------- */
:root {
  /* Colors - Pure Crisp Black Text & Corporate Navy Blue Accents */
  --color-primary:        #000000;
  --color-primary-light:  #0b1a30;
  
  /* CORPORATE NAVY BLUE */
  --color-accent:         #0f2b5c; 
  --color-accent-hover:   #0a1d3f;
  --color-blue-navy:      #0b1e3d;
  --color-cyan:           #0284c7;

  /* Soft Emerald Green for WhatsApp */
  --color-wa-soft:        #059669;
  --color-wa-dark:        #047857;
  --color-wa-hover:       #065f46;

  --color-bg-body:        #ffffff;
  --color-bg-light:       #f8fafc;
  --color-bg-subtle:      #f1f5f9;
  --color-bg-tint:        #f0f4fa;
  --color-border:         #e2e8f0;
  --color-border-accent:  #cbd5e1;

  --color-text-main:      #000000; /* Pure Black For Titles */
  --color-text-body:      #1e293b; /* Deep Dark Slate For Readability */
  --color-text-muted:     #475569;

  /* Gradients */
  --gradient-blue-btn:    linear-gradient(135deg, #0f2b5c 0%, #1e40af 100%);
  --gradient-blue-hover:  linear-gradient(135deg, #0a1d3f 0%, #0f2b5c 100%);
  --gradient-wa-btn:      linear-gradient(135deg, #059669 0%, #047857 100%);
  --gradient-wa-hover:    linear-gradient(135deg, #047857 0%, #065f46 100%);
  --gradient-brand:       linear-gradient(135deg, #0f2b5c 0%, #1d4ed8 100%);
  --gradient-banner:      linear-gradient(135deg, #f0f4fa 0%, #e2e8f0 50%, #f1f5f9 100%);

  /* TRANSPARENT OVERLAY FOR BANNERS AND HERO */
  --gradient-hero-overlay: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.52) 55%, rgba(15, 23, 42, 0.75) 100%);
  --gradient-banner-overlay: linear-gradient(180deg, rgba(15, 43, 92, 0.65) 0%, rgba(11, 26, 48, 0.82) 100%);

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-full: 9999px;

  --shadow-sm:   0 2px 6px rgba(0,0,0,0.05);
  --shadow-md:   0 8px 24px -4px rgba(0,0,0,0.08);
  --shadow-lg:   0 16px 36px -8px rgba(15,43,92,0.20);
  --shadow-xl:   0 24px 50px -12px rgba(15,43,92,0.25);
  --shadow-glow-blue: 0 0 35px rgba(15,43,92,0.35);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --header-height: 84px;
  --topbar-height: 42px;
  --max-width:     1240px;
}

/* ============================================
   GOOGLE MATERIAL SYMBOLS OUTLINED ICON STYLE
   ============================================ */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  flex-shrink: 0;
  user-select: none;
}

.ms-sm { font-size: 18px !important; }
.ms-md { font-size: 22px !important; }
.ms-lg { font-size: 28px !important; }
.ms-xl { font-size: 36px !important; }

/* ============================================
   RESET & GLOBAL RULES
   ============================================ */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-bg-body);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  line-height: 1.18;
  font-weight: 900;
}

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

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s var(--ease-out);
}

ul { list-style: none; }

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

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed; inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.25rem;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s var(--ease-out);
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__logo {
  max-width: 160px; height: auto;
  object-fit: contain;
  animation: logoPulse 1.6s ease-in-out infinite;
}
.preloader__bar-wrap {
  width: 200px; height: 4px;
  background: var(--color-bg-subtle);
  border-radius: 4px; overflow: hidden;
}
.preloader__bar {
  height: 100%; width: 0;
  background: var(--gradient-blue-btn);
  border-radius: 4px;
  animation: loadBar 1.2s var(--ease-out) forwards;
}
@keyframes loadBar { to { width: 100%; } }
@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--gradient-banner);
  border-bottom: 1px solid var(--color-border);
  height: var(--topbar-height);
  font-size: 0.8rem; font-weight: 700;
  color: var(--color-text-main);
  position: relative; z-index: 1001;
  transition: all 0.35s var(--ease-out);
  overflow: hidden;
}
.topbar.hidden { height: 0; opacity: 0; border: none; }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
}
.topbar__left { display: flex; align-items: center; gap: 1.5rem; }
.topbar__item { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; color: var(--color-text-main); font-weight: 700; }
.topbar__item .material-symbols-outlined { color: var(--color-accent); font-size: 18px; }
.topbar__promo {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  padding: 0.2rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 800;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 0.35rem;
}
.topbar__promo .material-symbols-outlined { font-size: 16px; }
.topbar__close {
  background: none; border: none; color: var(--color-text-muted);
  cursor: pointer; padding: 4px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.2s;
}
.topbar__close .material-symbols-outlined { font-size: 16px; }
.topbar__close:hover { background: rgba(15,43,92,0.1); color: var(--color-accent); }

/* ============================================
   HEADER & DROPDOWN MENU & LIVE SEARCH
   ============================================ */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.35s var(--ease-out);
}
.header.scrolled {
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--color-border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
  gap: 1.5rem;
}
.header__logo { flex-shrink: 0; display: flex; align-items: center; }
.header__logo img {
  height: 52px; width: auto;
  border-radius: var(--radius-xs);
  object-fit: contain;
}

/* Nav */
.header__nav { display: flex; align-items: center; gap: 1.8rem; }
.header__nav a {
  font-family: var(--font-heading);
  font-size: 0.92rem; font-weight: 800;
  color: var(--color-text-main);
  position: relative; padding: 0.5rem 0;
  display: flex; align-items: center; gap: 0.25rem;
}
.header__nav a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 3px;
  background: var(--gradient-blue-btn);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}
.header__nav a:hover, .header__nav a.active { color: var(--color-accent); }
.header__nav a:hover::after, .header__nav a.active::after { width: 100%; }

/* Dropdown Menu "Servicios" */
.nav-item--dropdown { position: relative; }
.nav-item--dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-trigger .material-symbols-outlined { transition: transform 0.3s; font-size: 18px; }
.nav-item--dropdown:hover .dropdown-trigger .material-symbols-outlined { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 330px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.75rem;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
  z-index: 1002;
}
.dropdown-item {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-xs);
  transition: all 0.25s;
  color: var(--color-text-main) !important;
}
.dropdown-item::after { display: none !important; }
.dropdown-item:hover {
  background: var(--color-bg-tint);
  transform: translateX(4px);
}
.dropdown-icon {
  width: 40px; height: 40px;
  background: #ffffff; border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-sm);
  color: var(--color-accent);
}
.dropdown-icon .material-symbols-outlined { font-size: 22px; }
.dropdown-item strong { display: block; font-family: var(--font-heading); font-size: 0.88rem; font-weight: 800; color: var(--color-text-main); }
.dropdown-item small  { display: block; font-size: 0.75rem; color: var(--color-text-muted); font-weight: 500; }

/* SEARCH LUPA EXPANDABLE IN HEADER ALIGNED HORIZONTALLY */
.header__cta {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.85rem !important;
  flex-shrink: 0;
}

.header__search { position: relative; display: flex; align-items: center; }
.search-toggle {
  background: var(--color-bg-tint);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  width: 42px; height: 42px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-spring);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.search-toggle:hover {
  background: var(--color-accent); color: #ffffff;
  transform: scale(1.08); box-shadow: var(--shadow-glow-blue);
}

.search-box {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 0; overflow: hidden; opacity: 0;
  transition: all 0.4s var(--ease-out);
  pointer-events: none;
  z-index: 1005;
}
.header__search.active .search-box {
  width: 320px; opacity: 1;
  pointer-events: auto;
}
.search-input {
  width: 100%; padding: 0.75rem 2.8rem 0.75rem 1.2rem;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-full);
  background: #ffffff; color: var(--color-text-main);
  box-shadow: var(--shadow-xl); outline: none;
}

.search-results {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 320px; background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-height: 360px; overflow-y: auto;
  display: none; padding: 0.6rem;
  z-index: 1006;
}
.search-results.active { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.85rem; border-radius: var(--radius-xs);
  transition: background 0.2s;
  color: var(--color-text-main); text-decoration: none;
}
.search-result-item:hover { background: var(--color-bg-tint); }
.search-result-item .material-symbols-outlined { color: var(--color-accent); font-size: 22px; }
.search-result-item strong { display: block; font-size: 0.85rem; font-weight: 800; color: var(--color-text-main); }
.search-result-item small { display: block; font-size: 0.74rem; color: var(--color-text-muted); }

/* ============================================
   BUTTONS — CORPORATE NAVY BLUE & SOFT WHATSAPP
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: none; cursor: pointer;
  border-radius: var(--radius-full);
  padding: 0.8rem 2rem;
  transition: all 0.35s var(--ease-out);
  position: relative; overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

.btn .material-symbols-outlined, .btn svg { font-size: 20px; flex-shrink: 0; }

.btn::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg); transition: 0.6s;
}
.btn:hover::before { left: 140%; }

.btn--primary, .btn--primary:visited, .btn--brand, .btn--brand:visited {
  background: var(--gradient-blue-btn) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(15,43,92,0.35);
}
.btn--primary *, .btn--brand * {
  color: #ffffff !important;
}
.btn--primary:hover, .btn--brand:hover {
  background: var(--gradient-blue-hover) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15,43,92,0.50), var(--shadow-glow-blue);
}
.btn--primary:active, .btn--brand:active { transform: translateY(0) scale(0.97); }

.btn--secondary {
  background: #ffffff;
  color: var(--color-text-main);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover {
  background: var(--color-bg-tint);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--whatsapp, .btn--whatsapp:visited {
  background: var(--gradient-wa-btn) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(5,150,105,0.35);
}
.btn--whatsapp * {
  color: #ffffff !important;
}
.btn--whatsapp:hover {
  background: var(--gradient-wa-hover) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(5,150,105,0.50), var(--shadow-glow-wa);
}

.btn--lg { padding: 1rem 2.8rem; font-size: 1rem; }
.btn--sm { padding: 0.55rem 1.4rem; font-size: 0.82rem; }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 999;
  width: 60px; height: 60px;
  background: var(--gradient-wa-btn);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
  cursor: pointer;
  transition: all 0.35s var(--ease-spring);
  animation: floatPulse 2.8s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: var(--gradient-wa-hover);
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 14px 38px rgba(5, 150, 105, 0.50);
}
.whatsapp-float svg { width: 30px !important; height: 30px !important; fill: white; flex-shrink: 0; }
@keyframes floatPulse {
  0%,100% { box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35); }
  50%      { box-shadow: 0 8px 38px rgba(5, 150, 105, 0.55); }
}

/* ============================================
   FULLSCREEN HERO SLIDER WITH CLEAR VISIBLE IMAGES
   ============================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #0b1a30;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
  animation: kenburns 12s linear infinite alternate;
}
.hero-slide.active { opacity: 1; z-index: 1; }
@keyframes kenburns {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.0); }
}
.hero-slide__overlay {
  position: absolute; inset: 0;
  background: var(--gradient-hero-overlay);
  z-index: 2;
}

.hero__particles { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.hero__particle {
  position: absolute; width: 4px; height: 4px;
  background: #60a5fa; border-radius: 50%;
  animation: floatParticle var(--dur, 8s) ease-in-out infinite var(--delay, 0s);
}
@keyframes floatParticle {
  0%,100% { transform: translateY(0); opacity: 0.3; }
  50%      { transform: translateY(-40px); opacity: 0.8; }
}

.hero .container { position: relative; z-index: 4; text-align: center; }
.hero__content   { max-width: 880px; margin: 0 auto; padding: 120px 0 100px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  border-radius: var(--radius-full);
  padding: 0.45rem 1.4rem;
  font-size: 0.85rem; font-weight: 800; color: #ffffff;
  margin-bottom: 1.8rem;
}
.hero__badge-dot {
  width: 8px; height: 8px; background: #10b981; border-radius: 50%;
  box-shadow: 0 0 10px #10b981; animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1;} 50%{opacity:0.35;} }

.hero__title {
  font-size: 4.5rem; font-weight: 900;
  letter-spacing: -0.035em; line-height: 1.08;
  color: #ffffff !important; margin-bottom: 1.4rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero__title span {
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero__subtitle {
  font-size: 1.25rem; color: #f1f5f9 !important;
  font-weight: 600; line-height: 1.75; margin-bottom: 2.6rem;
  max-width: 700px; margin-left: auto; margin-right: auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero__actions {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  align-items: center; justify-content: center;
}

/* Slider Dots */
.hero-slider__nav {
  position: absolute; bottom: 35px; left: 50%;
  transform: translateX(-50%); z-index: 5;
  display: flex; gap: 10px;
}
.hero-slider__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.45); cursor: pointer; transition: all 0.3s;
}
.hero-slider__dot.active { background: #60a5fa; width: 36px; border-radius: 6px; }

/* ============================================
   HD PAGE BANNERS WITH BACKGROUND PHOTO
   ============================================ */
.page-banner {
  position: relative;
  min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  color: #ffffff; text-align: center;
  padding: 5.5rem 1.5rem 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}
.page-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 48, 0.45) 0%, rgba(11, 26, 48, 0.72) 100%);
  z-index: 1;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner__label {
  display: inline-block; font-size: 0.85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #93c5fd; margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.page-banner__title {
  font-size: 3.4rem; font-weight: 900;
  letter-spacing: -0.03em; margin-bottom: 0.6rem;
  color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.page-banner__sub { font-size: 1.18rem; color: #f1f5f9; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* ============================================
   INFINITE MARQUEE
   ============================================ */
.marquee-section {
  padding: 1.8rem 0;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.marquee-container {
  display: flex; width: 200%;
  animation: marquee 25s linear infinite;
}
.marquee-group {
  display: flex; align-items: center; justify-content: space-around;
  width: 50%; gap: 2.5rem; flex-shrink: 0;
}
.marquee-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 0.88rem;
  color: var(--color-text-main);
  background: #ffffff; padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.marquee-item .material-symbols-outlined { color: var(--color-accent); font-size: 20px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================
   SECTION LAYOUTS
   ============================================ */
.section        { padding: 5.5rem 0; position: relative; }
.section--white { background: #ffffff; }
.section--light { background: var(--color-bg-light); }
.section--ice   { background: var(--color-bg-subtle); }

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-accent); margin-bottom: 0.75rem;
}
.section__title {
  font-size: 2.6rem; font-weight: 900;
  letter-spacing: -0.03em; margin-bottom: 1rem;
  color: var(--color-text-main);
}
.section__subtitle {
  font-size: 1.08rem; color: var(--color-text-body);
  line-height: 1.7; max-width: 620px; margin-bottom: 2.5rem;
  font-weight: 500;
}
.section__header { text-align: center; margin-bottom: 3.5rem; }
.section__header .section__subtitle { margin-left: auto; margin-right: auto; }

.section__image {
  border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
}
.section__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.section__image:hover img { transform: scale(1.04); }

/* ============================================
   ABOUT & TIMELINE & COMPOSITION
   ============================================ */
.about__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center;
}
.about__image-container { position: relative; border-radius: var(--radius-lg); }
.about__image-container img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}
.about__badge-card {
  position: absolute; bottom: -20px; left: -20px;
  background: #ffffff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1rem 1.3rem;
  box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: 0.85rem;
  z-index: 2;
}
.about__badge-icon {
  width: 44px; height: 44px; background: var(--color-bg-tint);
  border: 1px solid var(--color-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
}
.about__badge-icon .material-symbols-outlined { font-size: 24px; }
.about__badge-text strong { display: block; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 900; color: var(--color-text-main); }
.about__badge-text span   { display: block; font-size: 0.78rem; color: var(--color-text-muted); font-weight: 600; }

.timeline { position: relative; padding-left: 1.8rem; margin-top: 1.8rem; border-left: 3px solid var(--color-border); }
.timeline-item { position: relative; margin-bottom: 1.8rem; }
.timeline-dot {
  position: absolute; left: -2.45rem; top: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gradient-blue-btn); border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
.timeline-date { font-size: 0.8rem; font-weight: 800; color: var(--color-accent); }
.timeline-title { font-size: 1.08rem; font-weight: 900; color: var(--color-text-main); margin-top: 0.1rem; }
.timeline-desc { font-size: 0.9rem; color: var(--color-text-body); margin-top: 0.2rem; font-weight: 500; }

/* ============================================
   CONTACT GRID & CARDS
   ============================================ */
.contact__grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start;
}
.contact__card {
  background: #ffffff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.25rem 1.4rem;
  margin-bottom: 1.2rem; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 1.1rem;
  transition: all 0.3s;
}
.contact__card:hover {
  border-color: var(--color-accent); transform: translateX(6px); box-shadow: var(--shadow-md);
}
.contact__card-icon {
  width: 50px; height: 50px; background: var(--color-bg-tint);
  border: 1px solid var(--color-border); border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent); flex-shrink: 0;
}
.contact__card-icon .material-symbols-outlined { font-size: 26px; }
.contact__card-body label { display: block; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); margin-bottom: 0.15rem; }
.contact__card-body strong { display: block; font-size: 0.95rem; font-weight: 900; color: var(--color-text-main); }
.contact__card-body a { color: var(--color-accent); font-weight: 800; text-decoration: none; }
.contact__card-body a:hover { text-decoration: underline; }

.contact__form {
  background: #ffffff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg);
}
.form__group   { margin-bottom: 1.25rem; }
.form__label   { display: block; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 800; color: var(--color-text-main); margin-bottom: 0.35rem; }
.form__input, .form__textarea, .form__select {
  width: 100%; padding: 0.85rem 1.15rem;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xs);
  background: var(--color-bg-light); color: var(--color-text-main);
  outline: none; transition: all 0.25s;
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
  border-color: var(--color-accent); background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15,43,92,0.10);
}
.form__textarea { min-height: 120px; resize: vertical; }
.form__row      { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

/* ============================================
   ORGANIC CHATBOT WIDGET INTEGRATION
   ============================================ */
.chatbot-toggle {
  position: fixed; bottom: 100px; right: 28px;
  z-index: 9999;
  width: 60px; height: 60px;
  background: var(--gradient-blue-btn);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: all 0.35s var(--ease-spring);
}
.chatbot-toggle:hover {
  transform: scale(1.12); box-shadow: var(--shadow-glow-blue);
}
.chatbot-toggle__badge {
  position: absolute; top: -3px; right: -3px;
  width: 20px; height: 20px; background: #ef4444; color: #fff;
  border-radius: 50%; font-size: 0.72rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge { 0%,100%{transform:scale(1);} 50%{transform:scale(1.2);} }

.chatbot-window {
  position: fixed; bottom: 170px; right: 28px;
  width: 380px; max-width: calc(100vw - 32px); height: 520px;
  background: #ffffff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 10000; display: flex; flex-direction: column;
  overflow: hidden; opacity: 0; visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.35s var(--ease-out);
}
.chatbot-window.active {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: var(--color-accent); color: #ffffff;
  padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between;
}
.chatbot-header__info { display: flex; align-items: center; gap: 0.75rem; }
.chatbot-avatar {
  width: 40px; height: 40px; background: rgba(255,255,255,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.chatbot-avatar .material-symbols-outlined { font-size: 24px; }
.chatbot-header__title { font-size: 0.95rem; font-weight: 900; }
.chatbot-header__status { font-size: 0.75rem; color: #93c5fd; display: flex; align-items: center; gap: 0.35rem; }
.chatbot-header__status-dot { width: 7px; height: 7px; background: #10b981; border-radius: 50%; }

.chatbot-close { background: none; border: none; color: #fff; cursor: pointer; opacity: 0.8; transition: 0.2s; }
.chatbot-close:hover { opacity: 1; transform: scale(1.1); }

.chatbot-messages {
  flex: 1; padding: 1rem; overflow-y: auto;
  display: flex; flex-direction: column; gap: 0.85rem;
  background: var(--color-bg-light);
}

.chat-bubble {
  max-width: 84%; padding: 0.75rem 1rem;
  border-radius: var(--radius-md); font-size: 0.88rem; line-height: 1.5;
  animation: popIn 0.3s var(--ease-out);
}
.chat-bubble--bot {
  background: #ffffff; border: 1px solid var(--color-border);
  color: var(--color-text-main); font-weight: 600;
  align-self: flex-start; border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chat-bubble--user {
  background: var(--gradient-blue-btn); color: #ffffff;
  font-weight: 700; align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-options { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.4rem; }
.chat-opt-btn {
  background: #ffffff; border: 1.5px solid var(--color-border);
  color: var(--color-accent); font-family: var(--font-heading);
  font-size: 0.82rem; font-weight: 800; padding: 0.6rem 0.9rem;
  border-radius: var(--radius-full); text-align: left; cursor: pointer;
  transition: all 0.2s; display: flex; align-items: center; gap: 0.4rem;
}
.chat-opt-btn:hover {
  background: var(--color-accent); color: #ffffff; border-color: transparent; transform: translateX(4px);
}

.chatbot-footer {
  padding: 0.75rem 1rem; background: #ffffff;
  border-top: 1px solid var(--color-border);
  display: flex; gap: 0.5rem; align-items: center;
}
.chat-input {
  flex: 1; padding: 0.65rem 1rem; font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 600; border: 1px solid var(--color-border);
  border-radius: var(--radius-full); outline: none; background: var(--color-bg-light);
}
.chat-input:focus { border-color: var(--color-accent); background: #fff; }
.chat-send-btn {
  width: 38px; height: 38px; background: var(--gradient-blue-btn);
  color: #fff; border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.chat-send-btn:hover { transform: scale(1.08); }

/* ============================================
   SERVICE DETAIL LIST
   ============================================ */
.service-detail__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.service-detail__list {
  display: flex; flex-direction: column; gap: 0.85rem;
  margin-top: 1.25rem; margin-bottom: 1.5rem;
}
.service-detail__item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.95rem; font-weight: 700; color: var(--color-text-main);
  line-height: 1.5;
}
.service-detail__item .material-symbols-outlined {
  color: var(--color-wa-soft) !important;
  font-size: 22px !important;
  margin-top: 2px;
}

/* ============================================
   CARDS & GRIDS
   ============================================ */
.services__grid, .blog__grid, .training__grid, .ergo-services__grid, .pmv__grid, .modalities__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}

.service-card, .blog-card, .training-card, .ergo-card, .pmv-card, .modality-card, .value-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out);
  position: relative; overflow: hidden;
}

.service-card:hover, .blog-card:hover, .training-card:hover, .ergo-card:hover, .pmv-card:hover, .modality-card:hover, .value-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card__icon, .ergo-card__icon, .value-card__icon, .pmv-card__icon {
  width: 56px; height: 56px;
  background: var(--color-bg-tint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
  margin-bottom: 1.25rem; transition: all 0.3s;
}
.service-card__icon .material-symbols-outlined,
.ergo-card__icon .material-symbols-outlined,
.value-card__icon .material-symbols-outlined,
.pmv-card__icon .material-symbols-outlined {
  font-size: 28px;
}

.service-card:hover .service-card__icon, .pmv-card:hover .pmv-card__icon {
  background: var(--gradient-blue-btn);
  color: #ffffff; transform: scale(1.1) rotate(-4deg);
}

.service-card__title, .ergo-card__title, .blog-card__title, .pmv-card__title, .training-card__title {
  font-size: 1.22rem; font-weight: 900; margin-bottom: 0.6rem; color: var(--color-text-main);
}
.service-card__desc, .ergo-card__text, .blog-card__excerpt, .pmv-card__text {
  font-size: 0.92rem; color: var(--color-text-body); line-height: 1.65; font-weight: 500;
}

/* ============================================
   TABS COMPONENT
   ============================================ */
.tab-container { margin-top: 1.5rem; }
.tab-nav {
  display: flex; justify-content: center; gap: 0.75rem;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.tab-btn {
  padding: 0.75rem 1.7rem;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-heading); font-weight: 800; font-size: 0.9rem;
  color: var(--color-text-main); cursor: pointer;
  transition: all 0.3s var(--ease-out);
  display: flex; align-items: center; gap: 0.5rem;
}
.tab-btn .material-symbols-outlined { font-size: 20px; color: var(--color-accent); }
.tab-btn:hover, .tab-btn.active {
  background: var(--gradient-blue-btn);
  color: #ffffff; border-color: transparent;
  box-shadow: var(--shadow-glow-blue);
}
.tab-btn:hover .material-symbols-outlined, .tab-btn.active .material-symbols-outlined {
  color: #ffffff;
}
.tab-pane { display: none; opacity: 0; transition: opacity 0.35s; }
.tab-pane.active { display: block; opacity: 1; }

/* ============================================
   ACCORDIONS
   ============================================ */
.accordion-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all 0.3s;
}
.accordion-item:hover { border-color: var(--color-border); }
.accordion-header {
  padding: 1.15rem 1.4rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 1rem;
  color: var(--color-text-main);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.accordion-header-left { display: flex; align-items: center; gap: 0.65rem; }
.accordion-header-left .material-symbols-outlined { color: var(--color-accent); font-size: 22px; }
.accordion-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--color-bg-tint); color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
}
.accordion-icon .material-symbols-outlined { font-size: 18px; }
.accordion-item.active .accordion-icon { transform: rotate(180deg); background: var(--color-accent); color: #fff; }
.accordion-body {
  padding: 0 1.4rem 1.15rem;
  font-size: 0.92rem; color: var(--color-text-body);
  line-height: 1.65; display: none; font-weight: 500;
  border-top: 1px dashed var(--color-border);
  margin-top: 0.4rem; padding-top: 0.9rem;
}
.accordion-item.active .accordion-body { display: block; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--gradient-banner);
  color: var(--color-text-main); padding: 5.5rem 0;
  text-align: center; position: relative; overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta-banner__title { font-size: 2.7rem; font-weight: 900; margin-bottom: 0.85rem; color: var(--color-text-main); }
.cta-banner__text  { font-size: 1.1rem; color: var(--color-text-body); max-width: 600px; margin: 0 auto 2.4rem; font-weight: 500; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-subtle);
  color: var(--color-text-body);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--color-border);
}
.footer__grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.8rem;
}
.footer__brand img { height: 46px; margin-bottom: 1.1rem; border-radius: var(--radius-xs); }
.footer__brand p   { font-size: 0.9rem; line-height: 1.7; max-width: 290px; color: var(--color-text-body); }
.footer__social    { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social a {
  width: 38px; height: 38px; background: #ffffff;
  border: 1px solid var(--color-border); border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; color: var(--color-text-main);
  box-shadow: var(--shadow-sm);
}
.footer__social a:hover { background: var(--gradient-blue-btn); color: #fff; border-color: transparent; transform: translateY(-3px); }

.footer__col-title { font-family: var(--font-heading); font-size: 0.82rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-main); margin-bottom: 1.25rem; }
.footer__col ul    { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col ul li a { font-size: 0.88rem; color: var(--color-text-body); font-weight: 500; }
.footer__col ul li a:hover { color: var(--color-accent); font-weight: 700; padding-left: 4px; }

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.6rem; display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; flex-wrap: wrap; gap: 1rem; color: var(--color-text-muted); font-weight: 600;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 1001;
}
.mobile-toggle span {
  width: 24px; height: 2.5px; background: var(--color-text-main);
  border-radius: 2px; transition: all 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem; opacity: 0; visibility: hidden; transition: all 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a:not(.btn) { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--color-text-main); }
.mobile-menu a:not(.btn):hover { color: var(--color-accent); }
.mobile-menu a.btn--primary, .mobile-menu a.btn--primary * { color: #ffffff !important; }

/* MOBILE ACCORDION DROPDOWN "SERVICIOS" */
.mobile-dropdown {
  width: 100%;
  max-width: 300px;
  text-align: center;
}
.mobile-dropdown-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.3rem 0;
}
.mobile-dropdown-btn:hover { color: var(--color-accent); }
.mobile-dropdown-icon {
  transition: transform 0.3s var(--ease-out);
  font-size: 24px;
}
.mobile-dropdown.active .mobile-dropdown-icon {
  transform: rotate(180deg);
  color: var(--color-accent);
}
.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.65rem 0 0.4rem;
  width: 100%;
  align-items: center;
}
.mobile-dropdown.active .mobile-dropdown-content {
  display: flex;
}
.mobile-dropdown-content a {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--color-text-body) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg-tint);
  width: 100%;
  border: 1px solid var(--color-border);
}
.mobile-dropdown-content a:hover {
  background: var(--color-accent);
  color: #ffffff !important;
}
.mobile-dropdown-content a .material-symbols-outlined {
  font-size: 20px;
  color: var(--color-accent);
}
.mobile-dropdown-content a:hover .material-symbols-outlined {
  color: #ffffff;
}

/* ============================================
   ANIMATIONS & LIGHTBOX
   ============================================ */
.reveal       { opacity: 0; transform: translateY(32px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.reveal-scale { opacity: 0; transform: scale(0.9);        transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1; transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.26s; }
.delay-4 { transition-delay: 0.36s; }

.lightbox-modal {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox-modal.active { opacity: 1; pointer-events: auto; }
.lightbox-modal img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); box-shadow: var(--shadow-xl); }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 2.2rem; cursor: pointer; }

/* ============================================
   RESPONSIVE BREAKPOINTS & MOBILE OPTIMIZATIONS
   ============================================ */
@media (max-width: 1024px) {
  .container { padding: 0 1.25rem; }
  .hero__title { font-size: 3.2rem; }
  .section { padding: 4.5rem 0; }
  .services__grid, .blog__grid, .training__grid, .ergo-services__grid, .pmv__grid, .modalities__grid {
    grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  }
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --header-height: 72px; }
  .container { padding: 0 1rem; }
  .topbar__promo { display: none; }
  .header__nav, .header__cta { display: none; }
  .mobile-toggle, .mobile-menu { display: flex; }
  
  .hero { min-height: 85vh; }
  .hero__content { padding: 70px 0 50px; }
  .hero__badge { font-size: 0.78rem; padding: 0.35rem 1rem; margin-bottom: 1.2rem; }
  .hero__title { font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1.12; margin-bottom: 1rem; }
  .hero__subtitle { font-size: 1rem; line-height: 1.6; margin-bottom: 2rem; }
  .hero__actions { flex-direction: column; width: 100%; gap: 0.85rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* FLOATING BUTTONS RESPONSIVE STACK */
  .whatsapp-float { right: 16px; bottom: 20px; width: 54px; height: 54px; z-index: 9998; }
  .chatbot-toggle { right: 16px; bottom: 86px; width: 54px; height: 54px; z-index: 9999; }
  .chatbot-window {
    left: 12px; right: 12px; bottom: 150px; width: auto; max-width: none;
    height: 480px; z-index: 10000;
  }
  
  .about__grid, .service-detail__grid, .contact__grid, .ergonomy__grid, .training-intro__grid {
    grid-template-columns: 1fr; gap: 2.2rem;
  }
  .services__grid, .blog__grid, .training__grid, .ergo-services__grid, .pmv__grid, .modalities__grid {
    grid-template-columns: 1fr; gap: 1.25rem;
  }
  
  .about__image-container img { height: 320px; }
  .about__badge-card { left: 10px; bottom: -15px; padding: 0.75rem 1rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: 1.6rem 1.25rem; }
  
  .section__title { font-size: clamp(1.8rem, 6vw, 2.2rem); }
  .section__subtitle { font-size: 0.98rem; }
  .cta-banner { padding: 4rem 0; }
  .cta-banner__title { font-size: 1.9rem; }
  .cta-banner__actions { flex-direction: column; width: 100%; }
  .cta-banner__actions .btn { width: 100%; }

  .page-banner { min-height: 260px; padding: 4rem 1rem 3rem; }
  .page-banner__title { font-size: clamp(2rem, 7vw, 2.5rem); }
  .page-banner__sub { font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.95rem; }
  .section { padding: 3.5rem 0; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.88rem; }
  .btn--lg { padding: 0.85rem 1.8rem; font-size: 0.95rem; }
}
