/* ============================================
   HabSar - Agencia Técnica
   Estilos Globales
   ============================================ */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
/* Variables CSS */
:root {
  --color-primary: #fd8a43;
  --color-primary-hover: #e87a35;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-bg-light: #fafafa;
  --color-bg-gray: #f5f5f5;
  --color-text-dark: #1a1a1a;
  --color-text-gray: #666666;
  --color-blue: #0765e8;
  --color-border: #e5e5e5;

  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Inter", sans-serif;
  --max-width: 1200px;
  --header-height: 73px;
  --border-radius: 14px;
  --border-radius-lg: 24px;
  --transition: all 0.1s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: #0a0a0a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-hover) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-orange {
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-primary {
  position: relative;
  background: linear-gradient(135deg, #fd8a43 0%, #ff6b1a 50%, #ffaa70 100%);
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 13px;
  background: radial-gradient(
    circle 150px at var(--x, 50%) var(--y, 50%),
    rgba(255, 255, 255, 0.9),
    rgba(253, 138, 67, 0.6) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(253, 138, 67, 0.5);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 2px solid var(--color-text-dark);
}

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

.btn-dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-dark:hover {
  background-color: #333;
}

.btn-link-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  background: transparent;
  border: none;
  transition: var(--transition);
}

.btn-link-white:hover {
  opacity: 0.8;
}

/* Badge */
.badge {
  display: inline-flex;
  gap: 8px;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  margin: auto;
  width: fit-content;
  color: black;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
}

.badge svg {
  flex-shrink: 0;
}

.badges {
  display: inline-flex;
  gap: 6px;
  background-color: black;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 30px;
  width: fit-content;
  color: black;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
}

.badges svg {
  flex-shrink: 0;
}

.badge-orange {
  background-color: black;
  color: var(--color-white);
  border: none;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  height: var(--header-height);
  background-color: var(--color-white);
  width: 90%;
  border: 1px;
  max-width: 1200px;
  border-radius: 13px;
  z-index: 10001;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  position: absolute;
  left: 24px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 18px;
}

.logo-img {
  width: 36px;
  height: auto;
  border-radius: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-cta {
  position: absolute;
  right: 24px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-dark);
  position: relative;
}

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

.nav-link.has-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-link.has-dropdown::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: fixed;
  top: calc(17px + var(--header-height));
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 24px 32px;
  width: 100%;
  max-width: 1200px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: grid;
  grid-template-columns: 280px 280px 1fr 1fr;
  gap: 32px;
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown.active .nav-link.has-dropdown::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.dropdown-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--color-bg-light);
}

.dropdown-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.dropdown-item-content h5 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 2px;
}

.dropdown-item-content p {
  font-size: 12px;
  color: var(--color-text-gray);
  line-height: 1.3;
}

.dropdown-highlight {
  color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  overflow: hidden;
}

.dropdown-highlight2 {
  color: var(--color-white);
  border-radius: var(--border-radius);
  background-color: black;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  overflow: hidden;
}

.dropdown-highlight2:hover .dropdown-highlight-icon {
  transform: translate(2px, -2px);
}

.dropdown-highlight2 h4 {
  color: var(--color-white);
  position: relative;
  z-index: 1;
  font-size: 27px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.dropdown-highlight2 p {
  font-size: 15px;
  position: relative;
  z-index: 1;
  opacity: 0.8;
  line-height: 1.5;
  color: var(--color-white);
}

/* Letter Glitch Effect */
.letter-glitch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  overflow: hidden;
  z-index: 0;
  border-radius: var(--border-radius);
}

.letter-glitch-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.letter-glitch-outer-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 1) 100%
  );
}

.letter-glitch-center-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 60%
  );
}

#dropdown-highlight-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: var(--border-radius);
}

.dropdown-highlight-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  z-index: 1;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.dropdown-highlight:hover .dropdown-highlight-icon {
  transform: translate(2px, -2px);
}

.dropdown-highlight h4 {
  color: var(--color-white);
  position: relative;
  z-index: 1;
  font-size: 27px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.dropdown-highlight p {
  font-size: 15px;
  position: relative;
  z-index: 1;
  opacity: 0.8;
  line-height: 1.5;
  color: var(--color-white);
}

.dropdown-item-simple {
  display: block;
  padding: 8px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-dark);
  transition: var(--transition);
}

