:root {
  /* Colors - Light Theme (Chrome Enterprise Style) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  /* Light grey for alternate sections */
  --bg-light: #ffffff;
  --bg-card: #ffffff;

  --text-primary: #202124;
  /* Google Dark Gray */
  --text-secondary: #5f6368;
  /* Google Medium Gray */
  --text-dark: #202124;
  --text-muted: #80868b;

  --accent-color: #1a73e8;
  /* Google Blue */
  --accent-hover: #174ea6;
  /* Darker Blue */

  --success-color: #1e8e3e;
  /* Google Green */

  /* Spacing */
  --container-width: 1280px;
  --padding-section: 80px 0;

  /* Typography */
  --font-main: 'Inter', sans-serif;

  /* Transitions */
  --transition-speed: 0.3s;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1.5rem;
  opacity: 1;
  color: var(--text-secondary);
}

.highlight {
  color: var(--accent-color);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 24px;
  /* Pill shaped */
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 6px rgba(26, 115, 232, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(26, 115, 232, 0.3);
}

.btn-outline {
  border-color: #dadce0;
  color: var(--accent-color);
  margin-left: 10px;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--accent-hover);
  color: white;
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(26, 115, 232, 0.3);
}

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

.btn-secondary:hover {
  background-color: #e5e7eb;
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.full-width {
  width: 100%;
  display: block;
  text-align: center;
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid #f1f3f4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.dot {
  color: var(--accent-color);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: #000000;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.nav-links .btn-primary {
  padding: 10px 24px;
  font-size: 0.9rem;
  color: white;
}

.nav-links .btn-primary:hover {
  color: white;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  color: var(--text-primary);
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: var(--text-primary);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(26, 115, 232, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(234, 67, 53, 0.05) 0%, transparent 40%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #dadce0;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.robot-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.robot-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 500px;
}

.floating-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  filter: blur(80px);
  opacity: 0.1;
  z-index: -1;
  border-radius: 50%;
}

/* Clients Section */
.clients-section {
  padding: 40px 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid #dadce0;
}

.clients-title {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.clients-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0.6;
}

.client-logo {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-secondary);
  /* Darker logos for light theme */
}

/* Services Section */
.services-section {
  padding: var(--padding-section);
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Softer shadow */
  transition: transform var(--transition-speed);
  border: 1px solid #dadce0;
  position: relative;
  overflow: hidden;
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-color);
  transition: height var(--transition-speed);
}

.service-card:hover::before {
  height: 100%;
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(26, 115, 232, 0.1);
  /* Light blue bg */
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  color: var(--accent-color);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.learn-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-color);
  font-size: 0.9rem;
}

.learn-more:hover {
  gap: 12px;
}

/* Case Studies Section */
.cases-section {
  padding: var(--padding-section);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.case-study-container {
  margin-top: 50px;
}

.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: white;
  border-radius: 20px;
  padding: 50px;
  border: 1px solid #dadce0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  align-items: center;
}

.case-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.case-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.metrics-comparison {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.metric-box {
  background: #f1f3f4;
  /* Light grey bg */
  padding: 15px;
  border-radius: 8px;
}

.metric-box .label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.bar-container {
  height: 12px;
  background: #dadce0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.bar {
  height: 100%;
  border-radius: 6px;
  color: white;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  padding-left: 5px;
  white-space: nowrap;
}

.metric-box.before .bar {
  background-color: #ea4335;
  /* Google Red */
  width: 100%;
}

.metric-box.after .bar {
  background-color: var(--success-color);
  width: 5%;
  transition: width 1s ease-out;
}

.savings-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  background: rgba(30, 142, 62, 0.1);
  color: var(--success-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.case-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #dadce0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

.visual-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--accent-color), transparent);
  border-radius: 22px;
  z-index: -1;
  opacity: 0.2;
}

.visual-card h4 {
  font-size: 3rem;
  color: var(--accent-color);
  margin: 15px 0 5px;
}

/* Contact Section */
.contact-section {
  padding: var(--padding-section);
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  color: var(--text-primary);
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.detail-item i {
  color: var(--accent-color);
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid #dadce0;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
  background-color: #ffffff;
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

/* Footer - Light Theme */
footer {
  background-color: #f8f9fa;
  color: var(--text-secondary);
  padding: 60px 0 20px;
  border-top: 1px solid #dadce0;
}

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

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
}

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

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  transition: all 0.3s;
  color: var(--text-secondary);
}

