:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --secondary-color: #64748b;
  --accent-color: #ff7400;  /* Orange from logo */
  --accent-dark: #e65100;   /* Darker orange for hover states */
  --accent-light: #ffab40;  /* Lighter orange for backgrounds */
  --bg-color: #ffffff;
  --bg-gray: #f8fafc;
  --bg-orange-light: #fff3e0; /* Very light orange for sections */
  --text-color: #1e293b;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;

  --container-width: 1200px;
  --spacing-xs: 0.6rem;    /* +20% from 0.5rem */
  --spacing-sm: 1.2rem;    /* +20% from 1rem */
  --spacing-md: 2.4rem;    /* +20% from 2rem */
  --spacing-lg: 3.6rem;    /* +20% from 3rem */
  --spacing-xl: 4.8rem;    /* +20% from 4rem */

  --border-radius: 8px;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Skip links for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  background: var(--primary-color);
  color: white;
  padding: 8px 12px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.skip-link:focus {
  position: absolute;
  top: 6px;
  left: 6px;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2rem;
  font-weight: 650;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-lg) 0;
}

.section--gray {
  background-color: var(--bg-gray);
}

/* Enhanced spacing for text-heavy content */
.section--content {
  padding: var(--spacing-xl) 0;
}

.section--content h2 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.section--content h3 {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.section--content p {
  margin-bottom: var(--spacing-md);
  max-width: 75ch;
}

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

.mb-2 {
  margin-bottom: var(--spacing-md);
}

.mb-3 {
  margin-bottom: var(--spacing-lg);
}

.mt-2 {
  margin-top: var(--spacing-md);
}

.mt-3 {
  margin-top: var(--spacing-lg);
}

.header {
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__nav {
  display: flex;
  align-items: center;
  padding: var(--spacing-sm) 0;
  min-height: 60px;
  gap: var(--spacing-md);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.header__logo img {
  /* width: 40px; */
  height: 40px;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
}

.logo-sub {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: -2px;
  letter-spacing: 2.8px;
}

.header__menu-toggle {
  display: none;
}

.header__toggle {
  display: block;
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--spacing-xs);
  margin-left: auto;
}

.header__menu {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-sm);
  gap: var(--spacing-sm);
}

.header__menu li {
  margin-bottom: var(--spacing-xs);
}

.header__menu a {
  text-decoration: none;
  color: var(--text-color);
  padding: var(--spacing-xs);
  display: block;
  border-radius: var(--border-radius);
  transition: background-color 0.2s;
}

.header__menu a:hover {
  background-color: var(--bg-gray);
  color: var(--text-color);
}

.header__menu .btn {
  color: white !important;
  text-decoration: none;
  font-size: 0.8rem;
  padding: var(--spacing-xs) calc(var(--spacing-xs) * 1.5);
  max-width: 100%;
  box-sizing: border-box;
}

.header__menu .btn--primary:hover {
  background-color: var(--primary-dark) !important;
  color: white !important;
  border-color: var(--primary-dark) !important;
}

.header__menu .btn--secondary:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.header__menu-toggle:checked + .header__toggle + .header__menu {
  display: flex;
  flex-direction: column;
}

.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  margin: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: "→";
  margin: 0 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  min-height: auto;
  display: inline;
}

.breadcrumb a:hover {
  background-color: var(--bg-gray);
  color: var(--primary-dark);
}

.breadcrumb li:last-child {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.25rem 0.5rem;
}

.breadcrumb-container {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.8rem;
    padding: 0.75rem 0;
  }

  .breadcrumb li:not(:last-child)::after {
    margin: 0 0.3rem;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .btn {
    min-height: 44px !important;
    padding: 12px 18px !important;
    touch-action: manipulation !important;
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  .hero {
    padding: 2rem 0 !important;
  }

  .section {
    padding: 2rem 0 !important;
  }

  div[style*="padding: 3rem"] {
    padding: 1.5rem !important;
  }

  div[style*="padding: 2.5rem"] {
    padding: 1.5rem !important;
  }

  div[style*="padding: 2rem"] {
    padding: 1.25rem !important;
  }

  div[style*="max-width: 900px"],
  div[style*="max-width: 800px"] {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .features__grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  div[style*="display: grid; gap: 2rem;"] {
    gap: 1.5rem !important;
  }

  div[style*="grid-template-columns: 1fr auto 1fr auto 1fr"] {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .hero__cta {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: stretch !important;
  }

  div[style*="margin-bottom: 3rem"] {
    margin-bottom: 2rem !important;
  }

  .feature {
    padding: 1.5rem !important;
  }
}

.btn {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--primary-color);
  color: white !important;
  border: 2px solid var(--primary-color);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  color: white !important;
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-weight: 600;
}

.btn--secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

.btn--accent {
  background-color: var(--accent-color);
  color: white;
  border: 2px solid var(--accent-color);
}

.btn--accent:hover {
  background-color: var(--accent-dark);
  color: white;
  border-color: var(--accent-dark);
}

.btn--large {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 116, 0, 0.25);
  transition: all 0.3s ease;
}

.btn--large:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 116, 0, 0.35);
}

