/* ================================
  GLOBAL STYLES & VARIABLES
   ================================ */

:root {
  --bg-dark: #050507;
  --bg-purple: #2a063f;
  --accent-pink: #ff5cf4;
  --accent-blue: #4cc9ff;
  --text-main: #ffffff;
  --text-muted: #b8b8c2;
  --font-body: 'Manrope', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --tracking-tight: -0.03em;
  --tracking-wide: 0.18em;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-main);
  background: transparent;
  overflow-x: hidden;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-tight);
  line-height: 1.08;
  font-weight: 700;
  text-wrap: balance;
}

p,
li,
label,
input,
textarea,
button,
a {
  font-family: var(--font-body);
}

html {
  background-color: var(--bg-dark);
}

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

/* ================================
   BACKGROUND
   ================================ */

.fondo-global {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1200px 700px at 85% 18%, rgba(58, 11, 92, 0.92) 0%, rgba(58, 11, 92, 0.52) 42%, rgba(5, 5, 7, 0.96) 78%),
    linear-gradient(180deg, #160326 0%, #050507 100%);
  background-size: cover;
  background-repeat: no-repeat;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(54px);
  opacity: 0.28;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.ambient-glow-a {
  width: min(56vw, 820px);
  height: min(56vw, 820px);
  top: -16%;
  right: -14%;
  background: radial-gradient(circle at 32% 38%, rgba(156, 96, 255, 0.5) 0%, rgba(98, 45, 196, 0.26) 42%, rgba(18, 10, 46, 0) 75%);
}

.ambient-glow-b {
  width: min(42vw, 620px);
  height: min(42vw, 620px);
  bottom: -12%;
  left: -10%;
  background: radial-gradient(circle at 58% 44%, rgba(72, 220, 255, 0.42) 0%, rgba(26, 100, 180, 0.22) 45%, rgba(7, 16, 36, 0) 76%);
}

.ambient-glow-c {
  width: min(34vw, 500px);
  height: min(34vw, 500px);
  top: 34%;
  left: 28%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 88, 222, 0.25) 0%, rgba(139, 40, 133, 0.14) 46%, rgba(14, 8, 26, 0) 78%);
}

@media (max-width: 768px) {
  .ambient-glow {
    filter: blur(40px);
    opacity: 0.24;
  }
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.07em;
}

.logo span {
  color: var(--accent-pink);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  font-size: 13px;
}

nav li {
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

nav li a {
  color: inherit;
  text-decoration: none;
  display: block;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav li a:hover {
  color: var(--text-main);
}

nav li::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav li:hover::before {
  transform: scaleX(1);
}

nav li.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-blue));
}

.cta {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #000;
}

/* ================================
   BUTTONS
   ================================ */

.btn {
  padding: 14px 26px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.about-extended-subtitle,
.clients-subtitle,
.services-subtitle,
.whychoose-left h4,
.process-content h4,
.process-intro-content h4,
.cta-final-content h5,
.home-section-header h5,
.calendar-page-header h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.about-extended-title,
.clients-title,
.services-title,
.comparison-title,
.hero-clients-content h1,
.clients-cta-content h2,
.process-content h3,
.process-intro-content h3,
.cta-final-content h2,
.home-redesign-left h1,
.home-section-header h2,
.home-cta-inner h2,
.calendar-page-header h1 {
  letter-spacing: var(--tracking-tight);
  line-height: 1.03;
}

.home-redesign-left h1 {
  font-size: clamp(44px, 6.4vw, 74px);
}

.home-section-header h2 {
  font-size: clamp(34px, 5.2vw, 56px);
}

.about-extended-description,
.clients-description,
.services-intro,
.hero-clients-content p,
.client-project,
.process-description,
.home-redesign-left p,
.home-cta-inner p,
.calendar-page-header p {
  line-height: 1.78;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  color: #000;
  will-change: transform, box-shadow;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 92, 244, 0.3);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  will-change: transform, background-color;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.cta-button {
  margin-top: 16px;
  display: inline-block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 100px;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 32px;
  border-radius: 12px;
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
  display: flex;
  flex-direction: column;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 92, 244, 0.3);
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(255, 92, 244, 0.12);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 92, 244, 0.1), rgba(76, 201, 255, 0.1));
  border-radius: 12px;
  margin-bottom: 24px;
  color: var(--accent-pink);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(255, 92, 244, 0.2), rgba(76, 201, 255, 0.2));
  transform: scale(1.15);
}