.dropdown-item-simple:hover {
  color: var(--color-primary);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 100px;
  background-color: #0a0a0a;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero.hero-c {
  min-height: 70vh;
}
.dro {
  background-color: black;
  width: 100%;

  height: 130px;
  border-radius: 13px;
}
#hero-canvas,
#about-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Highlighted grid cells */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.03);

  border-radius: 8px;
}

.hero-shape-1 {
  width: 60px;
  height: 180px;
  top: 80px;
  left: 10%;
}

.hero-shape-2 {
  width: 120px;
  height: 120px;
  top: 200px;
  right: 8%;
}

.hero-shape-3 {
  width: 60px;
  height: 120px;
  bottom: 100px;
  left: 18%;
}

.hero-shape-4 {
  width: 180px;
  height: 60px;
  top: 120px;
  right: 15%;
}

.hero-shape-5 {
  width: 60px;
  height: 240px;
  bottom: 60px;
  right: 5%;
}

.hero-shape-6 {
  width: 120px;
  height: 60px;
  top: 60%;
  left: 5%;
}

.hero .container {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  text-align: center;

  color: var(--color-white);
  padding: 80px 0;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline;

  margin-bottom: 24px;
}

.hero-badge .badge .badges {
  background-color: rgba(42, 42, 42, 0.882);
  border: 1px solid rgba(255, 255, 255, 0.585);
  color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.15;
  font-family: var(--font-serif);
}
.gradient-pink {
  background: linear-gradient(135deg, #fd8a43 0%, #ff6b1a 50%, #ffaa70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.font-light {
  font-weight: 300;
  color: #ffffff;
}

.hero h1 .gradient-pink,
.cta h2 .gradient-pink {
  background: linear-gradient(135deg, #fd8a43 0%, #ff6b1a 50%, #ffaa70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .gradient-gray {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.2) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 19px;
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-logos {
  margin-top: 60px;
  padding-top: 40px;
}

.hero-logos-label {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.hero-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-logos-grid img {
  height: 28px;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.hero-logos-grid img:hover {
  opacity: 1;
}

/* ============================================
   SOLUCIONES SECTION
   ============================================ */
.soluciones {
  padding: 100px 0;
  background-color: var(--color-white);
}

.soluciones .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.soluciones-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

.soluciones-content h2 {
  margin-bottom: 32px;
}

.soluciones-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.soluciones-item {
  display: flex;
  gap: 16px;
}

.soluciones-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.soluciones-item-icon svg {
  width: 14px;
  height: 14px;
  color: var(--color-white);
}

.soluciones-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.soluciones-item p {
  color: var(--color-text-gray);
  font-size: 15px;
}

/* ============================================
   PAIN POINTS SECTION
   ============================================ */
.pain-points {
  padding: 100px 0;
  background-color: #0a0a0a;
  position: relative;
  overflow: hidden;
}

#pain-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.pain-points-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.pain-points-header .badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.pain-points-header h2 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.pain-points-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
}

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  transition: var(--transition);
}

.pain-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
  transform: translateY(-5px);
}

.pain-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(253, 138, 67, 0.2),
    rgba(255, 107, 26, 0.1)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.pain-card h3 {
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 12px;
}

.pain-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .pain-points-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ============================================
   HUBSPOT PARTNER SECTION
   ============================================ */
.hubspot-partner {
  padding: 80px 0;
  background-color: var(--color-white);
}

.hubspot-partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;

  align-items: top;
}

.hubspot-partner-image {
  position: relative;
}

/* Blur Vignette Effect */
.blur-vignette {
  --radius: 24px;
  --inset: 10px;
  --transition-length: 100px;
  --blur: 15px;
  height: 620px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.blur-vignette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blur-vignette-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  mask-image: radial-gradient(
    ellipse at center,
    transparent calc(100% - var(--transition-length) - var(--inset)),
    black calc(100% - var(--inset))
  );
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    transparent calc(100% - var(--transition-length) - var(--inset)),
    black calc(100% - var(--inset))
  );
}

.testimonial-card {
  position: absolute;
  bottom: -40px;
  left: -20px;
  right: 60px;
  background: white;
  padding: 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-gray);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--color-text-dark);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--color-text-gray);
}

