/* ============================================================
   M&A CONSULT – Main Stylesheet
   Colors: Navy #1a3564 | Orange #f47920
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
    --navy:        #1a3564;
    --navy-dark:   #0f2040;
    --navy-light:  #2a4a7f;
    --orange:      #f47920;
    --orange-dark: #d4661a;
    --orange-light:#ff9a45;
    --white:       #ffffff;
    --light:       #f5f7ff;
    --light2:      #eef1fa;
    --gray:        #6b7280;
    --gray-light:  #9ca3af;
    --dark-text:   #1f2937;
    --border:      #e5e7eb;
    --shadow:      0 4px 24px rgba(26,53,100,.12);
    --shadow-lg:   0 12px 48px rgba(26,53,100,.18);
    --radius:      12px;
    --radius-lg:   20px;
    --transition:  all .35s cubic-bezier(.4,0,.2,1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5,h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

/* ---- CONTAINER ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- SECTION HEADER ---- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(244,121,32,.1);
    color: var(--orange);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.section-badge i { font-size: .9rem; }
.section-header h2 { color: var(--navy); margin-bottom: .8rem; }
.section-header p { color: var(--gray); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.underline-orange {
    display: inline-block;
    position: relative;
}
.underline-orange::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 4px;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 2rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .92rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.15);
    transform: translateX(-100%);
    transition: transform .4s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(244,121,32,.45);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(244,121,32,.55);
    color: var(--white);
}
.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
}
.btn-navy {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(26,53,100,.3);
}
.btn-navy:hover {
    background: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26,53,100,.4);
    color: var(--white);
}
.btn-nav {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white) !important;
    padding: .6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .85rem;
    box-shadow: 0 4px 15px rgba(244,121,32,.4);
}
.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244,121,32,.5);
    color: var(--white) !important;
}

/* ============================================================
   MAP CARD (contact page)
   ============================================================ */
.map-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 320px;
    height: 440px;
    margin-bottom: 4rem;
}
.map-iframe-wrap { position: relative; }
.map-iframe-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.map-info-card {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    color: white;
}
.map-info-header {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.map-info-header strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: white;
}
.map-info-header span { font-size: .75rem; color: var(--orange); font-weight: 600; letter-spacing: .06em; }
.map-info-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.map-info-list li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    font-size: .87rem;
    color: rgba(255,255,255,.8);
    line-height: 1.55;
}
.map-info-list li i { color: var(--orange); font-size: .95rem; margin-top: .15rem; flex-shrink: 0; width: 16px; text-align: center; }
.map-info-list a { color: rgba(255,255,255,.8); transition: color .25s; }
.map-info-list a:hover { color: var(--orange); }
@media (max-width: 800px) {
    .map-card { grid-template-columns: 1fr; height: auto; }
    .map-iframe-wrap { height: 300px; }
    .map-info-card { padding: 1.5rem; }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
    background: var(--navy-dark);
    color: rgba(255,255,255,.75);
    font-size: .8rem;
    padding: .45rem 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.topbar-left a, .topbar-right a {
    color: rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    transition: color .25s;
}
.topbar-left a:hover, .topbar-right a:hover { color: var(--orange); }
.topbar-right a {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    justify-content: center;
    font-size: .75rem;
}
.topbar-right a:hover { background: var(--orange); color: #fff; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(26,53,100,.08);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(26,53,100,.15);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .9rem;
    padding-bottom: .9rem;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}
.logo-svg { color: var(--navy); }
.logo-svg-img { display: block; }

/* Clip wrapper – keeps layout consistent for JPG/PNG fallbacks */
.logo-clip {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Full logo in navbar */
.nav-logo-full {
    height: 85px;
    width: auto;
    display: block;
}

/* SVG icon fallback in navbar */
.nav-logo-icon-fallback {
    width: 62px;
    height: 56px;
    display: block;
}
.logo-text strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    letter-spacing: .02em;
}
.logo-text strong span { color: var(--orange); }
.logo-text small {
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--gray);
    text-transform: uppercase;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: .3rem;
}
.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .88rem;
    color: var(--dark-text);
    padding: .5rem .85rem;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transition: transform .3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .4rem;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 3px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(15,32,64,.92) 0%, rgba(26,53,100,.82) 60%, rgba(244,121,32,.2) 100%),
        url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600&q=90') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: .08;
    animation: floatShape 8s ease-in-out infinite;
}
.hero-shapes .shape-1 {
    width: 400px; height: 400px;
    background: var(--orange);
    top: -100px; right: -100px;
    animation-delay: 0s;
}
.hero-shapes .shape-2 {
    width: 250px; height: 250px;
    background: var(--white);
    bottom: 50px; left: 5%;
    animation-delay: -3s;
}
.hero-shapes .shape-3 {
    width: 150px; height: 150px;
    background: var(--orange-light);
    top: 40%; right: 20%;
    animation-delay: -5s;
}
@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-30px) rotate(15deg); }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: rgba(244,121,32,.2);
    border: 1px solid rgba(244,121,32,.4);
    color: var(--orange-light);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .55rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}
