/* ========================
   VARIABLES & RESET
   ======================== */

:root {
    --primary-color: #14b8a6;
    --secondary-color: #38bdf8;
    --accent-color: #fbbf24;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    --text-dark: #e5edf7;
    --text-light: #94a3b8;
    --border-light: rgba(148, 163, 184, 0.22);
    --bg-light: #111827;
    --bg-white: #162033;
    --page-dark: #0f172a;
    --panel-dark: #111c2e;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.18);
    --shadow-md: 0 16px 36px rgba(2, 6, 23, 0.24);
    --shadow-lg: 0 24px 70px rgba(2, 6, 23, 0.34);
}

@media (max-width: 640px) {
    .nema-logo-nav {
        height: 32px;
        max-width: 180px;
    }

    .nema-logo-hero {
        width: min(100%, 220px);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--page-dark);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* ========================
   TYPOGRAPHY
   ======================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* ========================
   LAYOUT
   ======================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* ========================
   BRITTANY-STYLE HOME
   ======================== */

.home-portfolio .navbar,
.home-portfolio .footer {
    display: none;
}

.home-portfolio {
    background: var(--page-dark);
}

.bc-shell {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 3rem;
}

.bc-sidebar {
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 96px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bc-avatar {
    width: 96px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.bc-sidebar h1 {
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: 1;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.bc-sidebar h2 {
    color: #cbd5e1;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bc-sidebar p {
    max-width: 360px;
    color: #94a3b8;
    font-size: 1.05rem;
}

.bc-section-nav {
    margin-top: 4rem;
    display: grid;
    gap: 1.2rem;
}

.bc-section-nav a {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.bc-section-nav span {
    display: block;
    width: 48px;
    height: 1px;
    background: #475569;
    transition: var(--transition);
}

.bc-section-nav a:hover {
    color: #e2e8f0;
}

.bc-section-nav a:hover span {
    width: 96px;
    background: #e2e8f0;
}

.bc-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.bc-socials a {
    color: #94a3b8;
    font-weight: 700;
}

.bc-socials a:hover,
.bc-more-link:hover,
.bc-project-card h3 a:hover {
    color: var(--primary-color);
}

.bc-main {
    padding: 96px 0;
}

.bc-section {
    scroll-margin-top: 32px;
    margin-bottom: 7rem;
}

.bc-section p {
    color: #94a3b8;
    font-size: 1.02rem;
    line-height: 1.75;
}

.bc-section strong,
.bc-section h3 {
    color: #e2e8f0;
}

.bc-section h3 {
    font-size: 1.15rem;
    font-weight: 800;
}

.bc-mobile-heading {
    display: none;
}

.bc-section-heading {
    margin-bottom: 1.75rem;
}

.bc-section-heading h2 {
    color: #e2e8f0;
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.bc-section-heading p:last-child {
    max-width: 620px;
    margin-bottom: 0;
}

.bc-card {
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid transparent;
    transition: var(--transition);
}

.bc-card:hover {
    background: rgba(30, 41, 59, 0.48);
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}

.bc-timeline-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
}

.bc-date {
    color: #94a3b8 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.82rem !important;
    font-weight: 700;
    margin: 0;
}

.bc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.bc-tags span {
    background: rgba(20, 184, 166, 0.12);
    color: #5eead4;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.84rem;
    font-weight: 600;
}

.bc-project-card {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 1.5rem;
    background: rgba(30, 41, 59, 0.26);
    border-color: rgba(148, 163, 184, 0.14);
    margin-bottom: 1rem;
}

.bc-project-media {
    aspect-ratio: 16/10;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
    border: 1px solid var(--border-light);
}

.bc-project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bc-project-card h3 a {
    color: #e2e8f0;
}

.bc-project-impact {
    color: #cbd5e1 !important;
    font-size: 0.95rem !important;
    border-left: 2px solid var(--primary-color);
    padding-left: 0.9rem;
    margin-top: 0.75rem;
}

.bc-more-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #e2e8f0;
    font-weight: 800;
}

.bc-service-list,
.bc-price-grid {
    display: grid;
    gap: 1rem;
}

.bc-contact {
    padding-bottom: 96px;
}

.bc-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* ========================
   NAVIGATION
   ======================== */

.navbar {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid var(--border-light);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 0;
}

.nema-logo-link {
    display: inline-flex;
    align-items: center;
}

.nema-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.nema-logo-nav {
    height: 36px;
    max-width: 200px;
}

.nema-logo-hero {
    width: min(100%, 240px);
    max-height: 74px;
    margin: 0 auto 1rem;
}

.nema-logo-footer {
    width: min(100%, 180px);
    max-height: 55px;
    margin-bottom: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #cbd5e1;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-contact {
    background: var(--primary-color);
    color: #042f2e !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.btn-contact:hover {
    background: var(--secondary-color);
    color: #082f49 !important;
}

/* ========================
   BUTTONS
   ======================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #042f2e;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(20, 184, 166, 0.1);
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ========================
   HERO SECTION
   ======================== */

.hero {
    background: var(--page-dark);
    padding: 120px 0 110px;
    border-bottom: 1px solid var(--border-light);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-name {
    color: var(--text-dark);
    font-size: clamp(3rem, 7vw, 5.75rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.hero-text h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    margin-bottom: 1rem;
    color: #94a3b8;
    max-width: 760px;
}

.hero-kicker {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    max-width: 620px;
}

.hero-proof div {
    background: rgba(17, 28, 46, 0.72);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
}

.hero-proof strong,
.hero-proof span {
    display: block;
}

.hero-proof strong {
    color: var(--text-dark);
    font-size: 1.25rem;
}

.hero-proof span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo, .about-photo {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.profile-card {
    width: min(100%, 420px);
    background: rgba(17, 28, 46, 0.86);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
}

.profile-card .hero-photo {
    max-width: none;
    box-shadow: none;
}

.profile-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.profile-placeholder span {
    font-size: 5rem;
    font-weight: 800;
}

.profile-caption {
    padding: 1rem 0.25rem 0.25rem;
}

.profile-caption strong,
.profile-caption span {
    display: block;
}

.profile-caption strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.profile-caption span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.hero-photo:hover, .about-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(20, 184, 166, 0.16);
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    text-align: center;
    border: 2px dashed var(--border-light);
}

/* ========================
   SECTIONS
   ======================== */

.about,
.skills,
.solutions,
.services,
.projects-preview,
.pricing,
.testimonials,
.contact,
.faq,
.cta-final {
    background: var(--page-dark);
}

.solutions,
.services,
.projects-preview,
.testimonials {
    background: #0b1220;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ========================
   ABOUT SECTION
   ======================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.about-text li::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 1rem;
}

/* ========================
   SOLUTIONS SECTION
   ======================== */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.solution-item {
    background: var(--panel-dark);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.solution-item span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.12);
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 1rem;
}

.solution-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

/* ========================
   SERVICES SECTION
   ======================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--panel-dark);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.service-number {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card li {
    color: var(--text-light);
    padding: 0.35rem 0 0.35rem 1.35rem;
    position: relative;
}

.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* ========================
   SKILLS SECTION
   ======================== */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--panel-dark);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    display: inline-block;
    background: rgba(20, 184, 166, 0.12);
    color: #5eead4;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(45, 212, 191, 0.26);
}

/* ========================
   PROJECTS SECTION
   ======================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ========================
   ERP PREVIEW SECTION
   ======================== */

.erp-preview {
    background: var(--page-dark);
}

.erp-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.erp-header h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.erp-header p:not(.hero-kicker) {
    max-width: 680px;
    margin-bottom: 0;
}

.erp-screens-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.erp-screen {
    background: var(--panel-dark);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.erp-screen img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    background: #f8fafc;
}

.erp-screen figcaption,
.gallery-item figcaption {
    padding: 0.85rem 1rem;
    color: var(--text-dark);
    background: var(--panel-dark);
    border-top: 1px solid var(--border-light);
}

.erp-screen figcaption {
    font-weight: 700;
}

.gallery-item figcaption strong,
.gallery-item figcaption span {
    display: block;
}

.gallery-item figcaption strong {
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.gallery-item figcaption span {
    color: var(--text-light);
    font-size: 0.92rem;
}

.project-card {
    background: var(--panel-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-bottom: 2px solid var(--border-light);
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-img-large {
    border-radius: 8px;
    object-fit: contain;
    background: #f8fafc;
}

.project-card:hover .project-img {
    transform: scale(1.03);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
}

.client-type {
    display: inline-block;
    background: rgba(20, 184, 166, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-badge {
    display: inline-block;
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    border-left: 3px solid var(--primary-color);
}

.link-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* ========================
   PRICING SECTION
   ======================== */

.pricing-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--panel-dark);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color), var(--shadow-lg);
    transform: translateY(-8px);
}

.badge-featured {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #042f2e;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    padding: 1.5rem 0;
    text-align: left;
    margin-bottom: 1rem;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.4rem;
}

.pricing-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
}

.delivery {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ========================
   TESTIMONIALS SECTION
   ======================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--panel-dark);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(20, 184, 166, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    font-weight: 600;
    margin: 0;
}

.author-company {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ========================
   CONTACT SECTION
   ======================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.form {
    background: var(--panel-dark);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    background: #0b1220;
    color: var(--text-dark);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.alert-error {
    background: #fee2e2;
    color: #7f1d1d;
    border-left: 4px solid var(--error-color);
}

.alert ul {
    list-style: none;
    padding: 0;
}

.contact-info-section h2 {
    text-align: left;
}

.contact-method {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method h3 {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-block;
    background: rgba(20, 184, 166, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #042f2e;
}

.small {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================
   FAQ SECTION
   ======================== */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--panel-dark);
    padding: 1.5rem;
    border-radius: 8px;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ========================
   CTA SECTIONS
   ======================== */

.cta-final,
.cta-project,
.cta-projects {
    background: #020617;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-final h2,
.cta-project h2,
.cta-projects h2 {
    color: white;
}

.cta-final p,
.cta-project p,
.cta-projects p {
    color: rgba(255, 255, 255, 0.9);
}

.whatsapp-link {
    margin-top: 2rem;
    font-size: 1.1rem;
}

.whatsapp-link a {
    color: white;
    text-decoration: underline;
}

/* ========================
   FOOTER
   ======================== */

.footer {
    background: #020617;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #d1d5db;
}

.footer-section a:hover {
    color: white;
}

.footer hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

.footer-credit {
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* ========================
   PROJECT DETAIL PAGE
   ======================== */

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 600;
}

.project-header {
    margin-bottom: 3rem;
}

.project-header h1 {
    margin-bottom: 0.5rem;
}

.project-showcase {
    margin-bottom: 3rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.gallery-heading {
    margin: 2rem 0 1.25rem;
}

.gallery-heading h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: left;
}

.gallery-heading p {
    max-width: 760px;
}

.gallery-item {
    background: var(--panel-dark);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    background: #f8fafc;
    transition: var(--transition);
}

.gallery-item a:hover img {
    transform: scale(1.02);
}

.project-image-large {
    width: 100%;
    aspect-ratio: 16/9;
    background: #0b1220;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.detail-column h2,
.detail-column h3 {
    color: var(--primary-color);
}

.technologies-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-item {
    background: rgba(148, 163, 184, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

/* ========================
   PROJECTS FULL PAGE
   ======================== */

.projects-full h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.cta-projects {
    margin-top: 3rem;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .section {
        padding: 40px 0;
    }

    .hero {
        padding: 64px 0;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content,
    .about-content,
    .project-details,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .projects-grid,
    .project-gallery,
    .erp-screens-grid,
    .services-grid,
    .pricing-grid,
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .erp-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .cta-final,
    .cta-project,
    .cta-projects {
        padding: 40px 0;
    }

    .bc-shell {
        width: min(100% - 32px, 680px);
        display: block;
    }

    .bc-sidebar {
        height: auto;
        position: static;
        padding: 48px 0 32px;
    }

    .bc-section-nav {
        display: none;
    }

    .bc-socials {
        margin-top: 2rem;
    }

    .bc-main {
        padding: 0 0 48px;
    }

    .bc-section {
        margin-bottom: 4rem;
    }

    .bc-mobile-heading {
        display: block;
        color: #e2e8f0;
        font-size: 0.82rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-bottom: 1.5rem;
    }

    .bc-timeline-card,
    .bc-project-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bc-project-media {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-buttons,
    .social-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
    }

    .navbar .container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        width: 100%;
        white-space: nowrap;
    }

    .nav-links a {
        display: inline-block;
        font-size: 0.9rem;
    }

    .btn-contact {
        padding: 0.45rem 0.85rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .bc-shell {
        width: min(100% - 30px, 420px);
    }

    .bc-sidebar h1 {
        font-size: 3rem;
    }

    .bc-sidebar h2 {
        font-size: 1.1rem;
    }

    .bc-card {
        padding: 1rem 0;
    }

    .bc-card:hover {
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .bc-actions .btn {
        width: 100%;
    }
}
