/* ============================================
   PRIME CONNECT - Multipage Corporate Site
   Blue / Black / Cyan Theme
   ============================================ */

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

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --accent: #22c55e;
    --blue-deep: #0a3d21;
    --bg-dark: #050f0a;
    --bg-darker: #020a06;
    --bg-black: #000804;
    --bg-card: #0d1f15;
    --bg-card-hover: #12291c;
    --bg-alt: #081510;
    --border: rgba(16, 185, 129, 0.18);
    --border-hover: rgba(16, 185, 129, 0.45);
    --text: #e8fcf0;
    --text-muted: #94b8a3;
    --text-dim: #64887a;
    --white: #ffffff;
    --whatsapp: #25d366;

    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container: 1240px;
    --header-h: 78px;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;

    --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--bg-darker);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    width: 100%;
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

.btn-large { padding: 18px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-header { padding: 11px 22px; font-size: 0.9rem; }

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(5, 15, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(2, 10, 6, 0.95);
    border-bottom-color: var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: var(--white);
}

.logo-img {
    height: 42px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.25));
    transition: var(--transition);
}

.logo:hover .logo-img { transform: scale(1.04); }

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active { color: var(--white); }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Page Banner (secondary pages) ---------- */
.page-banner {
    position: relative;
    padding: calc(var(--header-h) + 70px) 0 70px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.page-banner::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.12;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.page-banner-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.page-banner-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.page-banner h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.page-banner p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.breadcrumb {
    margin-top: 26px;
    font-size: 0.88rem;
    color: var(--text-dim);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 0.7rem; }

/* ---------- Hero (index) ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--header-h) + 40px) 0 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-darker);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.glow-1 {
    width: 500px; height: 500px;
    background: var(--primary);
    top: -100px; right: -100px;
    opacity: 0.22;
}

.glow-2 {
    width: 400px; height: 400px;
    background: var(--accent);
    bottom: -50px; left: -80px;
    opacity: 0.2;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content { max-width: 640px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.metric-label { font-size: 0.85rem; color: var(--text-muted); }

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 5rem;
    position: relative;
    animation: pulseCircle 4s ease-in-out infinite;
}

.hero-circle::before,
.hero-circle::after {
    content: '';
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    border: 1px solid var(--border);
    animation: rotate 20s linear infinite;
}

.hero-circle::after {
    inset: -60px;
    animation-duration: 30s;
    animation-direction: reverse;
    border-style: dashed;
}

@keyframes pulseCircle {
    0%, 100% { box-shadow: 0 0 60px rgba(16, 185, 129, 0.25); }
    50% { box-shadow: 0 0 100px rgba(16, 185, 129, 0.45); }
}

@keyframes rotate { to { transform: rotate(360deg); } }

.floating-card {
    position: absolute;
    background: rgba(13, 31, 21, 0.88);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
    min-width: 210px;
}

.floating-card i {
    font-size: 1.6rem;
    color: var(--primary);
    width: 44px; height: 44px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card h4 { font-size: 0.95rem; margin-bottom: 2px; }
.floating-card p { font-size: 0.78rem; color: var(--text-muted); }

.card-1 { top: 10%; left: -10px; animation-delay: 0s; }
.card-2 { top: 42%; right: -10px; animation-delay: 1.5s; }
.card-3 { bottom: 8%; left: 10%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- Services Grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 28px;
    transition: 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);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 62px; height: 62px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(34, 197, 94, 0.08));
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-darker);
    transform: scale(1.08);
}

.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link i { transition: var(--transition); }
.service-link:hover i { transform: translateX(4px); }

/* ---------- Benefits Grid ---------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.benefit-card {
    text-align: center;
    padding: 38px 26px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.benefit-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 18px;
    display: inline-block;
    width: 72px; height: 72px;
    line-height: 72px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.benefit-card:hover i {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-darker);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.benefit-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.benefit-card p { color: var(--text-muted); font-size: 0.93rem; }

/* ---------- Solutions ---------- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.solution-block {
    padding: 36px 30px;
    background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-darker) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 60%);
    pointer-events: none;
}

.solution-block:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.solution-block i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 18px;
    display: block;
}

.solution-block h3 { font-size: 1.3rem; margin-bottom: 10px; }
.solution-block p { color: var(--text-muted); font-size: 0.95rem; }

.solution-block ul {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solution-block ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.solution-block ul li i {
    color: var(--primary);
    font-size: 0.8rem;
    margin: 0;
}

/* ---------- Process ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.process-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.process-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 14px;
    display: block;
}

.process-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.process-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Projects ---------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 26px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background-size: cover;
    background-position: center;
}

.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(2, 10, 6, 0.95) 100%);
}

.project-img-1 {
    background-image:
        linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(34, 197, 94, 0.3)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 220"><defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="%23071f14"/><stop offset="1" stop-color="%23103d28"/></linearGradient></defs><rect width="400" height="220" fill="url(%23g)"/><g stroke="%2310b981" stroke-width="1.2" fill="none" opacity="0.8"><path d="M0,110 Q100,60 200,110 T400,110"/><path d="M0,130 Q100,80 200,130 T400,130"/><path d="M0,90 Q100,40 200,90 T400,90"/></g><g fill="%2310b981"><circle cx="60" cy="110" r="4"/><circle cx="180" cy="110" r="4"/><circle cx="300" cy="110" r="4"/></g></svg>');
}

.project-img-2 {
    background-image:
        linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(34, 197, 94, 0.35)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 220"><rect width="400" height="220" fill="%23071f14"/><g stroke="%2310b981" stroke-width="1" opacity="0.5"><line x1="0" y1="55" x2="400" y2="55"/><line x1="0" y1="110" x2="400" y2="110"/><line x1="0" y1="165" x2="400" y2="165"/></g><g fill="%2322c55e"><rect x="40" y="45" width="60" height="20" rx="3"/><rect x="120" y="45" width="60" height="20" rx="3"/><rect x="200" y="45" width="60" height="20" rx="3"/><rect x="280" y="45" width="60" height="20" rx="3"/><rect x="40" y="100" width="60" height="20" rx="3"/><rect x="120" y="100" width="60" height="20" rx="3"/><rect x="200" y="100" width="60" height="20" rx="3"/><rect x="40" y="155" width="60" height="20" rx="3"/><rect x="120" y="155" width="60" height="20" rx="3"/></g></svg>');
}

.project-img-3 {
    background-image:
        linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(16, 185, 129, 0.35)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 220"><rect width="400" height="220" fill="%23081f16"/><g fill="none" stroke="%2310b981" stroke-width="1.5" opacity="0.8"><rect x="50" y="55" width="80" height="60" rx="5"/><rect x="270" y="55" width="80" height="60" rx="5"/><circle cx="90" cy="85" r="14"/><circle cx="310" cy="85" r="14"/></g><g fill="%2310b981"><circle cx="90" cy="85" r="5"/><circle cx="310" cy="85" r="5"/><path d="M200,150 L180,180 L220,180 Z"/></g></svg>');
}

.project-img-4 {
    background-image:
        linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(34, 197, 94, 0.25)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 220"><rect width="400" height="220" fill="%23061f14"/><g fill="none" stroke="%2310b981" stroke-width="1" opacity="0.6"><circle cx="200" cy="110" r="30"/><circle cx="200" cy="110" r="60"/><circle cx="200" cy="110" r="90"/></g><circle cx="200" cy="110" r="10" fill="%2310b981"/></svg>');
}

.project-img-5 {
    background-image:
        linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(34, 197, 94, 0.35)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 220"><rect width="400" height="220" fill="%23061a10"/><g fill="%2310b981" opacity="0.7"><rect x="60" y="60" width="40" height="100" rx="3"/><rect x="140" y="80" width="40" height="80" rx="3"/><rect x="220" y="50" width="40" height="110" rx="3"/><rect x="300" y="70" width="40" height="90" rx="3"/></g></svg>');
}

.project-img-6 {
    background-image:
        linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(16, 185, 129, 0.3)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 220"><rect width="400" height="220" fill="%23081f16"/><g fill="none" stroke="%2310b981" stroke-width="1.5" opacity="0.7"><path d="M50,180 L100,120 L150,150 L200,80 L250,110 L300,60 L350,90"/></g><g fill="%2310b981"><circle cx="50" cy="180" r="4"/><circle cx="100" cy="120" r="4"/><circle cx="150" cy="150" r="4"/><circle cx="200" cy="80" r="4"/><circle cx="250" cy="110" r="4"/><circle cx="300" cy="60" r="4"/><circle cx="350" cy="90" r="4"/></g></svg>');
}

.project-category {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary);
    border-radius: 30px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
}

.project-body { padding: 26px 24px; }
.project-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.project-body p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 18px; }

.project-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-dim);
    flex-wrap: wrap;
}

.project-meta i { color: var(--primary); margin-right: 4px; }

/* ---------- About ---------- */
.about-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-tag { margin-bottom: 14px; }
.about-content .section-title { text-align: left; margin-bottom: 22px; }

.about-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 18px;
    line-height: 1.75;
}

