/* ============================================
   ABSA Chile — Premium Logistics Website
   ============================================ */

:root {
  --color-primary: #C45A1C;
  --color-primary-dark: #A34815;
  --color-primary-light: #E8783A;
  --color-accent: #1B4332;
  --color-accent-light: #2D6A4F;
  --color-dark: #141414;
  --color-dark-2: #2A2A2A;
  --color-cream: #FAF6F0;
  --color-cream-dark: #F0EBE3;
  --color-sand: #E8DFD4;
  --color-gray-100: #F7F5F2;
  --color-gray-200: #E5E0DA;
  --color-gray-400: #9B9590;
  --color-gray-600: #6B6560;
  --color-white: #FFFFFF;
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 12px rgba(20, 20, 20, 0.06);
  --shadow-md: 0 12px 40px rgba(20, 20, 20, 0.10);
  --shadow-lg: 0 24px 64px rgba(20, 20, 20, 0.14);
  --shadow-card: 0 4px 24px rgba(20, 20, 20, 0.08);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.tabular-nums {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

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

.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(196, 90, 28, 0.30);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 90, 28, 0.35);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn__play {
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-gray-200);
}
.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(196, 90, 28, 0.04);
}

.btn--ghost {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-gray-200);
}
.btn--ghost:hover {
  background: var(--color-gray-100);
  border-color: var(--color-dark);
}

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

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--color-gray-200);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: opacity var(--transition);
}

.header__logo:hover img { opacity: 0.85; }

.header__nav {
  display: flex;
  gap: 36px;
}

.header__nav a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  transition: color var(--transition);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width var(--transition);
}

.header__nav a:hover { color: var(--color-dark); }
.header__nav a:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__actions .btn--ghost {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.header__actions .btn--ghost:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
}

.header__actions .btn--outline {
  color: var(--color-dark);
}

.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-cream);
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero__blob--1 {
  width: 600px;
  height: 600px;
  background: rgba(196, 90, 28, 0.12);
  top: -200px;
  right: -100px;
}

.hero__blob--2 {
  width: 500px;
  height: 500px;
  background: rgba(27, 67, 50, 0.10);
  bottom: -150px;
  left: -150px;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - var(--header-height) - 120px);
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(27, 67, 50, 0.08);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent-light);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--color-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-primary);
}

.hero__lead {
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  color: var(--color-gray-600);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.75;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__visual {
  position: relative;
  height: 520px;
}

.hero__image-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  height: 88%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.hero__visual:hover .hero__image-main img {
  transform: scale(1.05);
}

.hero__image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.hero__image-badge svg {
  width: 18px;
  height: 18px;
}

.hero__image-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48%;
  height: 42%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--color-cream);
  box-shadow: var(--shadow-md);
}

.hero__image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__stat-card {
  position: absolute;
  top: 12%;
  left: -20px;
  background: var(--color-white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: float 4s ease-in-out infinite;
}

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

.hero__stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-card span {
  font-size: 0.75rem;
  color: var(--color-gray-600);
  font-weight: 500;
}

/* Hero stats bar */
.hero__stats {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-200);
  box-shadow: 0 -4px 24px rgba(20, 20, 20, 0.04);
}

.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid var(--color-gray-200);
  transition: background var(--transition);
}

.stat:last-child { border-right: none; }
.stat:hover { background: var(--color-gray-100); }

.stat__icon {
  width: 48px;
  height: 48px;
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.stat__icon svg {
  width: 22px;
  height: 22px;
}

.stat strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.stat span {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
  line-height: 1.4;
}

/* ---- Sections ---- */
.section {
  padding: 110px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.section-label--light { color: var(--color-primary-light); }

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

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--color-gray-600);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ---- About ---- */
.about { background: var(--color-white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.375rem);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about__text p {
  color: var(--color-gray-600);
  margin-bottom: 18px;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.about__text .btn { margin-top: 12px; }

.about__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
  pointer-events: none;
}

.about__image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about__image:hover img { transform: scale(1.04); }

/* ---- Ventajas ---- */
.ventajas {
  background: var(--color-cream);
  position: relative;
}

.ventajas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ventaja-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,0.8);
  transition: all var(--transition);
}

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

.ventaja-card__image {
  height: 220px;
  overflow: hidden;
}

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

.ventaja-card:hover .ventaja-card__image img { transform: scale(1.06); }

.ventaja-card__body { padding: 32px 28px; }