.hero-badge i { animation: pulse 2s infinite; }
@keyframes pulse {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.2); }
}
.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero h1 .highlight {
    color: var(--orange);
    position: relative;
    display: inline-block;
}
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), transparent);
}
.hero-desc {
    color: rgba(255,255,255,.85);
    font-size: 1.12rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    min-width: 100px;
}
.hero-stat strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
}
.hero-stat span {
    font-size: .75rem;
    color: rgba(255,255,255,.75);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .3rem;
    display: block;
}
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.6);
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 2;
}
.scroll-wheel {
    width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}
.scroll-wheel::after {
    content: '';
    width: 4px; height: 8px;
    background: var(--orange);
    border-radius: 4px;
    animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 100%;
    background: linear-gradient(to left, rgba(244,121,32,.1), transparent);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-card {
    position: relative;
    padding: 1.5rem;
}
.stat-card::after {
    content: '';
    position: absolute;
    right: 0; top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,.1);
}
.stat-card:last-child::after { display: none; }
.stat-icon {
    width: 56px; height: 56px;
    background: rgba(244,121,32,.15);
    border: 1px solid rgba(244,121,32,.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: var(--orange);
}
.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    display: block;
}
.stat-suffix { color: var(--orange); }
.stat-label {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: .5rem;
    display: block;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    padding: 6rem 0;
    background: var(--light);
    position: relative;
}
.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--navy), var(--orange), var(--navy));
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--orange), var(--orange-dark));
    transition: height .4s ease;
}
.service-card:hover::before { height: 100%; }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card-icon {
    width: 72px; height: 72px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: var(--transition);
}
.service-card-icon.blue  { background: rgba(26,53,100,.1);   color: var(--navy); }
.service-card-icon.orange{ background: rgba(244,121,32,.1);  color: var(--orange); }
.service-card-icon.teal  { background: rgba(20,184,166,.1);  color: #14b8a6; }
.service-card:hover .service-card-icon {
    background: var(--orange);
    color: var(--white);
    transform: rotate(-5deg) scale(1.05);
}
.service-card h3 { color: var(--navy); margin-bottom: .8rem; font-size: 1.15rem; }
.service-card p  { color: var(--gray); font-size: .92rem; margin-bottom: 1.5rem; line-height: 1.7; }
.service-card .service-link {
    color: var(--orange);
    font-weight: 600;
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: var(--transition);
}
.service-card .service-link i { transition: transform .3s ease; }
.service-card:hover .service-link i { transform: translateX(5px); }
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
}
.service-tag {
    background: var(--light2);
    color: var(--navy);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .25rem .75rem;
    border-radius: 50px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    padding: 6rem 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-img-wrap {
    position: relative;
}
.about-img-main {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-img-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 32px rgba(244,121,32,.4);
    min-width: 160px;
}
.about-img-badge strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--white);
}
.about-img-badge span {
    font-size: .8rem;
    opacity: .9;
    line-height: 1.3;
    display: block;
    margin-top: .3rem;
}
.about-img-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 4px solid var(--orange);
    border-radius: var(--radius);
    z-index: -1;
}
.about-content h2 { margin-bottom: 1rem; }
.about-lead {
    color: var(--orange);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .5rem;
    display: block;
}
.about-content p { color: var(--gray); margin-bottom: 1.2rem; font-size: .97rem; }
.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}
.about-value {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}
.about-value:hover { background: var(--light2); transform: translateY(-2px); }
.about-value-icon {
    width: 40px; height: 40px;
    background: rgba(244,121,32,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 1rem;
    flex-shrink: 0;
}
.about-value h5 {
    font-size: .88rem;
    color: var(--navy);
    margin-bottom: .2rem;
}
.about-value p  { font-size: .8rem; color: var(--gray); margin: 0; }

/* ============================================================
   REFERENCES / PORTFOLIO
   ============================================================ */
.references-section {
    padding: 6rem 0;
    background: var(--light);
}
.refs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
}
.ref-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    transition: var(--transition);
    position: relative;
    group: true;
}
.ref-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ref-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.ref-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.ref-card:hover .ref-img-wrap img { transform: scale(1.1); }
.ref-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,32,64,.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity .3s ease;
}
.ref-card:hover .ref-overlay { opacity: 1; }
/* .ref-overlay-btn defined in REFERENCES PAGE section below */
.ref-body { padding: 1.5rem; }
.ref-category {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .5rem;
}
.ref-body h3 { font-size: 1rem; color: var(--navy); margin-bottom: .5rem; line-height: 1.4; }
.ref-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: var(--gray);
}
.ref-client {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
}
.ref-client-logo {
    width: 36px; height: 36px;
    background: var(--light2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    color: var(--navy);
}
.ref-client small  { font-size: .78rem; color: var(--gray); display: block; }
.ref-client strong { font-size: .85rem; font-weight: 600; color: var(--dark-text); display: block; }
/* keep old span selector for back-compat */
.ref-client span   { font-size: .85rem; font-weight: 600; color: var(--dark-text); display: block; }

/* Year badge on image */
.ref-badge-year {
    position: absolute;
    top: .85rem;
    right: .85rem;
    background: var(--orange);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .3rem .7rem;
    border-radius: 50px;
    letter-spacing: .05em;
    z-index: 2;
}

/* Subtitle (ERP type / code) */
.ref-subtitle {
    font-size: .78rem;
    color: var(--gray);
    margin: .1rem 0 .6rem;
}

/* Description text */
.ref-desc {
    font-size: .82rem;
    color: var(--gray);
    margin: .5rem 0 .8rem;
    line-height: 1.65;
}

/* Specs row (budget + duration) */
.ref-specs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.2rem;
    margin-bottom: .7rem;
}
.ref-spec {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    color: var(--navy);
    font-weight: 600;
}
.ref-spec i { color: var(--orange); font-size: .7rem; }

