/* ═══════════════════════════════════════════
   GENIA LABS — styles.css
   ═══════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
  --blue: #366E91;
  --silver: #A1B6C5;
  --carbon: #4A4A4A;
  --grey: #8C8C8C;
  --white: #FFFFFF;

  --blue-light: #4a8ab5;
  --blue-dark: #255170;
  --bg-section: #F7F9FB;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(54, 110, 145, 0.12);
  --shadow-lg: 0 12px 48px rgba(54, 110, 145, 0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--carbon);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography helpers ── */
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-light {
  background: linear-gradient(135deg, var(--silver), #e3edf4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-label.light {
  color: var(--silver);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--carbon);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(54, 110, 145, 0.35);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(54, 110, 145, 0.45);
}

.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow);
}

.btn-light:hover {
  background: var(--silver);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 8px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(54, 110, 145, 0.1);
  padding: 6px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  display: flex;
}

.nav-logo-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 0;
  margin-top: -40px;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--carbon);
  letter-spacing: 0.05em;
}

.logo-accent {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--carbon);
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(54, 110, 145, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-2px);
}

.nav-acceder {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue) !important;
  background: rgba(54,110,145,0.08);
  border: 1.5px solid rgba(54,110,145,0.3);
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-acceder:hover {
  background: var(--blue);
  color: var(--white) !important;
  border-color: var(--blue);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-right .lang-selector {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,0.25);
}

.navbar.scrolled .nav-right .lang-selector {
  border-left-color: rgba(54,110,145,0.2);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--carbon);
  border-radius: 2px;
  transition: var(--transition);
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--blue);
  top: -200px;
  right: -100px;
  animation: float1 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--silver);
  bottom: -100px;
  left: -100px;
  animation: float2 10s ease-in-out infinite;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--blue);
  top: 40%;
  left: 40%;
  animation: float1 12s ease-in-out infinite reverse;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.05);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-20px, 20px) scale(1.08);
  }
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(54, 110, 145, 0.12), rgba(161, 182, 197, 0.15));
  border: 1px solid rgba(54, 110, 145, 0.25);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--carbon);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--grey);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-desc strong {
  color: var(--blue);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--grey);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(54, 110, 145, 0.2);
}

/* Hero visual */
.hero-visual {
  flex: 1;
  max-width: 480px;
}

.ai-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  border: 1px solid rgba(161, 182, 197, 0.3);
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.ai-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(161, 182, 197, 0.2);
}

.ai-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ai-dot.green {
  background: #34C759;
}

.ai-dot.yellow {
  background: #FF9F0A;
}

.ai-dot.red {
  background: #FF3B30;
}

.ai-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--grey);
  margin-left: 4px;
}

.ai-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 88%;
}

.msg.bot {
  background: var(--bg-section);
  color: var(--carbon);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg.user {
  background: var(--blue);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ai-typing {
  display: flex;
  gap: 5px;
  padding: 12px 16px;
  width: fit-content;
}

.ai-typing .dot {
  width: 8px;
  height: 8px;
  background: var(--silver);
  border-radius: 50%;
  animation: typeDot 1.4s ease-in-out infinite;
}

.ai-typing .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.ai-typing .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typeDot {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
.about {
  background: var(--bg-section);
  padding: 100px 0;
  text-align: center;
}

.about .section-desc {
  margin: 0 auto 48px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  text-align: left;
}

.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(161, 182, 197, 0.2);
}

.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.pillar h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--carbon);
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--grey);
}

/* ════════════════════════════════
   SERVICES
════════════════════════════════ */
.services {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(161, 182, 197, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--silver));
}

.service-card.featured::before {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(54, 110, 145, 0.1);
  color: var(--blue);
  margin-bottom: 20px;
}

.service-tag.product {
  background: rgba(161, 182, 197, 0.2);
  color: #5580a0;
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--carbon);
  margin-bottom: 14px;
}

.service-card p {
  color: var(--grey);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-card p strong {
  color: var(--blue);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--carbon);
}

.service-cta {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  transition: var(--transition);
}

.service-cta:hover {
  color: var(--blue-dark);
  letter-spacing: 0.02em;
}

/* ════════════════════════════════
   MCP
════════════════════════════════ */
.mcp {
  padding: 0;
}

.mcp-bg {
  background: linear-gradient(145deg, #1e4a66 0%, #255170 40%, #366E91 100%);
  padding: 100px 0;
}

.mcp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mcp-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.mcp-desc strong {
  color: var(--silver);
}

.mcp-desc em {
  color: #d0e0ea;
  font-style: normal;
  font-weight: 600;
}

.mcp-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.mcp-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.mcp-feat-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.mcp-feat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.mcp-feat p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* MCP Diagram */
.mcp-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mcp-diagram {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-node {
  position: absolute;
  z-index: 2;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 40px rgba(161, 182, 197, 0.4);
  animation: pulse 3s ease-in-out infinite;
}

.center-node small {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(161, 182, 197, 0.3);
  }

  50% {
    box-shadow: 0 0 60px rgba(161, 182, 197, 0.6);
  }
}

.mcp-protocol-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--silver);
  letter-spacing: 0.15em;
  background: var(--blue-dark);
  padding: 3px 10px;
  border-radius: 20px;
  top: calc(50% + 50px);
}

