/* MIXED CSS PACK */
/* Template: maksytechconstrucciones.com.ar/index.html */
/* Template mtime: 2026-03-16 12:21:00 */

/* external link (no embedded): https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css */
/* external link (no embedded): https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css */
/* external link (no embedded): https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css */
/* external link (no embedded): https://unpkg.com/aos@2.3.4/dist/aos.css */

/* external @import (no embedded): https://fonts.googleapis.com/css2?family=Inter:wght@300 */
/* external @import (no embedded): https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500 */

/* ===== INLINE <style> BLOCK #1 ===== */
:root {
      /* Paleta principal - Profesional construcción */
      --primary: #2A4B8C;
      --primary-dark: #1A3369;
      --primary-light: #3A6BC4;
      --secondary: #FF6B35;
      --secondary-dark: #E55A2B;
      --accent: #6F5BD6;
      --success: #10B981;
      
      /* Escala de grises */
      --ink: #111827;
      --ink-light: #374151;
      --muted: #6B7280;
      --muted-light: #9CA3AF;
      --bg: #FFFFFF;
      --soft: #F9FAFB;
      --soft-dark: #F3F4F6;
      --card: #FFFFFF;
      --border: #E5E7EB;
      --border-light: #F3F4F6;
      
      /* Sombras */
      --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      --shadow-primary: 0 10px 30px -5px rgba(42, 75, 140, 0.3);
      --shadow-secondary: 0 10px 30px -5px rgba(255, 107, 53, 0.3);
      
      /* Bordes */
      --radius-sm: 8px;
      --radius: 12px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --radius-xl: 32px;
      --radius-full: 9999px;
      
      /* Transiciones */
      --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
      --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
      --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-bs-theme="dark"] {
      --primary: #3B82F6;
      --primary-dark: #1D4ED8;
      --primary-light: #60A5FA;
      --ink: #F9FAFB;
      --ink-light: #E5E7EB;
      --muted: #D1D5DB;
      --muted-light: #9CA3AF;
      --bg: #111827;
      --soft: #1F2937;
      --soft-dark: #374151;
      --card: #1F2937;
      --border: #374151;
      --border-light: #4B5563;
    }

    /* Tipografía personalizada */
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 80px;
      overflow-x: hidden;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
      color: var(--ink);
      background-color: var(--bg);
      overflow-x: hidden;
      line-height: 1.6;
      font-weight: 400;
      width: 100%;
      position: relative;
    }

    
    /* Watermark logo fijo en el fondo (no molesta al scroll) */
    body::before{
      content:"";
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image: url("img/logo.jpg");
      background-repeat: no-repeat;
      background-position: center;
      background-size: min(520px, 70vw);
      opacity: 0.055;
      filter: grayscale(100%);
    }
    /* Asegura que el contenido quede por encima del watermark */
    body > *{
      position: relative;
      z-index: 1;
    }