/* Missions line */
.ref-missions {
    font-size: .74rem;
    background: rgba(26,53,100,.05);
    border-left: 3px solid var(--orange);
    padding: .4rem .6rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: .8rem;
    line-height: 1.5;
}
.ref-missions-label { font-weight: 700; color: var(--navy); margin-right: .3rem; }
.ref-missions-value { color: var(--gray); font-family: 'Courier New', monospace; }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section {
    padding: 6rem 0;
    background: var(--white);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.08); }
.blog-category {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--orange);
    color: white;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 50px;
}
.blog-card-body { padding: 1.8rem; }
.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .8rem;
    color: var(--gray-light);
    margin-bottom: .8rem;
}
.blog-meta span { display: flex; align-items: center; gap: .3rem; }
.blog-card-body h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: .8rem;
    line-height: 1.45;
    transition: color .25s;
}
.blog-card:hover h3 { color: var(--orange); }
.blog-card-body p { font-size: .88rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.3rem; }
.blog-read-more {
    color: var(--orange);
    font-weight: 700;
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: gap .3s ease;
}
.blog-card:hover .blog-read-more { gap: .7rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    padding: 5rem 0;
    background:
        linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, rgba(244,121,32,.15) 100%),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(244,121,32,.2), transparent 60%);
}
.cta-content { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p  { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.page-hero {
    background:
        linear-gradient(135deg, rgba(15,32,64,.95), rgba(26,53,100,.88)),
        url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?w=1600&q=80') center/cover no-repeat;
    padding: 8rem 0 5rem;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--orange); }
.breadcrumb i { font-size: .7rem; }

.contact-section { padding: 6rem 0; background: var(--light); }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}
.contact-info-card {
    background: linear-gradient(145deg, var(--navy-dark), var(--navy));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: white;
    position: sticky;
    top: 100px;
}
.contact-info-card h3 { color: white; margin-bottom: .5rem; }
.contact-info-card > p { color: rgba(255,255,255,.7); margin-bottom: 2rem; font-size: .92rem; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.ci-icon {
    width: 46px; height: 46px;
    background: rgba(244,121,32,.2);
    border: 1px solid rgba(244,121,32,.35);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--orange);
    flex-shrink: 0;
}
.ci-text strong { display: block; color: white; font-size: .9rem; margin-bottom: .2rem; }
.ci-text span, .ci-text a {
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    display: block;
}
.ci-text a:hover { color: var(--orange); }
.contact-info-divider {
    height: 1px;
    background: rgba(255,255,255,.1);
    margin: 1.5rem 0;
}
.contact-socials h4 { color: white; font-size: .95rem; margin-bottom: 1rem; }
.social-links { display: flex; gap: .75rem; }
.social-link {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.contact-form-card h3 { color: var(--navy); margin-bottom: .5rem; }
.contact-form-card > p { color: var(--gray); margin-bottom: 2rem; font-size: .92rem; }
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.form-group label i { color: var(--orange); font-size: .8rem; }
.form-group input,
.form-group textarea,
.form-group select {
    padding: .85rem 1.1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .92rem;
    color: var(--dark-text);
    transition: var(--transition);
    background: var(--white);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(26,53,100,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-submit { margin-top: .5rem; }
.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1.05rem;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: white;
    border-radius: var(--radius);
    box-shadow: 0 6px 20px rgba(244,121,32,.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(244,121,32,.5);
}
.form-alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: none;
    align-items: center;
    gap: .75rem;
    font-size: .92rem;
    font-weight: 500;
}
.form-alert.success {
    background: rgba(16,185,129,.1);
    border: 1px solid rgba(16,185,129,.3);
    color: #065f46;
    display: flex;
}
.form-alert.error {
    background: rgba(239,68,68,.1);
    border: 1px solid rgba(239,68,68,.3);
    color: #991b1b;
    display: flex;
}
.form-alert i { font-size: 1.1rem; }

/* Map embed placeholder */
.map-section { padding: 0 0 6rem; background: var(--light); }
.map-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-detail { padding: 6rem 0; background: var(--white); }
.service-detail-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}
.service-detail-block:last-child { margin-bottom: 0; }
.service-detail-block.reverse .service-detail-img { order: 2; }
.service-detail-block.reverse .service-detail-content { order: 1; }
.service-detail-img img {
    width: 100%; height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.service-detail-content .service-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(244,121,32,.1);
    line-height: 1;
    margin-bottom: -.5rem;
}
.service-detail-content h2 { margin-bottom: 1rem; }
.service-detail-content p { color: var(--gray); margin-bottom: 1.5rem; }
.service-detail-list { margin: 1.5rem 0; }
.service-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .85rem;
    color: var(--dark-text);
    font-size: .95rem;
}
.service-detail-list li i { color: var(--orange); margin-top: .2rem; font-size: .9rem; flex-shrink: 0; }

