/* =============================================
   ASP Soft (Pvt) Ltd. - Website Stylesheet
   ============================================= */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #1a3c6e;
    --primary-light: #2457a0;
    --primary-dark: #0f2447;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: 0.3s ease;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --nav-height: 72px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
}
.btn--primary {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(245,158,11,0.35);
}
.btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,158,11,0.45);
}
.btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}
.btn--full { width: 100%; justify-content: center; }

/* ===== SECTION COMMON ===== */
.section {
    padding: 96px 0;
    position: relative;
}
.section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}
.section--alt { background: var(--bg-alt); }
.section__header {
    text-align: center;
    margin-bottom: 60px;
}
.section__tag {
    display: inline-block;
    background: rgba(26,60,110,0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
    background: rgba(15,36,71,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.logo__icon {
    width: 38px; height: 38px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1rem;
}
.logo__text { color: #fff; }
.logo__accent { color: var(--accent); }

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav__link {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all var(--transition);
}
.nav__link:hover, .nav__link.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.nav__link--cta {
    background: var(--accent);
    color: var(--primary-dark) !important;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    margin-left: 8px;
}
.nav__link--cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 1100;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== LOGO IMAGE ===== */
.nav__logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.25));
}
.nav__logo-img--footer {
    height: 56px;
    margin-bottom: 4px;
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e5ca8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero__particles {
    position: absolute; inset: 0;
}
.hero__particles span {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 8s infinite;
}
.hero__particles span:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.hero__particles span:nth-child(2) { top: 70%; left: 85%; animation-delay: 1s; width: 6px; height: 6px; }
.hero__particles span:nth-child(3) { top: 30%; left: 75%; animation-delay: 2s; }
.hero__particles span:nth-child(4) { top: 80%; left: 20%; animation-delay: 3s; width: 3px; height: 3px; }
.hero__particles span:nth-child(5) { top: 50%; left: 5%; animation-delay: 4s; width: 5px; height: 5px; }
.hero__particles span:nth-child(6) { top: 20%; left: 50%; animation-delay: 5s; }
.hero__particles span:nth-child(7) { top: 90%; left: 60%; animation-delay: 0.5s; width: 3px; height: 3px; }
.hero__particles span:nth-child(8) { top: 40%; left: 90%; animation-delay: 2.5s; width: 6px; height: 6px; }
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}
.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 24px;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.hero__badge i { color: var(--accent); }
.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero__highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}
.hero__highlight::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0; right: 0;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.4;
}
.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat__label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}
.stat__divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.15);
}
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    animation: bounce 2s infinite;
    transition: all var(--transition);
}
.hero__scroll:hover {
    border-color: var(--accent);
    color: var(--accent);
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== ABOUT ===== */
.about { background: var(--bg-alt); }
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about__card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all var(--transition);
}
.about__card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: rgba(26,60,110,0.15);
}
.about__card-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.about__card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.about__card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }
.about__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}
.about__badge-main {
    width: 200px; height: 200px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(26,60,110,0.35);
}
.about__badge-inner {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.about__badge-inner i { font-size: 2rem; color: var(--accent); margin-bottom: 4px; }
.about__badge-inner span { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.about__badge-inner strong { font-family: var(--font-heading); font-size: 1.2rem; }
.about__floating {
    position: absolute;
    background: var(--bg);
    border-radius: 50px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-dark);
    border: 1px solid var(--border);
    white-space: nowrap;
}
.about__floating i { color: var(--primary); }
.about__floating--1 { top: 10%; left: 0; animation: floatItem 4s ease-in-out infinite; }
.about__floating--2 { bottom: 15%; right: 0; animation: floatItem 4s ease-in-out infinite 1.5s; }
.about__floating--3 { top: 55%; left: -10px; animation: floatItem 4s ease-in-out infinite 3s; }
@keyframes floatItem {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== SERVICES ===== */
.services { background: var(--bg); }
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(26,60,110,0.1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(26,60,110,0.08), rgba(26,60,110,0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all var(--transition);
}
.service-card:hover .service-card__icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== PRODUCTS ===== */
.products { background: var(--bg-alt); }
.products__benefits {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 56px;
}
.benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}
.benefit i { color: var(--accent); font-size: 1rem; }
.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(26,60,110,0.1);
}
.product-card__num {
    position: absolute;
    top: 20px; right: 20px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    transition: color var(--transition);
}
.product-card:hover .product-card__num { color: rgba(26,60,110,0.1); }
.product-card__icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}
.product-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ===== PORTFOLIO ===== */
.portfolio { background: var(--bg); }
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.portfolio-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    background: var(--bg-alt);
    transition: all var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.portfolio-item--featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-color: transparent;
    color: #fff;
}
.portfolio-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.portfolio-item__icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    background: rgba(26,60,110,0.08);
    color: var(--primary);
}
.portfolio-item--featured .portfolio-item__icon {
    background: rgba(255,255,255,0.15);
    color: var(--accent);
}
.portfolio-item__tag {
    display: inline-block;
    background: rgba(26,60,110,0.1);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}