.ventaja-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(196,90,28,0.12), rgba(27,67,50,0.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.ventaja-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.ventaja-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.ventaja-card__body p {
  color: var(--color-gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---- Gallery strip ---- */
.gallery-strip {
  overflow: hidden;
  height: 280px;
  background: var(--color-dark);
}

.gallery-strip__track {
  display: flex;
  gap: 6px;
  height: 100%;
  animation: scrollGallery 35s linear infinite;
}

.gallery-strip__track img {
  height: 100%;
  width: 420px;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.gallery-strip__track img:hover { opacity: 1; }

@keyframes scrollGallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Espacios ---- */
.espacios { background: var(--color-white); }

.espacios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.plan-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--color-sand);
  position: relative;
  transition: all var(--transition);
}

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

.plan-card--featured {
  background: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 12px 48px rgba(196, 90, 28, 0.12);
  transform: scale(1.03);
}

.plan-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.plan-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(196, 90, 28, 0.3);
}

.plan-card__header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.plan-card__size {
  color: var(--color-gray-400);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.plan-card__amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.plan-card--featured .plan-card__amount { color: var(--color-primary); }

.plan-card__unit {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  font-weight: 600;
}

.plan-card__desc {
  color: var(--color-gray-600);
  font-size: 0.9375rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

.plan-card__features { margin-bottom: 32px; }

.plan-card__features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

.plan-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-light);
  font-weight: 800;
}

/* ---- Inversores ---- */
.inversores {
  background: linear-gradient(145deg, var(--color-accent) 0%, #0D2818 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.inversores::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.inversores__inner {
  text-align: center;
  color: var(--color-white);
  position: relative;
  z-index: 1;
}

.inversores__content {
  max-width: 680px;
  margin: 0 auto 56px;
}

.inversores__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.625rem);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.15;
}

.inversores__content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.inversores__metrics {
  display: flex;
  justify-content: center;
  gap: 72px;
  margin-bottom: 48px;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: 8px;
}

.metric span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ---- Clientes ---- */
.clientes { background: var(--color-white); }

.clientes__marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 8px;
}

.clientes__carousel {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.clientes__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: scrollClients 55s linear infinite;
  will-change: transform;
}

.clientes__track:hover {
  animation-play-state: paused;
}

.cliente-logo {
  flex-shrink: 0;
  width: 170px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: var(--radius-md);
  padding: 18px 28px;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.cliente-logo:hover {
  border-color: var(--color-sand);
  background: var(--color-gray-100);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.cliente-logo img {
  max-height: 52px;
  max-width: 130px;
  object-fit: contain;
  transition: transform var(--transition);
}

.cliente-logo:hover img {
  transform: scale(1.05);
}

@keyframes scrollClients {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Contacto ---- */
.contacto { background: var(--color-white); }

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contacto__info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.375rem);
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.2;
}

.contacto__info > p {
  color: var(--color-gray-600);
  margin-bottom: 36px;
  font-size: 1.0625rem;
  line-height: 1.75;
}

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

.contacto__channel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-sand);
  transition: all var(--transition);
}

.contacto__channel:hover {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.contacto__channel svg {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contacto__channel strong {
  display: block;
  font-weight: 700;
  margin-bottom: 3px;
}

.contacto__channel span {
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

/* ---- Form ---- */
.contacto__form {
  background: var(--color-cream);
  padding: 44px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-sand);
}

.contacto__form-feedback {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.45;
}

.contacto__form-feedback.is-success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.contacto__form-feedback.is-error {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.contacto__form-feedback.is-pending {
  background: rgba(234, 179, 8, 0.12);
  color: #a16207;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-sand);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-dark);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(196, 90, 28, 0.10);
}

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

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

/* ---- Footer ---- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.65);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  padding: 72px 28px;
}

.footer__brand .footer__logo {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer__brand p {
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 380px;
}

.footer__links {
  display: flex;
  gap: 72px;
}

.footer__links h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer__links a {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 12px;
  transition: color var(--transition);
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer__bottom a {
  color: var(--color-primary-light);
  transition: color var(--transition);
}

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

/* ---- WhatsApp float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
}

.whatsapp-float svg { width: 34px; height: 34px; color: white; }

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

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.portal-placeholder { display: none; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .hero__layout {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 32px;
  }

  .hero__visual {
    height: 420px;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .hero__stat-card { left: 0; }
}

@media (max-width: 1024px) {
  .ventajas__grid,
  .espacios__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-card--featured { transform: none; }
  .plan-card--featured:hover { transform: translateY(-4px); }
  .about__grid,
  .contacto__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--color-gray-200); }
  .inversores__metrics { gap: 40px; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
    box-shadow: var(--shadow-md);
  }

  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .header__nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-gray-200);
    font-size: 1rem;
    color: var(--color-dark);
  }

  .header__menu-toggle { display: flex; }

  .header__actions .btn--outline { display: none; }

  .section { padding: 72px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { gap: 40px; }
  .footer__bottom .container { flex-direction: column; gap: 10px; text-align: center; }
  .contacto__form { padding: 28px 22px; }
  .about__image img { height: 300px; }
  .hero__visual { height: 340px; }
}

@media (max-width: 480px) {
  .hero__stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}
