/* ==========================================================================
   RENOVE AGENCY - MINIMALIST RADICAL DESIGN SYSTEM
   Palette: #0A0A0A (Black base), #E63946 (Surgical Red Accent), #F5F5F7 (Text)
   Typography: Unbounded (Headlines) + Plus Jakarta Sans (Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Unbounded:wght@400;600;700;800;900&display=swap');

:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-card: #141414;
  --bg-card-hover: #181818;
  --bg-input: #121212;
  
  --accent-red: #E63946;
  --accent-red-hover: #ff4d5e;
  --accent-red-dim: rgba(230, 57, 70, 0.12);
  --accent-red-glow: rgba(230, 57, 70, 0.35);
  
  --text-main: #F5F5F7;
  --text-muted: #8E8E93;
  --text-dim: #555558;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-accent: rgba(230, 57, 70, 0.5);
  
  --font-heading: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --container-max: 1200px;
  --container-narrow: 840px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Subtle Ambience */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.05) 0%, rgba(10, 10, 10, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Selection */
::selection {
  background-color: var(--accent-red);
  color: #FFFFFF;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section-spacing {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-spacing:last-of-type {
  border-bottom: none;
}

/* Badges & Section Headers */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
}

.section-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-red);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.section-desc {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
  max-width: 680px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 1.1rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent-red);
  color: #FFFFFF;
  border-color: var(--accent-red);
  box-shadow: 0 4px 20px var(--accent-red-dim);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  border-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-red-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-hover);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
}

.btn-full {
  width: 100%;
}

.btn .icon-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), padding var(--transition-normal), border-color var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 26px;
  height: 26px;
  color: #FFFFFF;
  transition: transform var(--transition-normal);
}

.brand-logo:hover .brand-icon {
  transform: scale(1.08);
  color: var(--accent-red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: clamp(7.5rem, 15vh, 10rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1050px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #E2E2E5;
  margin-bottom: 2rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.status-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 1px solid #22C55E;
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6.2vw, 5.25rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--text-main);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
}

.hero-title .highlight-red {
  color: var(--accent-red);
  display: inline;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 780px;
  margin-bottom: 2.75rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  font-weight: 500;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta-item svg {
  color: var(--accent-red);
}

/* ==========================================================================
   2. EL PROBLEMA
   ========================================================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.problem-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.problem-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.problem-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.problem-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-red-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
}

.problem-index {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dim);
}

.problem-text {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-main);
}

/* ==========================================================================
   3. SERVICIOS
   ========================================================================== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 3.5vw, 3rem);
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr;
  gap: 2rem;
  align-items: center;
  transition: all var(--transition-normal);
}

.service-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.service-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-red);
}

.service-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.service-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   4. CÓMO TRABAJAMOS (EL PROCESO)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.process-step {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.process-step:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
  margin-bottom: 1.5rem;
  line-height: 1;
  transition: color var(--transition-fast);
}

.process-step:hover .process-step-num {
  color: var(--accent-red);
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.process-step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   5. SOBRE NOSOTROS
   ========================================================================== */
.about-box {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.about-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  letter-spacing: -0.02em;
  max-width: 960px;
}

.about-statement span {
  color: var(--accent-red);
}

/* ==========================================================================
   6. PORTFOLIO / CASOS DE ÉXITO
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.portfolio-grid-featured {
  grid-template-columns: repeat(2, minmax(320px, 460px));
  justify-content: center;
  gap: 2.5rem;
}

.project-card-featured .project-preview {
  height: 320px;
}

.project-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.project-preview {
  height: 200px;
  background-color: #0E0E0E;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-preview-video {
  background-color: #0E0E0E;
}

.project-preview-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.aura-logo-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 64px;
  height: auto;
  background: rgba(10, 10, 10, 0.55);
  border-radius: 6px;
  padding: 4px;
  backdrop-filter: blur(2px);
}

.project-preview-screenshot {
  padding: 0;
  overflow: hidden;
}

.avanfit-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.project-card-featured:hover .avanfit-screenshot {
  transform: scale(1.04);
}

.screenshot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.project-card-featured:hover .screenshot-overlay {
  opacity: 1;
  background: rgba(10, 10, 10, 0.55);
}

.browser-mockup {
  width: 88%;
  height: 82%;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.browser-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #1c1c1c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.browser-mockup-url {
  margin-left: 10px;
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: 4px;
}

.browser-mockup-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.08), rgba(255, 255, 255, 0.02));
}

.browser-mockup-cta {
  font-family: var(--font-display);
  color: var(--accent-red);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.maximize-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--text-main);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}

.maximize-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 5vh 5vw;
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox-video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.video-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.video-lightbox-close:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.project-card-live .project-content {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.project-mockup-wireframe {
  width: 85%;
  height: 75%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.wire-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}
.wire-bar.short { width: 40%; }
.wire-bar.accent { background: var(--accent-red); width: 25%; }
.wire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.wire-box {
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.project-tag-floating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  font-size: 0.6875rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.project-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.project-meta {
  font-size: 0.8125rem;
  color: var(--accent-red);
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-result {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
}

/* ==========================================================================
   7. CONFIANZA
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.trust-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all var(--transition-normal);
}

.trust-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.trust-card:hover .trust-icon {
  background-color: var(--accent-red-dim);
  border-color: var(--border-accent);
  color: var(--accent-red);
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.trust-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   8. FORMULARIO DE CONTACTO & CTA FINAL
   ========================================================================== */
.contact-section {
  background: radial-gradient(circle at 50% 100%, rgba(230, 57, 70, 0.07) 0%, rgba(10, 10, 10, 0) 70%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-cal-box {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.contact-cal-box h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-cal-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Form Styles */
.contact-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group-checkbox {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-secondary, var(--text-dim));
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  accent-color: var(--accent-red);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label a {
  color: var(--accent-red);
  text-decoration: underline;
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-label .optional {
  color: var(--text-dim);
  font-weight: 400;
}

.form-input,
.form-textarea {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px var(--accent-red-dim);
  background-color: #161616;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

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

.form-footer {
  margin-top: 1.75rem;
}

.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ADE80;
}

.form-feedback.error {
  display: block;
  background-color: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.3);
  color: #FFA5A5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #060606;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 3rem;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 360px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-nav-col h5 {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--text-muted);
}

/* ==========================================================================
   SCROLL ANIMATIONS (Intersection Observer)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile-First Breakpoints)
   ========================================================================== */
@media (max-width: 1024px) {
  .problem-grid,
  .portfolio-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card {
    grid-template-columns: 60px 1fr;
    gap: 1.25rem;
  }
  
  .service-desc {
    grid-column: 1 / -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .problem-grid,
  .portfolio-grid,
  .trust-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