.about-text strong { color: var(--primary); font-weight: 700; }

.about-values {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.value-item { display: flex; gap: 18px; }

.value-item i {
    width: 48px; height: 48px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.value-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.value-item p { color: var(--text-muted); font-size: 0.93rem; }

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.stat-card {
    background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-darker) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-darker);
    font-size: 1.4rem;
    margin: 0 auto 16px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- CTA ---------- */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--bg-darker);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 50%, rgba(34, 197, 94, 0.15) 0%, transparent 55%);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
}

.cta-container h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.cta-container p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

/* ---------- Contact ---------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}

.contact-info {
    background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-darker) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    height: fit-content;
}

.contact-item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-of-type { border-bottom: none; }

.contact-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-darker);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-item a, .contact-item p { color: var(--text-muted); font-size: 0.95rem; }
.contact-item a:hover { color: var(--primary); }

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-black);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col .logo { margin-bottom: 18px; }

.footer-description {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 22px;
    line-height: 1.7;
}

.social-links { display: flex; gap: 12px; }

.social-links a {
    width: 40px; height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-darker);
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-col h5 {
    font-size: 1rem;
    margin-bottom: 22px;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact li {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact li i { color: var(--primary); width: 16px; }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--text-dim);
    font-size: 0.87rem;
}

/* ---------- Floating Elements ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 58px; height: 58px;
    background: var(--whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulseWhatsapp 2.5s ease-in-out infinite;
}

.whatsapp-float:hover { transform: scale(1.1); color: white; }

@keyframes pulseWhatsapp {
    0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5), 0 0 0 15px rgba(37, 211, 102, 0); }
}

.scroll-top {
    position: fixed;
    bottom: 24px; left: 24px;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover { transform: translateY(-4px); }

/* ---------- Reveal Animation ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-visual { height: 400px; margin-top: 20px; }
    .hero-circle { width: 260px; height: 260px; font-size: 4rem; }
    .about-layout { grid-template-columns: 1fr; gap: 50px; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    :root { --header-h: 70px; }

    .btn-header { display: none; }
    .menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: rgba(2, 10, 6, 0.98);
        backdrop-filter: blur(20px);
        padding: 30px 24px;
        transform: translateX(-100%);
        transition: transform 0.35s ease;
        border-bottom: 1px solid var(--border);
        height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }

    .nav.active { transform: translateX(0); }

    .nav-list { flex-direction: column; gap: 8px; align-items: stretch; }
    .nav-list li { width: 100%; }

    .nav-link {
        display: block;
        padding: 14px 18px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
        border: 1px solid transparent;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--bg-card);
        border-color: var(--border);
    }

    .section { padding: 80px 0; }
    .page-banner { padding: calc(var(--header-h) + 50px) 0 50px; }

    .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
    .hero-metrics { grid-template-columns: 1fr; gap: 18px; text-align: left; }
    .hero-visual { height: 360px; }
    .hero-circle { width: 220px; height: 220px; font-size: 3.5rem; }
    .floating-card { padding: 12px 16px; min-width: 180px; }
    .floating-card h4 { font-size: 0.85rem; }
    .floating-card p { font-size: 0.72rem; }
    .card-1 { left: 0; top: 5%; }
    .card-3 { bottom: 5%; left: 5%; }

    .section-header { margin-bottom: 50px; }
    .about-content .section-title { text-align: center; }
    .about-stats { grid-template-columns: 1fr 1fr; }

    .form-row { grid-template-columns: 1fr; gap: 0; }

    .contact-form { padding: 30px 22px; }
    .contact-info { padding: 30px 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { justify-content: center; text-align: center; }

    .whatsapp-float { width: 52px; height: 52px; font-size: 1.6rem; bottom: 18px; right: 18px; }
    .scroll-top { width: 42px; height: 42px; bottom: 18px; left: 18px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }

    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.98rem; }

    .btn { padding: 12px 22px; font-size: 0.9rem; }
    .btn-large { padding: 15px 30px; }

    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }

    .service-card,
    .benefit-card { padding: 28px 22px; }

    .about-stats { grid-template-columns: 1fr; }
}