.service-icon svg,
.service-icon img {
  width: 36px;
  height: 36px;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.service-description {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-tag {
  background: rgba(255, 92, 244, 0.08);
  border: 1px solid rgba(255, 92, 244, 0.2);
  color: var(--accent-pink);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ================================
   ABOUT SECTION (EXTENDED)
   ================================ */

.about-extended {
  padding: 140px 80px;
  background: transparent;
}

.about-extended-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-extended-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease-out;
}

.about-extended-subtitle {
  color: var(--text-muted);
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}

.about-extended-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--text-main);
}

.about-extended-description {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.about-extended-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 28px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.pillar-card:nth-child(1) { animation-delay: 0.1s; }
.pillar-card:nth-child(2) { animation-delay: 0.2s; }
.pillar-card:nth-child(3) { animation-delay: 0.3s; }
.pillar-card:nth-child(4) { animation-delay: 0.4s; }

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 92, 244, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 92, 244, 0.1);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 92, 244, 0.1), rgba(76, 201, 255, 0.1));
  border-radius: 12px;
  color: var(--accent-pink);
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
  background: linear-gradient(135deg, rgba(255, 92, 244, 0.2), rgba(76, 201, 255, 0.2));
  transform: scale(1.1);
}

.pillar-icon svg {
  width: 28px;
  height: 28px;
}

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

.pillar-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.about-extended-cta {
  background: linear-gradient(90deg, rgba(5, 5, 7, 0.4) 0%, rgba(42, 6, 63, 0.4) 100%);
  border: 1px solid rgba(255, 92, 244, 0.2);
  padding: 56px 48px;
  border-radius: 16px;
  text-align: center;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.about-extended-cta h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.about-extended-cta p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ================================
   SECCIÓN CLIENTES Y PROYECTOS
   ================================ */

.hero-clients {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 80px;
  background: transparent;
}

.hero-clients-content {
  max-width: 800px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.hero-clients-content h1 {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--text-main);
}

.hero-clients-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

.clients {
  padding: 140px 80px;
  background: transparent;
}

.clients-container {
  max-width: 1200px;
  margin: 0 auto;
}

.clients-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease-out;
}

.clients-subtitle {
  color: var(--text-muted);
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}

.clients-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--text-main);
}

.clients-description {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.clients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.client-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: 12px;
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.client-card:nth-child(1) { animation-delay: 0.1s; }
.client-card:nth-child(2) { animation-delay: 0.15s; }
.client-card:nth-child(3) { animation-delay: 0.2s; }
.client-card:nth-child(4) { animation-delay: 0.25s; }
.client-card:nth-child(5) { animation-delay: 0.3s; }
.client-card:nth-child(6) { animation-delay: 0.35s; }
.client-card:nth-child(7) { animation-delay: 0.4s; }
.client-card:nth-child(8) { animation-delay: 0.45s; }

.client-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 92, 244, 0.3);
  transform: translateX(8px);
  box-shadow: 0 16px 32px rgba(255, 92, 244, 0.08);
}

.client-logo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 92, 244, 0.08), rgba(76, 201, 255, 0.08));
  border-radius: 12px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.client-card:hover .client-logo {
  background: linear-gradient(135deg, rgba(255, 92, 244, 0.12), rgba(76, 201, 255, 0.12));
}

.logo-placeholder {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-pink);
  text-align: center;
  letter-spacing: 1px;
}

