/* ===============================
   FUSIÓN SERVICE - ESTILOS MODERNOS PROFESIONALES
   =============================== */

:root {
  --color-bg: #0f172a;
  --color-panel: #1e293b;
  --color-card: #0b1220;
  --color-accent: #22d3ee;
  --color-accent2: #60a5fa;
  --color-text: #f1f5f9;
  --color-muted: #94a3b8;
  --color-border: #334155;
}

/* ======== GLOBAL ======== */
body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  background: radial-gradient(1200px 700px at 10% -10%, #152238 0%, var(--color-bg) 45%),
              radial-gradient(900px 600px at 110% 0%, #122335 0%, var(--color-bg) 55%),
              var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ======== HEADER ======== */
header {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent2));
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

header h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

/* ======== MAIN STRUCTURE ======== */
main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* ======== INTRO ======== */
.intro {
  text-align: center;
  margin-bottom: 3rem;
}

.intro h2 {
  font-size: 2.2rem;
  color: var(--color-accent);
}

.intro p {
  color: var(--color-muted);
  max-width: 800px;
  margin: 0.5rem auto;
}

/* ======== SECCIONES ======== */
section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%), var(--color-panel);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  margin-bottom: 2rem;
  padding: 2rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

section h2 {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

section img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* ======== TARJETAS DE SERVICIOS ======== */
.resumen-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.tarjeta {
  background: var(--color-card);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tarjeta:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

.tarjeta img {
  border-radius: 10px;
  margin-bottom: 1rem;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.tarjeta h3 {
  color: var(--color-accent2);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.tarjeta p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.tarjeta a {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent2));
  color: #001025;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tarjeta a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* ======== LISTAS ======== */
.services {
  list-style: none;
  padding: 0;
}

.services li {
  background: var(--color-card);
  margin: 0.5rem 0;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.services li strong {
  color: var(--color-accent2);
}

/* ======== FORMULARIO ======== */
form {
  display: grid;
  gap: 0.75rem;
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background-color: var(--color-card);
  color: var(--color-text);
  font-size: 1rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent2));
  border: none;
  color: #001025;
  font-weight: bold;
  padding: 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

/* ======== FOOTER ======== */
footer {
  text-align: center;
  color: var(--color-muted);
  padding: 2rem 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 70%), var(--color-panel);
}

.footer-brand {
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.social {
  display: flex;
  justify-content: center;
  gap: 1rem;
