/* ============================================
   WebSolux — Corporate Site Styles
   Colors: #0A0A0A, #007179, #FFFFFF
   Style: Dark minimalism + glassmorphism + neon
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* --- Icon System (Lucide-style inline SVG) --- */
.icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.icon-svg svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-icon .icon-svg,
.advantage-icon .icon-svg {
    font-size: 36px;
    color: var(--teal-light);
}

.result-icon .icon-svg {
    font-size: 28px;
    color: var(--teal-light);
}

.team-avatar .icon-svg {
    font-size: 28px;
    color: var(--white);
}

.project-image .icon-svg {
    font-size: 52px;
    color: var(--teal);
    opacity: 0.5;
}

.article-image .icon-svg {
    font-size: 52px;
    color: var(--teal);
    opacity: 0.4;
}

.gallery-item .icon-svg {
    font-size: 36px;
    color: var(--teal);
    opacity: 0.4;
}

.social-link .icon-svg,
.share-btn .icon-svg {
    font-size: 18px;
}

.contact-link .icon .icon-svg,
.footer-contact-item .icon-svg {
    font-size: 16px;
}

.quick-fact .icon-svg {
    font-size: 18px;
    color: var(--teal-light);
}

/* Star rating */
.stars {
    display: flex;
    gap: 2px;
}

.stars .icon-svg {
    font-size: 14px;
    color: #FFD700;
}

.stars .icon-svg svg {
    fill: #FFD700;
    stroke: #FFD700;
}

/* --- CSS Variables --- */
:root {
    --black: #0A0A0A;
    --white: #FFFFFF;
    --teal: #007179;
    --teal-light: #008B8B;
    --teal-dark: #004D40;
    --gray: #B0B0B0;
    --dark-gray: #1A1A1A;
    --card-bg: rgba(26, 26, 26, 0.6);
    --glass: rgba(0, 113, 121, 0.08);
    --glass-border: rgba(0, 113, 121, 0.15);
    --glow: 0 0 30px rgba(0, 113, 121, 0.3);
    --glow-strong: 0 0 60px rgba(0, 113, 121, 0.4);
    --font: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 16px;
    --radius-sm: 10px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* --- Typography --- */
h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 600;
    line-height: 1.3;
}

.section-subtitle {
    color: var(--gray);
    font-size: clamp(16px, 1.2vw, 18px);
    max-width: 600px;
    margin-top: 16px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 113, 121, 0.3);
}

.btn-primary:hover {
    background: var(--teal-light);
    box-shadow: var(--glow-strong);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal-light);
    background: rgba(0, 113, 121, 0.08);
}

.btn-text {
    background: none;
    border: none;
    color: var(--teal-light);
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    font-family: var(--font);
    font-size: 15px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--white);
}

/* --- Section base --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Teal accent line above section titles */
.section-header::before {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--teal);
    margin: 0 auto 24px;
    border-radius: 2px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo span {
    color: var(--teal);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
}

.header-phone:hover {
    color: var(--teal-light);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray);
}

.mobile-menu a:hover {
    color: var(--teal-light);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Animated background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-bg .orb-1 {
    width: 500px;
    height: 500px;
    background: var(--teal);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-bg .orb-2 {
    width: 350px;
    height: 350px;
    background: var(--teal-dark);
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
}

.hero-bg .orb-3 {
    width: 200px;
    height: 200px;
    background: var(--teal-light);
    top: 40%;
    left: 40%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Grid lines decoration */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 113, 121, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 113, 121, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    font-size: 13px;
    font-weight: 500;
    color: var(--teal-light);
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--teal-light);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--teal-light), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat .number {
    font-size: 32px;
    font-weight: 800;
    color: var(--teal-light);
}

.hero-stat .label {
    font-size: 13px;
    color: var(--gray);
    margin-top: 4px;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    opacity: 0;
    transition: var(--transition);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card .btn-text {
    font-size: 14px;
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
    background: var(--dark-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.advantage-item {
    padding: 28px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}

.advantage-item:hover {
    background: rgba(0, 113, 121, 0.06);
    border-color: var(--glass-border);
}

.advantage-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.advantage-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.advantage-item p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: var(--gray);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

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

.project-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--dark-gray), rgba(0, 113, 121, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--card-bg));
}

.project-body {
    padding: 24px;
}

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    font-size: 11px;
    font-weight: 600;
    color: var(--teal-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.project-body h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.project-body p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    color: var(--gray);
}

/* ============================================
   PROCESS
   ============================================ */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--teal), transparent);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--dark-gray);
    border: 2px solid var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--teal-light);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--teal);
    color: var(--white);
    box-shadow: var(--glow-strong);
}