.mcp-ring {
  position: absolute;
  inset: 0;
}

.mcp-ring .small-node {
  position: absolute;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.mcp-ring .small-node:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.mcp-ring .small-node small {
  font-family: var(--font-head);
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

/* Position nodes in a circle */
.mcp-ring .small-node:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.mcp-ring .small-node:nth-child(2) {
  top: 18%;
  right: 4%;
}

.mcp-ring .small-node:nth-child(3) {
  bottom: 18%;
  right: 4%;
}

.mcp-ring .small-node:nth-child(4) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.mcp-ring .small-node:nth-child(5) {
  bottom: 18%;
  left: 4%;
}

.mcp-ring .small-node:nth-child(6) {
  top: 18%;
  left: 4%;
}

/* ════════════════════════════════
   CASES
════════════════════════════════ */
.cases {
  padding: 100px 0;
  background: var(--bg-section);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.case-card.main-case {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(161, 182, 197, 0.25);
  position: relative;
  overflow: hidden;
}

.case-card.main-case::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--silver));
}

.case-logo-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.case-logo-icon {
  font-size: 2.8rem;
}

.case-company {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--carbon);
}

.case-sector {
  font-size: 0.85rem;
  color: var(--grey);
  font-weight: 600;
}

.case-quote {
  font-size: 1rem;
  color: var(--carbon);
  line-height: 1.8;
  border-left: 4px solid var(--blue);
  padding-left: 20px;
  margin-bottom: 36px;
  font-style: italic;
}

.case-quote strong {
  color: var(--blue);
  font-style: normal;
}

.case-metrics {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--grey);
  font-weight: 600;
  max-width: 110px;
}

.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(54, 110, 145, 0.08);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
}

.case-side {
  display: flex;
  flex-direction: column;
}

.case-await {
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}

.await-icon {
  font-size: 2.4rem;
}

.case-await h4 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

.case-await p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ════════════════════════════════
   CONTACT
════════════════════════════════ */
.contact {
  padding: 0;
}

.contact-bg {
  background: linear-gradient(145deg, #1e4a66 0%, #366E91 100%);
  padding: 100px 0;
}

.contact-bg .section-desc {
  max-width: none;
  margin-bottom: 0;
}

.contact-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 56px;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.wapp-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.wapp-icon {
  display: flex;
}

.wapp-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.wapp-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
}

.wapp-note {
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.wapp-note strong {
  color: rgba(255, 255, 255, 0.75);
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: #1a2e3a;
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--silver);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ════════════════════════════════
   FLOATING WHATSAPP
════════════════════════════════ */
.float-wapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: wobble 4s ease-in-out infinite 2s;
}

.float-wapp:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.6);
}

@keyframes wobble {

  0%,
  90%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  93% {
    transform: scale(1.1) rotate(-8deg);
  }

  96% {
    transform: scale(1.1) rotate(8deg);
  }
}

/* ════════════════════════════════
   PLANES / PRICING
════════════════════════════════ */
.planes {
  padding: 100px 0;
  background: var(--bg-section);
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(161, 182, 197, 0.2);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.plan-card.plan-featured {
  background: linear-gradient(160deg, #1e4a66 0%, #255170 50%, #366E91 100%);
  border-color: transparent;
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(54, 110, 145, 0.3);
}

.plan-card.plan-featured:hover {
  transform: scale(1.04) translateY(-8px);
}

.plan-popular {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFD60A;
  margin-bottom: 12px;
}

.plan-badge {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--carbon);
  margin-bottom: 20px;
}

.plan-featured .plan-badge {
  color: var(--white);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}

.price-currency {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
}

.plan-featured .price-currency {
  color: var(--silver);
}

.price-amount {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--carbon);
  line-height: 1;
}

.plan-featured .price-amount {
  color: var(--white);
}

.price-period {
  font-size: 0.88rem;
  color: var(--grey);
  font-weight: 600;
}

.plan-featured .price-period {
  color: rgba(255, 255, 255, 0.6);
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(161, 182, 197, 0.2);
}

.plan-featured .plan-desc {
  color: rgba(255, 255, 255, 0.65);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  flex: 1;
}

.plan-features li {
  font-size: 0.88rem;
  color: var(--carbon);
}

.plan-featured .plan-features li {
  color: rgba(255, 255, 255, 0.85);
}

.plan-features li.disabled {
  color: var(--grey);
  opacity: 0.5;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.plan-btn-primary {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.plan-btn-primary:hover {
  background: #e8f2f8;
  transform: translateY(-2px);
}

.plan-btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.plan-btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Acceder button in navbar */
.nav-acceder {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(54, 110, 145, 0.3) !important;
  border: none !important;
}

.nav-acceder::after {
  display: none !important;
}

.nav-acceder:hover {
  opacity: 0.9 !important;
  transform: translateY(-2px) !important;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding-top: 100px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
  }

  .mcp-inner {
    grid-template-columns: 1fr;
  }

  .mcp-visual {
    display: none;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
    z-index: 200;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .case-metrics {
    gap: 16px;
  }

  .hero-stats {
    gap: 16px;
  }
}