/* ==========================================================================
   IngeoData - Landing Page Styles
   Paleta basada en el logo corporativo (azul profundo)
   ========================================================================== */

/* ---------- CSS Variables (fácil de personalizar) ---------- */
:root {
  /* Colores principales - extraídos del logo IngeoData */
  --primary: #1a5a8e;       /* Azul profundo corporativo */
  --primary-dark: #134669;  /* Azul más oscuro para hover */
  --primary-light: #2a7ab8; /* Azul más claro */
  --secondary: #0f3d5c;     /* Azul muy oscuro */
  --accent: #3498db;        /* Azul acento */
  
  /* Fondos */
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  
  /* Textos */
  --text: #1e293b;
  --text-light: #64748b;
  --muted: #94a3b8;
  
  /* Otros */
  --white: #ffffff;
  --success: #10b981;
  --whatsapp: #25d366;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Bordes */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transiciones */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Respeta prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-light);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

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

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

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

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

.btn--contact {
  background: var(--bg-alt);
  color: var(--text);
  border-color: transparent;
  justify-content: flex-start;
  width: 100%;
  padding: 16px 20px;
}

.btn--contact:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--contact svg {
  flex-shrink: 0;
}

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

.contact-info__buttons .btn--whatsapp {
  width: 100%;
  padding: 16px 20px;
}

.btn--whatsapp:hover {
  background: #20ba5a;
  border-color: #20ba5a;
  transform: translateY(-2px);
}

/* ---------- Chips / Badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(26, 90, 142, 0.1);
  border-radius: 50px;
}

.chip svg {
  stroke: var(--primary);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(26, 90, 142, 0.1);
  border-radius: 50px;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar--scrolled {
  box-shadow: var(--shadow);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.navbar__logo-img {
  height: 44px;
  width: auto;
}

.navbar__logo-icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__link {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--primary);
  background: rgba(26, 90, 142, 0.08);
}

.navbar__cta {
  padding: 10px 20px;
  font-size: 0.875rem;
  background: var(--whatsapp);
  border-color: var(--whatsapp);
}

.navbar__cta:hover {
  background: #20ba5a;
  border-color: #20ba5a;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar__toggle-bar {
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu toggle animation */
.navbar__toggle.active .navbar__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

.hero__title {
  margin-bottom: 24px;
  color: var(--text);
}

.hero__title span {
  color: var(--primary);
}

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 32px;
  color: var(--text-light);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Feature Card */
.hero__feature-card {
  display: flex;
  justify-content: flex-end;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 420px;
}

.feature-card__title {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--primary);
}

.feature-card__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text);
}

.feature-card__list svg {
  flex-shrink: 0;
  color: var(--success);
  margin-top: 2px;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================================================
   SECTIONS (General)
   ========================================================================== */
.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: rgba(26, 90, 142, 0.1);
  border-radius: 50px;
  margin-bottom: 16px;
}

.section__title {
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--text-light);
}

/* ==========================================================================
   SOBRE - Diferenciales
   ========================================================================== */
.diferentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.diferential-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.diferential-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.diferential-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  background: rgba(26, 90, 142, 0.1);
  border-radius: var(--radius);
  color: var(--primary);
}

.diferential-card__title {
  font-size: 1.0625rem;
  margin-bottom: 12px;
}

.diferential-card__text {
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card--featured {
  border: 2px solid var(--primary);
}

.service-card--featured .service-card__image-placeholder {
  background: linear-gradient(135deg, rgba(26, 90, 142, 0.15) 0%, rgba(26, 90, 142, 0.05) 100%);
}

.service-card--coming {
  opacity: 0.85;
}

.service-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--primary);
  border-radius: 50px;
  z-index: 2;
}

.service-card__badge--coming {
  background: var(--muted);
}

.service-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card__text {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.service-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(26, 90, 142, 0.08);
  border-radius: var(--radius);
  transition: var(--transition);
  margin-top: auto;
}

.service-card__btn:hover {
  background: var(--primary);
  color: var(--white);
}

