/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
   :root {
    /* Colors */
    --primary: #0A2540;        /* Deep Blue - Trust, Professionalism */
    --primary-light: #1E3A5F;
    --accent: #FF4500;         /* Orange-Red - Energetic, Logo matched */
    --accent-hover: #E63E00;
    
    --bg-main: #FFFFFF;
    --bg-alt: #F8F9FA;
    --bg-dark: #071A2E;
    
    --text-main: #1A1A24;
    --text-muted: #6B7280;
    --text-light: #E2E8F0;
    --text-white: #FFFFFF;
    
    --border-light: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --container-padding: 2rem;
    --section-padding: 6rem;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(255, 69, 0, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-round: 9999px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-round);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-white);
    box-shadow: 0 4px 14px 0 rgba(255, 69, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.btn-secondary {
    background-color: var(--bg-alt);
    color: var(--text-main);
    border: 1px solid var(--border-dark);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo {
    height: 80px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.brand-logo:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--bg-main);
    background: radial-gradient(circle at 80% 20%, #F8F9FA 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
}

/* Decorative background shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.1;
    animation: float 10s infinite alternate ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #FFB399; /* matching warm palette */
    bottom: 10%;
    left: 10%;
    animation-delay: -5s;
    opacity: 0.15;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    color: var(--text-main);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 69, 0, 0.05);
    border: 1px solid rgba(255, 69, 0, 0.2);
    border-radius: var(--radius-round);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 69, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--accent);
    display: inline-block;
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.stat-item i {
    font-size: 1.5rem;
}

/* Glass Card 3D effect visually for right side */
.hero-visual {
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-visual .badge--floating {
    margin-bottom: 2rem;
    background: #FFFFFF;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.glass-card {
    background: #FFFFFF;
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-lg), 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(0, 0, 0, 0.1);
}

.glass-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.card-title {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: auto;
}

.glass-body {
    padding: 2.5rem 2rem;
    color: var(--text-main);
    text-align: center;
}

.temp-display {
    margin-bottom: 2rem;
}

.temp-value {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-main);
    text-shadow: none;
    display: inline-block;
}

.temp-unit {
    font-size: 2rem;
    vertical-align: super;
    color: var(--accent);
}

.temp-label {
    display: block;
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.status-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    width: 75%;
    background: var(--accent);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--accent);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.control-btn {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-dark);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.control-btn i {
    font-size: 1.5rem;
    color: var(--text-main);
}


.control-btn:hover {
    background: #FFFFFF;
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ==========================================================================
   Shared Section Utilities
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 69, 0, 0.08);
    color: var(--accent);
    border: 1px solid rgba(255, 69, 0, 0.2);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-round);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-round);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
}

/* ==========================================================================
   Features Section (De Ce Noi)
   ========================================================================== */
.features-section {
    padding: var(--section-padding) 0;
    background: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-main);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 69, 0, 0.15);
}

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

.feature-card--accent {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.feature-card--accent > h3,
.feature-card--accent > p {
    color: white !important;
}

.feature-card--accent .feature-icon::before,
.feature-card--accent .feature-icon i {
    color: white !important;
}

.feature-card--accent .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-card--accent::before {
    background: rgba(255,255,255,0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 69, 0, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(255, 69, 0, 0.15);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: var(--section-padding) 0;
    background: var(--bg-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.service-card {
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-main);
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card--featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 69, 0, 0.1), var(--shadow-md);
    transform: scale(1.03);
}

.service-card--featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.service-img-wrapper {
    background: var(--bg-alt);
    padding: 2.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-dark);
}

.service-card--featured .service-img-wrapper {
    background: rgba(255, 69, 0, 0.05);
    border-bottom-color: rgba(255,69,0,0.1);
}

.service-big-icon {
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.7;
}

.service-body {
    padding: 2rem;
    position: relative;
}

.service-badge {
    position: absolute;
    top: -14px;
    left: 2rem;
    background: var(--accent);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-round);
    letter-spacing: 0.5px;
}

.service-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.service-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-dark);
}

.service-list li:last-child { border-bottom: none; }

