/* ==========================================================================
   VARIABLES Y ESTILOS BASE (Inspirados en SAP con acento Flexia)
   ========================================================================== */
   :root {
    --primary-blue: #0a2540;       /* Azul marino profundo estilo SAP */
    --secondary-blue: #0066cc;     /* Azul de interacción/enlaces */
    --light-blue-bg: #f4f7fa;     /* Fondo azulado muy claro */
    --accent-yellow: #ffc300;     /* Color de acento de marca Flexia */
    --text-dark: #1e293b;         /* Texto principal */
    --text-muted: #64748b;        /* Texto secundario */
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 20px 30px -10px rgba(10, 37, 64, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }
  
  ul {
    list-style: none;
  }
  
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  /* ==========================================================================
     BOTONES Y CTAS
     ========================================================================== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
  }
  
  .btn-accent {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
  }
  
  .btn-accent:hover {
    background-color: #e6b000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 195, 0, 0.3);
  }
  
  .btn-primary {
    background-color: var(--secondary-blue);
    color: var(--white);
  }
  
  .btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
  }
  
  .btn-outline-hero {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: transparent;
  }
  
  .btn-outline-hero:hover {
    background-color: var(--white);
    color: var(--primary-blue);
  }
  
  /* ==========================================================================
     BARRA SUPERIOR Y HEADER ESTILO SAP
     ========================================================================== */
  .top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 0.825rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .top-bar-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .top-bar-links a {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .top-bar-links a:hover {
    color: var(--accent-yellow);
  }
  
  header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
  }
  
  /* Logo Flexia */
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
  }
  
  .logo-white {
    color: var(--white);
  }
  
  .logo-badge {
    width: 12px;
    height: 12px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    display: inline-block;
  }
  
  /* Menú Principal (Escritorio) */
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    height: 100%;
  }
  
  .nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
  }
  
  .nav-link {
    padding: 0 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: 100%;
    border-bottom: 3px solid transparent;
  }
  
  .nav-item:hover .nav-link {
    color: var(--secondary-blue);
    border-bottom-color: var(--accent-yellow);
  }
  
  /* Mega Submenú / Dropdown */
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--border-color);
    border-top: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 0.75rem 0;
  }
  
  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .dropdown-link {
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
  }
  
  .dropdown-link i {
    color: var(--secondary-blue);
    width: 20px;
  }
  
  .dropdown-link:hover {
    background-color: var(--light-blue-bg);
    color: var(--secondary-blue);
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  /* Botón Hamburguesa oculto en escritorio */
  .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 0.5rem;
  }
  
  /* ==========================================================================
     HERO SECTION
     ========================================================================== */
  .hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d3863 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.15) 0%, rgba(255, 195, 0, 0) 70%);
    border-radius: 50%;
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
  }
  
  .hero-tag {
    display: inline-block;
    background-color: rgba(255, 195, 0, 0.15);
    color: var(--accent-yellow);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 195, 0, 0.3);
  }
  
  .hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
  }
  
  .hero-subtitle-bar {
    font-size: 1.1rem;
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .hero-subtitle-bar span:not(:last-child)::after {
    content: "•";
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
  }
  
  .hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
  }
  
  .hero-cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
  
  /* Ilustración / Card Hero */
  .hero-card-visual {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
  }
  
  .hero-card-visual::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--accent-yellow);
    border-radius: 3px 3px 0 0;
  }
  
  .visual-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
  
  .dot-red { background-color: #ff5f56; }
  .dot-yellow { background-color: var(--accent-yellow); }
  .dot-green { background-color: #27c93f; }
  
  .visual-domain {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 0.5rem;
  }
  
  .visual-content h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
  }
  
  .visual-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }
  
  /* ==========================================================================
     SECCIÓN "LO QUE HACEMOS"
     ========================================================================== */
  .services-section {
    padding: 6rem 0;
    background-color: var(--light-blue-bg);
  }
  
  .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
  }
  
  .section-title {
    font-size: 2.25rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
  }
  
  .section-title-arrow {
    color: var(--accent-yellow);
    margin-left: 0.25rem;
  }
  
  .section-description {
    color: var(--text-muted);
    font-size: 1.05rem;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
  }
  
  .service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }
  
  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition);
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }
  
  .service-card:hover::before {
    background: var(--accent-yellow);
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 204, 0.08);
    color: var(--secondary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.35rem;
    color: var(--primary-blue);
    margin-bottom: 0.85rem;
    font-weight: 700;
  }
  
  .service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }
  
  .service-link {
    color: var(--secondary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  
  .service-link:hover {
    color: var(--primary-blue);
    gap: 0.75rem;
  }
  
  /* ==========================================================================
     SECCIÓN LOCAL "DISEÑO EN SEVILLA"
     ========================================================================== */
  .local-section {
    padding: 6rem 0;
    background-color: var(--white);
  }
  
  .local-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  
  .local-content h2 {
    font-size: 2.25rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
  }
  
  .local-content p {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
  }
  
  .features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .feature-item {
    background-color: var(--light-blue-bg);
    padding: 1.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(0, 102, 204, 0.1);
  }
  
  .feature-icon {
    font-size: 1.75rem;
    color: var(--accent-yellow);
    margin-bottom: 0.75rem;
    background-color: var(--primary-blue);
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-item h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 700;
  }
  
  /* Banner WordPress */
  .wordpress-badge {
    background: linear-gradient(135deg, var(--light-blue-bg) 0%, #e6f0fa 100%);
    border-left: 4px solid var(--accent-yellow);
    padding: 2rem;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .wordpress-badge i {
    font-size: 3rem;
    color: var(--primary-blue);
  }
  
  .wordpress-badge h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 700;
  }
  
  .wordpress-badge p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
  }
  
  /* ==========================================================================
     FOOTER (Estilo Corporativo SAP)
     ========================================================================== */
  footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 4px solid var(--accent-yellow);
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3.5rem;
  }
  
  .footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 300px;
  }
  
  .footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .footer-links li {
    margin-bottom: 0.6rem;
  }
  
  .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
  }
  
  .footer-links a:hover {
    color: var(--accent-yellow);
    padding-left: 4px;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
  }
  
  .footer-bottom-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
  }
  
  .footer-bottom-links a:hover {
    color: var(--white);
  }
  
  /* ==========================================================================
     ESTILOS PARA SUBPÁGINAS Y CABECERAS DE SERVICIO (PAGE HEADERS)
     ========================================================================== */
  .page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d3863 100%);
    color: var(--white);
    padding: 3.5rem 0 3rem 0;
    border-bottom: 3px solid var(--accent-yellow);
  }
  
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
  }
  
  .breadcrumb a {
    color: var(--accent-yellow);
  }
  
  .breadcrumb a:hover {
    text-decoration: underline;
  }
  
  .page-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 750px;
  }
  
  .content-block {
    padding: 4rem 0;
  }
  
  .process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 1rem;
  }
  
  .cta-banner {
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    border: 1px solid rgba(255, 195, 0, 0.3);
    box-shadow: var(--shadow-md);
  }
  
  .cta-banner h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
  }
  
  /* ==========================================================================
     ESTILOS PORTAFOLIO Y PRECIOS
     ========================================================================== */
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .portfolio-card {
    background-color: var(--white);
    border: 1.5px solid var(--accent-yellow);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.15);
  }
  
  .portfolio-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
  
  .portfolio-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .portfolio-card:hover .portfolio-bg-img {
    transform: scale(1.05);
  }
  
  .portfolio-footer {
    padding: 1.25rem 1rem;
    text-align: center;
    background-color: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .portfolio-footer h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0;
  }
  
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    align-items: stretch;
  }
  
  .price-card {
    background: var(--white);
    border: 1px solid rgba(10, 37, 64, 0.1);
    border-radius: 12px;
    padding: 2.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(10, 37, 64, 0.1);
  }
  
  .price-card-featured {
    border: 2px solid var(--accent-yellow);
    box-shadow: 0 8px 25px rgba(255, 195, 0, 0.2);
  }
  
  .badge-featured {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* ==========================================================================
     ADAPTACIÓN MÓVIL Y MENÚ HAMBURGUESA DESPLEGABLE (MEJORADO Y LIMPIO)
     ========================================================================== */
  @media (max-width: 992px) {
    .hero-grid, 
    .local-grid {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }
    
    .hero-title {
      font-size: 2.3rem;
    }
  
    .hero {
      padding: 3.5rem 0;
    }
  
    /* Mostrar botón hamburguesa */
    .mobile-menu-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: auto;
      margin-right: 1rem;
    }
  
    /* Menú desplegable móvil principal */
    .nav-menu {
      position: absolute;
      top: 76px;
      left: 0;
      width: 100%;
      background-color: var(--white);
      flex-direction: column;
      align-items: flex-start;
      height: auto;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease-in-out, padding 0.35s ease-in-out;
      box-shadow: 0 15px 30px rgba(10, 37, 64, 0.1);
      border-bottom: 1px solid var(--border-color);
      z-index: 999;
      padding: 0 1.5rem;
    }
  
    /* Clase activa que despliega el menú principal al hacer clic */
    .nav-menu.active {
      max-height: 600px;
      padding: 1.5rem;
    }
  
    .nav-item {
      width: 100%;
      height: auto;
      flex-direction: column;
      align-items: flex-start;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
  
    .nav-item:last-child {
      border-bottom: none;
    }
  
    .nav-link {
      width: 100%;
      padding: 0.85rem 0;
      justify-content: space-between;
      font-size: 1.05rem;
    }
  
    /* Submenús en móvil convertidos en acordeón estático */
    .dropdown-menu {
      position: relative !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      box-shadow: none !important;
      border: none !important;
      background-color: var(--light-blue-bg) !important;
      max-height: 0;
      overflow: hidden;
      opacity: 1 !important;
      visibility: visible !important;
      transform: none !important;
      transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
      padding: 0 !important;
      border-radius: 6px;
      margin-bottom: 0.5rem;
    }
  
    /* Clase 'open' que despliega el submenú al tocar "Lo que hacemos" */
    .nav-item.open .dropdown-menu {
      max-height: 300px !important;
      padding: 0.5rem 0 !important;
    }
  
    .dropdown-link {
      padding: 0.6rem 1.2rem;
      font-size: 0.95rem;
    }
  
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }
  }
  
  /* AJUSTES ESPECÍFICOS PARA SMARTPHONES (COLOCAR BOTONES Y CARACTERÍSTICAS UNO DEBAJO DE OTRO) */
  @media (max-width: 576px) {
    .container {
      padding: 0 1.25rem;
    }
  
    .hero-title {
      font-size: 1.9rem;
      line-height: 1.25;
    }
  
    /* BOTONES DEL HERO: Uno debajo de otro y ocupando todo el ancho */
    .hero-cta-group {
      flex-direction: column;
      width: 100%;
      gap: 1rem;
    }
  
    .hero-cta-group .btn {
      width: 100%;
      justify-content: center;
      padding: 0.9rem 1rem;
    }
  
    /* CARACTERÍSTICAS LOCALES: Una debajo de otra en vez de en fila */
    .features-list {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  
    .feature-item {
      display: flex;
      align-items: center;
      text-align: left;
      padding: 1rem 1.25rem;
      gap: 1rem;
    }
  
    .feature-icon {
      margin: 0;
      flex-shrink: 0;
    }
  
    .services-grid, 
    .pricing-grid, 
    .portfolio-grid,
    .footer-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
  
    .footer-bottom-links {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }
  
    .wordpress-badge {
      flex-direction: column;
      text-align: center;
      padding: 1.5rem;
    }
  
    .header-actions .btn {
      padding: 0.45rem 0.75rem;
      font-size: 0.78rem;
    }
  }
  /* ==========================================================================
   ESTILOS ESPECÍFICOS PARA LA PÁGINA DE PRECIOS Y TARIFAS
   ========================================================================== */
.price-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.price-header h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.price-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 40px;
  margin-bottom: 1rem;
}

