/* ================= NAVBAR ================= */
.navbar-custom {
    background-color: #f3f6f8;
    backdrop-filter: blur(6px);
    box-shadow: none;
    transition: background-color 0.3s ease;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all .3s ease;
}

.navbar-custom .navbar-brand span,
.navbar-custom .nav-link {
    color: #474747;
    font-weight: 500;
    font-family: Manrope, sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

/* Logo y textos */
.logo-title {
    color: #06068F !important;
    font-family: Outfit, sans-serif;
    font-weight: 800 !important;
}

.logo-subtitle {
    color: #474747 !important;
    font-family: Manrope, sans-serif;
    font-weight: 500;
}

/* Botón hamburguesa */
.navbar-toggler-custom {
    padding: 0.6rem 1rem;
    font-size: 1.5rem;
    border: none;
    box-shadow: none;
    color: #212529 !important;
}

.navbar .nav-link.active {
    color:#212529 !important;
    background-color: #f3f6f8;
    border-radius: 0;
    border-bottom: 2px solid #06068F;
}

.navbar .nav-link:hover {
    color:#17A3DF !important;
}

/* --- Efecto encogido del navbar --- */
.navbar-shrink {
    padding-top: .45rem !important;
    padding-bottom: .45rem !important;
}

.navbar-shrink .logo-apulia {
    max-width: 140px;
}

.navbar-shrink .logo-title {
    font-size: 1.3rem !important;
}

.navbar-shrink .logo-subtitle {
    font-size: 0.9rem !important;
}

.navbar-shrink .nav-link {
    font-size: 0.95rem !important;
}

/* Margen para compensar navbar fijo */
section { scroll-margin-top: 100px; }

/* Tamaño general del logo */
.logo-apulia {
    max-width: 180px;
    height: auto;
    transition: max-width 0.3s ease;
}

.logo-text span {
    display: block;
    margin: 0;
}

.logo-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
    line-height: 1.2;
    margin-bottom: 0.1rem;
}

.logo-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
    line-height: 1.2;
    margin-top: 0;
    text-transform: none !important;
}

/* Responsive navbar */
@media (max-width: 992px) {
    .navbar-brand img {
        max-width: 120px !important;
        margin-right: 10px;
    }

    .navbar-brand span {
        font-size: 1.2rem !important;
        line-height: 1.2;
    }

    .navbar-brand span:last-child {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 700px) {
    .navbar-brand > div {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .logo-apulia {
        max-width: 120px;
        margin-bottom: 5px;
    }

    .logo-title {
        font-size: 1.2rem;
        margin-bottom: 0.05rem;
    }

    .logo-subtitle {
        font-size: 0.85rem;
    }
}


/* === HERO Sviluppo Software === */
.hero-sw {
    min-height: 80vh;
    padding-top: 110px; /* Compensa navbar fixed */
    color: #fff;
    background: linear-gradient(135deg,#06068F 0%, #3636CA 40%, rgb(0,144,163) 75%, rgb(23,163,223) 100%);
    position: relative;
    overflow: hidden;
  }
  
  .hero-sw::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 600px at 80% 30%, rgba(255,255,255,0.08), transparent 70%);
    z-index: 0;
  }
  
  .hero-sw .container {
    position: relative;
    z-index: 1;
  }
  
  .hero-sw h1 {
    font-family: 'Lexend', sans-serif;
    letter-spacing: 0.2px;
  }
  
  .hero-sw .lead {
    max-width: 55ch;
    opacity: 0.9;
    font-family: 'Roboto', sans-serif;
  }
  
  /* Botones hero */
  .btn-hero-primary {
    background: #17A3DF;
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: none;
    transition: 0.3s;
  }
  .btn-hero-primary:hover {
    background: #1390c6;
    color: #fff;
  }
  
  .btn-hero-ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.3s;
  }
  .btn-hero-ghost:hover {
    border-color: #fff;
  }
  
  /* Imagen */
  .hero-visual {
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(0,0,0,0.3));
  }
  
  /* Animación sutil */
  .hero-visual {
    animation: float 6s ease-in-out infinite;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .hero-visual { max-height: 360px; }
    .hero-sw { padding-top: 96px; }
  }
  @media (max-width: 576px) {
    .hero-visual { max-height: 280px; }
  }

  .feature-card img {
    width: 100%;
    height: 180px;        /* ajustá este valor según tu diseño */
    object-fit: cover;    /* recorta de forma uniforme sin deformar */
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  }
  

