/* VARIABLES DE MARCA */
:root {
  --primary: #5db0d7; 
  --dark: #1a1a1a;    
  --light-bg: #f4f7f9; 
  --white: #ffffff;
  --text-gray: #666666;
}

/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* ===== BODY + FONDO PREMIUM ===== */
body {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f6f9fc 60%,
    #ffffff 100%
  );
  color: var(--dark);
  overflow-x: hidden;
  position: relative;
}

/* CAPA ANIMADA SUAVE */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at top center,
    rgba(93,176,215,0.08),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  animation: floatBg 18s ease-in-out infinite;
}

/* Eleva todo el contenido */
body > * {
  position: relative;
  z-index: 1;
}

@keyframes floatBg {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER Y NAVEGACIÓN */
.header {
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--dark);
  letter-spacing: -1px;
}
.logo-web {
  color: #4cc3ff; /* azul marca */
}

.logo-craft {
  color: #0f172a; /* azul oscuro / casi negro */
}

nav a {
  text-decoration: none;
  color: var(--dark);
  margin-left: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

nav a:hover { color: var(--primary); }

/* HERO */
.hero {
  margin-top: 0;               /* ← QUITAR el negativo */
  padding: 180px 0 200px;      /* aire arriba y abajo */
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  text-align: center;
}


.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;

    
}

.hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 40px;
  opacity: 0.85;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.35s ease;
  box-shadow: 0 10px 20px rgba(93,176,215,0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(93,176,215,0.45);
}

/* SECCIONES */
section { margin-top: 40px; }

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-weight: 800;
}

.section-title span { color: var(--primary); }

/* SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  transition: all 0.4s ease;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img { transform: scale(1.08); }

.service-info { padding: 35px; }
.service-info h3 { margin-bottom: 15px; font-size: 1.5rem; }
.service-info p { color: var(--text-gray); }

/* BENEFICIOS */
.benefits { background-color: var(--light-bg); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.benefit-item {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  position: relative;

  border: 1px solid #eee;

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}
.benefit-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;

  border: 2px solid var(--primary);
  opacity: 0;
  transform: scale(0.97);

  transition:
    opacity .35s ease,
    transform .35s ease;

  pointer-events: none;
}
.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0,0,0,0.12);
}

.benefit-item:hover::after {
  opacity: 1;
  transform: scale(1);
}


/* POR QUÉ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.why-card {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 20px;
}

.why-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(93,176,215,0.18);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 80px 0; }
  nav { display: none; }
  .section-title { font-size: 2rem; }
}
/* ================= CÓMO TRABAJAMOS ================= */
.process-step {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  position: relative;
  border: 1px solid #eee;

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}
.process-step::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid var(--primary);

  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity .35s ease,
    transform .35s ease;

  pointer-events: none;
}
.process-grid {
  display: grid;
  gap: 40px;
  margin-top: 60px;
}

.process-step {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #eee;
  transition: transform .3s ease, box-shadow .3s ease;
}
.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.process-step:hover::after {
  opacity: 1;
  transform: scale(1);
}

.process-num {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* Desktop */
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ================= SOBRE MÍ ================= */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}/* ===== SECCIÓN SOBRE MÍ ===== */
.about {
  padding: 100px 0 80px;
  overflow: hidden; /* EVITA LA LÍNEA BLANCA */
}

/* GRID GENERAL */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* FOTO */
.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 0 6px rgba(93, 176, 215, 0.15);
}

/* TEXTO */
.about-content {
  max-width: 520px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* LISTA */
.about-list {
  list-style: none;
  margin-top: 25px;
  padding: 0;
}

.about-list li {
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-content {
    max-width: 100%;
  }
}
/* ===== COMO TRABAJAMOS ===== */
.process {
  background-color: var(--white);
}

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

.process-card {
  background: var(--white);
  border-radius: 22px;
  padding: 40px 30px;
  text-align: left;
  border: 2px solid transparent;
  box-shadow: 0 10px 35px rgba(0,0,0,0.04);
  transition: all 0.35s ease;
}

.process-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.process-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(93, 176, 215, 0.25);
  display: block;
  margin-bottom: 15px;
}

