/* ============================================
   RH Servicios S.R.L. — Landing Page Styles
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand colors */
  --white: #FFFFFF;
  --gray-light: #F5F6F8;
  --gray-text: #5F6368;
  --gray-dark: #3F4248;
  --orange: #F47A3D;
  --magenta: #E91E86;
  --pink-light: #FCE8F1;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--orange) 0%, var(--magenta) 100%);
  --gradient-brand-h: linear-gradient(90deg, var(--orange) 0%, var(--magenta) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(244, 122, 61, 0.08) 0%, rgba(233, 30, 134, 0.06) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(63, 66, 72, 0.06);
  --shadow-md: 0 4px 16px rgba(63, 66, 72, 0.08);
  --shadow-lg: 0 8px 32px rgba(63, 66, 72, 0.10);
  --shadow-card: 0 2px 12px rgba(63, 66, 72, 0.06);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-base: 0.3s var(--ease-out);

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
}

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

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-text);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  color: var(--gray-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  font-weight: 400;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

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

.text-center {
  text-align: center;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(244, 122, 61, 0.30);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(244, 122, 61, 0.40);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-dark);
  border: 1.5px solid #E0E2E6;
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--gray-dark);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-up:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-children .fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children .fade-up:nth-child(3) {
  transition-delay: 0.15s;
}

.stagger-children .fade-up:nth-child(4) {
  transition-delay: 0.2s;
}

.stagger-children .fade-up:nth-child(5) {
  transition-delay: 0.25s;
}

.stagger-children .fade-up:nth-child(6) {
  transition-delay: 0.3s;
}

.stagger-children .fade-up:nth-child(7) {
  transition-delay: 0.35s;
}

.stagger-children .fade-up:nth-child(8) {
  transition-delay: 0.4s;
}

.stagger-children .fade-up:nth-child(9) {
  transition-delay: 0.45s;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gray-dark);
  z-index: 1001;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 5px 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.5px;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-text);
  position: relative;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand-h);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--gray-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 3rem;
  overflow: hidden;
  background: var(--gray-light);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.93) 0%,
      rgba(255, 255, 255, 0.80) 50%,
      rgba(245, 246, 248, 0.70) 100%);
}

/* Gradient accent bar */
.hero-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand-h);
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--white);
  border: 1px solid #F0E0F0;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--magenta);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-text);
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.hero-text {
  font-size: 0.95rem;
  color: var(--gray-text);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Benefits strip */
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-dark);
  line-height: 1.35;
}

/* ============================================
   EMPRESA (Company)
   ============================================ */
.section-empresa {
  padding: 5rem 0;
  background: var(--white);
}

.empresa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.empresa-text h2 {
  margin-bottom: 1.5rem;
}

.empresa-text p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.empresa-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.empresa-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empresa-image-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-brand-h);
}

/* ============================================
   CONSORCIOS (Consortium Section — Prominent)
   ============================================ */
.section-consorcios {
  padding: 5rem 0;
  background: var(--gray-light);
  position: relative;
}

.consorcios-intro {
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

.consorcios-intro p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.consorcios-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.consorcio-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

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

.consorcio-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--gradient-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
}

.consorcio-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.consorcio-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.consorcio-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Highlight band */
.consorcio-highlight {
  margin: 3rem 0;
  padding: 1.75rem 2rem;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  text-align: center;
}

.consorcio-highlight p {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.consorcios-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ============================================
   SERVICIOS (Services Grid)
   ============================================ */
.section-servicios {
  padding: 5rem 0;
  background: var(--white);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.servicio-card {
  background: var(--white);
  border: 1px solid #EDEEF0;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: all var(--transition-base);
}

.servicio-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.servicio-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.servicio-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.servicio-card h3 {
  font-size: 1rem;
}

.servicio-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============================================
   PERSONAL (Staff & Methodology)
   ============================================ */
.section-personal {
  padding: 5rem 0;
  background: var(--gray-light);
}

.personal-intro {
  max-width: 780px;
  margin: 0 auto 3rem;
}

.personal-intro p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.timeline-step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.timeline-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.timeline-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.timeline-step p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-dark);
  line-height: 1.45;
  margin-bottom: 0;
}

/* ============================================
   VALORES (Values)
   ============================================ */
.section-valores {
  padding: 5rem 0;
  background: var(--white);
}

.valores-intro {
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.valor-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid #EDEEF0;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.valor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}

.valor-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--gradient-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
}

.valor-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--magenta);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.valor-card h3 {
  font-size: 1rem;
}

.valor-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   CLIENTES (Clients)
   ============================================ */
.section-clientes {
  padding: 4rem 0;
  background: var(--gray-light);
}

.clientes-image-wrapper {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.clientes-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform var(--transition-base);
}

.clientes-img:hover {
  transform: scale(1.02);
}

.clientes-text-section {
  margin-top: 4rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  padding-top: 3rem;
}

.clientes-text-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.clientes-text-section h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gradient-brand-h);
  border-radius: 1px;
}

.clientes-text-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.cliente-text-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: all var(--transition-base);
  text-align: left;
}

.cliente-text-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(244, 122, 61, 0.15);
}

.cliente-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

.cliente-text-item p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-dark);
  line-height: 1.4;
}

/* ============================================
   CTA FINAL
   ============================================ */
.section-cta {
  padding: 5rem 0;
  background: var(--gradient-brand);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.section-cta::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

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

.section-cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.section-cta p {
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* ============================================
   CONTACTO (Contact Form)
   ============================================ */
.section-contacto {
  padding: 5rem 0;
  background: var(--white);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  margin-top: 2.5rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid #E0E2E6;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--gray-dark);
  background: var(--white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 122, 61, 0.1);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%235F6368' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit {
  margin-top: 0.5rem;
}

/* Contact Info */
.contact-info-panel {
  padding: 2.5rem;
  background: var(--gray-light);
  border-radius: var(--radius-lg);
}

.contact-info-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
}

.linkedin-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
}

.linkedin-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.5;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.5;
}

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

.contact-detail-text a:hover {
  color: var(--orange);
}

.contact-detail-text p {
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.contact-detail-label {
  font-size: 0.78rem;
  color: var(--gray-text);
  font-weight: 400;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 3rem 0 1.5rem;
  background: var(--gray-dark);
  color: rgba(255, 255, 255, 0.70);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 400px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-base);
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .consorcios-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clientes-text-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .main-nav .btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Mobile menu overlay */
  .mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .mobile-menu.active {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-dark);
  }

  .hero-bg::after {
    background: rgba(255, 255, 255, 0.93);
  }

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

  .empresa-image {
    order: -1;
  }

  .hero-benefits {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .consorcios-cards {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .clientes-text-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-benefits {
    grid-template-columns: 1fr;
  }

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

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

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

main {
  opacity: 0;
  transform: translateY(8px);
  animation: entrada 1.2s ease forwards;
}

@keyframes entrada {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}