/* ===== Perché sceglierci (visual pro) ===== */
.perche-noi{
    background: linear-gradient(180deg,#f3f6f8 0%, #eaf8fb 100%);
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
  }
  .perche-noi .title{ color:rgb(23, 163, 223); }
  .perche-noi .subt{
    max-width: 820px; margin: 0 auto; color:#3a4a52;
  }
  
  /* KPIs */
  .kpi{
    background:#fff;
    border:1px solid #e1eef2;
    border-radius:16px;
    padding:18px 16px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
  }
  .kpi-top{
    font-size:22px; color:rgb(6, 6, 143); margin-bottom:6px;
  }
  .kpi-num{
    font-family: 'Lexend', sans-serif;
    font-weight:800; font-size:28px; color:rgb(23, 163, 223); line-height:1;
  }
  .kpi-txt{ color:#55727c; font-size:.95rem; }
  
  /* Perks */
  .perk-card{
    background:#fff;
    border:1px solid #d9eef2;
    border-radius:16px;
    padding:20px;
    box-shadow:0 10px 26px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .perk-card:hover{
    transform: translateY(-4px);
    box-shadow:0 16px 38px rgba(0,0,0,.10);
  }
  .perk-ico{
    width:44px; height:44px; border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    background: linear-gradient(135deg,#005263 0%, #0090A3 100%);
    color:#fff; font-size:18px; margin-bottom:12px;
  }

  .perk-ico {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    margin: 0 auto 12px; /* 👈 esto centra horizontalmente */
    background: linear-gradient(92.97deg, #06068F 10.08%, #3636CA 97.54%);
  }
  
  .perk-title{ color:rgb(23, 163, 223); margin-bottom:6px; }
  .perk-txt{ color:#495e66; margin:0; }
  
  /* Quote */
  .quote-wrap{
    max-width:860px; margin:0 auto;
  }
  .quote{
    background:#ffffff;
    border:1px dashed #cfe8ee;
    color:#38545c;
    padding:18px 20px;
    border-radius:14px;
    box-shadow:0 8px 20px rgba(0,0,0,.04);
    font-style: italic;
  }
  .quote-author{
    display:block; margin-top:6px; font-style: normal; color:#005263; font-weight:700;
  }
  
  /* CTA */
  .btn-choose-us{
    background: linear-gradient(92.97deg, #005263 10.08%, #0090A3 97.54%);
    color:#fff; font-weight:700; padding:.9rem 1.6rem; border-radius:999px; border:none;
  }
  .btn-choose-us:hover{ opacity:.92; color:#fff; }
  
  /* Spacing helper */
  .py-6{ padding-top:4.5rem; padding-bottom:4.5rem; }
  
  @media (max-width: 576px){
    .kpi-num{ font-size:24px; }
  }
  
  

    
    
.btn-enviar {
        padding: 12px 22px;
        background: linear-gradient(92.97deg,#005263 10.08%,#0090A3 97.54%);
        box-shadow: 0 6px 16px rgba(0,146,167,.25);
    }

/* ================= FOOTER ================= */

.footer-modern {
    background: linear-gradient(92.97deg, #06068F 10.08%, #3636CA 97.54%);
    padding-top: 10px;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}

.footer-modern h5 {
    color: white;
    font-family: 'Lexend', sans-serif;
    margin-bottom: 1rem;
}

.footer-modern p,
.footer-modern a {
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.footer-modern .footer-link:hover {
    color: #00d4ff;
    text-decoration: none;
}

.footer-social-icons a {
    font-size: 1.25rem;
    color: #ffffff;
    transition: color 0.3s ease;
}

.footer-social-icons a:hover {
    color: #00d4ff;


}

.btn-contact {
  display: inline-block !important;
  width: 50% !important;
  margin: 0 auto;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(92.97deg, #005263 10.08%, #0090A3 97.54%);
  box-shadow: 0 6px 16px rgba(0,146,167,.25);
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  text-align: center !important;

    display: inline-block;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(92.97deg, #06068F 10.08%, #3636CA 97.54%);
    box-shadow: 0 6px 16px rgba(0, 146, 167, .2);
}
.btn-contact:hover {
  opacity: .92 !important;
}

.contact-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-card-content {
  flex-grow: 1;
}

.logo-subtitle {
  font-size: 0.7rem !important;
}