.process-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.process-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .process-card {
    text-align: center;
  }
}
/* ================= PORTAFOLIO CTA ================= */
.portfolio-cta {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f4f7f9 100%
  );
  padding: 100px 0;
  text-align: center;
}

.portfolio-cta .section-title {
  margin-bottom: 24px;
}

.portfolio-text {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Botón ya existente, solo afinamos hover */
.portfolio-cta .btn {
  padding: 18px 52px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* Micro animación suave */
.portfolio-cta[data-aos] {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-cta {
    padding: 80px 0;
  }

  .portfolio-text {
    font-size: 1rem;
    margin-bottom: 32px;
  }
}
/* ================= PORTAFOLIO HERO ================= */
.portfolio-hero {
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 100%
  );
  color: var(--white);
  text-align: center;
}

.portfolio-hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.portfolio-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.85;
}

/* ================= SECCIONES PORTAFOLIO ================= */
.portfolio-section {
  padding: 100px 0;
  background: var(--white);
}

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

/* ================= GRID ================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

/* ================= CARD ================= */
.portfolio-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  transition:
    transform .4s ease,
    box-shadow .4s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0,0,0,.12);
}

.portfolio-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-card p {
  padding: 26px;
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ================= CTA FINAL ================= */
.portfolio-final {
  padding: 120px 0;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f4f7f9 100%
  );
  text-align: center;
}

.portfolio-final h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.portfolio-final p {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--text-gray);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .portfolio-hero {
    padding: 90px 0;
  }

  .portfolio-section {
    padding: 80px 0;
  }

  .portfolio-final {
    padding: 90px 0;
  }
}
/* ================= PORTAFOLIO ================= */

.portfolio-section {
  padding: 100px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

/* CARD */
.portfolio-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  transition: transform .4s ease, box-shadow .4s ease;
  border: 1px solid #f0f0f0;
}

.portfolio-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* INFO */
.portfolio-info {
  padding: 32px;
}

.portfolio-info h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.portfolio-info p {
  color: var(--text-gray);
  margin-bottom: 22px;
  line-height: 1.6;
}

/* 🔥 BOTÓN PORTAFOLIO */
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;

  color: var(--primary);
  padding: 10px 18px;

  border-radius: 999px;
  border: 2px solid rgba(93,176,215,0.25);

  transition:
    background-color .3s ease,
    color .3s ease,
    transform .3s ease,
    box-shadow .3s ease;
}

.portfolio-link:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(93,176,215,0.35);
}
/* ================= PLANES ================= */
.plans {
  background: var(--white);
  padding: 100px 0;
}

.plans-intro {
  max-width: 650px;
  margin: 0 auto 60px;
  text-align: center;
  color: var(--text-gray);
  font-size: 1.05rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* CARD */
.plan-card {
  background: var(--white);
  border-radius: 22px;
  padding: 40px 35px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
  transition: 
    transform .4s ease,
    box-shadow .4s ease,
    border-color .4s ease;
}

.plan-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.12);
  border-color: var(--primary);
}

/* CARD DESTACADA */
.plan-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 50px rgba(93,176,215,0.2);
}

/* TEXTOS */
.plan-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.plan-desc {
  color: var(--text-gray);
  margin-bottom: 25px;
  line-height: 1.6;
}

.plan-list {
  list-style: none;
  margin-bottom: 30px;
}

.plan-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  position: relative;
  padding-left: 18px;
}

.plan-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* BOTÓN */
.plan-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  transition: 
    transform .3s ease,
    box-shadow .3s ease;
}

.plan-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(93,176,215,0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .plans {
    padding: 80px 0;
  }
}
/* ================= PLANES DE MANTENIMIENTO ================= */
.maintenance {
  background: var(--light-bg);
  padding: 100px 0;
}

.maintenance-subtitle {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
  color: var(--text-gray);
  font-size: 1.05rem;
}

.maintenance-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* TARJETA */
.maintenance-card {
  background: var(--white);
  border-radius: 22px;
  padding: 40px 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  transition: transform .35s ease, box-shadow .35s ease;
  text-align: center;
  position: relative;
}