.social-icons a:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #dadce0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Cases Hero Styles (Centralized & Styled commonly) */
.cases-hero {
  padding: 160px 0 80px;
  position: relative;
  background-color: #ffffff;
  /* White background */
  color: var(--text-primary);
  text-align: center;
  overflow: hidden;
}

/* Remove dark gradient overlay and use a subtle light mesh or simple background */
.cases-hero .hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(26, 115, 232, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(30, 142, 62, 0.08) 0%, transparent 40%);
  opacity: 1;
  z-index: 0;
}

.cases-hero .container {
  position: relative;
  z-index: 1;
  max-width: 100%;
  /* Previously set to 100% via inline, enforcing here */
  padding: 0 40px;
}

.cases-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.cases-hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.process-section {
  padding: 100px 0;
  background-color: #ffffff;
  text-align: center;
}


.process-header {
  max-width: 1000px;
  margin: 0 auto 60px;
}

.separator-line {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #1b293e, var(--accent-color));
  margin: 0 auto 30px;
  border-radius: 3px;
}

.process-header h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.process-header .highlight {
  color: var(--accent-color);
}

.process-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.highlight-sub {
  color: var(--text-primary);
  font-weight: 600;
}

/* Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.process-card {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Softer shadow */
  border-radius: 12px;
  padding: 40px 30px;
  min-height: 250px;
  position: relative;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  overflow: hidden;
}

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

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-color);
  transition: height var(--transition-speed);
}

.process-card:hover::before {
  height: 100%;
}

.step-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(26, 115, 232, 0.1);
  /* Light Blue BG */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: static;
  transform: none;
  box-shadow: none;
  border: none;
}

.step-content h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 5px;
  line-height: 1.4;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Wide Gradient Button */
.btn-wide-gradient {
  background: linear-gradient(90deg, var(--accent-color) 0%, #005f73 100%);
  color: white;
  padding: 18px 50px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 10px 25px rgba(26, 115, 232, 0.3);
  transition: all 0.3s;
}

.btn-wide-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(26, 115, 232, 0.4);
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-hover) 100%);
}

