/* ══════════════════════════════════════
   DESINGMARK — styles.css v5
══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --blue-dark:   #2D2F8F;
  --blue-mid:    #3D5BD9;
  --blue-light:  #6EC6E6;
  --bg:          #0A0A0F;
  --bg2:         #0F0F1A;
  --bg3:         #14141F;
  --bg4:         #1A1A2E;
  --text:        #EFF0FF;
  --muted:       #8A8BAD;
  --border:      rgba(110,198,230,0.15);
  --grad:        linear-gradient(135deg, #2D2F8F, #6EC6E6);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: 0.5px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-label { font-family: 'Rajdhani', sans-serif; font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase; color: var(--blue-light); margin-bottom: 0.8rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; margin-bottom: 1rem; }
.section-desc { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 520px; }
section { padding: 7rem 6%; }

/* ── BOTONES ── */
.btn-primary { background: var(--grad); color: #fff; padding: 0.85rem 2.2rem; border-radius: 6px; border: none; font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 1px; cursor: pointer; text-decoration: none; display: inline-block; transition: opacity 0.2s, transform 0.2s; }
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); padding: 0.85rem 2.2rem; border-radius: 6px; border: 1px solid rgba(110,198,230,0.3); font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 1px; cursor: pointer; text-decoration: none; display: inline-block; transition: border-color 0.2s, color 0.2s; }
.btn-ghost:hover { border-color: var(--blue-light); color: var(--blue-light); }

/* ══════════ NAV ══════════ */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 6%; background: rgba(10,10,15,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 68px; width: auto; filter: drop-shadow(0 0 14px rgba(110,198,230,0.28)); transition: filter 0.3s; }
.nav-logo img:hover { filter: drop-shadow(0 0 22px rgba(110,198,230,0.55)); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-family: 'Rajdhani', sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ══════════ HERO ══════════ */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 10rem 6% 6rem; position: relative; overflow: hidden; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(110,198,230,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(110,198,230,0.04) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.hero-glow { position: absolute; top: -10%; right: -5%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(45,47,143,0.3) 0%, transparent 65%); pointer-events: none; }
.hero-glow2 { position: absolute; bottom: -20%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(110,198,230,0.1) 0%, transparent 65%); pointer-events: none; }
.hero-content { max-width: 650px; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(110,198,230,0.08); border: 1px solid rgba(110,198,230,0.2); padding: 0.4rem 1.1rem; border-radius: 4px; font-family: 'Rajdhani', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-light); margin-bottom: 2rem; }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.05; margin-bottom: 1.5rem; }
.hero p { font-size: 1.05rem; color: var(--muted); line-height: 1.75; margin-bottom: 2.5rem; max-width: 500px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ══════════ SERVICIOS ══════════ */
.services { background: var(--bg2); }
.services-header { margin-bottom: 4rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }

.srv-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s; }
.srv-card:hover { transform: translateY(-6px); border-color: var(--blue-light); box-shadow: 0 16px 48px rgba(110,198,230,0.1); }
.srv-card-header { padding: 1.5rem 1.5rem 1.2rem; background: linear-gradient(135deg, rgba(45,47,143,0.35), rgba(20,20,31,0.1)); border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 1rem; }
.srv-card-icon-wrap { width: 50px; height: 50px; border-radius: 12px; background: rgba(110,198,230,0.1); border: 1px solid rgba(110,198,230,0.22); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.srv-card-header-text { flex: 1; }
.srv-card-cat { font-family: 'Rajdhani', sans-serif; font-size: 0.68rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-light); margin-bottom: 0.25rem; display: block; }
.srv-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.25; color: var(--text); }
.srv-card-body { padding: 1.2rem 1.5rem 1.5rem; flex: 1; }
.srv-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.srv-card ul li { font-size: 0.85rem; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.srv-card ul li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-light); margin-top: 6px; flex-shrink: 0; }

/* ══════════ PRECIOS ══════════ */
.pricing { background: var(--bg); }
.pricing-header { text-align: center; margin-bottom: 4rem; }
.pricing-header .section-desc { margin: 0 auto; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; max-width: 1050px; margin: 0 auto; }

