:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --panel-2: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --brand: #0ea5e9;
  --brand-2: #22c55e;
  --brand-2-dark: #16a34a;
  --dark: #020617;
  --border: #e2e8f0;
  --shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1100px;
  --focus: 0 0 0 3px rgba(14,165,233,0.25);
  --text-light: #ffffff;
  --muted-light: #94a3b8;
  --brand-dark: #0284c7;
  --brand-light: #38bdf8;
  --muted-alt: #64748b;
  --success: #16a34a;
  --error: #dc2626;
  --dark-alt: #1e293b;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
p {
  margin: 0 0 12px;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 12px;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus {
  left: 10px;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 80px 0;
}
.section.alt {
  background: var(--panel-2);
}
.section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 10px;
}
.subtitle {
  text-align: center;
  margin: 0 auto 50px;
  color: var(--muted);
  max-width: 850px;
}
.apple-nav {
  position: sticky;
  top: 0;
  z-index: 2000;
  height: 52px;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-logo {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text-light);
  font-size: 1rem;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-light);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.35);
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-links a {
  text-decoration: none;
  color: var(--panel-2);
  font-size: 0.78rem;
  opacity: 0.85;
  white-space: nowrap;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover {
  opacity: 1;
  color: var(--brand);
}
.nav-cta {
  background: var(--brand);
  padding: 6px 14px;
  border-radius: 999px;
  opacity: 1 !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  color: var(--text-light);
}
.nav-links a[aria-current="page"] {
  opacity: 1;
  color: var(--text-light);
  font-weight: 700;
}
.hero {
  background: var(--dark);
  color: var(--text-light);
  padding: 64px 0 86px;
  text-align: center;
}
.hero-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto 34px;
  padding: 0 20px;
}
.brand-left {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.5px;
}
.brand-right {
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  color: var(--brand);
  font-weight: 500;
  margin-top: -6px;
}
.hero-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 12px;
}
.hero p.lead {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 auto;
  max-width: 780px;
}
.btn,
.btn-outline,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:active,
.btn-outline:active,
.btn-primary:active {
  transform: translateY(1px);
}
.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: var(--text-light);
}
.btn-outline.light {
  border-color: var(--text-light);
  color: var(--text-light);
}
.btn-outline.light:hover {
  background: var(--text-light);
  color: var(--dark);
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card p {
  color: var(--muted);
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.card.pro {
  border-left: 4px solid var(--brand);
}
.grid {
  display: grid;
  gap: 18px;
}
.grid.cols-auto {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
@media (max-width: 900px) {
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }
}
.swiper {
  width: 100%;
  padding: 20px 0 60px;
}
.swiper-slide {
  height: auto;
}
.swiper-button-next,
.swiper-button-prev {
  background: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
}
:root {
  --swiper-theme-color: var(--brand);
  --swiper-navigation-size: 25px;
}
.pricing-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.price-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 30px rgba(2, 6, 23, 0.1);
}
.price-card.highlight {
  background: var(--dark);
  color: var(--text-light);
  border: none;
}
.price-card p {
  color: var(--muted-alt);
  margin-bottom: 22px;
  min-height: 52px;
}
.price-card.highlight p {
  color: var(--muted-light);
}
.price-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
}
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-contact:active {
  transform: translateY(1px);
}
.whatsapp-btn {
  background: var(--brand-2);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}
.whatsapp-btn:hover {
  background: var(--brand-2-dark);
}
.email-btn {
  background: var(--dark);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.3);
}
.email-btn:hover {
  background: var(--dark-alt);
}
@media (max-width: 600px) {
  .btn-contact {
    width: 100%;
    max-width: 330px;
  }
}
.form-container {
  max-width: 720px;
  margin: 46px auto 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
}
.form-container h3 {
  text-align: center;
  margin-bottom: 22px;
  font-size: 1.35rem;
  color: var(--dark);
}
.form-group {
  margin-bottom: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--bg);
  transition: border-color 0.15s ease, background 0.15s ease;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
.form-status {
  margin-top: 12px;
  font-weight: 700;
}
.form-status.ok {
  color: var(--success);
}
.form-status.err {
  color: var(--error);
}
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--dark);
  color: var(--text-light);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: 8px;
}
.btn-submit:hover {
  background: var(--dark-alt);
}
.btn-submit[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
footer {
  background: var(--dark);
  color: var(--muted-light);
  text-align: center;
  padding: 22px;
  font-size: 0.9rem;
}
.accent {
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.hero-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 45px rgba(14, 165, 233, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.hero-cta:active {
  transform: translateY(0);
}
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .nav-links {
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nav-links.is-open {
    display: flex;
  }
}
@media (max-width: 768px) {
  .pricing-selector {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 16px 14px;
  }
  .price-card {
    flex: 0 0 78%;
    scroll-snap-align: center;
    padding: 18px 16px;
    border-radius: 18px;
  }
  .price-icon {
    font-size: 2.1rem;
    margin-bottom: 10px;
  }
  .price-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  .price-card p {
    margin-bottom: 14px;
    min-height: 0;
    font-size: 0.95rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .price-card .btn-outline {
    display: inline-flex;
    margin: 0 auto;
    padding: 11px 16px;
    font-weight: 800;
  }
  .pricing-selector::-webkit-scrollbar {
    display: none;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --panel: #1e293b;
    --panel-2: #0f172a;
    --text: #f8fafc;
    --muted: #94a3b8;
    --border: #334155;
    --shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    --text-light: #ffffff;
    --muted-light: #cbd5e1;
    --brand: #38bdf8;
    --brand-2: #4ade80;
    --brand-2-dark: #22c55e;
    --brand-dark: #0284c7;
    --brand-light: #0ea5e9;
    --dark: #020617;
    --dark-alt: #1e293b;
  }
  body {
    background-color: var(--bg);
    color: var(--text);
  }
  .card:hover,
  .price-card:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
  }
  .nav-links a {
    color: #ffffff;
    opacity: 0.9;
  }
  .nav-links a:hover {
    color: var(--brand);
    opacity: 1;
  }
}
/* ---- Modal Cotizar ---- */
.cotizar-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.cotizar-modal.open {
  display: flex;
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.6);
}
.modal-dialog {
  position: relative;
  max-width: 600px;
  width: 90%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: left;
}
.modal-dialog h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: var(--dark);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--muted);
}
.modal-close:hover {
  color: var(--text);
}