.hero {
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.hero h1 {
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
  font-size: 2.25rem;
}

.hero .lead {
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  font-weight: 500;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
}

.cta .hero__cta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.features__grid {
  display: grid;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature {
  text-align: center;
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  background-color: var(--bg-color);
}

.section--gray .feature {
  background-color: white;
  box-shadow: var(--shadow);
}

.feature__icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.feature h3 {
  color: var(--text-color);
  margin-bottom: var(--spacing-xs);
}

.feature p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Featured highlight with logo orange */
.feature--highlight {
  background: linear-gradient(135deg, var(--bg-orange-light) 0%, #ffffff 100%);
  border: 2px solid var(--accent-color);
  position: relative;
  transform: scale(1.02);
}

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

.feature--highlight::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  border-radius: var(--border-radius);
  z-index: -1;
}

.cta {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 70%,
    var(--accent-color) 100%
  );
  color: white;
  text-align: center;
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="7" cy="7" r="1"/></g></svg>')
    repeat;
  pointer-events: none;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: white !important;
  margin-bottom: var(--spacing-sm);
}

.cta p {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta * {
  color: white !important;
}

.cta a:not(.btn) {
  color: white !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

.cta a:not(.btn):hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.cta .btn--primary {
  background-color: white !important;
  color: var(--primary-color) !important;
  border-color: white !important;
}

.cta .btn--primary:hover {
  background-color: var(--bg-gray) !important;
  color: var(--primary-dark) !important;
  border-color: var(--bg-gray) !important;
}

.cta .btn--secondary {
  background-color: transparent !important;
  color: white !important;
  border-color: white !important;
}

.cta .btn--secondary:hover {
  background-color: white !important;
  color: var(--primary-color) !important;
  border-color: white !important;
}

.footer {
  background-color: var(--text-color);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer__content {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer__section h4 {
  color: white;
  margin-bottom: var(--spacing-sm);
  font-size: 1.125rem;
}

.footer__section ul {
  list-style: none;
}

.footer__section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer__section ul a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__section ul a:hover {
  color: white;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-bottom: var(--spacing-sm);
}

.footer__logo img {
  /* width: 40px; */
  height: 40px;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer__logo .logo-main {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
  color: white;
}

.footer__logo .logo-sub {
  font-weight: 400;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: -2px;
  letter-spacing: 2.8px;
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 920px) {
  .help-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.help-card {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid;
  background-color: var(--bg-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.help-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.help-card.yes {
  border-color: #d1fae5;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.help-card.no {
  border-color: #fee2e2;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.help-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid;
}

.help-card.yes h3 {
  color: #059669;
  border-bottom-color: rgba(5, 150, 105, 0.2);
}

.help-card.no h3 {
  color: #dc2626;
  border-bottom-color: rgba(220, 38, 38, 0.2);
}

.help-card ul {
  text-align: left;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 0.95rem;
}

.help-card ul li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  position: relative;
}

.help-card.yes ul li:before {
  content: "•";
  color: #059669;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: -0.5rem;
}

.help-card.no ul li:before {
  content: "•";
  color: #dc2626;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: -0.5rem;
}

.help-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--border-radius);
  text-align: center;
}

.help-cta p {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero__cta {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .cta .hero__cta {
    flex-direction: column;
  }

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

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

@media (min-width: 768px) {
  .cta .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
  }

  .cta .btn {
    min-width: 200px;
    flex-shrink: 0;
  }
}

@media (min-width: 920px) {
  .container {
    padding: 0 var(--spacing-lg);
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  h1 {
    font-size: 3rem;
  }

  .header__toggle {
    display: none;
  }

  .header__menu {
    display: flex;
    position: static;
    background: none;
    border: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-sm);
    margin-left: auto;
  }

  .header__menu li {
    margin-bottom: 0;
  }

  .header__menu .btn {
    font-size: 0.9rem;
    padding: var(--spacing-xs) var(--spacing-sm);
  }

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

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

@media (min-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }

  .hero {
    padding: var(--spacing-xl) 0 calc(var(--spacing-xl) * 1.5);
  }

  .features__grid {
    gap: var(--spacing-lg);
  }

  .feature {
    padding: var(--spacing-lg);
  }

  .cta .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 800px;
  }

  .cta .btn {
    min-width: 220px;
    flex-shrink: 0;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 var(--spacing-xl);
  }
}

.btn:focus,
.header__menu a:focus,
.header__logo:focus,
a:focus,
input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* Enhanced focus for buttons */
.btn:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.3);
}

/* Accessibility improvements */
/* Hide content from screen readers when appropriate */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus trap indicator */
.focus-trap-active {
  position: relative;
}

.focus-trap-active::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  pointer-events: none;
}

.btn,
.feature,
.header__menu a {
  transition: all 0.2s ease-in-out;
}

.feature:hover {
  transform: translateY(-2px);
}

.section--gray .feature:hover {
  box-shadow: var(--shadow-lg);
}

.whatsapp-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.whatsapp-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.whatsapp-modal__content {
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease-out;
}

.whatsapp-modal__header {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--border-color);
}

.whatsapp-modal__icon {
  font-size: 2rem;
  margin-right: var(--spacing-sm);
}

.whatsapp-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

.whatsapp-modal__body {
  margin-bottom: var(--spacing-lg);
}

.whatsapp-modal__text {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.whatsapp-modal__actions {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: flex-end;
}

.whatsapp-modal__close {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.whatsapp-modal__close:hover {
  background-color: var(--bg-gray);
  color: var(--text-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 919px) {
  .whatsapp-modal__content {
    padding: var(--spacing-md);
    margin: var(--spacing-sm);
  }

  .whatsapp-modal__actions {
    flex-direction: column;
  }

  .whatsapp-modal__actions .btn {
    width: 100%;
  }
}

.experience-timeline {
  position: relative;
}

.timeline-item {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(5) {
  animation-delay: 0.5s;
}

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

.results-grid .result {
  opacity: 0;
  animation: scaleIn 0.6s ease-out forwards;
}

.results-grid .result:nth-child(1) {
  animation-delay: 0.6s;
}
.results-grid .result:nth-child(2) {
  animation-delay: 0.8s;
}
.results-grid .result:nth-child(3) {
  animation-delay: 1s;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.scale-steps .step {
  opacity: 0;
  animation: slideInFromLeft 0.6s ease-out forwards;
}

.scale-steps .step:nth-child(1) {
  animation-delay: 0.1s;
}
.scale-steps .step:nth-child(2) {
  animation-delay: 0.2s;
}
.scale-steps .step:nth-child(3) {
  animation-delay: 0.3s;
}
.scale-steps .step:nth-child(4) {
  animation-delay: 0.4s;
}
.scale-steps .step:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.success-cases .case {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.success-cases .case:nth-child(1) {
  animation-delay: 0.2s;
}
.success-cases .case:nth-child(2) {
  animation-delay: 0.4s;
}
.success-cases .case:nth-child(3) {
  animation-delay: 0.6s;
}

@media (max-width: 919px) {
  .experience-timeline .timeline-item {
    flex-direction: column !important;
    text-align: center !important;
  }

  .experience-timeline .timeline-item > div:first-child,
  .experience-timeline .timeline-item > div:last-child {
    flex: none !important;
    padding: 0 !important;
    text-align: center !important;
    margin: 1rem 0 !important;
  }

  .experience-timeline::before {
    display: none !important;
  }

  .timeline-item .timeline-dot {
    margin: 1rem 0 !important;
  }

  .results-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .scale-steps .step {
    flex-direction: column !important;
    text-align: center !important;
  }

  .scale-steps .step > div:first-child {
    margin-right: 0 !important;
    margin-bottom: 1rem !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .success-cases {
    gap: 1.5rem !important;
    flex-direction: column !important;
  }

  div[style*="display: flex; align-items: center"] {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
  }

  div[style*="margin-right: 1.5rem"] {
    margin-right: 0 !important;
    margin-bottom: 1rem !important;
  }

  div[style*="margin-right: 1rem"] {
    margin-right: 0 !important;
    margin-bottom: 0.75rem !important;
  }

  div[style*="display: grid; gap: 2rem;"] {
    gap: 1rem !important;
  }

  .case-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center !important;
  }

  .case-grid > div:first-child {
    order: 1 !important;
  }

  .case-grid > div:last-child {
    order: 2 !important;
  }
}

@media (max-width: 768px) {
  .btn {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 20px;
    font-size: 0.95rem;
    touch-action: manipulation;
  }

  .btn--large {
    min-height: 48px;
    padding: 14px 24px;
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
  }

  .hero {
    padding: 2rem 0 !important;
  }

  .section {
    padding: 2rem 0 !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .service-card {
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
  }

  .service-card h3 {
    font-size: 1.2rem !important;
    margin-bottom: 0.75rem !important;
  }

  .header__toggle {
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    background: rgba(37, 99, 235, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    touch-action: manipulation !important;
  }

  .header__menu {
    padding: 1rem !important;
    gap: 1rem !important;
  }

  .header__menu a {
    padding: 12px 16px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 8px !important;
  }

  input,
  textarea,
  select {
    min-height: 44px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
  }

  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    touch-action: manipulation;
  }

  ul li {
    margin-bottom: 0.75rem !important;
  }

  .cta {
    padding: 2rem 1rem !important;
    text-align: center !important;
  }

  .cta .btn {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0.5rem auto !important;
  }

  .case {
    padding: 1.5rem !important;
  }

  .success-cases {
    margin: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.35rem !important;
  }

  h3 {
    font-size: 1.125rem !important;
  }

  .hero {
    padding: 1.5rem 0 !important;
  }

  .section {
    padding: 1.5rem 0 !important;
  }

  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Ensure grids are fully responsive on small screens */
  .features__grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .footer__content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Prevent any inline grid styles from causing overflow */
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .btn {
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
    min-height: 44px !important;
    touch-action: manipulation !important;
  }

  .service-card {
    padding: 1.25rem !important;
  }

  .case {
    padding: 1.25rem !important;
    margin: 0 !important;
  }

  .success-cases {
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  div[style*="padding: 3rem"] {
    padding: 1.25rem !important;
  }

  div[style*="padding: 2.5rem"] {
    padding: 1.25rem !important;
  }

  div[style*="padding: 2rem"] {
    padding: 1rem !important;
  }

  div[style*="padding: 1.5rem"] {
    padding: 1rem !important;
  }

  div[style*="grid-template-columns: 1fr auto 1fr auto 1fr"] {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }

  div[style*="display: grid; gap: 2rem;"] {
    gap: 1rem !important;
  }

  div[style*="display: grid; gap: 1.5rem;"] {
    gap: 1rem !important;
  }

  div[style*="max-width: 900px"],
  div[style*="max-width: 800px"],
  div[style*="max-width: 700px"] {
    max-width: 100% !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  div[style*="font-size: 2rem"] {
    font-size: 1.5rem !important;
  }

  div[style*="font-size: 1.5rem"] {
    font-size: 1.25rem !important;
  }

  div[style*="font-size: 1.2rem"] {
    font-size: 1rem !important;
  }

  .lead {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .features__grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .feature {
    padding: 1rem !important;
  }

  .feature__icon {
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
  }

  .hero__cta {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: stretch !important;
  }

  div[style*="border-radius: 16px"] {
    border-radius: 12px !important;
  }

  div[style*="border-radius: 12px"] {
    border-radius: 8px !important;
  }

  div[style*="margin-bottom: 3rem"] {
    margin-bottom: 1.5rem !important;
  }

  div[style*="margin-bottom: 2rem"] {
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .success-cases {
    gap: 1.5rem !important;
  }

  .scale-steps .step {
    padding: 1.5rem !important;
  }

  .btn {
    min-height: 44px;
    padding: 12px 20px;
    touch-action: manipulation;
  }

  /* Testimonios responsivos */
  .case[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .case div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .hero {
    padding: 3rem 0 !important;
  }

  .section {
    padding: 2.5rem 0 !important;
  }

  .header__toggle {
    width: 44px !important;
    height: 44px !important;
    touch-action: manipulation;
  }

  input,
  textarea,
  select {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 16px;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

thead {
  background: var(--primary-color);
  color: white;
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e1e5e9;
  font-size: 14px;
  line-height: 1.4;
}

th {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.025em;
}

td code {
  background: #f8f9fa;
  color: #d63384;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 13px;
  margin-right: 4px;
}

tbody tr:hover {
  background: #f8f9fa;
}

.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .table-wrapper {
    margin: 1rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
  }

  table {
    width: 100%;
    margin: 0;
    border-radius: 0;
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
    word-break: break-word;
    white-space: normal;
  }

  th {
    font-size: 0.9rem;
    background-color: var(--bg-orange-light);
  }

  .table-cards {
    display: none;
  }
}

@media (max-width: 480px) {
  .table-wrapper {
    display: none;
  }

  .table-cards {
    display: block;
    margin: 1rem 0;
  }

  .table-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
  }

  .table-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }

  .table-card h4 {
    color: var(--accent-color);
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem;
    background: var(--bg-orange-light);
    border-radius: calc(var(--border-radius) / 2);
  }

  .table-card .card-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .table-card .card-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .table-card .card-label {
    font-weight: 500;
    color: #666;
    font-size: 14px;
    min-width: 80px;
  }

  .table-card .card-value {
    color: #333;
    font-size: 14px;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
  }

  .table-card .card-value code {
    background: #f8f9fa;
    color: #d63384;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 12px;
    display: inline-block;
    margin: 1px;
  }
}

/* ================================================
   ROI CALCULATOR STYLES
   ================================================ */

.roi-calculator {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 0 auto;
}

.roi-calculator__header {
  text-align: center;
  margin-bottom: 2rem;
}

.roi-calculator__title {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.roi-calculator__subtitle {
  color: var(--text-light);
  margin-bottom: 0;
}

.calculator-form {
  display: grid;
  gap: 2rem;
}

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

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.tiempo-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* Contenedor de botones de costo con el mismo estilo */
.costo-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* Contenedor de botones de desarrollo */
.desarrollo-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tiempo-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
  color: var(--text-color);
}

.tiempo-btn.active {
  border: 2px solid var(--primary-color);
  background: var(--primary-color);
  color: white;
}

.tiempo-btn:hover:not(.active) {
  border-color: var(--primary-color);
  background: #f8fafc;
}

/* Botones de costo con el mismo estilo que tiempo-btn */
.costo-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
  color: var(--text-color);
}

.costo-btn.active {
  border: 2px solid var(--primary-color);
  background: var(--primary-color);
  color: white;
}

.costo-btn:hover:not(.active) {
  border-color: var(--primary-color);
  background: #f8fafc;
}

/* Botones de desarrollo con el mismo estilo */
.desarrollo-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
  color: var(--text-color);
}

.desarrollo-btn.active {
  border: 2px solid var(--primary-color);
  background: var(--primary-color);
  color: white;
}

.desarrollo-btn:hover:not(.active) {
  border-color: var(--primary-color);
  background: #f8fafc;
}

.horas-section {
  margin-bottom: 0.5rem;
}

.horas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.horas-label {
  font-weight: 500;
}

.horas-value {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
}

.horas-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #ddd;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.horas-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
}

.horas-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  border: none;
}

.horas-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

.form-select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-hint {
  color: var(--text-light);
  font-size: 0.85rem;
  display: block;
  margin-top: 0.3rem;
}

.results-preview {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #fafbfc;
  border-radius: 8px;
  border: 1px solid #e1e5e9;
}

.results-title {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.result-card {
  background: white;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid #f1f3f4;
}

.result-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.result-value--positive {
  color: var(--primary-color);
}

.result-value--negative {
  color: #6c757d;
}

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

.report-section {
  border-top: 2px dashed #e1e5e9;
  margin: 2rem 0 0 0;
  padding-top: 2rem;
}

.report-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.report-title {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.report-subtitle {
  color: var(--text-light);
  margin: 0;
  font-size: 0.9rem;
}

.form-textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.form-textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
}

.form-input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.submit-section {
  text-align: center;
}

.submit-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
}

.submit-button:hover:not(:disabled) {
  background: var(--secondary-color);
  transform: translateY(-1px);
}

.submit-button:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
}

.submit-disclaimer {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Animaciones para mensajes de éxito/error */
@keyframes slideIn {
  from { 
    transform: translateX(100%); 
    opacity: 0; 
  }
  to { 
    transform: translateX(0); 
    opacity: 1; 
  }
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  animation: slideIn 0.3s ease;
  max-width: 350px;
  color: white;
}

.notification--success {
  background: #28a745;
}

.notification--error {
  background: #dc3545;
}

.notification__title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.notification__text {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.notification__small {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Responsive design para la calculadora */
@media (max-width: 768px) {
  .roi-calculator {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .roi-calculator__title {
    font-size: 1.5rem;
  }
  
  .tiempo-buttons {
    justify-content: center;
  }
  
  .tiempo-btn {
    flex: 1;
    min-width: 80px;
  }
  
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .result-value {
    font-size: 1.4rem;
  }
  
  .submit-button {
    min-width: 100%;
    padding: 1rem;
  }
  
  .notification {
    left: 20px;
    right: 20px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .tiempo-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Estilos para details/summary en políticas de privacidad */
details[open] summary::after {
  transform: rotate(180deg);
}

summary::after {
  content: '▼';
  font-size: 0.8rem;
  color: var(--text-light);
  transition: transform 0.2s ease;
  margin-left: auto;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::-moz-list-bullet {
  list-style-type: none;
}

/* Hover effects para mejor UX */
summary:hover {
  background-color: var(--bg-color);
}

/* Smooth transition para opening */
details[open] > div {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
