
  
  /* ══════════════════════════════════════════
     ROOT & RESET
  ══════════════════════════════════════════ */
  :root {
    --primary-color: #E31E24;
    /* --bg: #F8F4EC; */
    --bg: #EBECEC;
    --text-dark: #111;
  }

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

  html, body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    overflow-x: hidden;
    max-width: 100%;
  }
  #preloader {
    position: fixed; 
    inset: 0; 
    background: var(--bg); 
    z-index: 9999;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-family: 'Montserrat', sans-serif; 
    overflow: hidden;
  }
  .pl-words { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 0; 
  }
  .pl-word { 
    overflow: hidden; 
    line-height: 1; 
  }
  .pl-word-inner {
    display: block;
    font-size: 16vw;
    line-height: 0.95;
    font-weight: 600;
    /* text-transform: uppercase; */
    /* letter-spacing: -4px; */
    color: #E31E24;
    transform: translateY(110%);
    opacity: 0;
  }
  .pl-word-inner.accent { 
    color: #E31E24; 
    font-style: italic; 
  }

  #preloader.pl-exit { 
    animation: plSlideUp 0.8s cubic-bezier(0.77, 0, 0.18, 1) forwards; 
  }
  @keyframes plSlideUp {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-100%); opacity: 0; }
  }

  /* IMPORTANT FIX: Hide hero content until preloader finishes */
  #hero-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
  }


  /* HERO WRAPPER */
  #home {
    min-height: 100vh;
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  #home::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); */
    pointer-events: none;
    z-index: 0;
  }

  /* NAVBAR */
  #nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 56px;
    position: relative;
    z-index: 10;
  }

  #nav .logo-wrap img {
    width: 16rem;
    display: block;
  }

  #nav .menu-btn {
    font-size: 22px;
    cursor: pointer;
    color: #111;
    background: #fff;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    padding: 8px 14px;
    line-height: 1;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
  }

  #nav .menu-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #fff5f5;
  }

  /* SLIDE PANEL */
  #full {
    height: 100%;
    width: 38%;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.97);
    top: 0;
    right: -42%;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    padding: 120px 60px;
    z-index: 200;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
  }

  #full a {
    display: block;
    text-decoration: none;
    margin-bottom: 6px;
  }

  #full h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
    font-weight: 600;
    color: #111;
    margin-bottom: 14px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: color 0.25s, padding-left 0.25s;
    position: relative;
    display: inline-block;
  }

  #full h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    height: 2px;
    width: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
  }

  #full a:hover h4 { 
    color: var(--primary-color); 
    padding-left: 10px; 
  }
  #full a:hover h4::after { width: 100%; }

  #full .close-btn {
    position: absolute;
    top: 5%;
    right: 8%;
    font-weight: 600;
    font-size: 18px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    line-height: 1;
    transition: background 0.3s, color 0.3s;
    z-index: 210;
  }

  #full .close-btn:hover { background-color: var(--primary-color); }

  /* HERO CONTENT GRID */
  #hero-content {
    position: relative;
    z-index: 5;
    padding: 25px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
    flex: 1;
    align-content: center;
  }

  .hero-title-wrap {
    grid-column: 1 / -1;
    margin-bottom: 0;
    line-height: 0.95;
  }

  .hero-title-wrap h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(56px, 7vw, 132px);
    font-weight: 700;
    color: #111;
    letter-spacing: -4px;
    line-height: 0.92;
    text-transform: uppercase;
  }

  .hero-title-wrap h1 .accent {
    color: var(--primary-color);
    font-style: italic;
  }

  .pill-word {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b35 100%);
    border-radius: 80px;
    padding: 4px 32px 4px 8px;
    margin-left: 12px;
    vertical-align: middle;
    position: relative;
    top: -10px;
  }

  .pill-word .pill-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-right: 14px;
    flex-shrink: 0;
  }

  .pill-word span.pill-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(38px, 6vw, 84px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
  }

  .hero-bottom-left {
    grid-column: 1;
    padding-top: 48px;
    max-width: 480px;
  }
  .hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
  }

  .btn-pill-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff5c38 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 10px 16px 28px;
    border-radius: 60px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .btn-pill-primary .pill-dot {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

  .btn-pill-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(227, 30, 36, 0.4);
  }

  .btn-ghost-custom {
    background-color: transparent;
    color: #111;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 30px;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    margin-top: 3.5rem;
  }

  .btn-ghost-custom:hover {
    border-color: #111;
    background: #111;
    color: #fff;
  }

  /* Better spacing on mobile */