.plan { background: var(--bg3); border: 1px solid var(--border); border-radius: 18px; padding: 2.2rem; position: relative; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.plan:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(45,47,143,0.2); }
.plan.featured { background: linear-gradient(160deg, #151535 0%, #0d0d20 100%); border-color: var(--blue-light); box-shadow: 0 0 0 1px rgba(110,198,230,0.15), 0 20px 60px rgba(110,198,230,0.1); }
.plan.featured:hover { box-shadow: 0 0 0 1px rgba(110,198,230,0.35), 0 24px 70px rgba(110,198,230,0.18); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-family: 'Rajdhani', sans-serif; font-size: 0.68rem; font-weight: 700; padding: 5px 18px; border-radius: 20px; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }
.plan-header { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.plan-tag { font-family: 'Rajdhani', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; display: block; }
.plan.featured .plan-tag { color: var(--blue-light); }
.plan-title { font-family: 'Rajdhani', sans-serif; font-size: 1.9rem; font-weight: 700; margin-bottom: 0.6rem; }
.plan-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.5rem; flex: 1; }
.plan-features li { font-size: 0.875rem; color: var(--muted); display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.plan.featured .plan-features li { color: var(--text); }
.check { width: 18px; height: 18px; border-radius: 50%; background: rgba(110,198,230,0.08); border: 1px solid rgba(110,198,230,0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.check::after { content: '✓'; font-size: 0.62rem; color: var(--blue-light); font-weight: 700; }
.plan.featured .check { background: rgba(110,198,230,0.15); border-color: var(--blue-light); }
.plan-goal { display: flex; align-items: center; gap: 8px; background: rgba(110,198,230,0.06); border: 1px solid rgba(110,198,230,0.15); border-radius: 8px; padding: 0.6rem 1rem; margin-bottom: 1.5rem; font-family: 'Rajdhani', sans-serif; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; color: var(--blue-light); }
.plan-btn { width: 100%; padding: 0.9rem; border-radius: 8px; font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all 0.25s; border: 1px solid rgba(110,198,230,0.3); background: transparent; color: var(--text); }
.plan-btn:hover { background: rgba(110,198,230,0.08); border-color: var(--blue-light); color: var(--blue-light); }
.plan.featured .plan-btn { background: var(--grad); border: none; color: #fff; box-shadow: 0 4px 20px rgba(45,47,143,0.4); }
.plan.featured .plan-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* ══════════ CONTACTO ══════════ */
.contacto-section { background: var(--bg2); border-top: 1px solid var(--border); padding: 7rem 6%; position: relative; overflow: hidden; }
.cta-glow { position: absolute; right: -5%; top: -30%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(45,47,143,0.25) 0%, transparent 70%); pointer-events: none; }
.contacto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; position: relative; z-index: 1; }

.contact-items { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); transition: border-color 0.2s, transform 0.2s; }
.contact-item:hover { border-color: var(--blue-light); transform: translateX(4px); }
.contact-icon { font-size: 1.4rem; width: 44px; height: 44px; background: rgba(110,198,230,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-label { font-size: 0.75rem; color: var(--muted); font-family: 'Rajdhani', sans-serif; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.1rem; }
.contact-value { font-size: 0.92rem; color: var(--text); font-weight: 500; }

.contacto-right { display: flex; align-items: center; }
.contact-cta-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 18px; padding: 2.2rem; width: 100%; }
.contact-cta-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.6rem; }
.contact-cta-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.8rem; }
.contact-cta-btns { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.8rem; }
.social-btn { flex: 1; text-align: center; padding: 0.6rem; border-radius: 8px; background: rgba(110,198,230,0.06); border: 1px solid rgba(110,198,230,0.2); color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.social-btn:hover { background: rgba(110,198,230,0.12); border-color: var(--blue-light); color: var(--blue-light); }

/* ══════════ FOOTER ══════════ */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 2rem 6%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; }
.footer-logo img { height: 50px; width: auto; }
.footer-social { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-social-link { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-social-link:hover { color: var(--blue-light); }
.footer-copy { color: var(--muted); font-size: 0.8rem; }

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 900px) {
  .contacto-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 80px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 1.5rem 6%; gap: 1.2rem; }
  .hero { padding: 9rem 6% 5rem; }
  footer { flex-direction: column; align-items: flex-start; }
}