/* ============================================================
   REFERENCES PAGE
   ============================================================ */
.refs-filter { padding: 2rem 0; display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.filter-btn {
    padding: .55rem 1.5rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    border: 2px solid var(--border);
    color: var(--gray);
    transition: var(--transition);
    background: white;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}
.refs-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    padding: 1rem 0 5rem;
}

/* ============================================================
   REFERENCE CARD – detail CTA button
   ============================================================ */
.btn-ref-detail {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    padding: .5rem 1.1rem;
    border-radius: 50px;
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}
.btn-ref-detail:hover {
    background: var(--navy);
    color: #fff;
}
.ref-overlay-btn {
    background: var(--orange);
    color: white;
    padding: .55rem 1.3rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.ref-overlay-btn:hover { background: #d96d10; }

/* ============================================================
   PROJECT MODAL
   ============================================================ */
.proj-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}
.proj-modal.is-open {
    pointer-events: all;
    opacity: 1;
}

/* Backdrop */
.proj-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 15, 35, .78);
    backdrop-filter: blur(4px);
}

/* Box */
.proj-modal-box {
    position: relative;
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
    transform: translateY(30px) scale(.97);
    transition: transform .35s cubic-bezier(.22,1,.36,1);
    scrollbar-width: thin;
}
.proj-modal.is-open .proj-modal-box {
    transform: translateY(0) scale(1);
}

/* Close button */
.proj-modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    z-index: 10;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    transition: background .2s, transform .2s;
}
.proj-modal-close:hover {
    background: var(--orange);
    color: #fff;
    transform: rotate(90deg);
}

/* Hero image */
.proj-modal-img-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}
.proj-modal-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.proj-modal-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,25,55,.85) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    gap: .6rem;
    padding: 1.2rem 1.5rem;
}
.proj-modal-cat {
    background: var(--orange);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .8rem;
    border-radius: 50px;
}
.proj-modal-year {
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: .3rem .8rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.3);
}