h1, h2, h3, h4, h5, h6,
    .display-1, .display-2, .display-3, .display-4,
    .h1, .h2, .h3, .h4, .h5, .h6 {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.1;
    }

    /* Helper Classes */
    .text-gradient {
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .bg-gradient-primary {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    }

    .bg-gradient-secondary {
      background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    }

    .bg-gradient-accent {
      background: linear-gradient(135deg, var(--accent) 0%, #8B7AF0 100%);
    }

    .text-muted-2 {
      color: var(--muted) !important;
    }

    .text-muted-light {
      color: var(--muted-light) !important;
    }

    /* Section Spacing */
    .section {
      padding: 80px 0;
      position: relative;
    }

    .section-sm {
      padding: 60px 0;
    }

    .section-lg {
      padding: 100px 0;
    }

    .section-xl {
      padding: 120px 0;
    }

    .section-soft {
      background-color: var(--soft);
    }

    .section-title {
      font-weight: 900;
      letter-spacing: -0.03em;
      margin-bottom: 1rem;
      font-size: 2.5rem;
    }

    .section-subtitle {
      color: var(--muted);
      font-size: 1.125rem;
      max-width: 700px;
      margin: 0 auto 3rem;
    }

    /* Eyebrow */
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 700;
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--primary);
      padding: 0.5rem 1.25rem;
      border-radius: var(--radius-full);
      background: rgba(42, 75, 140, 0.1);
      border: 1px solid rgba(42, 75, 140, 0.2);
      margin-bottom: 1.5rem;
      position: relative;
      overflow: hidden;
    }

    .eyebrow::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transform: translateX(-100%);
      transition: transform 0.6s;
    }

    .eyebrow:hover::before {
      transform: translateX(100%);
    }

    .eyebrow-secondary {
      color: var(--secondary);
      background: rgba(255, 107, 53, 0.1);
      border-color: rgba(255, 107, 53, 0.2);
    }

    /* NAVBAR CORREGIDA - Sin scroll horizontal */
    .navbar {
      padding: 0.75rem 0;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: saturate(180%) blur(20px);
      border-bottom: 1px solid var(--border);
      transition: all var(--transition);
      box-shadow: var(--shadow-sm);
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1030;
      width: 100%;
      overflow: hidden;
    }

    [data-bs-theme="dark"] .navbar {
      background: rgba(17, 24, 39, 0.98);
      border-bottom: 1px solid var(--border);
    }

    .navbar.scrolled {
      padding: 0.5rem 0;
      box-shadow: var(--shadow);
    }

    .brand-mark {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.2rem;
      box-shadow: var(--shadow-primary);
      transition: all var(--transition);
    }

    .brand-mark:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
    }

    
    .navbar-brand img{
      height: 46px !important;
      width: auto !important;
      object-fit: contain;
      image-rendering: auto;
    }

    .navbar-brand {
      font-weight: 900;
      font-size: 1.25rem;
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin: 0;
      padding: 0;
    }

    .navbar-brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1.1;
    }

    .navbar-brand-text span {
      color: var(--primary);
      font-size: 1.1rem;
      font-weight: 900;
    }

    .navbar-brand-text small {
      font-size: 0.75rem;
      color: var(--muted);
      font-weight: 500;
      margin-top: -2px;
    }

    .nav-link {
      font-weight: 600;
      color: var(--ink-light);
      padding: 0.5rem 0.75rem !important;
      border-radius: var(--radius);
      transition: all var(--transition);
      position: relative;
      white-space: nowrap;
    }

    .nav-link::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 3px;
      background: var(--primary);
      border-radius: var(--radius-full);
      transform: translateX(-50%);
      transition: width var(--transition);
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--primary);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
      width: 20px;
    }

    /* Botón hamburguesa corregido */
    .navbar-toggler {
      border: 1px solid var(--border);
      padding: 0.375rem 0.75rem;
      margin: 0;
    }

    .navbar-toggler:focus {
      box-shadow: none;
      outline: none;
    }

    /* Menú colapsado mejorado */
    .navbar-collapse {
      flex-grow: 0;
    }

    .navbar-nav {
      align-items: center;
      gap: 0.25rem;
    }

    /* Botones mejorados */
    .btn {
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      border-radius: var(--radius);
      transition: all var(--transition);
      position: relative;
      overflow: hidden;
      border: none;
      white-space: nowrap;
    }

    .btn::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transform: translateX(-100%);
      transition: transform 0.6s;
    }

    .btn:hover::before {
      transform: translateX(100%);
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      border: none;
      box-shadow: var(--shadow-primary);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-lg);
    }

    .btn-secondary {
      background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
      border: none;
      box-shadow: var(--shadow-secondary);
    }

    .btn-secondary:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-lg);
    }

    .btn-outline-primary {
      color: var(--primary);
      border: 2px solid var(--primary);
      background: transparent;
    }

    .btn-outline-primary:hover {
      background: var(--primary);
      color: white;
      transform: translateY(-3px);
      box-shadow: var(--shadow-primary);
    }

    /* Hero Section */
    .hero {
      padding: 140px 0 60px;
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, var(--soft) 0%, var(--bg) 100%);
    }

    .hero::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle at 30% 30%, rgba(42, 75, 140, 0.1) 0%, transparent 50%),
                  radial-gradient(circle at 70% 70%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
      z-index: 0;
    }

    @keyframes float {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      33% { transform: translate(30px, 30px) rotate(120deg); }
      66% { transform: translate(-20px, 20px) rotate(240deg); }
    }

    .hero-content {
      position: relative;
      z-index: 1;
    }

    .hero h1 {
      font-size: 2.5rem;
      font-weight: 900;
      letter-spacing: -0.03em;
      line-height: 1.1;
      margin-bottom: 1.5rem;
    }

    .hero-lead {
      font-size: 1.125rem;
      color: var(--muted);
      max-width: 600px;
      margin-bottom: 2rem;
    }

    .hero-bullets {
      list-style: none;
      padding: 0;
      margin: 2rem 0;
    }

    .hero-bullets li {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1rem;
      color: var(--ink);
      font-weight: 500;
    }

    .hero-bullets li::before {
      content: "";
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--success);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 0.75rem;
      flex-shrink: 0;
    }

    .hero-bullets li:nth-child(1)::before { content: "✓"; }
    .hero-bullets li:nth-child(2)::before { content: "✓"; }
    .hero-bullets li:nth-child(3)::before { content: "✓"; }

    .hero-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      box-shadow: var(--shadow-lg);
      backdrop-filter: blur(10px);
      position: relative;
      overflow: hidden;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: linear-gradient(to bottom, var(--primary), var(--secondary));
    }

    .hero-imgwrap {
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-xl);
      transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
      transition: all var(--transition-slow);
      border: 6px solid var(--card);
    }

    .hero-imgwrap:hover {
      transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }

    .hero-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Cards con iconos */
    .feature-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 2rem 1.5rem;
      height: 100%;
      box-shadow: var(--shadow);
      transition: all var(--transition);
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(to right, var(--primary), var(--secondary));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform var(--transition);
    }

    .feature-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-xl);
    }

    .feature-card:hover::before {
      transform: scaleX(1);
    }

    .feature-icon {
      width: 56px;
      height: 56px;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.25rem;
      margin-bottom: 1.25rem;
      box-shadow: var(--shadow-primary);
      transition: all var(--transition);
    }

    .feature-card:hover .feature-icon {
      transform: scale(1.05) rotate(5deg);
    }

    /* Servicios */
    .service-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius-full);
      font-weight: 500;
      color: var(--ink);
      margin: 0.25rem 0.25rem 0 0;
      transition: all var(--transition);
      font-size: 0.875rem;
    }

    .service-pill:hover {
      transform: translateY(-2px);
      border-color: var(--primary);
      box-shadow: var(--shadow);
      background: var(--primary);
      color: white;
    }

    .service-pill:hover i {
      color: white;
    }

    .service-pill i {
      color: var(--primary);
      transition: color var(--transition);
    }

    /* FAQ Accordion COMPLETO */
    .accordion-item {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius) !important;
      margin-bottom: 1rem;
      overflow: hidden;
    }

    .accordion-button {
      background: var(--card);
      color: var(--ink);
      font-weight: 600;
      padding: 1.25rem;
      border: none;
      box-shadow: none;
    }

    .accordion-button:not(.collapsed) {
      background: var(--primary);
      color: white;
    }

    .accordion-button::after {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
      transform: rotate(0deg);
      transition: transform var(--transition);
    }

    .accordion-button:not(.collapsed)::after {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
      transform: rotate(180deg);
    }

    .accordion-body {
      padding: 1.25rem;
      color: var(--muted);
    }

    /* Formulario COMPLETO */
    .form-control,
    .form-select {
      padding: 0.875rem;
      border: 2px solid var(--border);
      border-radius: var(--radius);
      background: var(--card);
      color: var(--ink);
      transition: all var(--transition);
    }

    .form-control:focus,
    .form-select:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 0.25rem rgba(42, 75, 140, 0.25);
      transform: translateY(-2px);
    }

    .form-label {
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 0.5rem;
    }

    /* Footer */
    footer {
      background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
      color: #CBD5E1;
      padding: 80px 0 40px;
      position: relative;
      overflow: hidden;
    }

    footer::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(to right, var(--primary), var(--secondary));
    }

    .footer-title {
      color: white;
      font-weight: 800;
      font-size: 1.125rem;
      margin-bottom: 1.25rem;
      letter-spacing: -0.02em;
    }

    footer a {
      color: #CBD5E1;
      text-decoration: none;
      transition: all var(--transition);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.5rem;
    }

    footer a:hover {
      color: white;
      transform: translateX(5px);
    }
    /* Footer fixes: logo + email wrap */
    .brand-mark.brand-logo .footer-logo{
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 10px;
      display: block;
    }
    .footer-email{
      display:flex;
      align-items:flex-start;
      gap:.5rem;
      flex-wrap: wrap;
      max-width: 100%;
    }
    .footer-email a{
      display:inline;
      color: inherit;
      text-decoration: none;
      overflow-wrap: anywhere;
      word-break: break-word;
      white-space: normal;
      max-width: 100%;
    }
    .footer-email a:hover{ color:#fff; text-decoration: underline; transform:none; }


    .footer-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: var(--radius-full);
      color: white;
      font-weight: 600;
      margin-top: 1rem;
      backdrop-filter: blur(10px);
      font-size: 0.875rem;
    }

    .footer-badge i {
      color: var(--secondary);
    }

    .subfooter {
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      margin-top: 3rem;
      padding-top: 1.5rem;
      color: #94A3B8;
      text-align: center;
      font-size: 0.875rem;
    }

    /* Contact Cards */
    .contact-info-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      height: 100%;
      box-shadow: var(--shadow);
      transition: all var(--transition);
    }

    .contact-info-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }

    .contact-icon {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.125rem;
      margin-bottom: 1rem;
    }

    /* Scroll Progress */
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 3px;
      background: linear-gradient(to right, var(--primary), var(--secondary));
      z-index: 9999;
      transition: width 0.3s;
    }

    /* Theme Toggle */
    .theme-toggle {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--soft);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--ink);
      cursor: pointer;
      transition: all var(--transition);
      padding: 0;
    }

    .theme-toggle:hover {
      background: var(--primary);
      color: white;
      transform: rotate(30deg);
    }

    /* Gallery Styles */
    .gal-gallery .carousel {
      max-width: 900px;
      margin: 0 auto;
      position: relative;
    }

    .gal-frame {
      height: clamp(200px, 40vh, 400px);
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 12px 28px rgba(0,0,0,.12);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 8px;
    }

    .gal-img {
      width: auto !important;
      max-width: 100%;
      height: auto !important;
      max-height: 100%;
      object-fit: contain !important;
      object-position: center;
      display: block;
      cursor: zoom-in;
    }

    .gal-gallery .carousel-control-prev,
    .gal-gallery .carousel-control-next {
      z-index: 20;
      width: 40px;
      height: 40px;
      top: 50%;
      transform: translateY(-50%);
      opacity: 1;
      background: rgba(0,0,0,.55);
      border-radius: 50%;
      margin: 0 10px;
    }

    .gal-gallery .carousel-control-prev { left: 0; }
    .gal-gallery .carousel-control-next { right: 0; }
    
    .gal-gallery .gal-ctrl-icon {
      width: 2rem;
      height: 2rem;
      background-size: 60% 60%;
    }

    .gal-gallery .carousel-indicators {
      z-index: 10;
      bottom: -40px;
    }
    
    .gal-gallery .carousel-indicators button {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(0,0,0,.5);
      border: none;
    }
    
    .gal-gallery .carousel-indicators button.active {
      background: #000;
    }
    
    .gal-gallery {
      padding-bottom: 50px;
    }

    /* Modal Lightbox */
    #galLightbox .modal-content {
      background: #000;
    }
    
    #galLightboxImg {
      max-height: 80vh;
      width: 100%;
      height: auto;
      object-fit: contain;
      background: #000;
    }
    
    .gal-lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      border: 0;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      background: rgba(255,255,255,.18);
      color: #fff;
      font-size: 24px;
      line-height: 40px;
      text-align: center;
      z-index: 5;
      cursor: pointer;
    }
    
    .gal-lightbox-nav:hover {
      background: rgba(255,255,255,.28);
    }
    
    .gal-lightbox-nav.gal-prev { left: 10px; }
    .gal-lightbox-nav.gal-next { right: 10px; }

    /* Back to top button */
    .back-to-top {
      position: fixed;
      bottom: 80px;
      left: 20px;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      box-shadow: var(--shadow-lg);
      transition: all 0.3s ease;
      opacity: 0;
      transform: translateY(20px);
      z-index: 999;
    }

    .back-to-top.show {
      opacity: 1;
      transform: translateY(0);
    }

    .back-to-top:hover {
      transform: translateY(-3px);
      background: var(--primary-dark);
    }

    /* Responsive - Mejorado */
    @media (max-width: 1200px) {
      .hero h1 {
        font-size: 2.25rem;
      }
      .section-title {
        font-size: 2rem;
      }
    }

    @media (max-width: 992px) {
      .hero h1 {
        font-size: 2rem;
      }
      .section {
        padding: 60px 0;
      }
      .hero {
        padding: 120px 0 40px;
      }
      .hero-imgwrap {
        transform: none;
        margin-top: 2rem;
      }
      .navbar-nav {
        gap: 0.5rem;
        padding: 1rem 0;
      }
      .nav-link {
        padding: 0.5rem 0 !important;
      }
      .btn {
        width: 100%;
        margin-bottom: 0.5rem;
      }
      .theme-toggle {
        margin: 0.5rem 0;
      }
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 1.75rem;
      }
      .hero-lead {
        font-size: 1rem;
      }
      .section-title {
        font-size: 1.75rem;
      }
      .section-subtitle {
        font-size: 1rem;
      }
      .feature-card {
        padding: 1.5rem;
      }
      .hero-card {
        padding: 1.25rem;
      }
      .gal-frame {
        height: clamp(180px, 35vh, 350px);
      }
      .social-float {
        right: 15px;
      }
      .social-float a {
        width: 44px;
        height: 44px;
      }
    }

    @media (max-width: 576px) {
      .hero h1 {
        font-size: 1.5rem;
      }
      .section {
        padding: 40px 0;
      }
      .hero {
        padding: 100px 0 30px;
      }
      .hero-bullets li {
        font-size: 0.875rem;
      }
      .service-pill {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
      }
      .footer-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
      }
      .gal-frame {
        height: clamp(150px, 30vh, 300px);
      }
      .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 70px;
        left: 15px;
      }
    }

    @media (max-width: 400px) {
      .navbar-brand-text span {
        font-size: 0.9rem;
      }
      .navbar-brand-text small {
        font-size: 0.65rem;
      }
      .brand-mark {
        width: 36px;
        height: 36px;
        font-size: 1rem;
      }
    }

    /* Animaciones */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .fade-in-up {
      animation: fadeInUp 0.8s ease-out;
    }

    /* Loading animation */
    .loading-bar {
      height: 3px;
      background: linear-gradient(to right, var(--primary), var(--secondary));
      width: 0;
      animation: loading 2s ease-in-out infinite;
    }

    @keyframes loading {
      0%, 100% { width: 0; }
      50% { width: 100%; }
    }

