/* ===================================================================
   YeiCode Modern Theme - Aligned with the Brand Concept:
   "Ideas que se convierten en software"
   Brand Colors: Midnight (#011831), Azure (#0087F3), Cyan (#00B2FD / #00F0FF)
   =================================================================== */

:root {
  --yc-midnight: #011831;
  --yc-midnight-dark: #000f21;
  --yc-navy: #042447;
  --yc-blue: #0087F3;
  --yc-cyan: #00B2FD;
  --yc-cyan-bright: #00F0FF;
  
  --yc-gradient-brand: linear-gradient(135deg, #011831 0%, #04284d 40%, #0087F3 100%);
  --yc-gradient-accent: linear-gradient(135deg, #0087F3 0%, #00B2FD 50%, #00F0FF 100%);
  --yc-gradient-glow: linear-gradient(135deg, rgba(0, 135, 243, 0.3) 0%, rgba(0, 178, 253, 0.15) 100%);
  
  --yc-surface: #ffffff;
  --yc-surface-alt: #f8fafc;
  --yc-text: #0f172a;
  --yc-text-muted: #64748b;
  --yc-border: rgba(1, 24, 49, 0.08);
  --yc-radius: 18px;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif !important;
  color: var(--yc-text) !important;
  background-color: #fcfdfe;
  overflow-x: hidden;
}

/* -------------------------------------------------------------
   Header & Navigation (Midnight Frosted Glass)
   ------------------------------------------------------------- */
#header {
  background: rgba(1, 24, 49, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(0, 178, 253, 0.25) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.3s ease;
  padding: 10px 0 !important;
}

#header.header-scrolled {
  background: rgba(1, 24, 49, 0.98) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
  padding: 8px 0 !important;
}

#header .logo img {
  max-height: 46px;
  width: auto;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

#header .logo img:hover {
  transform: scale(1.03);
}

.nav-menu ul li a {
  font-weight: 500 !important;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 8px 16px !important;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-menu ul li a:hover,
.nav-menu ul li.active a {
  color: #00F0FF !important;
  background: rgba(0, 178, 253, 0.12);
  box-shadow: 0 0 15px rgba(0, 178, 253, 0.3);
}

.nav-cta-btn {
  background: var(--yc-gradient-accent) !important;
  color: #011831 !important;
  font-weight: 700 !important;
  padding: 8px 22px !important;
  border-radius: 50px !important;
  margin-left: 15px;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.4);
  transition: all 0.3s ease !important;
  display: inline-flex;
  align-items: center;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 240, 255, 0.6);
  color: #000f21 !important;
}

/* -------------------------------------------------------------
   Hero Section - Cyber-Clean Concept: "Ideas que se convierten en software"
   ------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 92vh;
  margin-top: 66px;
  background: 
    radial-gradient(circle at 10% 25%, rgba(0, 135, 243, 0.3) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(0, 178, 253, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(1, 24, 49, 0.7) 0%, transparent 70%),
    var(--yc-midnight);
  color: #ffffff;
  padding: 70px 0 100px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(180deg, transparent 0%, #fcfdfe 100%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 178, 253, 0.12);
  border: 1px solid rgba(0, 178, 253, 0.35);
  color: #00F0FF;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(0, 178, 253, 0.15);
}

.badge-dot {
  width: 9px;
  height: 9px;
  background: #00F0FF;
  border-radius: 50%;
  box-shadow: 0 0 12px #00F0FF;
  animation: pulse-cyan 2s infinite;
}

@keyframes pulse-cyan {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(0, 240, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.hero-title-main {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #00B2FD 0%, #00F0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(0, 178, 253, 0.3));
}

.hero-subtitle {
  font-size: 17.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.btn-hero-primary {
  background: var(--yc-gradient-accent) !important;
  color: #011831 !important;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 178, 253, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: none;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.55);
  color: #000f21 !important;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  border-color: #00F0FF;
  color: #00F0FF !important;
  background: rgba(0, 178, 253, 0.15);
  transform: translateY(-3px);
}

.hero-stats-row {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-item h3 {
  font-size: 28px;
  font-weight: 800;
  color: #00F0FF;
  margin-bottom: 2px;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.hero-stat-item p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 500;
}

/* Hero Image & 3D Floating Badges */
.hero-image-wrapper {
  position: relative;
  text-align: center;
}