/* LEVANTAR + ENMARCAR */
.maintenance-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.maintenance-card h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.plan-for {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 28px;
}

/* LISTA */
.maintenance-card ul {
  list-style: none;
  margin-bottom: 30px;
}

.maintenance-card li {
  margin-bottom: 12px;
  font-weight: 500;
}

/* DESTACADO */
.maintenance-card.featured {
  border: 2px solid var(--primary);
  transform: translateY(-6px);
}

.maintenance-card.featured:hover {
  transform: translateY(-14px);
}

/* BOTONES */
.btn-outline {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  transition: all .3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
/* ================= CTA FINAL ================= */
.final-cta {
  padding: 120px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top center,
    rgba(93, 176, 215, 0.18),
    transparent 65%
  );
}

.final-cta .container {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.final-cta p {
  max-width: 650px;
  margin: 0 auto 45px;
  font-size: 1.15rem;
  opacity: 0.85;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .final-cta {
    padding: 90px 0;
  }

  .cta-actions {
    flex-direction: column;
  }
}
/* ================= CONTACTO ================= */
.contact {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f6f9fb 100%
  );
  padding: 120px 0;
}

.contact-subtitle {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 60px;
  font-size: 1.05rem;
}

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px 45px;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.06);
}

/* CAMPOS */
.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
  outline: none;
  background: transparent;
  transition: 0.3s;
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

/* LABEL FLOTANTE */
.form-group label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #999;
  font-size: 0.9rem;
  pointer-events: none;
  background: var(--white);
  padding: 0 6px;
  transition: 0.25s ease;
}

/* ACTIVACIÓN */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label {
  top: -8px;
  font-size: 0.75rem;
  color: var(--primary);
}

/* BOTÓN */
.contact-form .btn {
  width: 100%;
  padding: 18px;
  margin-top: 10px;
}
/* ================= FOOTER ================= */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: start;
}

.footer-brand h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Línea inferior */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }
}
/* ===============================
   LANDING WEB – HERO
================================ */
.portfolio-hero {
  padding: 140px 0 120px;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 100%
  );
  color: var(--white);
  text-align: center;
}

.portfolio-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.portfolio-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
}

/* ===============================
   SECCIÓN PORTAFOLIO
================================ */
.portfolio-section {
  padding: 100px 0;
  background: var(--white);
}

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

.portfolio-section .section-title {
  margin-bottom: 60px;
}

/* ===============================
   GRID DE PROYECTOS
================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* ===============================
   CARD DE PROYECTO
================================ */
.portfolio-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  transition: 
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.14);
}

/* Imagen */
.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

/* Texto */
.portfolio-card p {
  padding: 24px 26px 30px;
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ===============================
   CTA FINAL
================================ */
.portfolio-final {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(
    180deg,
    #f4f7f9 0%,
    #ffffff 100%
  );
}

.portfolio-final h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.portfolio-final p {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--text-gray);
  font-size: 1.05rem;
}

/* Botón reutiliza .btn global */
.portfolio-final .btn {
  padding: 18px 50px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .portfolio-hero {
    padding: 100px 0 80px;
  }

  .portfolio-section {
    padding: 80px 0;
  }

  .portfolio-final {
    padding: 90px 0;
  }
}
/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Estructura */
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}

/* Logo centrado */
.logo {
  grid-column: 2;
  justify-self: center;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
}

/* Hamburguesa derecha */
.menu-toggle {
  grid-column: 3;
  justify-self: end;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}
/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  height: 58px; /* más compacto */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
  text-decoration: none;
}


.logo img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
}
.logo-text {
  font-weight: 800;
  font-size: 1.4rem;
}

.logo-web {
  color: #4cc3ff; /* azul marca */
}

.logo-craft {
  color: var(--dark); /* tu color oscuro */
}