.testimonial-logo {
  height: 24px;
  width: auto;
}

.hubspot-partner-content {
  padding-left: 20px;
}

.partner-label {
  margin-top: 15px;
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-text-gray);
  margin-bottom: 12px;
}

.hubspot-partner-content h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 20px;
  color: var(--color-text-dark);
}

.hubspot-partner-content h2 .gradient-text {
  background: linear-gradient(135deg, #feae7c 0%, #ff5b02 100%);
  -webkit-background-clip: text;
  font-weight: 800;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hubspot-partner-content > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-gray);
  margin-bottom: 34px;
}

.partner-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text-dark);
  border: 1px solid var(--color-text-dark);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

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

.partner-stats {
  display: flex;
  gap: 20px;
}

.partner-stat {
  flex: 1;
  background: var(--color-bg-light);
  padding: 20px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.stat-text {
  font-size: 13px;
  color: var(--color-text-gray);
  line-height: 1.4;
}

/* ============================================
   INTEGRACIONES SECTION
   ============================================ */
.integraciones {
  padding: 100px 0;
  background-color: var(--color-white);
}

.integraciones .container {
  display: flex;
  flex-direction: column;
}

.integraciones-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.integraciones-content .badge {
  margin-bottom: 20px;
}

.integraciones-content h2 {
  margin-bottom: 20px;
}

.integraciones-content p {
  color: var(--color-text-gray);
  font-size: 16px;
  margin-bottom: 32px;
}

.integraciones-scroll {
  --gap: 3rem;
  --duration: 35s;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}

.integraciones-scroll {
  margin-top: 15px;
}

.integraciones-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: flowing-logos var(--duration) linear infinite;
}

/* Segunda fila va en dirección opuesta */
.integraciones-scroll:nth-child(3) .integraciones-track {
  animation: flowing-logos-reverse var(--duration) linear infinite;
}

.integraciones-track:hover {
  animation-play-state: paused;
}

@keyframes flowing-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - var(--gap) / 2));
  }
}

@keyframes flowing-logos-reverse {
  from {
    transform: translateX(calc(-50% - var(--gap) / 2));
  }
  to {
    transform: translateX(0);
  }
}

.integration-logo {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.integration-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.integration-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ============================================
   PROCESO SECTION
   ============================================ */
.proceso {
  padding: 100px 0;
  background-color: var(--color-white);
}

.proceso-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.proceso-header .badge {
  margin-bottom: 16px;
}

.proceso-header h2 {
  margin-bottom: 16px;
}

.proceso-header p {
  color: var(--color-text-gray);
  font-size: 18px;
}

.proceso-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.proceso-card {
  width: 480px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 29px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.proceso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

.proceso-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #fd8a43 0%, #ff6b1a 50%, #ffaa70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.proceso-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.proceso-card p {
  font-size: 14px;
  color: var(--color-text-gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .proceso-card {
    width: calc(50% - 12px);
  }
}

@media (max-width: 500px) {
  .proceso-card {
    width: 100%;
  }
}

/* ============================================
   CTA / CONTACTO SECTION
   ============================================ */
.cta {
  padding: 100px 0;
  background-color: #0a0a0a;
  position: relative;
  overflow: hidden;
}

#cta-canvas,
#cta-about-canvas,
#tech-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.tech-stack {
  position: relative;
  overflow: hidden;
}

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

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

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 32px;
}

.cta-content h2 span {
  color: var(--color-white);
}

.cta-content h2 {
  color: var(--color-white);
}

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

.cta-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.cta-list-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}

.cta-form {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 28px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.cta-form h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.cta-list li {
  font-size: 18px;
  color: white;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text-dark);
}

.form-group label span {
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  transition: var(--transition);
  background-color: var(--color-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(253, 138, 67, 0.1);
}

.phone-input {
  display: flex;
  gap: 8px;
}

.phone-input select {
  width: 70px;
  padding: 10px 6px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-white);
  font-size: 13px;
}

.phone-input input {
  flex: 1;
}

.form-submit {
  text-align: right;
  margin-top: 16px;
}