.hero-main-img {
  max-width: 90%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 20px 45px rgba(0, 135, 243, 0.35));
  transition: transform 0.4s ease;
}

.hero-main-img:hover {
  transform: translateY(-6px) scale(1.02);
}

.floating-pill {
  position: absolute;
  background: rgba(1, 24, 49, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 178, 253, 0.45);
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  z-index: 2;
  animation: float-pill 4s ease-in-out infinite alternate;
}

.pill-top-right {
  top: 8%;
  right: 5%;
}

.pill-bottom-left {
  bottom: 10%;
  left: 5%;
  animation-delay: -2s;
}

@keyframes float-pill {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* -------------------------------------------------------------
   Section Titles
   ------------------------------------------------------------- */
.section-title h2 {
  font-size: 34px !important;
  font-weight: 800 !important;
  color: var(--yc-midnight) !important;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-title h2::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  width: 65px !important;
  height: 4px !important;
  background: var(--yc-gradient-accent) !important;
  bottom: -8px !important;
  left: calc(50% - 32px) !important;
  border-radius: 4px !important;
}

.section-title p {
  color: var(--yc-text-muted) !important;
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
}

/* -------------------------------------------------------------
   About Section
   ------------------------------------------------------------- */
.about-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--yc-border);
  box-shadow: 0 12px 30px rgba(1, 24, 49, 0.06);
  transition: all 0.3s ease;
}

.about-card:hover {
  box-shadow: 0 20px 45px rgba(1, 24, 49, 0.1);
}

.about-badge-list {
  list-style: none;
  padding: 0;
  margin-top: 22px;
}

.about-badge-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--yc-midnight);
  margin-bottom: 14px;
}

.about-badge-list li i {
  color: #ffffff;
  background: var(--yc-gradient-accent);
  padding: 6px;
  border-radius: 50%;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 178, 253, 0.35);
}

/* -------------------------------------------------------------
   "Por qué Elegirnos" / Services Cards
   ------------------------------------------------------------- */
.services .icon-box {
  background: #ffffff !important;
  border-radius: var(--yc-radius) !important;
  padding: 35px 25px !important;
  border: 1px solid var(--yc-border) !important;
  box-shadow: 0 8px 20px rgba(1, 24, 49, 0.04) !important;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.services .icon-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yc-gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services .icon-box:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(1, 24, 49, 0.12) !important;
  border-color: rgba(0, 178, 253, 0.4) !important;
}

.services .icon-box:hover::before {
  opacity: 1;
}

.services .icon-box .icon {
  width: 62px !important;
  height: 62px !important;
  background: linear-gradient(135deg, rgba(1, 24, 49, 0.06) 0%, rgba(0, 178, 253, 0.15) 100%) !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 22px !important;
  transition: all 0.3s ease;
}

.services .icon-box:hover .icon {
  background: var(--yc-gradient-accent) !important;
}

.services .icon-box:hover .icon i {
  color: #011831 !important;
}

.services .icon-box .title a {
  color: var(--yc-midnight) !important;
  font-weight: 700 !important;
  font-size: 18.5px !important;
}

.services .icon-box .description {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: var(--yc-text-muted) !important;
}

/* -------------------------------------------------------------
   Portfolio Section
   ------------------------------------------------------------- */
.portfolio .portfolio-item {
  margin-bottom: 35px;
}

.portfolio .portfolio-wrap {
  border-radius: 18px !important;
  box-shadow: 0 10px 25px rgba(1, 24, 49, 0.08) !important;
  overflow: hidden !important;
  border: 1px solid var(--yc-border) !important;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  background: #ffffff !important;
  position: relative;
}

.portfolio .portfolio-wrap:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 45px rgba(1, 24, 49, 0.16) !important;
  border-color: rgba(0, 178, 253, 0.4) !important;
}

.portfolio .portfolio-wrap img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  border-radius: 18px 18px 0 0 !important;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.08) !important;
}

.portfolio .portfolio-wrap::before {
  background: linear-gradient(180deg, transparent 20%, rgba(1, 24, 49, 0.95) 100%) !important;
  border-radius: 18px !important;
}