.process-step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.step-duration {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--glass);
    font-size: 12px;
    color: var(--teal-light);
    font-weight: 500;
}

/* ============================================
   TECHNOLOGIES
   ============================================ */
.tech-section {
    background: var(--dark-gray);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.tech-category h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal-light);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 14px;
    color: var(--gray);
}

.tech-item:hover {
    background: rgba(0, 113, 121, 0.08);
    color: var(--white);
}

.tech-dot {
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--glass-border);
    box-shadow: var(--glow);
}

.testimonial-quote {
    font-size: 64px;
    color: var(--teal);
    opacity: 0.2;
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.author-info .name {
    font-size: 14px;
    font-weight: 600;
}

.author-info .role {
    font-size: 12px;
    color: var(--gray);
}

.testimonial-stars {
    color: #FFD700;
    font-size: 14px;
    margin-top: 8px;
    letter-spacing: 2px;
}

/* ============================================
   BLOG PREVIEW
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border);
}

.article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--dark-gray), rgba(0, 113, 121, 0.1));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--teal);
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-body {
    padding: 24px;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 12px;
}

.article-body h3 {
    font-size: 17px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-body p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 113, 121, 0.1), rgba(0, 77, 64, 0.1));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(26, 26, 26, 0.8);
    color: var(--white);
    font-family: var(--font);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 113, 121, 0.15);
}

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

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B0B0B0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--dark-gray);
    color: var(--white);
}

.cta-contacts {
    margin-top: 24px;
}

.cta-contacts h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 12px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
}

.contact-link:hover {
    color: var(--teal-light);
}

.contact-link .icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 64px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--teal);
    border-color: var(--teal);
    box-shadow: var(--glow);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray);
}

.footer-links a:hover {
    color: var(--teal-light);
}

.footer-contact-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 12px;
}

.footer-contact-item .fc-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 13px;
    color: rgba(176, 176, 176, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(176, 176, 176, 0.6);
}

.footer-bottom-links a:hover {
    color: var(--teal-light);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--glow);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--teal-light);
    box-shadow: var(--glow-strong);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid,
    .portfolio-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-timeline::before {
        display: none;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid,
    .blog-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 64px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .hero-stat .number {
        font-size: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ============================================
   PORTFOLIO DETAIL PAGE (КЕЙС)
   ============================================ */

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--gray);
}

.breadcrumbs a:hover {
    color: var(--teal-light);
}

.breadcrumbs .sep {
    opacity: 0.4;
}

.breadcrumbs .current {
    color: var(--white);
}

/* Project hero specific */
.project-hero {
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.project-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 113, 121, 0.12), rgba(0, 77, 64, 0.08));
    z-index: 0;
}

.project-hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--black));
}

.project-hero .container {
    position: relative;
    z-index: 1;
}

.project-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--teal);
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.project-hero h1 {
    margin-bottom: 16px;
    max-width: 800px;
}

.project-hero-subtitle {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--gray);
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 32px;
}

/* Quick facts row */
.quick-facts {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.quick-fact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}

.quick-fact .qf-icon {
    font-size: 18px;
}

.quick-fact .qf-value {
    color: var(--white);
    font-weight: 600;
}

.project-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* About project (2 cols) */
.project-about {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 48px;
    align-items: start;
}

.client-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 28px;
}