/* Form Checkbox */
.form-checkbox {
  margin-top: 12px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  position: relative;
  padding-left: 28px;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 2px;
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.checkbox-label:hover .checkmark {
  border-color: var(--color-primary);
}

.checkbox-label input:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-text {
  font-size: 13px;
  color: var(--color-text-dark);
  line-height: 1.4;
}

.checkbox-disclaimer {
  font-size: 11px;
  color: var(--color-text-gray);
  margin-top: 4px;
  padding-left: 28px;
  line-height: 1.4;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  position: static;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--color-text-gray);
  font-size: 14px;
  margin-bottom: 24px;
}

.footer-brand .btn {
  width: 100%;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-gray);
  margin-top: 16px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-gray);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.footer-copyright {
  font-size: 14px;
  color: var(--color-text-gray);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dark);
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--color-text-gray);
}

.footer-legal a:hover {
  color: var(--color-primary);
}

/* ============================================
   HUBSPOT PAGE
   ============================================ */
.hero-hubspot {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #0a0a0a;
  min-height: 80vh;
}

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

.hero-hubspot .badge {
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0px;
}

.hero-hubspot h1 {
  max-width: 900px;
  font-weight: 800;
  margin: 0 auto 24px;
  color: var(--color-white);
}

.hero-hubspot .hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto 32px;
}

/* Hero Development - with letter glitch background */
.hero-development {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #000;
  min-height: 70vh;
}

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

.hero-development .badge {
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0px;
}

.hero-development h1 {
  max-width: 900px;
  font-weight: 800;
  margin: 0 auto 24px;
  color: var(--color-white);
}

.hero-development .hero-subtitle {
  color: #fff;
  max-width: 700px;
  margin: 0 auto 32px;
}

.hero-development .hero-badge .badge {
  color: #fff;
}

.letter-glitch-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.letter-glitch-hero canvas {
  width: 100% !important;
  height: 100% !important;
}

/* Grid Motion Background */
.grid-motion-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.grid-motion-intro {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-motion-container {
  gap: 1rem;
  flex: none;
  position: relative;
  width: 150vw;
  height: 150vh;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  grid-template-columns: 100%;
  transform: rotate(-15deg);
  transform-origin: center center;
  z-index: 2;
}

.grid-motion-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(7, 1fr);
  will-change: transform;
}

.grid-motion-item {
  position: relative;
}

.grid-motion-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.grid-motion-item-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.6;
}

.grid-motion-item-content {
  padding: 1rem;
  text-align: center;
  z-index: 1;
}

/* Dot Grid Background */
.dot-grid-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.dot-grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 4 Hubs Section */
.hubs {
  padding: 60px 0px 100px 0px;
  background-color: var(--color-white);
}

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

.hubs h2 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hubs-subtitle {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 19px;
}

.hubs-wrapper {
  background-color: var(--color-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.hubs-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 20px 6px;
  max-width: 500px;
  margin: 0 auto;
}

.hub-tab {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  background: none;
  color: var(--color-white);
  transition: var(--transition);
}

.hub-tab.active {
  background-color: #ffcba4;
  color: var(--color-text-dark);
}

.hub-tab:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.2);
}

.hub-content {
  background-color: #ffdcc7;
  border-radius: 0px 0px 0px 0px;
  padding: 60px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 60px;
  align-items: start;
  justify-content: center;
  text-align: left;
}

.hub-text h3 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hub-text > p {
  color: var(--color-text-black);
  font-size: 18px;
  margin-bottom: 24px;
}

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

.hub-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
}

.hub-feature svg,
.hub-feature img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.hub-image {
  position: relative;
  height: 350px;
  display: flex;
  justify-content: center;
}

.hub-image img {
  border-radius: var(--border-radius-lg);
  height: 100%;
  width: auto;
  object-fit: contain;
}

.hub-stat {
  position: absolute;
  bottom: -20px;
  right: 40px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--border-radius);
  text-align: center;
}

.hub-stat-label {
  font-size: 12px;
  opacity: 0.9;
}

.hub-stat-value {
  font-size: 32px;
  font-weight: 700;
}

/* Casos de Uso */
.casos {
  padding: 100px 0;
  background-color: #0a0a0a;
  position: relative;
  overflow: hidden;
}

#casos-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.casos .container {
  text-align: left;
  position: relative;
  z-index: 10;
}

.casos-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.casos-header-text {
  max-width: 600px;
}

.casos-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.casos h2 {
  margin-bottom: 16px;
  font-size: 52px;
  color: var(--color-white);
}