/* ===== INLINE <style> BLOCK #2 ===== */
/* ======================
     HERO (FIX MOBILE VISIBILITY)
     - Usa la imagen como fondo real
     - Overlay controlado por ::before (más suave en mobile)
     - Desactiva el ::before global del hero (radiales) para que no "tiña" violeta
  ====================== */
  .hero{
    min-height: 100vh;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;

    background-color:#0b1530;
    background-image:url("img/hero.png");
    background-repeat:no-repeat;
    background-position:right center;
    background-size:cover;

    background-attachment: scroll;
  }

  /* Desactiva el pseudo global del hero (radiales) */
  .hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background: linear-gradient(
      90deg,
      rgba(11, 21, 48, 0.90) 0%,
      rgba(11, 21, 48, 0.78) 42%,
      rgba(11, 21, 48, 0.45) 70%,
      rgba(11, 21, 48, 0.18) 100%
    );
  }

  .hero .container{
    padding: 7rem 1rem;
    position:relative;
    z-index:1;
    /* espacio extra para que los flotantes NO tapen botones en mobile */
    padding-bottom: 7.5rem;
  }

  /* ======================
     TEXTO
  ====================== */
  .hero-content{
    max-width:620px;
    color:#fff;
    position:relative;
    z-index:1;
  }

  .hero .eyebrow{
    font-size:.8rem;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#9db2ff;
    margin-bottom:1rem;
    display:inline-block;
  }

  .hero h1{
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .text-gradient{
    background: linear-gradient(90deg, #7aa2ff, #9b6dff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }

  .hero-lead{
    font-size:1.05rem;
    color:#d7ddff;
    margin-bottom:1.6rem;
  }

  .hero-bullets{
    padding-left:1rem;
    margin-bottom:1.8rem;
  }

  .hero-bullets li{
    margin-bottom:.5rem;
    color:#e4e8ff;
  }

  /* ======================
     CARD
  ====================== */
  .hero-card{
    margin-top: 2rem;
    padding: 1.2rem;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    color:#fff;
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(6px);
  }

  .text-muted-2{
    font-size:.8rem;
    color:#b6c0ff;
  }

  /* ======================
     MOBILE
     - imagen visible (contain)
     - overlay más suave arriba para que se vea el contenido
  ====================== */
  @media (max-width: 768px){
    .hero{
      min-height:auto;
      background-position: center top;
      background-size: contain;
    }

    .hero::before{
      background: linear-gradient(
        180deg,
        rgba(11, 21, 48, 0.40) 0%,
        rgba(11, 21, 48, 0.78) 55%,
        rgba(11, 21, 48, 0.92) 100%
      );
    }

    .hero .container{
      padding: 5.4rem 1rem 4.2rem;
      padding-bottom: 8.2rem; /* aire extra para botones */
    }

    .hero-content{
      max-width:100%;
      text-align:center;
    }

    .hero-bullets{
      text-align:left;
      display:inline-block;
    }

    .hero-card{
      text-align:left;
    }
  }

/* ===== INLINE <style> BLOCK #3 ===== */
.hero-card2 {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;

  width: 120%;              /* más ancha */
  margin-left: -10%;        /* centrar al sobresalir */
}

.hero-card2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

/* evitar cortes de texto */
.hero-card2 .fw-bold,
.hero-card2 div{
  word-break: break-word;
}

/* mobile */
@media (max-width:768px){

  .hero-card2{
    width:100%;
    margin-left:0;
    padding:1.4rem;
  }

  .hero-card2 .row{
    row-gap:20px;
  }

  .hero-card2 .col-md-4{
    text-align:center;
  }

}

}

/* ===== INLINE <style> BLOCK #4 ===== */
/* Estilos específicos para la sección de RRHH, 
     heredando la estética global del sitio */
  .rrhh-section {
    position: relative;
    padding: 80px 0;
    background-color: var(--soft);
    overflow: hidden;
  }

  /* Fondo decorativo con el logo (similar al watermark del body) */
  .rrhh-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("img/logo.jpg");
    background-repeat: no-repeat;
    background-position: 95% 90%;
    background-size: min(350px, 50vw);
    opacity: 0.04;
    filter: grayscale(100%);
  }

  .rrhh-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: stretch;
    position: relative;
    z-index: 1;
  }

  /* Tarjetas usando la clase global .feature-card para mantener la coherencia */
  .rrhh-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
  }

  .rrhh-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
  }

  /* Barra de acento superior para la tarjeta de información */
  .rrhh-card.accent-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
  }

  .rrhh-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    background: rgba(42, 75, 140, 0.1);
    border: 1px solid rgba(42, 75, 140, 0.2);
    margin-bottom: 1.5rem;
    width: fit-content;
  }

  .rrhh-title {
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .rrhh-text {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  /* Lista de puntos (reutilizando estilos de hero-bullets) */
  .rrhh-points {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .rrhh-points li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--ink);
    font-weight: 500;
  }

  .rrhh-points li:last-child {
    margin-bottom: 0;
  }

  .rrhh-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-primary);
    transition: all var(--transition);
  }

  .rrhh-points li:hover .rrhh-icon {
    transform: scale(1.05) rotate(5deg);
  }

  .rrhh-point-title {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--ink);
  }

  .rrhh-point-text {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Estilos del formulario - adaptados del diseño global */
  .rrhh-form-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--ink);
  }

  .rrhh-hp {
    display: none !important;
  }

  .rrhh-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .rrhh-field-full {
    grid-column: 1 / -1;
  }

  .rrhh-label {
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
    display: block;
  }

  .rrhh-input,
  .rrhh-textarea,
  .rrhh-file {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    color: var(--ink);
    transition: all var(--transition);
    box-sizing: border-box;
  }

  .rrhh-textarea {
    min-height: 120px;
    resize: vertical;
  }

  .rrhh-input:focus,
  .rrhh-textarea:focus,
  .rrhh-file:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(42, 75, 140, 0.25);
    transform: translateY(-2px);
    outline: none;
  }

  .rrhh-file {
    padding: 0.5rem 0.875rem;
  }
  .rrhh-file::file-selector-button {
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    border: none;
    background: var(--soft-dark);
    color: var(--ink);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
  }
  .rrhh-file::file-selector-button:hover {
    background: var(--muted-light);
  }

  .rrhh-help {
    margin-top: 0.5rem;
    color: var(--muted-light);
    font-size: 0.85rem;
  }

  .rrhh-note {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: var(--soft-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .rrhh-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .rrhh-meta {
    color: var(--muted-light);
    font-size: 0.85rem;
    line-height: 1.4;
  }
  .rrhh-meta strong {
    color: var(--primary);
    font-weight: 700;
  }

  /* Responsive */
  @media (max-width: 992px) {
    .rrhh-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    .rrhh-card {
      padding: 2rem 1.5rem;
    }
    .rrhh-title {
      font-size: 2rem;
    }
  }

  @media (max-width: 640px) {
    .rrhh-fields {
      grid-template-columns: 1fr;
    }
    .rrhh-actions {
      flex-direction: column;
      align-items: stretch;
    }
    .rrhh-btn {
      width: 100%;
    }
    .rrhh-section::before {
      background-position: center center;
      opacity: 0.025;
    }
  }

/* ===== INLINE <style> BLOCK #5 ===== */
:root{
    /* WhatsApp oficial */
    --wa:#25D366;
    --wa-dark:#1fb85a;

    /* UI clara */
    --light-bg:#ffffff;
    --light-bg-soft:#f6f8f7;
    --light-border:#dde4df;
    --dark-text:#1c1f1d;
    --muted-text:#6c756f;

    /* Accent violeta del sitio (Maksytech) */
    --accent:#6F5BD6;
  }

  /* Facebook button (arriba) */
  .fb-float{
    position:fixed; right:18px; bottom:240px;
    z-index:9997;
    width:54px; height:54px; border-radius:50%;
    display:grid; place-items:center; color:#fff; text-decoration:none;
    background: linear-gradient(180deg, #1877F2 0%, #0f63d6 100%);
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    transition:transform .25s, box-shadow .25s, opacity .25s;
  }
  .fb-float:hover{
    transform:translateY(-2px) scale(1.04);
    box-shadow:0 14px 36px rgba(0,0,0,.35);
  }

  /* IG button */
  .ig-float{
    position:fixed; right:18px; bottom:166px;
    z-index:9998;
    width:54px; height:54px; border-radius:50%;
    display:grid; place-items:center; color:#fff; text-decoration:none;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    transition:transform .25s, box-shadow .25s, opacity .25s;
  }
  .ig-float:hover{
    transform:translateY(-2px) scale(1.04);
    box-shadow:0 14px 36px rgba(0,0,0,.35);
  }

  /* TikTok button */
  .tt-float{
    position:fixed; right:18px; bottom:92px;
    z-index:9998;
    width:54px; height:54px; border-radius:50%;
    display:grid; place-items:center; color:#fff; text-decoration:none;
    background: linear-gradient(180deg, #111 0%, #000 100%);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    transition:transform .25s, box-shadow .25s, opacity .25s;
  }
  .tt-float:hover{
    transform:translateY(-2px) scale(1.04);
    box-shadow:0 14px 36px rgba(0,0,0,.35);
  }

  /* WhatsApp flotante */
  .wa-float{
    position:fixed; right:18px; bottom:18px;
    z-index:9999; font-family:inherit;
  }

  .wa-btn{
    background:var(--wa);
    color:#fff;
    border:0;
    width:60px; height:60px; border-radius:50%;
    display:grid; place-items:center;
    box-shadow:0 10px 30px rgba(0,0,0,.22);
    cursor:pointer; transition:transform .3s, box-shadow .3s, filter .3s;
    position:relative; overflow:hidden;
    z-index:9999;
  }
  .wa-btn:hover{
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 14px 36px rgba(0,0,0,.28);
    filter:brightness(.98);
  }

  .wa-card{
    position:absolute; right:0; bottom:74px;
    width:min(360px,92vw);
    background:var(--light-bg);
    color:var(--dark-text);
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 18px 60px rgba(0,0,0,.25);
    border:1px solid var(--light-border);
    transform:translateY(10px);
    opacity:0;
    transition:transform .3s, opacity .3s;
    z-index:10000;
  }
  .wa-card[aria-modal="true"]{
    transform:translateY(0);
    opacity:1;
  }

  .wa-head{
    display:flex; align-items:center; gap:12px;
    padding:14px 16px;
    background:linear-gradient(135deg, #ffffff, rgba(111,91,214,.08));
    border-bottom:1px solid var(--light-border);
  }
  .wa-avatar{
    width:40px; height:40px; border-radius:10px;
    background:rgba(111,91,214,.10);
    display:grid; place-items:center;
    border:1px solid rgba(111,91,214,.20);
    overflow:hidden;
  }
  .wa-title{
    font-weight:900;
    font-size:1.02rem;
    color:var(--dark-text);
  }
  .wa-status{
    font-size:.85rem;
    color:var(--muted-text);
    display:flex; align-items:center; gap:6px;
  }
  .wa-status::before{
    content:""; width:8px; height:8px; border-radius:50%;
    background:var(--wa);
  }
  .wa-close{
    margin-left:auto;
    background:transparent;
    color:var(--muted-text);
    border:0;
    font-size:24px;
    cursor:pointer;
    opacity:.75;
    width:32px; height:32px;
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    transition:.2s;
  }
  .wa-close:hover{
    opacity:1;
    background:rgba(0,0,0,.04);
  }

  .wa-body{
    padding:12px 14px;
    max-height:40vh;
    overflow:auto;
    background:var(--light-bg-soft);
    display:flex;
    flex-direction:column;
    gap:8px;
  }

  .wa-bubble{
    max-width:88%;
    padding:9px 11px;
    border-radius:14px;
    line-height:1.35;
    box-shadow:0 3px 10px rgba(0,0,0,.06);
    animation:fadeIn .25s ease;
    font-size:0.9rem;
  }
  @keyframes fadeIn{
    from{opacity:0; transform:translateY(5px)}
    to{opacity:1; transform:none}
  }
  .wa-bot{
    background:#ffffff;
    border:1px solid var(--light-border);
    align-self:flex-start;
    border-bottom-left-radius:4px;
  }
  .wa-user{
    background:var(--accent);
    color:#fff;
    align-self:flex-end;
    border-bottom-right-radius:4px;
  }

  .wa-compose{
    display:grid;
    grid-template-columns:1fr auto;
    gap:8px;
    padding:10px 12px;
    background:#ffffff;
    border-top:1px solid var(--light-border);
  }
  .wa-compose textarea{
    resize:none;
    border-radius:12px;
    padding:10px 12px;
    border:1px solid var(--light-border);
    background:#f9fbfa;
    color:var(--dark-text);
    outline:none;
    min-height:44px;
    font-family:inherit;
    font-size:0.9rem;
    transition:.2s;
  }
  .wa-compose textarea:focus{
    border-color:rgba(111,91,214,.45);
    box-shadow:0 0 0 2px rgba(111,91,214,.14);
    background:#ffffff;
  }
  .wa-send{
    background:var(--accent);
    color:#ffffff;
    border:0;
    border-radius:12px;
    padding:0 16px;
    font-weight:800;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s;
  }
  .wa-send:hover{
    background:#5f4fd0;
    transform:scale(1.04);
  }

  .wa-body::-webkit-scrollbar{ width:6px; }
  .wa-body::-webkit-scrollbar-track{ background:rgba(0,0,0,.03); border-radius:3px; }
  .wa-body::-webkit-scrollbar-thumb{ background:rgba(0,0,0,.12); border-radius:3px; }
  .wa-body::-webkit-scrollbar-thumb:hover{ background:rgba(0,0,0,.18); }

  @media (max-width: 480px){
  .fb-float{ right:12px; bottom:190px; width:50px; height:50px; }
  .ig-float{ right:12px; bottom:132px; width:50px; height:50px; }
  .tt-float{ right:12px; bottom:74px;  width:50px; height:50px; }
  .wa-float{ right:12px; bottom:12px; }
  .wa-btn{ width:58px; height:58px; }
  .wa-card{ width:calc(100vw - 24px); right:0; }
}