.client-card h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--teal-light);
}

.client-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 14px;
}

.client-info-row:last-child {
    border-bottom: none;
}

.client-info-row .ci-label {
    color: var(--gray);
}

.client-info-row .ci-value {
    font-weight: 500;
}

.task-description h3 {
    margin-bottom: 16px;
}

.task-description p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.task-requirements {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-requirements li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.task-requirements li .req-bullet {
    color: var(--teal-light);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Challenges & Solutions */
.challenges-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.challenge-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.challenge-card:hover {
    border-color: var(--glass-border);
}

.challenge-header {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.challenge-header h3 {
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.challenge-header h3 .ch-icon {
    color: var(--teal-light);
    font-size: 20px;
}

.challenge-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--teal-light);
    transition: var(--transition);
    flex-shrink: 0;
}

.challenge-card.open .challenge-toggle {
    transform: rotate(45deg);
}

.challenge-body {
    padding: 0 28px 24px;
    display: none;
}

.challenge-card.open .challenge-body {
    display: block;
}

.challenge-body .cb-section {
    margin-bottom: 16px;
}

.challenge-body .cb-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--teal-light);
    margin-bottom: 8px;
}

.challenge-body .cb-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

.challenge-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.challenge-techs span {
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    font-size: 12px;
    color: var(--teal-light);
    font-weight: 500;
}

/* Results metrics */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.result-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.result-card:hover {
    border-color: var(--glass-border);
    box-shadow: var(--glow);
}

.result-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.result-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--teal-light);
    margin-bottom: 4px;
}

.result-label {
    font-size: 13px;
    color: var(--gray);
}

.result-extra {
    font-size: 11px;
    color: rgba(176, 176, 176, 0.5);
    margin-top: 4px;
}

/* Features checklist */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
    padding: 8px 0;
}

.feature-item .fi-check {
    color: var(--teal-light);
    font-weight: 700;
    flex-shrink: 0;
}

/* Project tech stack */
.stack-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stack-category {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 24px;
}

.stack-category h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal-light);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

.stack-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stack-item {
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stack-item .si-dot {
    width: 5px;
    height: 5px;
    background: var(--teal);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-gray), rgba(0, 113, 121, 0.08));
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item:hover {
    border-color: var(--glass-border);
    transform: scale(1.02);
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item .gi-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 12px;
    color: var(--gray);
    background: rgba(10, 10, 10, 0.7);
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.gallery-item .gi-icon {
    font-size: 36px;
    opacity: 0.4;
}

/* Timeline for project */
.project-timeline {
    position: relative;
    padding-left: 48px;
}

.project-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--teal), var(--teal-dark), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -48px;
    top: 4px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-gray);
    border: 2px solid var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--teal-light);
    z-index: 1;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.timeline-header h3 {
    font-size: 17px;
}

.timeline-duration {
    padding: 3px 10px;
    border-radius: 50px;
    background: var(--glass);
    font-size: 11px;
    color: var(--teal-light);
    font-weight: 500;
}

.timeline-date {
    font-size: 12px;
    color: var(--gray);
}

.timeline-content {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

.timeline-content ul {
    list-style: none;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-content ul li {
    padding-left: 16px;
    position: relative;
}

.timeline-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 12px;
}

.timeline-result {
    margin-top: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--teal-light);
    display: inline-block;
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--glass-border);
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.team-card .tc-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card .tc-role {
    font-size: 13px;
    color: var(--teal-light);
    margin-bottom: 8px;
}

.team-card .tc-desc {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.5;
}

/* Big review card */
.big-review {
    background: linear-gradient(135deg, rgba(0, 113, 121, 0.06), rgba(0, 77, 64, 0.04));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.big-review .br-quote {
    font-size: 120px;
    color: var(--teal);
    opacity: 0.08;
    position: absolute;
    top: -10px;
    left: 24px;
    font-family: serif;
    line-height: 1;
}

.big-review .br-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.big-review .br-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 20px 0;
    font-size: 15px;
}

