:root {
  --rojo: #CC1F1F;
  --rojo-dark: #A01515;
  --rojo-light: #e02a2a;
  
  /* BLANCOS SUAVIZADOS (Anti-brillo) */
  --blanco: #1A1A1A;       /* Texto Oscuro */
  --gris-dark: #F5F5F3;    /* Fondo Principal: Blanco Hueso / Apagado (Antes era #FFFFFF) */
  --gris-mid: #EAEAEA;     /* Fondo Secundario: Gris suavecito (Para las tarjetas y secciones) */
  --gris-light: #DFDFDF;   
  --gris-soft: #666666;    
  --gris-line: #D1D1D1;    /* Líneas sutilmente más oscuras para que se noten bien */
  --acento: #333333;       
  
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --nav-h: 72px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--gris-dark);
  color: var(--blanco);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== FORZAR TEXTOS OSCUROS EN MODO CLARO ===== */
h1, h2, h3, h4, h5, p, span, li, a {
  color: var(--blanco);
}
.btn, .btn-primary, .whatsapp-float, .hero-badge {
  color: #ffffff !important; 
}
.nav-link.nav-cta, .hero-badge::before {
    color: #ffffff !important;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--gris-dark); }
::-webkit-scrollbar-thumb { background: var(--rojo); border-radius: 2px; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.05); /* Sombra suave en vez de blanco */
  transform: translateX(-101%);
  transition: transform 0.3s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--rojo);
  color: #ffffff !important;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-primary:hover { background: var(--rojo-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--blanco) !important;
  border: 1.5px solid var(--blanco);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-outline:hover { background: var(--blanco); color: var(--gris-dark) !important; transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ===== TYPOGRAPHY ===== */
.section-eyebrow {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rojo);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--blanco);
}
.section-title .highlight { color: var(--rojo); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-line {
  width: 48px;
  height: 3px;
  background: var(--rojo);
  margin: 24px auto 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97); /* Fondo blanco semitransparente */
  box-shadow: 0 1px 0 var(--gris-line), 0 8px 32px rgba(0,0,0,0.05); /* Sombra suave */
  backdrop-filter: blur(12px);
}
.nav-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-ra {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--rojo);
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo-text {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blanco);
  line-height: 1.4;
}
.logo-text small {
  display: block;
  font-weight: 400;
  color: var(--gris-soft);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris-soft);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--rojo);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--blanco); }
.nav-link:hover::after { width: 100%; }
.nav-link.nav-cta {
  background: var(--rojo);
  color: #ffffff !important;
  padding: 8px 20px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--rojo-light); color: #ffffff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--blanco); /* Rayitas negras */
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 24px 120px;
  background: var(--gris-dark);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204,31,31,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,31,31,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-accent-bar {
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--rojo) 30%, var(--rojo) 70%, transparent);
}
.hero-content {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(204,31,31,0.12);
  border: 1px solid rgba(204,31,31,0.35);
  color: var(--rojo) !important; /* Fuerza rojo en texto badge */
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 8px 18px;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--rojo);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero-title {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}
.title-ra {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.85;
  color: var(--rojo);
  letter-spacing: -0.01em;
  text-shadow: 0 0 40px rgba(204,31,31,0.15); /* Sombra suavizada */
}
.title-block {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.95;
  color: var(--blanco);
  letter-spacing: 0.04em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--gris-soft);
  font-weight: 500;
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 72px auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--gris-line);
  padding-top: 40px;
}
.stat {
  flex: 1;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--rojo);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris-soft);
}
.stat-divider {
  width: 1px; height: 48px;
  background: var(--gris-line);
  flex-shrink: 0;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; right: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-cond);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gris-soft);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--rojo));
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
/* ===== ABOUT ===== */
.about {
  padding: 120px 24px;
  background: var(--gris-mid);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: 'RA';
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 22rem;
  color: rgba(204,31,31,0.05); /* Le subí apenitas la opacidad para que se note sobre fondo claro */
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 440px;
}
.about-img-bg {
  position: absolute;
  inset: 0; 
  background-image: url('galeria-0.jpg'); 
  background-size: cover;
  background-position: center;
  border: 1px solid var(--gris-line);
}
.about-year-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--rojo);
  color: #ffffff !important; /* Fuerza blanco sobre rojo */
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  padding: 12px 20px;
  z-index: 2;
}
.about-img-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.about-accent-block {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 60px; height: 60px;
  background: var(--rojo);
  z-index: 3;
}
.about-text { position: relative; z-index: 2; }
.about-desc {
  color: var(--gris-soft); /* Reemplaza el transparente claro */
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 500;
}
.about-desc strong { color: var(--blanco); font-weight: 600; }
.about-owner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 20px;
  background: rgba(0,0,0,0.03); /* Fondo grisecito suave */
  border: 1px solid var(--gris-line);
  border-left: 3px solid var(--rojo);
}
.owner-icon {
  width: 48px; height: 48px;
  background: var(--rojo);
  color: #ffffff !important; /* Fuerza blanco sobre rojo */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.about-owner strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.about-owner span {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rojo);
}

