:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.18 0 0);
  --card: oklch(0.98 0 0);
  --card-foreground: oklch(0.18 0 0);
  --primary: oklch(0.55 0.22 10);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.96 0 0);
  --secondary-foreground: oklch(0.18 0 0);
  --muted: oklch(0.96 0 0);
  --muted-foreground: oklch(0.45 0 0);
  --border: oklch(0.90 0 0);
  --contact-bg: oklch(0.25 0 0);
  --contact-foreground: oklch(0.92 0 0);
  --radius: 0.5rem;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-heading: 'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.header {
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .header-inner {
    height: 5rem;
  }
}

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

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 0.375rem;
  background: var(--secondary);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

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

.nav-btn {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-btn:hover {
  opacity: 0.9;
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-nav.active {
  display: block;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hero */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  background-color: var(--background);
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .hero {
    padding: 0;
  }
}

.hero-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.hero-content {
  max-width: 40rem;
}

@media (min-width: 640px) {
.hero-content {
    max-width: 40rem;
}
}

@media (min-width: 1024px) {
.hero-content {
    max-width: 50rem;
}
}

@media (min-width: 1280px) {
.hero-content {
    max-width: 58rem;
}
}






.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: oklch(0.55 0.22 10 / 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title-accent {
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

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

.btn-secondary:hover {
  opacity: 0.8;
}

.hero-features {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--muted-foreground);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-feature svg {
  color: var(--primary);
}

.hero-feature span {
  font-size: 0.875rem;
}

.hero-feature-hidden {
  display: none;
}

@media (min-width: 640px) {
  .hero-feature-hidden {
    display: flex;
  }
}

/* Services */
.services {
  padding: 6rem 0;
  background-color: var(--secondary);
}

.services-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.125rem;
}

.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--background);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
}

.service-card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.service-card.highlighted {
  border-color: var(--primary);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.service-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.service-icon {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .service-title {
    font-size: 1.875rem;
  }
}

.service-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.service-features svg {
  color: var(--primary);
  flex-shrink: 0;
}

.service-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.service-btn:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.service-btn.primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.service-btn.primary:hover {
  opacity: 0.9;
}

.aclaracion {font-size: .9rem; text-align: center; max-width: 720px; margin: 30px auto; padding: 0 20px}

/* Custom Web */
.custom-web {
  padding: 6rem 0;
  background-color: var(--background);
}

.custom-web-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.custom-web-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .custom-web-grid {
    /* grid-template-columns: 1fr 1fr; */
  }
}

.custom-web-content p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: oklch(0.55 0.22 10 / 0.3);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: oklch(0.55 0.22 10 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: all 0.2s;
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.feature-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.feature-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* About */
.about {
    padding: 6rem 0;
    background-color: var(--secondary);
}

.about-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .about-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .about-title {
    font-size: 3rem;
  }
}

.about-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-text {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 3rem;
  }
}

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

@media (min-width: 1024px) {
  .stat-label {
    font-size: 0.875rem;
  }
}

.about-image {
  /*width: 100%;
  aspect-ratio: 4/3;
  border-radius: 1rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--muted-foreground);*/
}

.about-image img {
}

/* Contact */
.contact {
  padding: 6rem 0;
  background-color: var(--contact-bg);
  color: var(--contact-foreground);
}

.contact-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .contact-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .contact-title {
    font-size: 3rem;
  }
}

.contact-description {
  color: oklch(0.92 0 0 / 0.7);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: oklch(0.55 0.22 10 / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-item-label {
  font-size: 0.875rem;
  color: oklch(0.92 0 0 / 0.5);
}

.contact-item-value {
  font-weight: 500;
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: oklch(0.92 0 0 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.contact-form-wrapper {
  background-color: oklch(0.92 0 0 / 0.05);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid oklch(0.92 0 0 / 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background-color: oklch(0.92 0 0 / 0.1);
  border: 1px solid oklch(0.92 0 0 / 0.2);
  color: var(--contact-foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.2s;
}

.form-input::placeholder {
  color: oklch(0.92 0 0 / 0.4);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px oklch(0.55 0.22 10 / 0.3);
}

textarea.form-input {
  resize: none;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: opacity 0.2s;
}

.submit-btn:hover {
  opacity: 0.9;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.success-message {
  text-align: center;
  padding: 3rem 0;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: oklch(0.55 0.22 10 / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.success-text {
  color: oklch(0.92 0 0 / 0.7);
}

.hidden {
  display: none;
}

/* Spinner */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  animation: spin 1s linear infinite;
}

/* Slider clientes */
.slide-clientes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.slider-wrapper {
  position: relative;
  width: 100%;

}
.slider-track {
  width: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
}
.slide-item {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  opacity: 0;
  transition: opacity 0.2s ease;
  
}
.slide-item.visible {
  opacity: 1;

}
.slide-item img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  display: block;
  border: 1px solid #9e9e9e91;
}
.slide-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.slide-item p a {
  color: var(--foreground);
  font-weight: 500;
}
.slide-item p a:hover {
  color: #70746dfc;
}
.slider-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}


.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.slider-prev { left: 0.65rem; }
.slider-next { right: 0.65rem; }
.slider-dots {
  display: flex;
  gap: 0.4rem;
}

@media (min-width: 1100px) {
  .slider-prev { left: -3rem; }
  .slider-next { right: -3rem; }
}

.slider-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.slider-dot.active {
  background: var(--primary);
  width: 1.2rem;
  border-radius: 9999px;
}