.portfolio-item--featured .portfolio-item__tag {
    background: rgba(255,255,255,0.2);
    color: var(--accent);
}
.portfolio-item h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.portfolio-item--featured h3 { color: #fff; font-size: 1.15rem; }
.portfolio-item p { font-size: 0.88rem; color: var(--text-muted); }
.portfolio-item--featured p { color: rgba(255,255,255,0.75); }
.portfolio-item__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.portfolio-item__tags li {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 50px;
}

/* ===== CLIENTS ===== */
.clients { background: var(--bg-alt); }
.clients__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}
.client-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: all var(--transition);
}
.client-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: rgba(26,60,110,0.15);
}
.client-card__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.client-card__icon.gov { background: rgba(26,60,110,0.1); color: var(--primary); }
.client-card__icon.corp { background: rgba(245,158,11,0.1); color: var(--accent-dark); }
.client-card__icon.health { background: rgba(16,185,129,0.1); color: #059669; }
.client-card__info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 2px;
}
.client-card__info span {
    font-size: 0.78rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 4px;
}
.client-card__info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.clients__cta {
    text-align: center;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.clients__cta p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 12px;
    line-height: 1.7;
}
.clients__cta strong {
    font-size: 1.05rem;
    color: var(--primary);
}

/* ===== TEAM ===== */
.team { background: var(--bg); }
.team__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}
.team-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
}
.team-card--featured {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-color: transparent;
    padding: 48px 36px;
}
.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.team-card__avatar {
    width: 100px; height: 100px;
    margin: 0 auto 24px;
    background: rgba(26,60,110,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--border);
}
.team-card--featured .team-card__avatar {
    width: 120px; height: 120px;
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
}
.team-card__avatar-inner {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
}
.team-card--featured .team-card__avatar-inner {
    width: 96px; height: 96px;
    background: rgba(255,255,255,0.2);
    font-size: 2.2rem;
}
.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.team-card--featured h3 { color: #fff; font-size: 1.25rem; }
.team-card__role {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 6px;
}
.team-card--featured .team-card__role {
    background: var(--accent);
    color: var(--primary-dark);
}
.team-card__qual {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
}
.team-card--featured .team-card__qual { color: rgba(255,255,255,0.5); }
.team-card p:last-child {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.team-card--featured p:last-child { color: rgba(255,255,255,0.75); }

/* ===== CONTACT ===== */
.contact { background: var(--bg-alt); }
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}
.contact__info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}
.contact__info > p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    font-size: 0.95rem;
}
.contact__details { display: flex; flex-direction: column; gap: 24px; }
.contact__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact__item-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}
.contact__item-text span {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 4px;
}
.contact__item-text a,
.contact__item-text address {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color var(--transition);
}
.contact__item-text a:hover { color: var(--primary); }
.whatsapp-link { color: #25d366 !important; font-weight: 600; }
.whatsapp-link:hover { color: #128c50 !important; }
.contact__item-icon--whatsapp {
    background: linear-gradient(135deg, #25d366, #128c50) !important;
}

/* Form */
.contact__form {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form__group {
    margin-bottom: 20px;
}
.form__group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.form__group label span { color: var(--accent-dark); }
.form__group input,
.form__group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.92rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form__group input:focus,
.form__group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,60,110,0.08);
}
.form__group textarea { resize: vertical; min-height: 130px; }
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--text-light); }
.form__success {
    display: none;
    align-items: center;
    gap: 10px;
    background: #d1fae5;
    color: #065f46;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.9rem;
}
.form__success.show { display: flex; }
.form__success i { color: #059669; font-size: 1.2rem; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand .footer__logo { margin-bottom: 16px; }
.footer__brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 280px;
}
.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer__contacts a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition);
}
.footer__contacts a:hover { color: var(--accent); }
.footer__contacts a i { color: var(--accent); }
.footer__links h4, .footer__services h4, .footer__address h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer__links ul, .footer__services ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__links a, .footer__services a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: all var(--transition);
}
.footer__links a:hover, .footer__services a:hover {
    color: var(--accent);
    padding-left: 4px;
}
.footer__address address {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
}
.footer__phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer__phones span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer__phones span i { color: var(--accent); }
.footer__wa-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #25d366;
    font-weight: 600;
    transition: color var(--transition);
}
.footer__wa-link:hover { color: #4ade80; }
.footer__wa-link i { font-size: 1rem; }
.footer__whatsapp { color: #25d366 !important; font-weight: 600; }
.footer__whatsapp:hover { color: #4ade80 !important; }
.footer__whatsapp i { color: #25d366 !important; }
.footer__bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    flex-wrap: wrap;
    gap: 8px;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 92px;
    right: 32px;
    width: 52px; height: 52px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    z-index: 900;
    transition: all var(--transition);
    animation: waPulse 3s infinite;
}
.whatsapp-float:hover {
    background: #128c50;
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; transform: translateX(0); pointer-events: auto; }
.whatsapp-float__tooltip {
    position: absolute;
    right: 60px;
    background: #1e293b;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: all var(--transition);
}
.whatsapp-float__tooltip::after {
    content: '';
    position: absolute;
    right: -6px; top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #1e293b;
    border-right: none;
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
    50% { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 32px; right: 32px;
    width: 48px; height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: all var(--transition);
}
.back-to-top.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== FADE-IN ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .portfolio__grid { grid-template-columns: 1fr 1fr; }
    .portfolio-item--featured { grid-column: span 2; }
    .team__grid { grid-template-columns: 1fr 1fr; }
    .team-card--featured { grid-column: span 2; padding: 40px 32px; }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
    .about__grid { grid-template-columns: 1fr; gap: 48px; }
    .about__visual { height: 280px; }
    .contact__wrapper { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 32px;
        gap: 8px;
        transition: right var(--transition);
        z-index: 999;
    }
    .nav__menu.open { right: 0; }
    .nav__link { font-size: 1rem; padding: 12px 16px; width: 100%; border-radius: 8px; }
    .nav__link--cta { margin-left: 0; }
    .nav__toggle { display: flex; }
    .portfolio__grid { grid-template-columns: 1fr; }
    .portfolio-item--featured { grid-column: span 1; }
    .team__grid { grid-template-columns: 1fr; }
    .team-card--featured { grid-column: span 1; }
    .footer__top { grid-template-columns: 1fr; }
    .hero__stats { gap: 20px; }
    .stat__divider { height: 32px; }
    .form__row { grid-template-columns: 1fr; }
    .clients__cta { padding: 32px 24px; }
    .contact__form { padding: 28px 20px; }
    .section { padding: 72px 0; }
}
@media (max-width: 480px) {
    .hero__actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }
    .products__benefits { gap: 10px; }
    .benefit { font-size: 0.8rem; padding: 8px 14px; }
    .footer__bottom { flex-direction: column; text-align: center; }
}