.service-list li i {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: var(--section-padding) 0;
    background: var(--bg-alt);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content .section-header {
    text-align: left;
    margin: 0 0 1.5rem;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

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

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

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

/* About visual - stacked cards */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.about-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-lg);
}

.about-card--back {
    position: absolute;
    width: 88%;
    height: 100%;
    top: -16px;
    right: -16px;
    background: rgba(255,69,0,0.05);
    border-color: rgba(255,69,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

.about-card--front {
    position: relative;
    z-index: 1;
    padding: 2rem;
    transition: var(--transition);
}

.about-card--front:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(0,0,0,0.08);
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-dark);
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.05rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-dark);
}

.cert-item:last-child { border-bottom: none; }

.cert-item i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--bg-main);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(255, 69, 0, 0.2);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(255, 69, 0, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.contact-card a,
.contact-card span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: var(--accent);
}

/* Form Styles */
.contact-form {
    background: var(--bg-alt);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    background: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full { width: 100%; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--primary);
    color: var(--text-light);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr;
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.25rem;
    /* invert to white so it shows on dark background */
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--accent);
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-round);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-phone:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.footer-nav h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
    margin-bottom: 1.25rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
}

.footer-nav li i {
    font-size: 1rem;
    color: var(--accent);
    flex-shrink: 0;
}

.footer-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
}

.footer-link {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--accent);
}

/* ==========================================================================
   Page Header (inner pages)
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, var(--bg-alt) 0%, #EEF1F5 100%);
    padding: 8rem 0 4rem;
    border-bottom: 1px solid var(--border-dark);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.breadcrumb a { color: var(--accent); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-hover); }
.breadcrumb i { font-size: 0.8rem; opacity: 0.6; }

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #0D2E50 100%);
    padding: 4rem 0;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.cta-subtitle { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

.cta-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

.btn-white {
    background: white;
    color: var(--primary);
    border: 2px solid white;
    font-weight: 700;
}
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-white-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    font-weight: 600;
}
.btn-white-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ==========================================================================
   Service Detail Sections (servicii.html)
   ========================================================================== */
.service-detail-section { padding: var(--section-padding) 0; background: var(--bg-main); }
.service-detail-section--alt { background: var(--bg-alt); }

.service-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-dark);
}

.service-detail-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 69, 0, 0.08);
    color: var(--accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    flex-shrink: 0;
}

.service-detail-icon--accent { background: var(--accent); color: white; }
.service-detail-header h2 { font-size: 1.75rem; font-weight: 800; color: var(--text-main); margin: 0.35rem 0 0.5rem; }
.service-detail-header p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

.service-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.service-type-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.service-detail-section--alt .service-type-card { background: var(--bg-main); }
.service-type-card:hover { border-color: rgba(255,69,0,0.2); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.service-type-card > i { font-size: 1.4rem; color: var(--accent); flex-shrink: 0; margin-top: 0.1rem; }
.service-type-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.4rem; }
.service-type-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ==========================================================================
   Projects Filter & Stats (proiecte.html)
   ========================================================================== */
.projects-stats-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 3rem 0 2.5rem;
    border-bottom: 1px solid var(--border-dark);
    margin-bottom: 2.5rem;
}

.pstat { text-align: center; }
.pstat-num { display: block; font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.35rem; }
.pstat-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

.projects-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-round);
    border: 1.5px solid var(--border-dark);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-card--highlight {
    background: rgba(255, 69, 0, 0.04);
    border-color: rgba(255, 69, 0, 0.15);
}

/* Responsive additions */
@media (max-width: 768px) {
    .cta-container { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .service-detail-header { flex-direction: column; gap: 1rem; }
    .service-types-grid { grid-template-columns: 1fr; }
    .projects-stats-row { gap: 1.5rem; }
    .page-header { padding: 7rem 0 3rem; }
}

/* ==========================================================================
   Projects / Gallery Section
   ========================================================================== */
.projects-section {
    padding: var(--section-padding) 0;
    background: var(--bg-alt);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

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

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 69, 0, 0.2);
}

.project-card--large {
    grid-row: span 2;
}