/* Responsive */
@media (max-width: 900px) {
  .process-card {
    padding: 50px 20px 30px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
    display: flex;
  }

  .stats-row {
    justify-content: center;
  }

  .case-study {
    grid-template-columns: 1fr;
    padding: 30px;
  }

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

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

  .social-icons {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

/* Metrics Banner Section */
.metrics-banner-section {
  position: relative;
  padding: 100px 0;
  color: var(--text-primary);
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.metrics-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(at top right, rgba(26, 115, 232, 0.05), transparent 50%);
  pointer-events: none;
}

.metrics-header-center {
  text-align: center;
  margin-bottom: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.line-accent {
  width: 100px;
  height: 4px;
  background: var(--accent-color);
  margin: 0 auto 30px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(26, 115, 232, 0.3);
}

.metrics-header-center h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.4;
  opacity: 1;
  color: var(--text-primary);
}

.highlight-text {
  font-weight: 700;
  color: var(--accent-color);
  display: inline-block;
}

/* Metrics Grid */
.metrics-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.metric-block {
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.m-number {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 15px;
  line-height: 1;
  text-shadow: 0 0 20px rgba(26, 115, 232, 0.1);
}

.m-label {
  display: block;
  font-size: 1rem;
  opacity: 1;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .metrics-row {
    gap: 30px;
  }

  .m-number {
    font-size: 3rem;
  }

  .metrics-header-center h2 {
    font-size: 1.5rem;
  }
}

/* Focus / Success Section */
.focus-section {
  padding: 120px 0;
  background-color: white;
  overflow: hidden;
}

.focus-container {
  display: flex;
  align-items: center;
  gap: 100px;
  justify-content: space-between;
}

.focus-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Light blue shape behind robot */
.visual-bg-shape {
  position: absolute;
  width: 350px;
  height: 350px;
  background-color: #e6f7ff;
  border-radius: 60px;
  transform: rotate(45deg);
  z-index: 0;
}

.focus-robot {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 300px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.focus-content {
  flex: 1.2;
}

.focus-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.focus-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 90%;
  opacity: 1;
}

.btn-demo {
  padding: 16px 40px;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
}

/* Responsive adjustment for Focus Section */
@media (max-width: 900px) {
  .focus-container {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .focus-content h2 {
    font-size: 2.2rem;
  }

  .visual-bg-shape {
    width: 250px;
    height: 250px;
  }

  .focus-robot {
    width: 250px;
  }
}

/* Success Cases Page Styles */
.cases-page-body {
  background-color: var(--bg-primary);
}

/* Filters Section */
.cases-filter-section {
  padding: 40px 0 20px;
  background-color: transparent;
  border-bottom: 1px solid #dadce0;
}

.industry-filters {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.filter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.3s;
  padding: 10px 15px;
  border-radius: 12px;
}

.filter-item:hover,
.filter-item.active {
  color: var(--accent-color);
  background-color: rgba(26, 115, 232, 0.05);
}

.filter-item i {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.filter-item span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Cases Grid Section */
.cases-grid-section {
  padding: 60px 0 100px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.case-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(26, 115, 232, 0.2);
}

.case-card h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.case-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Metrics Row Inner */
.case-metrics-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 25px;
}

.c-metric {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cm-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.cm-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--success-color);
}

.cm-platform {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cm-platform i {
  color: var(--accent-color);
  width: 18px;
  height: 18px;
}

/* Vertical Separator */
.c-line {
  width: 1px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .cases-hero h1 {
    font-size: 2.5rem;
  }

  .metric-block {
    min-width: 45%;
  }
}

/* Horizontal Case Card Layout */
.cases-stack-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 0 100px;
  background-color: white;
}

.horizontal-case-card {
  display: flex;
  flex-direction: row;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e5e5;
  min-height: 400px;
}

.h-visual-side {
  flex: 0 0 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background-position: center;
  background-size: cover;
}

.h-content-side {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: white;
}

.h-section-label {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.h-section-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.h-results-container {
  display: flex;
  gap: 20px;
  margin-top: 5px;
  margin-bottom: 20px;
}

.h-result-box {
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 100px;
}

.h-res-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--success-color);
}

.h-res-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================
   PAGE: QUIENES-SOMOS.HTML
   ========================================= */

.mission-section {
  padding: var(--padding-section);
  background-color: var(--bg-card);
  color: var(--text-dark);
}

.values-section {
  padding: var(--padding-section);
  background-color: var(--bg-card);
  color: var(--bg-primary);
}

.value-card {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.value-card h3 {
  color: var(--bg-primary);
  margin-bottom: 15px;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stats-bar {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0;
}

.member-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background-color: #e5e7eb;
}

.member-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.5s;
}

.member-card:hover img {
  transform: scale(1.05);
}

.member-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
}

.member-overlay h3 {
  color: white !important;
}

.member-overlay p {
  color: #e0e0e0 !important;
  margin-bottom: 0 !important;
}

/* =========================================
   PAGE: SERVICIOS.HTML
   ========================================= */

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.text-highlight {
  color: var(--accent-color);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .order-mobile-first {
    order: -1;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
  background-color: rgba(26, 115, 232, 0.1);
  color: var(--accent-color);
  margin-bottom: 24px;
}

.badge .material-icons-outlined {
  font-size: 32px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.check-item .material-icons-outlined {
  color: var(--accent-color);
  margin-top: 2px;
}

.check-content h4 {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.check-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Mini Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.mini-card {
  background-color: var(--bg-secondary);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #dadce0;
  transition: all 0.3s ease;
}

.mini-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.mini-card h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.mini-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.mini-card-icon {
  color: var(--accent-color);
  margin-bottom: 10px;
  display: block;
  font-size: 24px;
}

/* Visuals */
.visual-container img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Methodology */
.methodology-section {
  background-color: #0F172A;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.methodology-header h2 {
  color: white;
}

.methodology-subtitle {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  position: relative;
}

@media (max-width: 900px) {
  .steps-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 40px auto 0;
  }

  .step-connector {
    display: none;
  }
}

.step-circle {
  width: 70px;
  height: 70px;
  background-color: #1E293B;
  border: 1px solid #334155;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  cursor: pointer;
}

.step-circle:hover {
  border-color: var(--accent-color);
  border-width: 1px;
}

.step-connector {
  position: absolute;
  top: 35px;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: #334155;
  z-index: 1;
}

.step-card {
  position: relative;
}

.step-card:last-child .step-connector {
  display: none;
}

.step-title {
  margin-bottom: 10px;
  color: white;
  font-size: 1.2rem;
}

.step-desc {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--accent-color);
  margin-top: 10px;
}

.link-arrow:hover {
  gap: 8px;
}

/* Unified Components */
.cta-section {
  padding: var(--padding-section);
  text-align: center;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* =========================================
   PAGE: CASOS-EXITOS.HTML
   ========================================= */
/* =========================================
   PAGE: CASOS-EXITOS.HTML
   ========================================= */

.cases-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding-bottom: 60px;
}

@media (max-width: 768px) {
  .cases-grid-container {
    grid-template-columns: 1fr;
  }
}

.vertical-case-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.vertical-case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.v-card-header {
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-size: cover;
  background-position: center;
}

.v-header-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  /* The specific gradient/color will be inline or via utility class */
}

.v-header-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.v-card-logo-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.v-card-logo-text {
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.v-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #f97316;
  /* Orange-500 equivalent */
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 3;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.v-card-body {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.v-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.4;
  min-height: 3.5rem;
  /* Two lines height reserved */
}

.v-sub-label {
  color: var(--accent-color);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.5px;
}

.v-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
  /* Pushes content down */
}

.v-metric-box {
  background-color: #fff7ed;
  /* Orange-50 */
  border: 1px solid #ffedd5;
  /* Orange-100 */
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  /* Reduced gap */
  margin-top: auto;
  margin-bottom: 24px;
}

.v-metric-icon-wrapper {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-metric-content {
  display: flex;
  flex-direction: column;
}

.v-metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 2px;
}

.v-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.v-card-cta {
  text-align: center;
  border-top: 1px solid transparent;
  /* Removed border top to match screenshot cleaner look */
  padding-top: 0;
}

.v-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.95rem;
  transition: gap 0.2s ease;
}