.casos-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.6;
}

.casos-nav {
  display: flex;
  gap: 8px;
}

.casos-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.casos-nav-btn svg {
  width: 20px;
  height: 20px;
}

.casos-slider {
  overflow: hidden;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
}

.casos-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  width: max-content;
  transition: transform 0.4s ease;
}

.caso-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  text-align: left;
  width: 540px;
  flex-shrink: 0;
}

.caso-badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.caso-card h3 {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text-dark);
  line-height: 1.3;
}

.caso-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.caso-features {
  display: flex;

  flex-direction: column;
  gap: 10px;
}

.caso-feature {
  font-size: 15px;
  color: var(--color-text-dark);
  line-height: 1.5;
}

.casos-cta {
  text-align: center;
  margin-top: 20px;
}

/* Ventajas */
.ventajas {
  padding: 100px 0;
  background-color: var(--color-black);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  border-radius: var(--border-radius-lg);
  margin: 0 24px;
}

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

.ventajas .badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.ventajas h2 {
  color: var(--color-white);
  margin-bottom: 60px;
}

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

.ventaja-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  text-align: left;
}

.ventaja-card-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ventaja-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

.ventaja-card p {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
}

/* Proceso */
.proceso {
  padding: 100px 0;
  background-color: var(--color-bg-light);
}

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

.proceso .badge {
  margin-bottom: 20px;
}

.proceso h2 {
  margin-bottom: 16px;
  color: var(--color-text-dark);
}

.proceso-subtitle {
  color: var(--color-text-gray);
  max-width: 670px;
  margin: 0 auto 60px;
}

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.proceso-grid.grid-2x2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.proceso-card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.proceso-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.proceso-card-image {
  height: 130px;

  position: relative;
  overflow: hidden;
}

.proceso-card-image img {
  width: 100%;

  height: 100%;
  object-fit: cover;
}

.proceso-card-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 56px;
  height: 56px;
  background-color: rgba(30, 30, 30, 0.918);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proceso-card-icon svg {
  width: 27px;
  height: 27px;
  color: var(--color-primary);
}

.proceso-card-content {
  padding: 24px 24px 28px;
}

.proceso-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.proceso-card p {
  font-size: 15px;
  color: var(--color-text-gray);
  line-height: 1.6;
}

/* ============================================
   SABIAS QUE SECTION
   ============================================ */
.sabias-que {
  padding: 80px 0;
  background-color: var(--color-white);
  text-align: center;
}

.sabias-que h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.4;
  margin-bottom: 40px;
  color: var(--color-text-dark);
}

.sabias-que h2 .highlight {
  background-color: #d9d9d9;
  padding: 4px 8px;
  display: inline;
}

.sabias-que-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-outline {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 2px solid var(--color-primary);
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* ============================================
   QUE HACER CON HUBSPOT SECTION
   ============================================ */
.que-hacer {
  padding: 100px 0;
  background-color: var(--color-white);
}

.que-hacer h2 {
  text-align: center;
  margin-bottom: 60px;
  color: var(--color-text-dark);
}

.que-hacer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.que-hacer-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}

.que-hacer-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.que-hacer-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background-color: var(--color-bg-light);
  height: 180px;
}

.que-hacer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.que-hacer-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.que-hacer-card p {
  font-size: 14px;
  color: var(--color-text-gray);
  line-height: 1.5;
}

.que-hacer-card-small {
  grid-column: span 1;
}

.que-hacer-card-wide {
  grid-column: span 2;
}

@media (max-width: 992px) {
  .que-hacer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .que-hacer-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .que-hacer-grid {
    grid-template-columns: 1fr;
  }

  .que-hacer-card-wide {
    grid-column: span 1;
  }
}

/* ============================================
   SOBRE NOSOTROS PAGE
   ============================================ */