.project-img-placeholder {
    background: linear-gradient(135deg, rgba(255,69,0,0.06), rgba(10,37,64,0.05));
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.7;
}

.project-card--large .project-img-placeholder {
    padding: 5rem 2rem;
    font-size: 5rem;
}

.project-info {
    padding: 1.25rem 1.5rem;
}

.project-tag {
    display: inline-block;
    background: rgba(255, 69, 0, 0.08);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-round);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.project-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.projects-cta {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-main);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.projects-cta p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
}

/* ==========================================================================
   Form Feedback States
   ========================================================================== */
.form-feedback {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-feedback--success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #16a34a;
}

.form-feedback--success i {
    font-size: 1.3rem;
    color: #16a34a;
}

.form-feedback--error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
}

.form-feedback--error i {
    font-size: 1.3rem;
    color: #dc2626;
}

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

/* ==========================================================================
   Responsive — 1024px (tablet landscape)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card--large { grid-row: span 1; }
    .about-container { gap: 3rem; }
}

/* ==========================================================================
   Responsive — 768px (tablet portrait / large phone)
   ========================================================================== */
@media (max-width: 768px) {
    :root { 
        --section-padding: 4rem; 
        --container-padding: 1.25rem;
    }

    /* Navbar */
    .brand-logo { height: 60px; }
    .nav-links { 
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
        text-align: center;
        border-bottom: 3px solid var(--accent);
        z-index: 1000;
    }
    .nav-links.active { display: flex; }
    .nav-cta { display: none; }
    .mobile-menu-btn { 
        display: flex; 
        background: none; 
        border: none; 
        font-size: 2rem; 
        color: var(--primary); 
        cursor: pointer; 
    }

    /* Hero */
    .hero { padding-top: 6rem; padding-bottom: 4rem; }
    .hero-container { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-title { font-size: 2rem; }
    .hero-description { margin: 0 auto 1.5rem; font-size: 0.95rem; }
    .hero-actions { justify-content: center; flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { justify-content: center; flex-wrap: wrap; gap: 1rem; }
    .hero-stat { flex: 1 1 100%; justify-content: center; }
    .glass-card { margin: 0 auto; transform: none; max-width: 100%; }
    .glass-card:hover { transform: translateY(-5px); }
    .glass-body { padding: 1.5rem 1rem; }
    .temp-value { font-size: 3.5rem; }
    .temp-unit { font-size: 1.5rem; }
    .controls { gap: 1rem; flex-direction: column; }
    .control-btn { padding: 0.75rem 1rem; }

    /* Features */
    .features-grid { grid-template-columns: repeat(2, 1fr); }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }
    .service-card--featured { transform: none; }
    .service-card--featured:hover { transform: translateY(-6px); }

    /* About */
    .about-container { grid-template-columns: 1fr; gap: 3rem; }
    .about-stats { flex-wrap: wrap; gap: 1.5rem; }
    .about-card--back { display: none; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    /* Projects */
    .projects-grid { grid-template-columns: 1fr; }
    .projects-cta { flex-direction: column; text-align: center; }

    /* Footer */
    .footer-container { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
    .footer-bottom-inner { flex-direction: column; gap: 0.75rem; text-align: center; }

    /* Section titles */
    .section-title { font-size: 2rem; }
    .about-content .section-title { text-align: center; }
    .about-content .section-tag { display: block; text-align: center; }
}

/* ==========================================================================
   Responsive — 480px (small phones)
   ========================================================================== */
@media (max-width: 480px) {
    :root { 
        --section-padding: 3rem; 
        --container-padding: 1rem;
    }

    .brand-logo { height: 44px; }
    .hero-title { font-size: 1.6rem; line-height: 1.25; }
    .hero-description { font-size: 0.9rem; }
    .badge { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
    .features-grid { grid-template-columns: 1fr; gap: 1rem; }
    .feature-card { padding: 1.5rem 1rem; }
    .stat-number { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
    .contact-form { padding: 1.5rem; }
    .glass-body { padding: 1.25rem 0.75rem; }
    .temp-value { font-size: 3rem; }
    .projects-cta { padding: 1.5rem; }
}