.service-card__btn--disabled {
  color: var(--muted);
  background: var(--bg-alt);
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   EQUIPO
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card__name {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}

.team-card__bio {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.team-card__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info__title {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.contact-info__text {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.contact-info__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.contact-info__note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(26, 90, 142, 0.08);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--primary);
}

.contact-info__note svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-alt);
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

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

.form-error {
  font-size: 0.8125rem;
  color: #ef4444;
  min-height: 18px;
}

/* Error state */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ef4444;
  background: #fef2f2;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__logo-img {
  height: 80px;
  width: auto;
}

.footer__logo-icon {
  width: 36px;
  height: 36px;
}

.footer__tagline {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.footer__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__links h4,
.footer__contact h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__contact svg {
  flex-shrink: 0;
  color: var(--primary-light);
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   GALERÍA COLLAGE
   ========================================================================== */
.gallery-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-alt);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

/* Contenedor de imagen */
.gallery-item__image {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
  display: block;
}

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

/* Placeholder cuando no hay imagen */
.gallery-item__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #e2e8f0 100%);
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 20px;
}

.gallery-item__placeholder svg {
  opacity: 0.5;
}

/* Cuando hay imagen dentro del placeholder */
.gallery-item__placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition);
}

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

/* Overlay con texto */
.gallery-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 2;
}

.gallery-item:hover .gallery-item__overlay {
  transform: translateY(0);
}

/* Siempre mostrar overlay en móvil */
@media (max-width: 768px) {
  .gallery-item__overlay {
    transform: translateY(0);
    padding: 16px;
    font-size: 0.8125rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  }
}

/* ==========================================================================
   SERVICIOS (con fotos)
   ========================================================================== */
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card__image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: var(--bg-alt);
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
  display: block;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

/* Si no hay imagen, mostrar placeholder */
.service-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-alt);
  color: var(--primary);
}

/* Cuando hay imagen dentro del placeholder */
.service-card__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition);
}

.service-card:hover .service-card__image-placeholder img {
  transform: scale(1.05);
}

/* Para imágenes tipo logo que necesitan contain */
.service-card__image-placeholder--logo img {
  object-fit: contain;
  padding: 20px;
  background: var(--white);
}

.service-card__image-placeholder--muted {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #e2e8f0 100%);
  color: var(--muted);
}

.service-card__image-placeholder--muted img {
  opacity: 0.7;
  filter: grayscale(30%);
}

/* ==========================================================================
   EQUIPO (con fotos)
   ========================================================================== */
.team-card__photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg-alt);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 70px;
  padding: 10px 16px;
  background: var(--bg-dark);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition);
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--bg-dark);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Animación de pulso */
@keyframes pulse-whatsapp {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

.whatsapp-float {
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  animation: none;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 110px;
  right: 30px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(150%);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast svg {
  flex-shrink: 0;
  color: var(--success);
}

/* ==========================================================================
   ANIMATIONS (Scroll reveal)
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.diferentials .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.diferentials .animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.diferentials .animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.diferentials .animate-on-scroll:nth-child(4) { transition-delay: 300ms; }

.services-grid .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.services-grid .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.services-grid .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.services-grid .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.services-grid .animate-on-scroll:nth-child(5) { transition-delay: 320ms; }
.services-grid .animate-on-scroll:nth-child(6) { transition-delay: 400ms; }

.team-grid .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.team-grid .animate-on-scroll:nth-child(2) { transition-delay: 150ms; }
.team-grid .animate-on-scroll:nth-child(3) { transition-delay: 300ms; }

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

/* Tablet */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero__content {
    max-width: 100%;
  }
  
  .hero__ctas {
    justify-content: center;
  }
  
  .hero__chips {
    justify-content: center;
  }
  
  .hero__feature-card {
    justify-content: center;
  }
  
  .diferentials {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-collage {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
  
  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .navbar__menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar__cta {
    display: none;
  }
  
  .navbar__toggle {
    display: flex;
  }
  
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
  
  .hero__scroll {
    display: none;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section__header {
    margin-bottom: 40px;
  }
  
  .diferentials {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-collage {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }
  
  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 24px;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__contact li {
    justify-content: center;
  }
  
  .toast {
    left: 20px;
    right: 20px;
    bottom: 100px;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  
  .whatsapp-float__tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
  }
  
  .hero__ctas .btn {
    width: 100%;
  }
  
  .hero__chips {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-card {
    padding: 24px;
  }
}