/* HAMBURGUESA */
.menu-toggle {
  position: absolute;
  right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animación a X */
.header.active .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header.active .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.header.active .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* ================= MENÚ MÓVIL ================= */

.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background: #ffffff;

  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;

  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.header.active + .mobile-nav {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
/* LINKS DIRECTOS (Inicio, etc) */
.mobile-nav > a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;

  text-align: center;
  padding: 14px 0;
}

/* GRUPOS (Servicios, Portafolio, Planes) */
.nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 6px;
}

/* BOTÓN PADRE */
.nav-parent {
  background: none;
  border: none;
  cursor: pointer;

  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);

  text-align: center;
  padding: 14px 0;
}

/* SUBMENÚ (OCULTO POR DEFECTO) */
.nav-sub {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

/* SUBMENÚ ACTIVO */
.nav-group.active .nav-sub {
  display: flex;
}

/* LINKS DEL SUBMENÚ */
.nav-sub a {
  font-size: 1.05rem;
  color: var(--text-gray);
  text-decoration: none;
  text-align: center;
  opacity: 0.85;
}

/* CTA */
.nav-cta {
  margin-top: auto;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
/* ===============================
   PORTAFOLIO – ESTILOS GENERALES
================================ */

.portfolio-hero {
  padding: 140px 0 160px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  text-align: center;
}

.portfolio-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.portfolio-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.15rem;
  opacity: 0.85;
}


/* ===============================
   CONCEPTO
================================ */

.portfolio-concept {
  padding: 100px 0;
  background: var(--white);
}

.portfolio-text {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.7;
  text-align: center;
}

.portfolio-list {
  max-width: 520px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.portfolio-list li {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
}


/* ===============================
   PROYECTOS
================================ */

.portfolio-projects {
  padding: 100px 0;
  background: var(--light-bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.portfolio-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.14);
}

.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.portfolio-info {
  padding: 28px;
}

.portfolio-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.portfolio-info p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}


/* ===============================
   CTA FINAL
================================ */

.portfolio-final {
  padding: 120px 0;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  text-align: center;
}

.portfolio-final h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.portfolio-final p {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  opacity: 0.85;
}


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  .portfolio-hero {
    padding: 110px 0 130px;
  }

  .portfolio-text {
    padding: 0 10px;
  }

  .portfolio-info {
    padding: 24px;
  }
}
/* ================= PORTFOLIO HERO ================= */

.portfolio-hero {
  padding: 140px 0 120px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  text-align: center;
}

.portfolio-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.portfolio-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.15rem;
  opacity: 0.85;
}

/* ================= PORTFOLIO SECTIONS ================= */

.portfolio-section {
  padding: 100px 0;
  background: var(--white);
}

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

/* ================= GRID ================= */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* ================= CARD ================= */

.portfolio-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  border: 1px solid #f0f0f0;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
  border-color: var(--primary);
}

.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

/* ================= CARD CONTENT ================= */

.portfolio-card-content {
  padding: 28px 30px 34px;
}

.portfolio-card-content h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--dark);
}

.portfolio-card-content p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .portfolio-hero {
    padding: 110px 0 90px;
  }

  .portfolio-card img {
    height: 200px;
  }

  .portfolio-card-content {
    padding: 24px;
  }
}/* ================= PLANES ================= */
.plans {
  background: #ffffff;
  padding: 100px 0;
}

.plans-grid {
  display: grid;
  gap: 32px;
  margin-top: 60px;
}

.plan-card {
  background: #fff;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.12);
}

.plan-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text-gray);
}

.plan-price strong {
  font-size: 1.6rem;
  color: var(--dark);
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-features li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-gray);
}

/* BOTÓN */
.plan-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--dark);
  border: 2px solid var(--primary);
  transition: all .3s ease;
}

.plan-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* DESTACADO */
.plan-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.02);
}

.plan-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.plan-btn.primary {
  background: var(--primary);
  color: #fff;
}