/* Content area */
.proj-modal-content {
    padding: 1.8rem 2rem 2rem;
}
.proj-modal-subtitle {
    font-size: .8rem;
    color: var(--orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .3rem;
}
.proj-modal-content h2 {
    font-size: 1.45rem;
    color: var(--navy);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

/* Spec grid */
.proj-modal-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .8rem;
    margin-bottom: 1.2rem;
}
.proj-modal-spec {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    background: var(--light);
    border-radius: 10px;
    padding: .8rem 1rem;
}
.proj-modal-spec > i {
    color: var(--orange);
    font-size: .95rem;
    margin-top: .15rem;
    flex-shrink: 0;
}
.proj-modal-spec small {
    font-size: .7rem;
    color: var(--gray);
    display: block;
    margin-bottom: .1rem;
}
.proj-modal-spec strong {
    font-size: .85rem;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.3;
}

/* Missions */
.proj-modal-missions {
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
    border-left: 4px solid var(--orange);
    border-radius: 0 10px 10px 0;
    padding: .75rem 1rem;
    margin-bottom: 1.2rem;
    font-size: .78rem;
}
.proj-modal-missions span {
    font-weight: 700;
    color: var(--navy);
    margin-right: .4rem;
}
.proj-modal-missions code {
    font-family: 'Montserrat', sans-serif;
    color: var(--navy-dark);
    font-weight: 500;
    letter-spacing: .02em;
}

/* Description */
.proj-modal-desc {
    font-size: .88rem;
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 1.4rem;
}

/* People */
.proj-modal-people {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 1.5rem;
}
.proj-modal-person {
    flex: 1 1 220px;
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    background: var(--light);
    border-radius: 10px;
    padding: .8rem 1rem;
}
.proj-modal-person > i {
    color: var(--navy);
    font-size: .9rem;
    margin-top: .2rem;
    flex-shrink: 0;
}
.proj-modal-person small {
    font-size: .68rem;
    color: var(--gray);
    display: block;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .15rem;
}
.proj-modal-person strong {
    font-size: .85rem;
    color: var(--navy);
    font-weight: 700;
    display: block;
}
.proj-modal-person span {
    font-size: .78rem;
    color: var(--gray);
    display: block;
    margin-top: .1rem;
}

/* Footer CTA */
.proj-modal-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 600px) {
    .proj-modal-specs  { grid-template-columns: 1fr; }
    .proj-modal-content { padding: 1.2rem; }
    .proj-modal-img-wrap { height: 190px; }
    .proj-modal-content h2 { font-size: 1.2rem; }
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-page { padding: 5rem 0; background: var(--light); }
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}
.blog-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 2rem;
}
/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow);
}
.sidebar-widget h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 1.3rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}
.sidebar-search { display: flex; gap: .5rem; }
.sidebar-search input {
    flex: 1;
    padding: .7rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .88rem;
    outline: none;
    transition: border-color .25s;
}
.sidebar-search input:focus { border-color: var(--navy); }
.sidebar-search button {
    background: var(--orange);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
}
.category-list li {
    border-bottom: 1px solid var(--border);
    padding: .65rem 0;
}
.category-list li:last-child { border-bottom: none; }
.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: .9rem;
    transition: color .25s;
}
.category-list a:hover { color: var(--orange); }
.category-list .count {
    background: var(--light2);
    color: var(--navy);
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 50px;
}
.recent-post {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}
.recent-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.recent-post img {
    width: 70px; height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.recent-post h5 { font-size: .83rem; color: var(--navy); line-height: 1.4; margin-bottom: .3rem; }
.recent-post span { font-size: .75rem; color: var(--gray-light); }
.tags-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-item {
    background: var(--light2);
    color: var(--navy);
    font-size: .78rem;
    font-weight: 600;
    padding: .3rem .85rem;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
}
.tag-item:hover { background: var(--orange); color: white; }

/* Blog Single */
.blog-single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
    padding: 3rem 0 6rem;
}
.blog-single-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.blog-single-hero img {
    width: 100%; height: 420px;
    object-fit: cover;
}
.blog-single-body { padding: 2.5rem; }
.blog-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.blog-single-meta span { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--gray); }
.blog-single-body h1 { color: var(--navy); margin-bottom: 1.5rem; font-size: clamp(1.5rem,3vw,2rem); line-height: 1.35; }
.blog-single-body h2 { color: var(--navy); font-size: 1.4rem; margin: 2rem 0 1rem; }
.blog-single-body p  { color: var(--gray); margin-bottom: 1.3rem; line-height: 1.85; }
.blog-single-body ul { margin: 1rem 0 1.3rem 1.5rem; color: var(--gray); }
.blog-single-body ul li { margin-bottom: .5rem; line-height: 1.7; }
.blog-single-body blockquote {
    border-left: 4px solid var(--orange);
    background: var(--light);
    padding: 1.5rem 2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2rem 0;
    font-style: italic;
    color: var(--dark-text);
    font-size: 1.05rem;
}
.blog-single-tags { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.blog-single-tags span { font-weight: 600; color: var(--navy); margin-right: .75rem; }
.blog-share { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.blog-share span { font-weight: 600; color: var(--navy); }
.share-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: .85rem;
    transition: transform .25s;
}
.share-btn:hover { transform: scale(1.15); }
.share-btn.linkedin { background: #0077b5; }
.share-btn.twitter  { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.7); position: relative; }
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; height: 60px; display: block; }
.footer-body { padding: 4rem 0 2.5rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 3rem;
}
.footer-col h4 {
    color: var(--white);
    font-size: .95rem;
    margin-bottom: 1.3rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.2rem;
}
.footer-logo strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: .05em;
}
.footer-logo strong span { color: var(--orange); }
.footer-logo small {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
}
.footer-brand p { font-size: .88rem; line-height: 1.75; }
.footer-socials { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer-socials a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--orange); border-color: var(--orange); color: white; transform: translateY(-3px); }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a {
    color: rgba(255,255,255,.65);
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: var(--transition);
}
.footer-col ul a i { color: var(--orange); font-size: .7rem; }
.footer-col ul a:hover { color: var(--orange); padding-left: .3rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}
.footer-contact-list li i {
    color: var(--orange);
    margin-top: .15rem;
    flex-shrink: 0;
    font-size: .9rem;
}
.footer-contact-list a:hover { color: var(--orange); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.5rem 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.5); }

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 6px 24px rgba(37,211,102,.45);
    z-index: 900;
    transition: var(--transition);
    animation: waBounce 3s ease infinite;
}
.whatsapp-float:hover { transform: scale(1.12); color: white; }
@keyframes waBounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 46px; height: 46px;
    background: var(--navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: .9rem;
    box-shadow: var(--shadow);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { background: var(--orange); transform: translateY(-3px); }

/* ============================================================
   AOS OVERRIDES / ANIMATIONS
   ============================================================ */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .about-grid        { grid-template-columns: 1fr; gap: 3rem; }
    .about-img-badge   { bottom: 1rem; right: 1rem; }
    .about-img-accent  { display: none; }
    .footer-grid       { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .service-detail-block { grid-template-columns: 1fr; }
    .service-detail-block.reverse .service-detail-img,
    .service-detail-block.reverse .service-detail-content { order: 0; }
    .contact-layout    { grid-template-columns: 1fr; }
    .contact-info-card { position: static; }
    .blog-layout       { grid-template-columns: 1fr; }
    .blog-single-layout{ grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .topbar .container { justify-content: center; }
    .topbar-left       { gap: 1rem; }
    .topbar-right      { display: none; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        box-shadow: -8px 0 32px rgba(26,53,100,.15);
        transition: right .4s cubic-bezier(.4,0,.2,1);
        z-index: 999;
        gap: .3rem;
    }
    .nav-menu.open { right: 0; }
    .nav-link        { width: 100%; padding: .85rem 1rem; border-radius: var(--radius); font-size: .95rem; }
    .btn-nav         { width: 100%; justify-content: center; margin-top: .5rem; }
    .nav-toggle      { display: flex; z-index: 1000; }
    .hero-stats      { gap: .8rem; }
    .hero-stat       { padding: .8rem 1rem; }
    .about-values    { grid-template-columns: 1fr; }
    .form-grid       { grid-template-columns: 1fr; }
    .footer-grid     { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .refs-page-grid  { grid-template-columns: 1fr; }
    .hero-buttons    { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .stats-grid      { grid-template-columns: repeat(2, 1fr); }
    .stat-card::after{ display: none; }
    .topbar-left     { flex-wrap: wrap; gap: .5rem; justify-content: center; }
}
@media (max-width: 480px) {
    .hero-stats      { grid-template-columns: repeat(2, 1fr); display: grid; }
    .services-grid   { grid-template-columns: 1fr; }
    .blog-grid       { grid-template-columns: 1fr; }
    .refs-grid       { grid-template-columns: 1fr; }
    .stats-grid      { grid-template-columns: 1fr; }
}