.logo-image {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 14px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.client-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.client-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.client-project {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.client-services {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.service-badge {
  background: rgba(76, 201, 255, 0.1);
  border: 1px solid rgba(76, 201, 255, 0.2);
  color: var(--accent-blue);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CTA CLIENTES */
.clients-cta {
  padding: 100px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.clients-cta-content {
  max-width: 700px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.clients-cta-content h2 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--text-main);
}

.clients-cta-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ================================
   SECCIÓN POR QUÉ ELEGIRNOS
   ================================ */

.whychoose {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 100vh;
  align-items: stretch;
  background: transparent;
}

.whychoose-left {
  background: transparent;
  padding: 120px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whychoose-left h4 {
  color: var(--text-muted);
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
}

.whychoose-right {
  background: linear-gradient(90deg, rgba(5, 5, 7, 0.5) 0%, rgba(42, 6, 63, 0.6) 100%);
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
}

.whychoose-items {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.whychoose-items:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.whychoose-items h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.whychoose-items p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ================================
   PROCESS SECTION
   ================================ */

.process {
  position: relative;
  padding: 180px 80px;
  overflow: visible;
}

.process::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -160px;
  height: 200px;
  box-shadow: inset 0 -60px 60px rgba(5, 5, 7, 0.75);
  pointer-events: none;
  z-index: 0;
}

.process-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.process-content h4 {
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.process-content h3 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1;
}

.process-description {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 50px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.process-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 60px;
}

.process-text h5 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}

.process-footer {
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
  text-align: center;
}

.process-intro-content h4 {
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
}

.process-intro-content h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.05;
}

.process-intro-content .process-description {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.mini-process-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  margin-bottom: 18px;
}

.mini-process-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.mini-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  min-width: 36px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mini-text strong {
  display: block;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.mini-desc {
  color: var(--text-muted);
  margin: 0;
  padding-left: 6px;
}

.process-note {
  color: var(--text-muted);
  margin-top: 8px;
}

/* ================================
   CTA FINAL SECTION
   ================================ */

.cta-final {
  padding: 180px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.cta-final-content {
  max-width: 600px;
  text-align: center;
}

.cta-final-content h5 {
  letter-spacing: 4px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.cta-final-content h2 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1;
}

.cta-final-content > p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ================================
   FOOTER
   ================================ */

.footer {
  background: rgba(5, 5, 7, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 80px 30px;
  color: var(--text-main);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--accent-pink);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-section h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-pink);
}

.contact-list {
  gap: 12px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
}

/* ================================
   SERVICES PAGE SECTION
   ================================ */

.services-page {
  padding: 140px 80px;
  background: transparent;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease-out;
}

.services-subtitle {
  color: var(--text-muted);
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}

.services-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--text-main);
}

.services-intro {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.services-comparison {
  margin-bottom: 80px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.comparison-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-main);
}

.comparison-table {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background: rgba(255, 92, 244, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 20px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.comparison-header .comparison-cell {
  font-weight: 600;
  color: var(--text-main);
  padding: 24px;
}

.comparison-cell.label {
  text-align: left;
  font-weight: 500;
  color: var(--text-main);
}

.services-cta {
  background: linear-gradient(90deg, rgba(5, 5, 7, 0.4) 0%, rgba(42, 6, 63, 0.4) 100%);
  border: 1px solid rgba(255, 92, 244, 0.2);
  padding: 56px 48px;
  border-radius: 16px;
  text-align: center;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.services-cta h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.services-cta p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 900px) {
  header {
    padding: 12px 18px;
  }

  nav ul {
    display: none;
  }

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

  .about-extended-subtitle,
  .clients-subtitle,
  .services-subtitle,
  .whychoose-left h4,
  .process-content h4,
  .process-intro-content h4,
  .cta-final-content h5,
  .home-section-header h5,
  .calendar-page-header h5 {
    letter-spacing: 0.14em;
  }

  .btn {
    font-size: 12px;
    letter-spacing: 0.07em;
  }

  .service-card {
    padding: 32px 24px;
  }

  .about-extended {
    padding: 80px 30px;
  }

  .about-extended-header {
    margin-bottom: 50px;
  }

  .about-extended-title {
    font-size: 28px;
  }

  .about-extended-pillars {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
  }

  .pillar-card {
    padding: 28px 20px;
  }

  .about-extended-cta {
    padding: 40px 24px;
  }

  .about-extended-cta h3 {
    font-size: 22px;
  }

  .about-extended-cta p {
    font-size: 14px;
  }

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

  .whychoose-left {
    padding: 60px 30px;
  }

  .whychoose-right {
    padding: 60px 30px;
  }

  .process {
    padding: 80px 30px;
  }

  .process-content h3 {
    font-size: 28px;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mini-process-list {
    grid-template-columns: 1fr;
  }

  .cta-final {
    padding: 80px 30px;
  }

  .cta-final-content h2 {
    font-size: 32px;
  }

  .services-page {
    padding: 80px 30px;
  }

  .services-header {
    margin-bottom: 50px;
  }

  .services-title {
    font-size: 28px;
  }

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

  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr 1fr;
    font-size: 12px;
  }

  .comparison-cell {
    padding: 16px 12px;
  }

  .comparison-header .comparison-cell {
    padding: 16px 12px;
  }

  .comparison-cell.label {
    grid-column: 1 / -1;
    text-align: left;
    background: rgba(255, 92, 244, 0.05);
    padding: 16px 12px;
  }

  .services-cta {
    padding: 40px 24px;
  }

  .services-cta h3 {
    font-size: 22px;
  }

  .services-cta p {
    font-size: 14px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .client-logo {
    width: 100px;
    height: 100px;
  }

  .logo-placeholder {
    font-size: 14px;
  }

  .logo-image {
    width: 64px;
    height: 64px;
  }

  .client-name {
    font-size: 18px;
  }

  .client-project {
    font-size: 14px;
  }

  .service-badge {
    font-size: 10px;
    padding: 3px 8px;
  }

  .hero-clients {
    padding: 100px 30px;
    min-height: auto;
  }

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

  .hero-clients-content p {
    font-size: 14px;
  }

  .clients-cta {
    padding: 60px 30px;
  }

  .clients-cta-content h2 {
    font-size: 28px;
  }

  .clients-cta-content p {
    font-size: 14px;
  }
}

  /* ================================
     PAGE TRANSITIONS
     ================================ */

  @keyframes pageFadeIn {
    from {
      opacity: 0.82;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes pageFadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0.65;
    }
  }

  body.page-enter-active {
    animation: pageFadeIn 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  body.page-exit {
    animation: pageFadeOut 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: none;
  }

  @media (prefers-reduced-motion: reduce) {
    body.page-enter-active,
    body.page-exit {
      animation: none !important;
    }
  }

  /* ================================
     HOME REDESIGN (INDEX)
     ================================ */

  .home-redesign {
    min-height: 100vh;
    padding: 120px 80px 90px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 26px;
  }

  .home-robot-wrap {
    position: relative;
    width: clamp(260px, 30vw, 460px);
    aspect-ratio: 1 / 1;
    z-index: 0;
    pointer-events: none;
    will-change: transform, opacity;
  }

  .home-robot-clip {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    object-position: center center;
    z-index: 3;
    filter: drop-shadow(0 0 30px rgba(76, 201, 255, 0.22));
    will-change: transform, opacity;
  }

  .home-robot-clip.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  @media (max-width: 768px) {
    .home-robot-clip {
      width: 112%;
      height: 112%;
    }
  }

  .home-robot {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    opacity: 0.92;
    filter: drop-shadow(0 0 22px rgba(76, 201, 255, 0.28));
    z-index: 2;
    pointer-events: none;
    will-change: transform, opacity;
  }

  .home-robot-orbit {
    position: absolute;
    inset: -9%;
    z-index: 1;
    will-change: transform, opacity;
  }

  .home-orbit-ring {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    border: 2px solid rgba(73, 211, 255, 0.78);
    border-left-color: transparent;
    border-bottom-color: rgba(73, 211, 255, 0.3);
    box-shadow: 0 0 18px rgba(73, 211, 255, 0.28);
    will-change: transform, opacity;
  }

  .home-orbit-ring-secondary {
    inset: 14%;
    border-width: 1.5px;
    border-color: rgba(167, 95, 255, 0.7);
    border-right-color: transparent;
    border-top-color: rgba(167, 95, 255, 0.28);
    opacity: 0.88;
  }

  .home-orbit-dot {
    position: absolute;
    width: clamp(10px, 1.4vw, 16px);
    height: clamp(10px, 1.4vw, 16px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #84f4ff 0%, #33b7ff 55%, #1b2d7a 100%);
    box-shadow: 0 0 12px rgba(71, 219, 255, 0.52);
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
  }

  .home-orbit-dot-a {
    top: 17%;
    left: 86%;
  }

  .home-orbit-dot-b {
    top: 74%;
    left: 17%;
  }

  .home-orbit-dot-c {
    top: 83%;
    left: 74%;
  }

  .home-redesign-left {
    position: relative;
    z-index: 1;
  }

  .home-redesign-left {
    max-width: 900px;
    text-align: left;
  }

  .home-pill {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(255, 92, 244, 0.35);
    background: rgba(255, 92, 244, 0.08);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1.4px;
    color: var(--accent-pink);
    margin-bottom: 18px;
    font-weight: 700;
    will-change: transform, opacity;
  }

  .home-redesign-left h1 {
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
    margin-bottom: 18px;
    will-change: transform, opacity;
  }

  .home-redesign-left p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
    max-width: 760px;
    margin: 0;
    will-change: transform, opacity;
  }

  .home-redesign-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    margin-bottom: 1rem;
    justify-content: flex-start;
    will-change: transform, opacity;
  }

  .home-redesign-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    will-change: transform, opacity;
  }

  .home-highlight-card.main ul {
    margin-top: 14px;
    list-style: none;
    display: grid;
    gap: 10px;
  }

  .home-highlight-card.main li {
    color: #f4f4f7;
    font-size: 14px;
    padding-left: 22px;
    position: relative;
  }

  .home-highlight-card.main li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
    position: absolute;
    left: 0;
    top: 7px;
  }

  .home-highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .home-highlight-card.mini {
    padding: 20px;
  }

  .home-highlight-card.mini h4 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .home-highlight-card.mini p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
  }

  .home-services-redesign,
  .home-use-cases,
  .home-process-redesign {
    padding: 0 80px 100px;
  }

  .home-section-header {
    max-width: 1200px;
    margin: 0 auto 34px;
    text-align: center;
  }

  .home-section-header.left {
    text-align: left;
  }

  .home-section-header h5 {
    color: var(--text-muted);
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 10px;
  }

  .home-section-header h2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
  }

  .home-services-grid,
  .use-cases-grid,
  .process-steps-redesign {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
  }

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

  .service-card-redesign {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    padding: 24px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  }

  .service-card-redesign.featured {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
  }

  .service-card-redesign:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 92, 244, 0.35);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 36px rgba(255, 92, 244, 0.14);
  }

  .service-card-redesign.featured:hover {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 36px rgba(255, 92, 244, 0.14);
  }

  .service-card-redesign img {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }

  .service-card-redesign h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

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

  .service-tags-redesign {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
  }

  .service-tags-redesign span {
    font-size: 12px;
    border-radius: 999px;
    padding: 6px 11px;
    color: var(--accent-blue);
    background: rgba(76, 201, 255, 0.1);
    border: 1px solid rgba(76, 201, 255, 0.25);
  }

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

  .use-case-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 26px;
    background: rgba(255, 255, 255, 0.02);
  }

  .use-case-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .use-case-card p {
    color: var(--text-muted);
    line-height: 1.7;
  }

  .process-steps-redesign {
    grid-template-columns: repeat(4, 1fr);
  }

  .step-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 22px;
  }

  .step-card span {
    display: inline-block;
    font-weight: 800;
    font-size: 28px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .step-card h4 {
    margin: 10px 0 8px;
    font-size: 18px;
  }

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

  .home-cta-redesign {
    padding: 0 80px 120px;
  }

  .home-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(255, 92, 244, 0.25);
    background: linear-gradient(90deg, rgba(5, 5, 7, 0.6), rgba(42, 6, 63, 0.5));
    border-radius: 18px;
    padding: 56px 26px;
  }

  .home-cta-inner h2 {
    font-size: clamp(30px, 5vw, 48px);
    margin-bottom: 12px;
  }

  .home-cta-inner p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 16px;
  }

  @media (max-width: 1100px) {
    .home-redesign {
      flex-direction: column-reverse;
      gap: 20px;
      padding-top: 110px;
      padding-bottom: 62px;
    }

    .home-robot-wrap {
      width: clamp(190px, 40vw, 250px);
    }

    .home-robot {
      opacity: 0.86;
    }

    .home-redesign-left {
      text-align: center;
      max-width: 780px;
    }

    .home-redesign-actions {
      justify-content: center;
    }

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

    .home-services-grid,
    .use-cases-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .home-redesign {
      gap: 16px;
      padding-top: 104px;
      padding-bottom: 50px;
    }

    .home-robot-wrap {
      width: clamp(160px, 48vw, 200px);
    }

    .home-robot {
      opacity: 0.8;
    }

    .home-robot-clip {
      display: none;
    }

    .home-redesign,
    .home-services-redesign,
    .home-use-cases,
    .home-process-redesign,
    .home-cta-redesign {
      padding-left: 30px;
      padding-right: 30px;
    }

    .home-redesign {
      padding-top: 120px;
    }

    .process-steps-redesign {
      grid-template-columns: 1fr;
    }

    .home-redesign-left h1 {
      font-size: clamp(32px, 8vw, 38px);
    }

    .home-redesign-left p {
      font-size: 14px;
      line-height: 1.65;
      max-width: 42ch;
    }

    .home-redesign-actions {
      gap: 10px;
    }

    .btn {
      width: 100%;
      text-align: center;
    }
  }