/* ===== SERVICIOS ===== */
.servicios {
  padding: 120px 24px;
  background: var(--gris-dark);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gris-line);
  border: 1px solid var(--gris-line);
}
.service-card {
  background: var(--gris-dark);
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition), transform var(--transition);
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204,31,31,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { background: var(--gris-mid); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon { color: var(--rojo); }
.service-card:hover .card-hover-bar { transform: scaleX(1); }

.card-hover-bar {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--rojo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-icon {
  width: 44px; height: 44px;
  color: rgba(0,0,0,0.15); /* Ícono sutil oscuro en modo claro */
  margin-bottom: 24px;
  transition: color var(--transition);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-cond);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--blanco);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gris-soft);
  line-height: 1.7;
  font-weight: 500;
}

/* ===== GALERÍA ===== */
.galeria {
  padding: 120px 24px;
  background: var(--gris-mid);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--gris-light);
}
.gallery-item--large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gris-light) 0%, var(--gris-line) 100%); /* Cambié el #222 oscuro por gris claro */
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.04); }
.gallery-icon {
  width: 48px; height: 48px;
  color: rgba(204,31,31,0.3);
  margin-bottom: 4px;
}
.gallery-icon svg { width: 100%; height: 100%; }
.gallery-placeholder span {
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris-soft);
}
.gallery-placeholder small {
  font-size: 0.72rem;
  color: rgba(0,0,0,0.4);
}
.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); /* Este sí queda negro porque va sobre las fotos y el texto debe leerse */
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); }
.gallery-overlay p {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 2px;
}
.gallery-overlay strong {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff; /* Texto blanco forzado porque el fondo es sombra negra */
}
.gallery-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--gris-soft);
  font-style: italic;
}