.big-review .br-highlights li::before {
    content: '•';
    color: var(--teal-light);
    margin-right: 8px;
}

.big-review-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.big-review-author .bra-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.big-review-author .bra-name {
    font-size: 16px;
    font-weight: 600;
}

.big-review-author .bra-role {
    font-size: 13px;
    color: var(--gray);
}

.big-review-author .bra-stars {
    color: #FFD700;
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* Similar projects row */
.similar-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Prev/Next navigation */
.project-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.project-nav-item:hover {
    border-color: var(--glass-border);
    background: var(--glass);
}

.project-nav-item.next {
    text-align: right;
    justify-content: flex-end;
}

.pn-direction {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pn-title {
    font-size: 15px;
    font-weight: 600;
    margin-top: 4px;
}

.pn-arrow {
    font-size: 24px;
    color: var(--teal-light);
    flex-shrink: 0;
}

/* FAQ accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--glass-border);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
    font-weight: 600;
}

.faq-toggle {
    color: var(--teal-light);
    font-size: 18px;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 20px;
    display: none;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    display: block;
}

/* Share buttons */
.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
}

.share-btn:hover {
    background: var(--teal);
    border-color: var(--teal);
}

/* ============================================
   BLOG DETAIL PAGE (СТАТЬЯ)
   ============================================ */

.article-hero {
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.article-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 113, 121, 0.08), rgba(0, 77, 64, 0.05));
    z-index: 0;
}

.article-hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, transparent, var(--black));
}

.article-hero .container {
    position: relative;
    z-index: 1;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.article-hero-meta .ahm-cat {
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--teal);
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-hero-meta .ahm-item {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-hero h1 {
    margin-bottom: 20px;
    max-width: 800px;
}

.article-hero-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-hero-author .aha-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.article-hero-author .aha-name {
    font-size: 14px;
    font-weight: 600;
}

.article-hero-author .aha-role {
    font-size: 12px;
    color: var(--gray);
}

/* Article layout */
.article-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

/* Table of contents (sidebar) */
.article-toc {
    position: sticky;
    top: 100px;
}

.article-toc h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal-light);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

.toc-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
}

.toc-links a {
    font-size: 13px;
    color: var(--gray);
    padding: 6px 12px;
    border-left: 2px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: var(--transition);
    display: block;
}

.toc-links a:hover,
.toc-links a.active {
    color: var(--teal-light);
    border-left-color: var(--teal);
    background: var(--glass);
}

/* Article content */
.article-content {
    max-width: 720px;
}

.article-content h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.article-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content h3 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-content p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--gray);
    margin-bottom: 20px;
}

.article-content strong {
    color: var(--white);
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 8px;
}

.article-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--teal);
    background: var(--glass);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 16px;
    color: var(--white);
    line-height: 1.7;
    font-style: italic;
}

.article-content code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--teal-light);
}

.article-content pre {
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.article-content pre code {
    background: none;
    padding: 0;
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.article-content img {
    border-radius: var(--radius-sm);
    margin: 24px 0;
}

/* Image placeholder in article */
.article-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--dark-gray), rgba(0, 113, 121, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0;
    font-size: 48px;
    opacity: 0.3;
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.article-tag {
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    font-size: 12px;
    color: var(--teal-light);
    font-weight: 500;
    transition: var(--transition);
}

.article-tag:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

/* Share + article footer */
.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 16px;
}

.article-footer-label {
    font-size: 13px;
    color: var(--gray);
    margin-right: 8px;
}

/* Related articles */
.related-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Responsive for detail pages */
@media (max-width: 1024px) {
    .project-about {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.wide {
        grid-column: span 1;
    }

    .similar-projects,
    .related-articles {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-toc {
        position: static;
        padding: 20px;
        background: var(--card-bg);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: var(--radius);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .project-nav {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .similar-projects,
    .related-articles {
        grid-template-columns: 1fr;
    }

    .quick-facts {
        gap: 16px;
    }

    .big-review {
        padding: 28px;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