/* ================================
   AGENDA PAGE
   ================================ */

.calendar-page {
  min-height: 100vh;
  padding: 140px 40px 90px;
}

.calendar-page-container {
  max-width: 1200px;
  margin: 0 auto;
}

.calendar-page-header {
  text-align: center;
  margin-bottom: 28px;
}

.calendar-page-header h5 {
  letter-spacing: 4px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.calendar-page-header h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 10px;
}

.calendar-page-header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.6;
}

.calendar-booking-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}

.calendar-card,
.booking-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar-toolbar h2 {
  font-size: 30px;
  color: #f4d8d2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.month-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-size: 26px;
  cursor: pointer;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-weekdays span {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.calendar-day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.calendar-day.weekend {
  background: rgba(255, 255, 255, 0.02);
}

.calendar-day.outside {
  opacity: 0.2;
}

.calendar-day:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 92, 244, 0.45);
}

.calendar-day.selected {
  border-color: rgba(76, 201, 255, 0.9);
  background: rgba(76, 201, 255, 0.12);
}

.calendar-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 13px;
}

.booking-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.selected-date-text {
  color: var(--text-muted);
  margin-bottom: 12px;
  min-height: 22px;
}

.slots-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.slot-pill {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}

.slot-pill:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.slot-pill.active {
  border-color: rgba(255, 92, 244, 0.9);
  background: rgba(255, 92, 244, 0.18);
}

.slot-pill.booked {
  text-decoration: line-through;
}

.slot-empty {
  color: var(--text-muted);
  font-size: 13px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-row label {
  font-size: 13px;
  color: var(--text-muted);
}

.field-row input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-radius: 10px;
  padding: 11px 12px;
  outline: none;
}

.field-row input:focus {
  border-color: rgba(76, 201, 255, 0.7);
}

.field-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.booking-message {
  margin-top: 14px;
  min-height: 20px;
  font-size: 14px;
}

.booking-message.success {
  color: #8ef3b2;
}

.booking-message.error {
  color: #ffa6a6;
}

.booking-message.info {
  color: #9bd8ff;
}

.meet-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent-blue);
  font-weight: 600;
}

@media (max-width: 960px) {
  .calendar-booking-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .calendar-page {
    padding: 115px 20px 70px;
  }

  .calendar-toolbar h2 {
    font-size: 24px;
  }

  .calendar-weekdays span {
    font-size: 11px;
  }

  .calendar-day {
    min-height: 44px;
  }

  .field-row.two-cols {
    grid-template-columns: 1fr;
  }
}