.hero-about {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0a0a0a;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-about .container {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
}

/* Squares Background */
.squares-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.squares-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Particles Flow Background */
.particles-flow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.particles-flow-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-about h1 {
  font-size: 72px;
  margin-bottom: 16px;
}

.hero-about h1 span {
  color: var(--color-primary);
}

.hero-about p {
  font-size: 18px;
  opacity: 0.9;
}

.about-content {
  background-color: white;
  padding: 100px 0;
}

.about-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h2 {
  margin-bottom: 32px;
}

.about-text p {
  color: var(--color-text-gray);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.about-text strong {
  color: var(--color-primary);
}

.about-boxes {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-box {
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius-lg);
  padding: 32px;
}

.about-box h3 {
  font-size: 20px;
  margin-bottom: 16px;
  text-align: center;
}

.about-box p {
  color: var(--color-text-gray);
  text-align: center;
  font-size: 15px;
}

.about-stats {
  background-color: #ffffff;
  padding: 0px 0px 80px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.about-stat-item {
  text-align: center;
}

.about-stat-number {
  display: block;
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #fd8a43 0%, #ff6b1a 50%, #ffaa70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.about-stat-label {
  color: rgba(0, 0, 0, 0.89);
  font-size: 17px;
}

@media (max-width: 768px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .about-stat-number {
    font-size: 36px;
  }
}

/* ============================================
   SERVICE PAGES (Integraciones, Migraciones, etc.)
   ============================================ */
.hero-service {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-service-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.hero-service-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.hero-service .container {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
}

.hero-service .badge {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero-service h1 {
  font-size: 56px;
  margin-bottom: 20px;
}

.hero-service p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Benefits Section */
.service-benefits {
  padding: 49px 0;
  background-color: var(--color-bg-light);
}

.service-benefits-header {
  text-align: center;
  margin-bottom: 60px;
}

.service-benefits-header h2 {
  margin-bottom: 16px;
}

.service-benefits-header p {
  color: var(--color-text-gray);
  max-width: 700px;
  margin: 0 auto;
}

.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-benefit-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.service-benefit-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: #ffe0cc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
}

.service-benefit-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-benefit-card p {
  color: var(--color-text-gray);
  font-size: 15px;
  line-height: 1.7;
}

/* Service Cases Section */
.service-casos {
  padding: 100px 0;
  background-color: var(--color-white);
}

.service-casos .casos-header {
  margin-bottom: 48px;
}

.service-casos .casos-label {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.service-casos h2 {
  margin-bottom: 16px;
}

.service-casos .casos-subtitle {
  color: var(--color-text-gray);
  max-width: 600px;
}

.service-casos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-caso-card {
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border);
}

.service-caso-card .caso-badge {
  display: inline-block;
  background-color: #ffe0cc;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-caso-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.service-caso-card h4 {
  font-size: 14px;
  color: var(--color-text-gray);
  margin-bottom: 12px;
}

.service-caso-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-caso-feature {
  font-size: 14px;
  color: var(--color-text-gray);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .service-benefits-grid,
  .service-casos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-service h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .service-benefits-grid,
  .service-casos-grid {
    grid-template-columns: 1fr;
  }

  .hero-service h1 {
    font-size: 36px;
  }

  .hero-service {
    min-height: 60vh;
  }
}

/* ============================================
   CONTACTO PAGE
   ============================================ */
.contacto-page {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  min-height: 100vh;
}

.contacto-page .container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: center;
}

.contacto-page h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.contacto-page > .container > p {
  color: var(--color-white);
  margin-bottom: 48px;
}

.contacto-form {
  background-color: var(--color-white);
  text-align: left;
  border-radius: 16px;
  padding: 40px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .dropdown-menu {
    min-width: 500px;
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .header {
    width: 100%;
    max-width: 100%;
    top: 0;
    border-radius: 0;
    position: fixed;
  }

  .mobile-menu-btn {
    display: flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    max-width: none !important;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: center;
    padding-top: calc(var(--header-height) + 30px);
    border-radius: 0;
    transform: translateX(110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999 !important;
    visibility: hidden;
  }

  .nav.active {
    transform: translateX(0) !important;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    gap: 0;
    order: 1;
    position: relative;
    z-index: 2;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-list > li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
  }

  .nav-link.has-dropdown::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-text-dark);
    border-bottom: 2px solid var(--color-text-dark);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
  }

  .dropdown.active .nav-link.has-dropdown::after {
    transform: rotate(-135deg);
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    left: 0 !important;
    right: 0 !important;
    min-width: 100%;
    width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    padding: 0 12px;
    display: grid;
    background: var(--color-bg-light);
    border-radius: 12px;
    margin-bottom: 8px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.3s ease;
  }

  .dropdown.active .dropdown-menu {
    max-height: 2000px;
    opacity: 1;
    padding: 12px;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.3s ease;
  }

  .dropdown:hover .dropdown-menu {
    max-height: 0;
    opacity: 0;
    padding: 0 12px;
  }

  .dropdown.active:hover .dropdown-menu {
    max-height: 2000px;
    opacity: 1;
    padding: 12px;
  }

  .dropdown-highlight,
  .dropdown-highlight2 {
    padding: 16px;
    border-radius: 8px;
    min-height: auto;
    background: linear-gradient(135deg, #fd8a43 0%, #ff6b1a 50%, #e87a35 100%) !important;
    width: 100%;
    box-sizing: border-box;
  }

  .dropdown-highlight2 {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 50%, #222 100%) !important;
  }

  .dropdown-highlight .letter-glitch,
  .dropdown-highlight2 .letter-glitch,
  .dropdown-highlight #dropdown-highlight-canvas {
    display: none;
  }

  .dropdown-highlight h4,
  .dropdown-highlight2 h4 {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.3;
    word-wrap: break-word;
  }

  .dropdown-highlight h4 span,
  .dropdown-highlight2 h4 span {
    display: inline;
  }

  .dropdown-highlight p,
  .dropdown-highlight2 p {
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
  }

  .dropdown-highlight-icon {
    width: 24px;
    height: 24px;
    top: 12px;
    right: 12px;
  }

  .dropdown-section {
    width: 100%;
    box-sizing: border-box;
  }

  .dropdown-item {
    width: 100%;
  }

  .dropdown-section {
    padding: 12px 16px;
  }

  .dropdown-section h4 {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .dropdown-item {
    padding: 10px 0;
  }

  .dropdown-item-icon {
    width: 32px;
    height: 32px;
  }

  .dropdown-item-content h5 {
    font-size: 14px;
  }

  .dropdown-item-content p {
    font-size: 12px;
  }

  .dropdown-item-simple {
    padding: 10px 0;
    font-size: 14px;
  }

  .nav-cta {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 30px auto 20px;
    text-align: center;
    width: fit-content !important;
    max-width: none;
    display: inline-flex !important;
    order: 10;
    padding: 12px 24px;
    height: auto;
    z-index: 1;
    flex-shrink: 0;
    flex-grow: 0;
    align-self: center;
  }

  /* Body scroll lock when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Mobile menu overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .soluciones .container,
  .cta .container,
  .hub-content,
  .about-content .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hubspot-partner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hubspot-partner-image {
    order: 2;
  }

  .hubspot-partner-content {
    order: 1;
  }

  .partner-stats {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .partner-stat {
    width: 100%;
    max-width: 350px;
  }

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

  .integraciones-track {
    gap: 24px;
  }

  .integration-logo {
    width: 60px;
    height: 60px;
  }

  .integration-logo img {
    width: 36px;
    height: 36px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .hubs-tabs {
    flex-wrap: wrap;
  }

  .hub-tab {
    padding: 10px 20px;
    font-size: 14px;
  }

  .ventajas-grid,
  .proceso-grid {
    grid-template-columns: 1fr;
  }

  .casos-header {
    flex-direction: column;
    gap: 20px;
  }

  .casos-nav {
    align-self: flex-start;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .servicios,
  .ventajas {
    margin: 0 16px;
    border-radius: var(--border-radius);
  }

  .integraciones {
    padding: 60px 0;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

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

  .integraciones-logos {
    grid-template-columns: repeat(4, 1fr);
  }

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

/* ========================================
   Form Notifications
   ======================================== */
.form-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 400px;
}

.form-notification.show {
  transform: translateX(0);
}

.form-notification-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.form-notification-error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.notification-text {
  font-size: 14px;
  line-height: 1.4;
}

/* ========================================
   Legal Pages (Terms, Privacy, Security)
   ======================================== */

.legal-page {
  padding: 80px 0;
  background-color: #fff;
}

.legal-updated {
  color: var(--color-text-gray);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text-dark);
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}

.legal-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-gray);
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-gray);
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-primary-dark);
}

.legal-content strong {
  color: var(--color-text-dark);
  font-weight: 600;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 60px 0;
  }

  .legal-content h2 {
    font-size: 20px;
  }
}