/* Importe del precio grande y centrado */
.price-amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  margin: 1rem 0;
  text-align: center;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Lista de características dentro de las tarjetas de precios */
.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

.price-features li i {
  color: #27c93f; /* Color verde para los iconos de check */
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   ESTILOS PARA EL INDICADOR DE CARGA ("CARGANDO CREACIONES")
   ========================================================================== */
   .loading-indicator, 
   .portfolio-loading,
   #loading-message {
     color: var(--accent-yellow) !important;
     font-weight: 600;
     text-align: center;
     padding: 2rem;
     font-size: 1.1rem;
   }
   
   /* Si usa un icono de spinner o carga de FontAwesome */
   .loading-indicator i, 
   .portfolio-loading i,
   .fa-spinner {
     color: var(--accent-yellow) !important;
     font-size: 2rem;
     margin-bottom: 0.5rem;
   }

   /* ==========================================================================
   ESTILOS PARA EL OVERLAY Y BOTÓN DE "VER WEB" EN CREACIONES
   ========================================================================== */
.portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 37, 64, 0.75); /* Fondo azul marino semitransparente */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Al pasar el ratón por encima de la tarjeta, aparece el botón */
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* ==========================================================================
   ESTILOS PARA EL SPINNER DE CARGA ("CARGANDO CREACIONES...")
   ========================================================================== */
.portfolio-loader {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
  color: var(--accent-yellow); /* Color amarillo corporativo */
  font-size: 1.1rem;
  font-weight: 600;
}

.portfolio-loader i {
  font-size: 2.2rem;
  color: var(--accent-yellow);
  margin-bottom: 0.75rem;
  display: block;
}
/* ==========================================================================
   AJUSTES CABECERA Y MENÚ MÓVIL
   ========================================================================== */

/* Por defecto (escritorio): ocultar el CTA dentro de la lista de navegación */
.nav-item-mobile-cta {
  display: none;
}

@media (max-width: 992px) {
  /* Ocultar el botón CTA externo en móviles */
  .header-actions {
    display: none;
  }

  /* Mostrar la opción del CTA dentro del menú desplegable móvil */
  .nav-item-mobile-cta {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(10, 37, 64, 0.15);
  }

  .nav-link-cta {
    color: var(--primary-blue) !important;
    font-weight: 700 !important;
    background-color: var(--accent-yellow);
    border-radius: 6px;
    padding: 0.75rem 1rem !important;
    text-align: center;
    justify-content: center !important;
  }

  /* Posicionar la hamburguesa a la derecha del todo */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Empuja el botón a la derecha */
    margin-right: 0;
  }
}