/* WebService.com.ar — Rediseño 2026 */

:root {
  --bg:          #0d0d0d;
  --bg-card:     #161616;
  --bg-card-2:   #1e1e1e;
  --accent:      #2563eb;
  --accent-h:    #1d4ed8;
  --accent-glow: rgba(37,99,235,0.18);
  --text:        #f0f0f0;
  --text-muted:  #9ca3af;
  --border:      rgba(255,255,255,0.07);
  --green:       #22c55e;
  --radius:      12px;
  --radius-sm:   8px;
}

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

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

body {
  font-family: 'Inter', 'Raleway', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #93c5fd; }

img { max-width: 100%; display: block; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 0.5rem 1.2rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-h) !important; color: #fff !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 5rem 5% 4rem;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.22) 0%, transparent 70%);
}

.hero-inner { max-width: 760px; }

.hero-badge {
  display: inline-block;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.3);
  color: #93c5fd;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem; border-radius: 99px;
  margin-bottom: 1.5rem; text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 1.1rem; color: var(--text-muted); line-height: 1.7;
  max-width: 580px; margin: 0 auto 2.5rem;
}

/* Caja de acceso al micrositio */
.hero-login {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  max-width: 500px; margin: 0 auto 1.5rem;
}

.hero-login p {
  font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 0.9rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
}

.hero-login form {
  display: flex; gap: 0.6rem;
}

.hero-login input[type="text"] {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text); font-size: 1rem;
  outline: none; transition: border-color 0.2s;
}
.hero-login input[type="text"]::placeholder { color: var(--text-muted); }
.hero-login input[type="text"]:focus { border-color: var(--accent); }

.hero-login button {
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background 0.2s;
}
.hero-login button:hover { background: var(--accent-h); }

.hero-note {
  font-size: 0.8rem; color: var(--text-muted);
}
.hero-note a { color: var(--accent); }

/* ── SECCIONES ── */
section { padding: 5rem 5%; }

.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-muted); font-size: 1rem;
  max-width: 560px; line-height: 1.7;
}

.section-header { margin-bottom: 3rem; }

/* ── FEATURES ── */
#caracteristicas { background: var(--bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover {
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.6;
}

/* ── PRECIOS ── */
#precios { background: var(--bg-card); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 820px; margin: 0 auto;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  position: relative;
}

.pricing-card.recommended {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, var(--bg) 60%);
}

.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.3rem 1rem; border-radius: 99px; white-space: nowrap;
  text-transform: uppercase;
}

.pricing-name {
  font-size: 0.85rem; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.pricing-amount {
  font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em;
  line-height: 1; margin-bottom: 0.3rem;
}
.pricing-amount sup { font-size: 1.2rem; font-weight: 600; vertical-align: top; margin-top: 0.5rem; display: inline-block; }
.pricing-period {
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem;
}
.pricing-saving {
  font-size: 0.8rem; color: var(--green); font-weight: 600; margin-bottom: 1.5rem;
}

.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 1.2rem 0; }

.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li {
  font-size: 0.9rem; color: var(--text-muted);
  padding: 0.4rem 0;
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.pricing-features li::before {
  content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0;
}
.pricing-features li strong { color: var(--text); }

.btn-pricing {
  display: block; width: 100%; text-align: center;
  padding: 0.85rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.2s;
}
.btn-pricing-outline {
  border: 1px solid var(--border); color: var(--text);
  background: transparent;
}
.btn-pricing-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-pricing-solid {
  background: var(--accent); color: #fff; border: none;
}
.btn-pricing-solid:hover { background: var(--accent-h); }

.pricing-trial {
  max-width: 820px; margin: 2rem auto 0;
  background: var(--bg);
  border: 1px dashed rgba(37,99,235,0.35);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.pricing-trial-icon { font-size: 1.8rem; flex-shrink: 0; }
.pricing-trial-content { flex: 1; }
.pricing-trial-content h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; }
.pricing-trial-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.pricing-trial-content p strong { color: var(--text); }
.pricing-trial .btn-pricing { width: auto; white-space: nowrap; flex-shrink: 0; padding: 0.7rem 1.2rem; }

/* ── VENTAJAS ── */
#ventajas { background: var(--bg); }

.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ventaja-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ventaja-icon {
  font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem;
}

.ventaja-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.ventaja-item p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ── ACERCA ── */
#nosotros {
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37,99,235,0.1) 0%, transparent 70%),
              var(--bg-card);
}
#nosotros .section-sub { max-width: 680px; }
.nosotros-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.5rem; color: var(--accent); font-weight: 600; font-size: 0.95rem;
}
.nosotros-link:hover { color: #93c5fd; }

/* ── CONTACTO ── */
#contacto { background: var(--bg); }

.contacto-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}

.contacto-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.contacto-info p  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #25d366; color: #fff;
  padding: 0.8rem 1.4rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; transition: background 0.2s;
}
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }

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

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text); font-size: 0.95rem; font-family: inherit;
  outline: none; transition: border-color 0.2s; resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-submit {
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s; align-self: flex-start;
}
.btn-submit:hover { background: var(--accent-h); }

.form-feedback {
  font-size: 0.9rem; padding: 0.75rem 1rem;
  border-radius: var(--radius-sm); display: none;
}
.form-feedback.ok  { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: var(--green); }
.form-feedback.err { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3);  color: #f87171; }

/* ── FOOTER ── */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 2.5rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}

.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ── MAILTO / CONTACTO ACCIONES ── */
.contacto-acciones { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }

.btn-mailto {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--accent); color: #fff;
  padding: 0.9rem 1.6rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; transition: background 0.2s;
  align-self: flex-start;
}
.btn-mailto:hover { background: var(--accent-h); color: #fff; }

.contacto-mailto-hint {
  font-size: 0.8rem; color: var(--text-muted); line-height: 1.5;
  max-width: 320px;
}

/* ── FLASH ── */
.flash-ok  { background: rgba(34,197,94,0.1);  border:1px solid rgba(34,197,94,0.3);  color:var(--green); padding:1rem; border-radius:var(--radius-sm); margin-bottom:1rem; }
.flash-err { background: rgba(239,68,68,0.1);   border:1px solid rgba(239,68,68,0.3);   color:#f87171;       padding:1rem; border-radius:var(--radius-sm); margin-bottom:1rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .ventajas-grid  { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links  { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 5%; gap: 1rem;
  }
  .features-grid  { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .pricing-trial  { flex-direction: column; text-align: center; }
  .pricing-trial .btn-pricing { width: 100%; }
  .ventajas-grid  { grid-template-columns: 1fr; }
  .hero-login form { flex-direction: column; }
  .form-row       { grid-template-columns: 1fr; }
  .footer         { flex-direction: column; align-items: flex-start; }
}