@media (max-width: 480px) {
  .hero-title-wrap {
    line-height: 0.88!important;           /* Slightly more breathing room */
  }

  .hero-title-wrap h1 {
    line-height: 1;           /* More line spacing for tight mobile screens */
    letter-spacing: -2.5px;      /* Less tight tracking */
    margin-bottom: 12px;         /* Extra space between the two h1 lines */
  }

  .hero-title-wrap h1:last-child {
    margin-top: 12px;            /* Extra gap between "Building..." and "Digital..." */
  }

  .pill-word {
    padding: 2px 14px 2px 4px;
    margin-left: 6px;
    top: -4px;
  }

  .pill-word span.pill-text {
    font-size: clamp(24px, 8vw, 44px);
    letter-spacing: -1.8px;
  }
}

  /* BOTTOM IMAGE STRIP */
  #hero-image-strip {
    position: relative;
    width: 100%;
    bottom: -20px;
  }

  #hero-image-strip img {
    width: 100%;
    height: auto;
    display: block;
    will-change: transform;
    filter: drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.25));
  }
  @media (max-width: 991.98px) {
    #hero-image-strip {
        bottom: -7px;
    }
}

  .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
  }

  .word-inner { 
    display: inline-block; 
  }

  /* RESPONSIVE */
  @media (max-width: 1100px) {
    #nav { padding: 22px 32px; }
    #hero-content { padding: 10px 32px 48px; }
    .hero-title-wrap h1 { font-size: clamp(44px, 7.5vw, 100px); letter-spacing: -2px; }
    .pill-word span.pill-text { font-size: clamp(30px, 5vw, 70px); }
    .pill-word .pill-icon { width: 42px; height: 42px; font-size: 18px; }
    #full { width: 52%; right: -56%; }
  }

  @media (max-width: 768px) {
    #nav { padding: 18px 24px; }
    #nav .logo-wrap img { width: 11rem; }
    #full { width: 80%; right: -85%; padding: 100px 40px; }
    #full h4 { font-size: 32px; }
    #hero-content { grid-template-columns: 1fr; padding: 8px 24px 40px; }
    .hero-title-wrap h1 { font-size: clamp(38px, 9vw, 72px); }
    .pill-word { padding: 3px 20px 3px 6px; margin-left: 8px; top: -6px; }
    .pill-word .pill-icon { width: 36px; height: 36px; font-size: 16px; margin-right: 8px; }
    .pill-word span.pill-text { font-size: clamp(28px, 7vw, 56px); }
    .hero-bottom-left { padding-top: 32px; max-width: 100%; }
    .hero-actions { flex-wrap: wrap; gap: 12px; }
  }

  @media (max-width: 480px) {
    #nav { padding: 16px 18px; }
    #nav .logo-wrap img { width: 9rem; }
    #full { width: 92%; right: -96%; padding: 90px 28px; }
    #full h4 { font-size: 28px; }
    #hero-content { padding: 4px 18px 32px; }
    .hero-title-wrap h1 { font-size: clamp(32px, 10vw, 56px); }
    .pill-word { padding: 2px 14px 2px 4px; margin-left: 6px; top: -4px; }
    .pill-word .pill-icon { width: 30px; height: 30px; font-size: 13px; margin-right: 6px; }
    .pill-word span.pill-text { font-size: clamp(24px, 8vw, 44px); }
    .btn-pill-primary { font-size: 12px; padding: 7px 8px 7px 20px; }
    .btn-pill-primary .pill-dot { width: 34px; height: 34px; font-size: 14px; }
  }

  /* FLOATING ICONS */
  .floating-icons {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 999;
  }

  .float-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 17px;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    border: none;
    cursor: pointer;
  }

  .float-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  }

  .float-linkedin { background: #0A66C2; }
  .float-facebook { background: #1877F2; }
  .float-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
  .float-whatsapp { background: #25D366; }

  .float-top {
    background: #111;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
  }

  .float-top.show {
    opacity: 1;
    pointer-events: all;
  }

  .float-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.08);
  }

  @media (max-width: 576px) {
    .floating-icons { right: 14px; bottom: 20px; gap: 8px; }
    .float-btn { width: 38px; height: 38px; font-size: 15px; }
  }