.v-cta-link:hover {
  gap: 10px;
  color: var(--accent-color);
  /* Maintain col */
}

/* =========================================
   ANIMATED CHAT WIDGET (SERVICIOS.HTML)
   ========================================= */
.chat-widget-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 20px;
}

.chat-window {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  /* Soft, deep shadow */
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.window-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.dot-w {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-w.red {
  background-color: #ff5f57;
}

.dot-w.yellow {
  background-color: #febc2e;
}

.dot-w.green {
  background-color: #28c840;
}

.chat-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 15px;
  scrollbar-width: none;
  /* Firefox */
}

.chat-tabs::-webkit-scrollbar {
  display: none;
}

/* Chrome/Safari */

.chat-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: white;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.chat-tab.active {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background-color: #fff7ed;
  /* Light orange tint */
}

.chat-tab:hover {
  background-color: #f9fafb;
}

.chat-input-area {
  background-color: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  margin-top: 5px;
  border: 1px solid #f3f4f6;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.chat-prompt-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.typing-container {
  flex-grow: 1;
  font-size: 1.1rem;
  color: var(--text-primary);
  position: relative;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: var(--text-primary);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.chat-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid #e5e7eb;
  padding-top: 15px;
}

.ai-mode {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.send-actions {
  display: flex;
  gap: 15px;
  color: var(--text-muted);
}

.send-actions .material-icons-outlined {
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
}

.send-actions .material-icons-outlined:hover {
  color: var(--accent-color);
}

/* Floating Elements */
.robot-float-container {
  position: absolute;
  top: -65px;
  right: -45px;
  width: 140px;
  z-index: 5;
  animation: floatRobot 6s ease-in-out infinite;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}

@keyframes floatRobot {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

.floating-badge {
  position: absolute;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
  animation: floatBadge 5s ease-in-out infinite alternate;
}

.tag-thinking {
  top: -15px;
  left: 10px;
  background: #fbcfe8;
  /* Pink-200 */
  color: #be185d;
  /* Pink-700 */
  transform: rotate(-5deg);
  animation-delay: 0.5s;
  z-index: 3;
}

.tag-creating {
  bottom: -35px;
  right: 60px;
  background: #e9d5ff;
  /* Purple-200 */
  color: #6b21a8;
  /* Purple-800 */
  transform: rotate(3deg);
  z-index: 4;
}

@keyframes floatBadge {
  0% {
    transform: translateY(0) rotate(-2deg);
  }

  100% {
    transform: translateY(-8px) rotate(2deg);
  }
}

/* Fix for robot image having white box shadow */
.robot-float-container img {
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  background-color: #20b858;
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
}