.portfolio .portfolio-wrap .portfolio-info {
  padding: 25px !important;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 4px !important;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #00F0FF !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 15px !important;
}

.portfolio .portfolio-wrap .portfolio-links a {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 20px !important;
  margin-right: 8px !important;
  transition: all 0.3s ease !important;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: var(--yc-gradient-accent) !important;
  color: #011831 !important;
  transform: scale(1.1) !important;
}

.portfolio .st_co {
  font-weight: 600 !important;
  font-size: 14.5px !important;
  color: var(--yc-midnight) !important;
  margin-top: 12px !important;
  text-align: center !important;
  padding: 0 10px;
}

/* -------------------------------------------------------------
   Pricing & Services
   ------------------------------------------------------------- */
.pricing .box {
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1px solid var(--yc-border) !important;
  box-shadow: 0 10px 25px rgba(1, 24, 49, 0.05) !important;
  padding: 45px 30px !important;
  transition: all 0.35s ease !important;
  position: relative;
  overflow: hidden;
}

.pricing .box:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 45px rgba(1, 24, 49, 0.14) !important;
}

.pricing .box.featured {
  border: 2px solid #00B2FD !important;
  box-shadow: 0 15px 45px rgba(0, 178, 253, 0.2) !important;
  transform: scale(1.03);
  z-index: 2;
}

.pricing .box.featured:hover {
  transform: scale(1.03) translateY(-8px) !important;
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: -35px;
  background: var(--yc-gradient-accent);
  color: #011831;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 45px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.pricing .box h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--yc-midnight) !important;
  margin-bottom: 20px !important;
}

.pricing .box ul li i {
  color: #00B2FD !important;
  font-size: 18px !important;
}

.pricing .get-started-btn {
  background: var(--yc-gradient-brand) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  padding: 13px 36px !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 6px 20px rgba(1, 24, 49, 0.25) !important;
  border: none !important;
}

.pricing .get-started-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 135, 243, 0.45) !important;
  color: #ffffff !important;
}

/* -------------------------------------------------------------
   Contact Form & Info
   ------------------------------------------------------------- */
.contact .info-box {
  background: #ffffff !important;
  border-radius: var(--yc-radius) !important;
  border: 1px solid var(--yc-border) !important;
  box-shadow: 0 8px 20px rgba(1, 24, 49, 0.04) !important;
  padding: 30px 20px !important;
  transition: all 0.3s ease;
}

.contact .info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(1, 24, 49, 0.1) !important;
  border-color: rgba(0, 178, 253, 0.35) !important;
}

.contact .info-box i {
  color: #00B2FD !important;
  background: rgba(0, 178, 253, 0.1) !important;
  border-radius: 50% !important;
  padding: 14px !important;
  font-size: 28px !important;
  margin-bottom: 15px;
}

.php-email-form {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 40px !important;
  border: 1px solid var(--yc-border) !important;
  box-shadow: 0 15px 35px rgba(1, 24, 49, 0.08) !important;
}

.php-email-form .form-control {
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 12px 18px !important;
  font-size: 14.5px !important;
  transition: all 0.25s ease !important;
}

.php-email-form .form-control:focus {
  border-color: #00B2FD !important;
  box-shadow: 0 0 0 4px rgba(0, 178, 253, 0.18) !important;
}

.php-email-form button[type="submit"] {
  background: var(--yc-gradient-brand) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  padding: 14px 42px !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 8px 25px rgba(1, 24, 49, 0.3) !important;
  transition: all 0.3s ease !important;
}

.php-email-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 135, 243, 0.45) !important;
}

/* -------------------------------------------------------------
   WhatsApp Floating Button
   ------------------------------------------------------------- */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 25px;
  background: #25D366;
  color: #ffffff !important;
  border-radius: 50px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-floating-btn:hover {
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

.whatsapp-icon-img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */
#footer {
  background: linear-gradient(180deg, var(--yc-midnight) 0%, var(--yc-midnight-dark) 100%) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

#footer h4 {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 17px;
  position: relative;
  padding-bottom: 10px;
}

#footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: #00B2FD;
}

#footer a {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.2s ease;
}

#footer a:hover {
  color: #00F0FF !important;
  padding-left: 4px;
}
