:root {
  --bg: #0f172a;
  --bg-alt: #f5f7fb;
  --primary: #0f766e;
  --primary-soft: #ccfbf1;
  --accent: #0284c7;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --max-width: 1080px;
  --transition: 0.2s ease;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text-main);
  background: #f3f4f6;
}

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

/* Layout */

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

.section {
  padding: 4rem 0;
}

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

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 0.75rem;
}

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

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}

.logo-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #9ca3af;
}

/* Nav */

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: #e5e7eb;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav a:hover {
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  transform: translateY(-1px);
}

/* Botón menú móvil */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 4px 0;
}

/* Hero */

.hero {
  background: radial-gradient(circle at top left, #0ea5e9 0, #0f172a 40%, #020617 100%);
  color: #e5e7eb;
  padding: 4rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-top: 0;
}

.hero-subtitle {
  color: #cbd5f5;
  line-height: 1.5;
  font-size: 0.98rem;
}

.hero-small {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.5rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  background: var(--primary);
  color: #ecfeff;
  box-shadow: 0 10px 20px rgba(8, 47, 43, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(8, 47, 43, 0.45);
  background: #0d9488;
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.7);
  color: #f9fafb;
}

.btn-small {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

/* Hero card */

.hero-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-top: 0;
}

.hero-card ul {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.hero-card-note {
  font-size: 0.8rem;
  margin-top: 0.75rem;
  color: #bfdbfe;
}

/* Cards & grid */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card-warning {
  font-size: 0.8rem;
  color: #b91c1c;
  margin-top: 0.75rem;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  position: relative;
}

.step-number {
  position: absolute;
  top: -0.9rem;
  left: 1.2rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ecfeff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.4);
}

.step h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

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

/* Precios */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.price-card {
  background: var(--card-bg);
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.price-card h3 {
  margin-top: 0;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.2rem 0 0.8rem;
}

.price-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.price-card.featured {
  border: 1px solid var(--primary);
  box-shadow: 0 18px 35px rgba(15, 118, 110, 0.2);
}

.section-note {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contacto */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-list li + li {
  margin-top: 0.4rem;
}

.contact-warning {
  font-size: 0.85rem;
  color: #b91c1c;
  margin-top: 0.75rem;
}

.contact-form {
  background: #ffffff;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.contact-form h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.4);
  background: #f9fafb;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Footer */

.footer {
  background: #020617;
  color: #9ca3af;
  padding: 1.5rem 0;
  font-size: 0.8rem;
}

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

.footer-small {
  margin-top: 0.25rem;
  color: #6b7280;
}

/* Responsive */

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

  .hero {
    padding-top: 3.5rem;
  }

  .hero-card {
    margin-top: 0.5rem;
  }

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

@media (max-width: 780px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    padding: 0.75rem 1.5rem 1rem;
    gap: 0.3rem;
    display: none;
  }

  .nav a {
    padding: 0.5rem 0.7rem;
    width: fit-content;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    padding: 3.5rem 0 3.5rem;
  }

  .hero-card {
    padding: 1.25rem;
  }

  .card {
    padding: 1.25rem;
  }

  .contact-form {
    padding: 1.3rem 1.2rem;
  }
}