/* ===== CONTACTO ===== */
.contacto {
  padding: 120px 24px;
  background: var(--gris-dark);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-block {
  margin-bottom: 40px;
}
.contact-block h3 {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 20px;
}
.contact-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.person-avatar {
  width: 52px; height: 52px;
  background: var(--rojo);
  color: #ffffff !important; /* Forzado a blanco */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.person-data strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.person-data span {
  font-size: 0.8rem;
  color: var(--gris-soft);
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gris-soft);
  transition: color var(--transition);
  padding: 12px 16px;
  border: 1px solid var(--gris-line);
  background: rgba(0,0,0,0.02); /* Fonde transparente oscuro en vez de claro */
  word-break: break-all;
}
.contact-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-link:hover { color: var(--blanco); border-color: var(--rojo); background: rgba(204,31,31,0.06); }
.contact-link--wa { color: #25D366; border-color: rgba(37,211,102,0.25); }
.contact-link--wa:hover { border-color: #25D366; background: rgba(37,211,102,0.06); color: #25D366; }

.location-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gris-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 16px;
  border: 1px solid var(--gris-line);
  background: rgba(0,0,0,0.02);
}
.location-info svg { flex-shrink: 0; margin-top: 2px; }
/* ===== FORMULARIO ===== */
.contact-form {
  background: var(--gris-mid); /* Fondo gris claro */
  border: 1px solid var(--gris-line);
  padding: 40px;
}
.contact-form h3 {
  font-family: var(--font-cond);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--blanco);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris-soft); /* Reemplaza el transparente claro */
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--gris-dark); /* Fondo blanco puro para los campos */
  border: 1px solid var(--gris-line);
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 12px 16px;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gris-soft);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rojo);
  background: rgba(204,31,31,0.03); /* Tinte rojito suave al hacer clic */
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23CC1F1F' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option { 
  background: var(--gris-dark); 
  color: var(--blanco);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  color: #1a9647; /* Verde un poco más oscuro para que se lea en blanco */
  font-family: var(--font-cond);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gris-mid); /* Reemplaza el #111111 oscuro */
  border-top: 1px solid var(--gris-line);
  padding: 64px 24px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gris-line);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--gris-soft);
  line-height: 1.7;
  font-weight: 500;
  max-width: 320px;
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--gris-soft);
  transition: color var(--transition);
  font-weight: 500;
}
.footer-links a:hover { color: var(--blanco); }
.footer-contact p,
.footer-contact a {
  display: block;
  font-size: 0.85rem;
  color: var(--gris-soft);
  margin-bottom: 8px;
  transition: color var(--transition);
  word-break: break-all;
  font-weight: 500;
}
.footer-contact p strong { color: var(--blanco); font-weight: 700; }
.footer-contact a:hover { color: var(--rojo); }
.footer-location {
  margin-top: 8px;
  font-style: italic;
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gris-soft);
  font-weight: 500;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  color: #ffffff !important; /* Fuerza ícono blanco */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.35);
  animation: wa-ping 2.5s ease-in-out infinite;
}
@keyframes wa-ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--gris-dark); /* Fondo blanco del tooltip */
  color: var(--blanco); /* Letra oscura */
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 8px 14px;
  border: 1px solid var(--gris-line);
  border-radius: 4px; /* Un bordecito sutil para que quede más pro en modo claro */
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}
/* ===== BANNER FACEBOOK ===== */
.fb-banner {
  background: linear-gradient(135deg, var(--gris-dark) 0%, var(--gris-mid) 100%); /* Ahora es un gradiente blanco a gris ultra claro */
  border: 1px solid var(--gris-line);
  border-left: 4px solid #1877F2; /* Azul característico de Facebook (se mantiene) */
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Sombra suavizada para modo claro */
}
.fb-icon-large {
  color: #1877F2;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.fb-banner-content h3 {
  font-family: var(--font-cond);
  font-size: 2rem;
  color: var(--blanco); /* Ahora es letra oscura */
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fb-banner-content p {
  color: var(--gris-soft); /* Reemplaza el transparente claro */
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(255,255,255,0.98); /* Fondo menú móvil blanco semitransparente */
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.4rem; }
  .nav-toggle { display: flex; }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
    padding-top: 32px;
  }
  .stat-divider { width: 48px; height: 1px; }
  .stat { align-items: center; text-align: center; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 280px; }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--large { grid-column: 1 / -1; height: 220px; }
  .gallery-item { height: 160px; }

  .contact-form { padding: 28px 20px; }
  .hero-scroll-hint { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

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

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--large { height: 200px; }
}

/* ===== TAMAÑO DEL LOGO SVG ===== */
.logo-svg {
  height: 38px;
  width: auto;
  display: block;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== ESTILOS PARA LAS FOTOS DE LA GALERÍA ===== */
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

/* ===== DISEÑO DE LAS TARJETAS (AHORA LIGHT/CLEAN) ===== */
.portfolio-card {
  background: var(--gris-dark); /* Blanco puro */
  border: 1px solid var(--gris-line); /* Borde gris suavecito */
  border-radius: 8px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; 
  overflow: hidden;
}

.card-img-wrapper img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-content {
  padding: 20px;
  background: var(--gris-dark); /* Blanco puro */
  border-top: 2px solid var(--rojo); 
}

.card-content h3 {
  font-family: var(--font-cond);
  font-size: 1.4rem;
  color: var(--blanco); /* ¡Fundamental! Reemplacé #ffffff por tu variable oscura */
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card-content p {
  color: var(--rojo);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: var(--rojo);
  box-shadow: 0 8px 25px rgba(204, 31, 31, 0.15);
}

/* ===== ESTILOS DEL SLIDER (SWIPER) ===== */
.swiper-pagination-bullet {
  background: var(--blanco); /* Puntito oscuro para que resalte en fondo blanco */
  opacity: 0.2;
}

.swiper-pagination-bullet-active {
  background: var(--rojo); 
  opacity: 1;
}