/* TAG */
.plan-tag {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* NOTA */
.plans-note {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ================= PLANES ================= */
.plans {
  background: var(--light-bg);
  padding: 100px 0;
}

.plans-grid {
  display: grid;
  gap: 32px;
  margin-top: 60px;
}

.plan-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(0,0,0,.14);
}

.plan-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.plan-desc {
  color: var(--text-gray);
  margin-bottom: 20px;
}

.plan-price {
  font-size: 1.3rem;
  margin-bottom: 25px;
}

.plan-list {
  list-style: none;
  margin-bottom: 30px;
}

.plan-list li {
  margin-bottom: 12px;
  font-weight: 600;
}

.plan-btn {
  display: inline-block;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
}

/* DESTACADO */
.plan-card.featured {
  border: 2px solid var(--primary);
}

.plan-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* CTA FINAL */
.final-cta {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  text-align: center;
  padding: 120px 0;
}

.final-cta h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.final-cta p {
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: .85;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ================= PLANES ================= */
.plans {
  background: var(--light-bg);
  padding: 100px 0;
}

.plans-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
  color: var(--text-gray);
  font-size: 1.05rem;
}

.plans-grid {
  display: grid;
  gap: 32px;
}

.plan-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.08);
}

.plan-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.plan-price strong {
  color: var(--primary);
  font-size: 1.6rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.plan-features li {
  margin-bottom: 12px;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.plan-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.plan-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(93,176,215,0.4);
}

/* DESTACADO */
.plan-card.featured {
  border: 2px solid var(--primary);
  position: relative;
}

.plan-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 999px;
  font-weight: 700;
}

.plans-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ================= PLANES DE MANTENIMIENTO (PREVIEW) ================= */

.maintenance {
  background: var(--light-bg);
  padding: 100px 0;
  text-align: center;
}

.maintenance-subtitle {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.maintenance-actions {
  display: flex;
  justify-content: center;
}

/* reutiliza tu botón principal */
.plans {
  padding: 120px 0;
  background: var(--white);
}

.plans-subtitle {
  max-width: 650px;
  margin: 0 auto 60px;
  text-align: center;
  color: var(--text-gray);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.plan-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
}

.plan-card.featured {
  border: 2px solid var(--primary);
}

.plan-price {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 10px 0;
}

.plan-for {
  color: var(--text-gray);
  margin-bottom: 20px;
}

.plan-card ul {
  list-style: none;
  margin-bottom: 30px;
}

.plan-card li {
  margin-bottom: 10px;
  font-weight: 500;
}
/* ================= PORTAFOLIO PROYECTOS ================= */

.portfolio-project {
  padding: 100px 0;
  background: var(--white);
}

.portfolio-project.alt {
  background: var(--light-bg);
}

/* CONTENIDO */
.project-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}

.project-desc {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  color: var(--text-gray);
  text-align: center;
  line-height: 1.7;
}

/* LISTA DE CARACTERÍSTICAS */
.project-features {
  list-style: none;
  max-width: 520px;
  margin: 0 auto 30px;
  padding: 0;
}

.project-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--dark);
}

.project-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ESTADO DEL PROYECTO */
.project-status {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 30px;
  color: var(--dark);
}

.project-status.warning {
  color: #c2410c;
}

/* BOTÓN */
.portfolio-project .btn-outline {
  display: inline-block;
  margin: 0 auto;
  padding: 14px 36px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.35s ease;
}

.portfolio-project .btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* CENTRADO DEL BOTÓN */
.portfolio-project .container {
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .portfolio-project {
    padding: 70px 0;
  }

  .project-title {
    font-size: 1.8rem;
  }

  .project-desc {
    font-size: 1rem;
  }
}
/* ================= CONCEPTO SERVICIO ================= */

.service-concept {
  padding: 100px 0 80px;
  background: #ffffff;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 50px;
}

.concept-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.concept-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.concept-card p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .service-concept {
    padding: 80px 0 60px;
  }
}
.testimonial-section {
  padding: 4rem 1.5rem;
  background: #0f172a; /* fondo oscuro elegante */
  color: #ffffff;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}

.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: #020617;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #38bdf8;
  flex-shrink: 0;
}

.testimonial-content {
  text-align: left;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
  color: #e5e7eb;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #38bdf8;
}
.testimonial-wrapper {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease;
}

.testimonial-card {
  min-width: 100%;
  max-width: 100%;
}