/* --- RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a { color: #2d7dd2; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
img { max-width: 100%; height: auto; border: 0; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
#header_wrap {
    background: #1a2a3a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

#header {
    display: flex;
    align-items: center;
    min-height: 64px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-link img,
.logo-link svg {
    height: 57px;
    display: block;
}

#main_menu {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

#main_menu li a {
    display: block;
    color: #b0bec5;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 20px 16px;
    transition: color 0.2s, background 0.2s;
}

#main_menu li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

#main_menu li a.active {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-bottom: 3px solid #4caf50;
    padding-bottom: 17px;
}

.header-cta {
    display: inline-block;
    background: linear-gradient(180deg, #66bb6a 0%, #388e3c 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 5px;
    text-decoration: none;
    white-space: nowrap;
    transition: filter 0.2s, transform 0.1s, box-shadow 0.2s;
    margin-left: 12px;
    flex-shrink: 0;
    box-shadow: 0 3px 0 #2e7d32, 0 4px 12px rgba(56,142,60,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.header-cta:hover {
    filter: brightness(1.07);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 #2e7d32, 0 6px 16px rgba(56,142,60,0.35);
}

.header-cta:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 #2e7d32, 0 2px 6px rgba(56,142,60,0.25);
}

/* Burger menu (mobile) */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}
.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #b0bec5;
    border-radius: 2px;
}

/* --- HERO SECTION --- */
#hero {
    background: #ffffff;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(45,138,110,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(44,125,210,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 10%, rgba(76,175,80,0.05) 0%, transparent 60%);
    color: #333;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e8ecef;
}

#hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 40px solid rgba(76,175,80,0.05);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
    font-size: 2.9em;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    background: none;
    padding: 0;
    color: #1a2a3a;
}

.hero-text .subtitle {
    font-size: 1.15em;
    color: #666;
    margin-bottom: 34px;
    max-width: 500px;
}

.hero-illustration {
    flex: 0 0 440px;
    text-align: right;
    position: relative;
}

.hero-svg {
    width: 100%;
    max-width: 440px;
    height: auto;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(180deg, #66bb6a 0%, #388e3c 100%);
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    padding: 16px 42px;
    border-radius: 7px;
    text-decoration: none;
    transition: filter 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 0 #2e7d32, 0 6px 18px rgba(56,142,60,0.35);
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
    letter-spacing: 0.01em;
}

.btn-cta:hover {
    filter: brightness(1.07);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #2e7d32, 0 10px 24px rgba(56,142,60,0.4);
}

.btn-cta:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 #2e7d32, 0 3px 10px rgba(56,142,60,0.3);
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-cta-outline {
    display: inline-block;
    background: transparent;
    color: #1a2a3a;
    font-size: 19px;
    font-weight: 700;
    padding: 15px 36px;
    border-radius: 7px;
    text-decoration: none;
    border: 2px solid #c8d6e5;
    transition: background 0.2s, border-color 0.2s;
    letter-spacing: 0.01em;
}

.btn-cta-outline:hover {
    background: #eef2f5;
    border-color: #a0b4c8;
    text-decoration: none;
}

/* --- AI CONTENT SECTION --- */
@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

#ai-content {
    background: #1a2a3a;
    padding: 64px 0;
}

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

.ai-label {
    font-size: 0.85em;
    color: #4caf50;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ai-grid h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.1em;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.ai-desc {
    color: #8a9bb0;
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 24px;
}

.ai-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(76,175,80,0.1);
    border: 1px solid rgba(76,175,80,0.28);
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 0.9em;
    color: #66bb6a;
    font-weight: 600;
    margin-bottom: 30px;
}

.ai-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    flex-shrink: 0;
    animation: live-pulse 2s ease-in-out infinite;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ai-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b0bec5;
    font-size: 1em;
    line-height: 1.5;
}

.ai-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(76,175,80,0.15);
    border: 1.5px solid rgba(76,175,80,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- SERVICES SECTION --- */
#services {
    padding: 30px 0 40px;
    background: #f5f7fa;
}

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

.service-card {
    background: #fff;
    border: none;
    border-radius: 14px;
    border-top: 4px solid #4caf50;
    padding: 36px 24px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:nth-child(2) {
    border-top-color: #2d7dd2;
}

.service-card:nth-child(3) {
    border-top-color: #1a8a6e;
}

.service-card:nth-child(4) {
    border-top-color: #7b5ea7;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.11);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a2a3a;
}

.service-card h3 a {
    color: inherit;
    text-decoration: none;
}

.service-card h3 a:hover {
    color: #2d7dd2;
}

.service-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}

/* --- TRUST SECTION --- */
#trust {
    padding: 48px 0;
    background: #fff;
    border-bottom: 1px solid #e8ecef;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.trust-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.trust-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #f0f7f4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-text strong {
    display: block;
    font-size: 1em;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.trust-text span {
    font-size: 0.88em;
    color: #777;
    line-height: 1.4;
}

/* --- HOW WE WORK --- */
#how {
    padding: 50px 0 45px;
    background: #fff;
    border-bottom: 1px solid #e8ecef;
}

.how-header {
    text-align: center;
    margin-bottom: 40px;
}

.how-header .section-label {
    font-size: 0.85em;
    color: #4caf50;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.how-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.9em;
    font-weight: 700;
    color: #1a2a3a;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.how-step {
    padding: 0 32px 0 0;
    position: relative;
}

.how-step:last-child { padding-right: 0; }

.how-step:not(:last-child)::after {
    content: '\2192';
    position: absolute;
    top: 8px;
    right: 8px;
    color: #c8d6e5;
    font-size: 1.4em;
    line-height: 1;
}

.how-num {
    font-family: 'Nunito', sans-serif;
    font-size: 2.4em;
    font-weight: 800;
    color: #4caf50;
    line-height: 1;
    margin-bottom: 12px;
}

.how-step h3 {
    font-size: 1.05em;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 8px;
}

.how-step p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
}

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

.section-header .section-label {
    font-size: 0.85em;
    color: #4caf50;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.9em;
    font-weight: 700;
    color: #1a2a3a;
}

/* --- PRODUCTS SECTION --- */
#products {
    padding: 60px 0;
    background: #f5f7fa;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.11);
}

.product-card-top {
    background: #1a2a3a;
    padding: 32px 32px 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 130px;
}

.product-card:nth-child(2) .product-card-top {
    background: linear-gradient(135deg, #1a2a3a 0%, #162d22 100%);
}

.product-card-top-label {
    font-size: 0.78em;
    color: #8a9bb0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.product-card-body {
    padding: 26px 32px 32px;
}

.product-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.35em;
    font-weight: 800;
    color: #1a2a3a;
    margin-bottom: 10px;
    line-height: 1.25;
}

.product-desc {
    font-size: 0.97em;
    color: #666;
    line-height: 1.65;
    margin-bottom: 18px;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 0.82em;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-badge.live,
.product-badge.working {
    background: rgba(76,175,80,0.1);
    color: #2e7d32;
    border: 1px solid rgba(76,175,80,0.28);
}

.product-badge.dev {
    background: rgba(45,125,210,0.1);
    color: #1565c0;
    border: 1px solid rgba(45,125,210,0.28);
}

.product-badge.planned {
    background: rgba(123,94,167,0.1);
    color: #7b5ea7;
    border: 1px solid rgba(123,94,167,0.28);
}

.product-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

a.product-card-link,
a.product-card-link:hover,
a.product-card-link:focus,
a.product-card-link:active {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2d7dd2;
    font-weight: 600;
    font-size: 0.95em;
    text-decoration: none;
}

.product-link:hover { text-decoration: underline; }

@media (max-width: 820px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* --- ABOUT + SIDEBAR GRID --- */
#main-content {
    padding: 30px 0;
    flex: 1;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

/* --- STATS SECTION --- */
.stats-section {
    background: #f0f7f4;
    border-radius: 12px;
    padding: 36px 30px;
    margin-bottom: 30px;
}

.stats-section .section-label {
    font-size: 0.85em;
    color: #4caf50;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.stats-section h2 {
    font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
    font-size: 1.9em;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 28px;
    border: none;
    display: block;
}

.stats-row {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 0 20px;
    border-right: 1px solid rgba(26,58,92,0.15);
}

.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; padding-right: 0; }

.stat-number {
    font-size: 3.8em;
    font-weight: 800;
    color: #1a3a5c;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 1em;
    color: #555;
    font-weight: 500;
}

/* --- ABOUT SECTION --- */
.about-section {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    padding: 30px;
}

.about-section .section-label {
    font-size: 0.85em;
    color: #4caf50;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.about-section h2 {
    font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 16px;
    border: none;
    display: block;
}

.about-section p {
    color: #555;
    margin-bottom: 14px;
    text-align: left;
}

.tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    background: #eef2f5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    color: #555;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.tag:hover {
    background: #dde8ed;
    color: #2d7dd2;
    text-decoration: none;
}

/* --- SIDEBAR --- */
.sidebar-box {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.sidebar-box:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.09);
    transform: translateY(-2px);
}

.sidebar-header {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 16px;
}

.sidebar-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.sidebar-item img {
    border-radius: 6px;
    margin-bottom: 8px;
}

.sidebar-item a.title {
    display: block;
    font-weight: 600;
    color: #2d7dd2;
    text-decoration: none;
    font-size: 1em;
}
.sidebar-item a.title:hover { text-decoration: underline; }

.sidebar-item .date {
    font-size: 0.8em;
    color: #999;
    font-style: normal;
}

.sidebar-item p {
    font-size: 0.92em;
    color: #666;
    margin: 4px 0;
}

.portfolio-link {
    display: block;
    text-align: center;
    padding-top: 12px;
    font-size: 0.9em;
}

/* --- CONTACTS SIDEBAR --- */
.contacts-box {
    background: #1a2a3a;
    color: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: none;
    transition: box-shadow 0.25s, transform 0.25s;
}

.contacts-box:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    transform: translateY(-2px);
}

.contacts-box .sidebar-header {
    color: #fff;
}

.contacts-box .contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.contacts-box .contact-line.phone-line {
    margin-bottom: 14px;
}

.contacts-box .phone-number {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.contacts-box .phone-number:hover {
    color: #7ec8e3;
    text-decoration: none;
}

.contacts-box .contact-line svg {
    flex-shrink: 0;
}

.contacts-box a {
    color: #7ec8e3;
}

.contacts-box .order-btn {
    display: block;
    background: linear-gradient(180deg, #66bb6a 0%, #388e3c 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    padding: 13px 0;
    border-radius: 6px;
    margin-top: 18px;
    transition: filter 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 3px 0 #2e7d32, 0 5px 14px rgba(56,142,60,0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.contacts-box .order-btn:hover {
    filter: brightness(1.07);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 #2e7d32, 0 7px 18px rgba(56,142,60,0.35);
}

.contacts-box .order-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 #2e7d32, 0 2px 6px rgba(56,142,60,0.2);
}

/* --- TECH SECTION --- */
#tech {
    padding: 45px 0;
    background: #f5f7fa;
    border-top: 1px solid #e8ecef;
}

.tech-header {
    text-align: center;
    margin-bottom: 28px;
}

.tech-header .section-label {
    font-size: 0.85em;
    color: #4caf50;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.tech-header h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.7em;
    font-weight: 700;
    color: #1a2a3a;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.95em;
    font-weight: 600;
    color: #1a2a3a;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tech-tag:hover {
    border-color: #4caf50;
    box-shadow: 0 2px 8px rgba(76,175,80,0.1);
    text-decoration: none;
}

.tech-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- FOOTER --- */
#footer {
    background: #1a2a3a;
    color: #8a9bb0;
    padding: 40px 0 24px;
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.footer-col p {
    line-height: 1.7;
    color: #8a9bb0;
}

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

.footer-links a {
    color: #8a9bb0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    color: #b0bec5;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
    background: #4caf50;
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #5a6a7a;
    font-size: 12px;
}

#footer a {
    color: #7ec8e3;
}

/* --- COOKIE BANNER --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a2a3a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#cookie-banner p {
    color: #c0c8d4;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

#cookie-banner a {
    color: #7ec8e3;
    text-decoration: underline;
}

#cookie-banner .btn-cta {
    flex-shrink: 0;
    padding: 10px 24px;
    font-size: 0.9em;
    white-space: nowrap;
    box-shadow: none;
    text-shadow: none;
}

#cookie-banner .btn-cta:hover {
    box-shadow: none;
}

#cookie-banner .btn-cta:active {
    box-shadow: none;
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px;
    }
}

/* --- CONTACT FORM --- */
#contact-form .form-group {
    margin-bottom: 18px;
}

#contact-form label {
    display: block;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 6px;
    font-size: 0.95em;
}

#contact-form .form-group--checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    font-size: 0.85em;
    color: #555;
    cursor: pointer;
}

#contact-form .form-group--checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

#contact-form .form-group--checkbox a {
    color: #7ec8e3;
    text-decoration: underline;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d0d8e0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}

#contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

#contact-form button[type="submit"] {
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
}

#contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: wait;
}

@media (max-width: 700px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* --- SERVICE HERO --- */
.service-hero {
    background: #1a2a3a;
    padding: 36px 0 32px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85em;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #8a9bb0;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-sep {
    color: #4a5a6a;
}

.breadcrumb > span:last-child {
    color: #c0cdd8;
}

.service-hero h1 {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    font-size: 2.3em;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 10px;
}

.service-hero-desc {
    font-size: 1.05em;
    color: #8a9bb0;
    line-height: 1.65;
    max-width: 680px;
    margin: 0;
}

/* --- SERVICE ARTICLE --- */
.service-article {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    padding: 36px 40px;
    margin-bottom: 24px;
}

/* --- SERVICE BODY (PROSE TYPOGRAPHY) --- */
.service-body {
    font-size: 1.02em;
    line-height: 1.78;
    color: #374151;
}

/* Headings */
.service-body h1,
.service-body h2,
.service-body h3,
.service-body h4 {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    color: #1a2a3a;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.55em;
}

.service-body h1 {
    font-size: 1.8em;
    font-weight: 800;
}

.service-body h2 {
    font-size: 1.5em;
    font-weight: 800;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f4f8;
    position: relative;
}

.service-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 44px;
    height: 2px;
    background: #4caf50;
}

.service-body h3 {
    font-size: 1.18em;
    font-weight: 700;
}

.service-body h4 {
    font-size: 1.04em;
    font-weight: 700;
    color: #2a3a4a;
}

/* Paragraphs */
.service-body p {
    margin-top: 0;
    margin-bottom: 1.1em;
    color: #374151;
}

.service-body p:last-child {
    margin-bottom: 0;
}

/* Lists */
.service-body ul,
.service-body ol {
    margin-bottom: 1.1em;
}

.service-body ul {
    list-style: none;
    padding-left: 0;
}

.service-body ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.45em;
    color: #374151;
}

.service-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.63em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4caf50;
}

.service-body ol {
    list-style: decimal;
    padding-left: 1.6em;
}

.service-body ol li {
    margin-bottom: 0.45em;
    color: #374151;
    padding-left: 0.25em;
}

.service-body ol li::marker {
    color: #4caf50;
    font-weight: 700;
}

/* Nested lists */
.service-body ul ul,
.service-body ol ol,
.service-body ul ol,
.service-body ol ul {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

/* Blockquote */
.service-body blockquote {
    margin: 1.6em 0;
    padding: 16px 20px 16px 22px;
    border-left: 4px solid #4caf50;
    background: #f7fdf8;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #2a3a4a;
}

.service-body blockquote p {
    margin-bottom: 0;
    color: #2a3a4a;
}

/* Inline code */
.service-body code {
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace;
    font-size: 0.87em;
    background: #eef2f7;
    padding: 2px 7px;
    border-radius: 4px;
    color: #1a5a8a;
    border: 1px solid #dde6f0;
}

/* Code block */
.service-body pre {
    background: #1a2a3a;
    color: #c8d6e5;
    padding: 20px 24px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.88em;
    line-height: 1.65;
    margin: 1.6em 0;
}

.service-body pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: 1em;
}

/* Horizontal rule */
.service-body hr {
    border: none;
    border-top: 1px solid #e8ecef;
    margin: 2em 0;
}

/* Links */
.service-body a {
    color: #2d7dd2;
    text-decoration: underline;
    text-decoration-color: rgba(45,125,210,0.35);
    text-underline-offset: 2px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.service-body a:hover {
    color: #1a5a9a;
    text-decoration-color: rgba(26,90,154,0.6);
}

/* Strong / em */
.service-body strong {
    color: #1a2a3a;
    font-weight: 700;
}

.service-body em {
    font-style: italic;
    color: #2a3a4a;
}

/* Tables */
.service-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    font-size: 0.95em;
}

.service-body th {
    background: #f5f7fa;
    color: #1a2a3a;
    font-weight: 700;
    text-align: left;
    padding: 10px 14px;
    border: 1px solid #e8ecef;
}

.service-body td {
    padding: 9px 14px;
    border: 1px solid #e8ecef;
    color: #444;
}

.service-body tr:nth-child(even) td {
    background: #fafbfc;
}

/* Images */
.service-body img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
    margin: 0.5em 0;
}

/* --- SERVICE PROJECTS --- */
.service-projects {
    margin-top: 8px;
}

.service-projects-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.35em;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 18px;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */

/* --- PORTFOLIO HERO --- */
.portfolio-hero {
    background: #1a2a3a;
    padding: 40px 0 36px;
    position: relative;
    overflow: hidden;
}

.portfolio-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -40px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 48px solid rgba(76,175,80,0.04);
    pointer-events: none;
}

.portfolio-hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.4em;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.portfolio-hero-desc {
    font-size: 1.05em;
    color: #8a9bb0;
    line-height: 1.65;
    max-width: 560px;
    margin: 0;
}

.portfolio-hero-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.85em;
    color: #66bb6a;
    font-weight: 600;
    background: rgba(76,175,80,0.08);
    border: 1px solid rgba(76,175,80,0.2);
    border-radius: 20px;
    padding: 6px 16px;
}

/* --- PORTFOLIO SECTION --- */
.portfolio-section {
    padding: 48px 0 64px;
    background: #f5f7fa;
}

/* --- PORTFOLIO GRID --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* --- PORTFOLIO CARD --- */
.pf-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.35s cubic-bezier(0.22,0.61,0.36,1),
                box-shadow 0.35s cubic-bezier(0.22,0.61,0.36,1);
}

.pf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.12);
    text-decoration: none;
}

/* Card image area */
.pf-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e8ecef;
}

.pf-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s cubic-bezier(0.22,0.61,0.36,1);
}

.pf-card:hover .pf-card__img img {
    transform: scale(1.04);
}

/* Image overlay gradient */
.pf-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26,42,58,0.35) 100%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.pf-card:hover .pf-card__img::after {
    opacity: 1;
}

/* Number badge on image */
.pf-card__num {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-family: 'Nunito', sans-serif;
    font-size: 0.75em;
    font-weight: 800;
    color: #fff;
    background: rgba(26,42,58,0.65);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.06em;
}

/* Placeholder for cards without an image */
.pf-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2a3a 0%, #243b50 50%, #1a3a4a 100%);
}

.pf-card__placeholder svg {
    opacity: 0.18;
}

/* Card body */
.pf-card__body {
    padding: 24px 26px 28px;
}

.pf-card__title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25em;
    font-weight: 800;
    color: #1a2a3a;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.pf-card__desc {
    font-size: 0.93em;
    color: #5a6a7a;
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tech tags */
.pf-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.pf-tag {
    display: inline-block;
    font-size: 0.76em;
    font-weight: 600;
    color: #3a6a8a;
    background: #edf3f8;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* "More" link */
.pf-card__arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88em;
    font-weight: 700;
    color: #2d7dd2;
    transition: gap 0.25s;
}

.pf-card__arrow svg {
    transition: transform 0.25s;
}

.pf-card:hover .pf-card__arrow {
    gap: 10px;
}

.pf-card:hover .pf-card__arrow svg {
    transform: translateX(2px);
}

/* --- FEATURED CARD (full-width, side-by-side) --- */
.pf-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
}

.pf-card--featured .pf-card__img {
    aspect-ratio: auto;
    min-height: 340px;
}

.pf-card--featured .pf-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 42px;
}

.pf-card--featured .pf-card__title {
    font-size: 1.6em;
    margin-bottom: 12px;
}

.pf-card--featured .pf-card__desc {
    font-size: 1em;
    -webkit-line-clamp: 5;
    margin-bottom: 20px;
}

.pf-card--featured .pf-tag {
    font-size: 0.8em;
    padding: 5px 12px;
}

.pf-card--featured .pf-card__arrow {
    font-size: 0.92em;
}

/* Featured label */
.pf-card__featured-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78em;
    font-weight: 700;
    color: #4caf50;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.pf-card__featured-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4caf50;
}

/* --- PORTFOLIO EMPTY STATE --- */
.portfolio-empty {
    text-align: center;
    padding: 80px 20px;
}

.portfolio-empty__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eef2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.portfolio-empty__title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 8px;
}

.portfolio-empty__text {
    font-size: 0.95em;
    color: #8a9bb0;
    max-width: 360px;
    margin: 0 auto;
}

/* --- PORTFOLIO DETAIL HERO --- */
.portfolio-detail-hero {
    background: #1a2a3a;
    padding: 40px 0 44px;
    position: relative;
    overflow: hidden;
}

.portfolio-detail-hero::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 40px solid rgba(255,255,255,0.015);
    pointer-events: none;
}

.portfolio-detail-hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.3em;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

/* Project metadata row */
.portfolio-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.portfolio-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88em;
    color: #8a9bb0;
}

.portfolio-meta-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.portfolio-url {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7ec8e3;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.portfolio-url:hover {
    color: #fff;
    text-decoration: none;
}

/* Detail page hero tags */
.portfolio-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.portfolio-hero-tag {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 600;
    color: #b0bec5;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 5px 13px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

/* Detail image */
.portfolio-detail-image {
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,0,0,0.1);
}

.portfolio-detail-image img {
    width: 100%;
    display: block;
}

/* Detail article */
.portfolio-article {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    padding: 36px 40px;
    margin-bottom: 24px;
}

/* Back link */
.portfolio-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88em;
    font-weight: 600;
    color: #2d7dd2;
    text-decoration: none;
    margin-top: 8px;
    transition: gap 0.2s;
}

.portfolio-back:hover {
    gap: 12px;
    text-decoration: none;
}

.portfolio-back svg {
    transition: transform 0.2s;
}

.portfolio-back:hover svg {
    transform: translateX(-2px);
}

/* ============================================================
   PRICES
   ============================================================ */

/* --- PRICE HERO --- */
.price-hero {
    background: #1a2a3a;
    padding: 40px 0 36px;
    position: relative;
    overflow: hidden;
}

.price-hero::after {
    content: '';
    position: absolute;
    top: -60px;
    left: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 40px solid rgba(45,125,210,0.04);
    pointer-events: none;
}

.price-hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.4em;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.price-hero-desc {
    font-size: 1.05em;
    color: #8a9bb0;
    line-height: 1.65;
    max-width: 580px;
    margin: 0;
}

/* --- PRICE SECTION --- */
.price-section {
    padding: 48px 0 32px;
    background: #f5f7fa;
}

/* --- PRICE GRID --- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* --- PRICE CARD --- */
.price-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 30px 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    border-left: 4px solid #4caf50;
    transition: transform 0.3s cubic-bezier(0.22,0.61,0.36,1),
                box-shadow 0.3s cubic-bezier(0.22,0.61,0.36,1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* Color cycling for accent border */
.price-card:nth-child(4n+2) { border-left-color: #2d7dd2; }
.price-card:nth-child(4n+3) { border-left-color: #1a8a6e; }
.price-card:nth-child(4n+4) { border-left-color: #7b5ea7; }

/* Card number */
.price-card__num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 2.2em;
    font-weight: 800;
    color: #eef2f5;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.price-card__title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2em;
    font-weight: 800;
    color: #1a2a3a;
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    padding-right: 40px;
}

.price-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 14px;
}

.price-card__price-from {
    font-size: 0.78em;
    font-weight: 600;
    color: #8a9bb0;
    text-transform: lowercase;
}

.price-card__price-value {
    font-family: 'Nunito', sans-serif;
    font-size: 1.45em;
    font-weight: 800;
    color: #1a2a3a;
    letter-spacing: -0.02em;
    line-height: 1;
}

.price-card__desc {
    font-size: 0.93em;
    color: #5a6a7a;
    line-height: 1.65;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* Service tag link */
.price-card__service {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82em;
    font-weight: 600;
    color: #2d7dd2;
    text-decoration: none;
    padding: 5px 12px;
    background: #edf4fb;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
}

.price-card__service:hover {
    background: #daeaf7;
    color: #1a5fa0;
    text-decoration: none;
}

.price-card__service svg {
    flex-shrink: 0;
}

/* --- PRICE CTA --- */
.price-cta {
    padding: 48px 0 56px;
    background: #fff;
    text-align: center;
    border-top: 1px solid #e8ecef;
}

.price-cta__inner {
    max-width: 520px;
    margin: 0 auto;
}

.price-cta__title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.55em;
    font-weight: 800;
    color: #1a2a3a;
    margin-bottom: 10px;
    line-height: 1.25;
}

.price-cta__text {
    font-size: 0.98em;
    color: #5a6a7a;
    line-height: 1.65;
    margin-bottom: 28px;
}

.price-disclaimer {
    margin-top: 28px;
    font-size: 0.78em;
    color: #9aabb8;
    line-height: 1.55;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* --- PRICE EMPTY --- */
.price-empty {
    text-align: center;
    padding: 80px 20px;
}

.price-empty__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eef2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.price-empty__title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 8px;
}

.price-empty__text {
    font-size: 0.95em;
    color: #8a9bb0;
    max-width: 360px;
    margin: 0 auto;
}

/* --- BLOG HERO --- */
.blog-hero {
    background: #1a2a3a;
    padding: 40px 0 36px;
    position: relative;
    overflow: hidden;
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -40px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 48px solid rgba(76,175,80,0.04);
    pointer-events: none;
}

.blog-hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.4em;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.blog-hero-desc {
    font-size: 1.05em;
    color: #8a9bb0;
    line-height: 1.65;
    max-width: 560px;
    margin: 0;
}

.blog-hero-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.85em;
    color: #66bb6a;
    font-weight: 600;
    background: rgba(76,175,80,0.08);
    border: 1px solid rgba(76,175,80,0.2);
    border-radius: 20px;
    padding: 6px 16px;
}

/* --- BLOG SECTION --- */
.blog-section {
    padding: 48px 0 64px;
    background: #f5f7fa;
}

/* --- BLOG GRID --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* --- BLOG CARD --- */
.blog-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.35s cubic-bezier(0.22,0.61,0.36,1),
                box-shadow 0.35s cubic-bezier(0.22,0.61,0.36,1);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.12);
    text-decoration: none;
}

.blog-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #1a2a3a 0%, #2d3e50 100%);
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22,0.61,0.36,1);
}

.blog-card:hover .blog-card__img img {
    transform: scale(1.04);
}

.blog-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
}

.blog-card__body {
    padding: 24px 26px 28px;
}

.blog-card__date {
    display: inline-block;
    font-size: 0.8em;
    font-weight: 600;
    color: #8a9bb0;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.blog-card__title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    color: #1a2a3a;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__desc {
    font-size: 0.92em;
    color: #5a6a7a;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88em;
    font-weight: 600;
    color: #2d7dd2;
    transition: gap 0.3s;
}

.blog-card__arrow svg {
    transition: transform 0.3s;
}

.blog-card:hover .blog-card__arrow {
    gap: 10px;
}

.blog-card:hover .blog-card__arrow svg {
    transform: translateX(2px);
}

/* --- BLOG PAGINATION --- */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.blog-pagination__link {
    display: inline-block;
    font-size: 0.9em;
    font-weight: 600;
    color: #2d7dd2;
    padding: 10px 24px;
    border: 1px solid #2d7dd2;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.blog-pagination__link:hover {
    background: #2d7dd2;
    color: #fff;
    text-decoration: none;
}

.blog-pagination__info {
    font-size: 0.88em;
    color: #8a9bb0;
    font-weight: 500;
}

/* --- BLOG EMPTY --- */
.blog-empty {
    text-align: center;
    padding: 80px 20px;
}

.blog-empty__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eef2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.blog-empty__title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 8px;
}

.blog-empty__text {
    font-size: 0.95em;
    color: #8a9bb0;
    max-width: 360px;
    margin: 0 auto;
}

/* --- BLOG DETAIL HERO --- */
.blog-detail-hero {
    background: #1a2a3a;
    padding: 40px 0 36px;
    position: relative;
    overflow: hidden;
}

.blog-detail-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -40px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 48px solid rgba(76,175,80,0.04);
    pointer-events: none;
}

.blog-detail-hero__date {
    display: inline-block;
    font-size: 0.85em;
    color: #66bb6a;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-detail-hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.2em;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
    max-width: 720px;
}

/* --- BLOG DETAIL SECTION --- */
.blog-detail-section {
    padding: 48px 0 64px;
    background: #f5f7fa;
}

.blog-detail-image {
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,0,0,0.1);
}

.blog-detail-image img {
    width: 100%;
    display: block;
}

.blog-detail-article {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    padding: 36px 40px;
    margin-bottom: 24px;
    line-height: 1.75;
    font-size: 1.02em;
    color: #333;
}

.blog-detail-article h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #1a2a3a;
    margin: 32px 0 14px;
}

.blog-detail-article h2:first-child {
    margin-top: 0;
}

.blog-detail-article h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    color: #1a2a3a;
    margin: 24px 0 10px;
}

.blog-detail-article p {
    margin-bottom: 16px;
}

.blog-detail-article ul,
.blog-detail-article ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.blog-detail-article li {
    margin-bottom: 6px;
    list-style: disc;
}

.blog-detail-article ol li {
    list-style: decimal;
}

.blog-detail-article img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}

.blog-detail-article blockquote {
    border-left: 4px solid #4caf50;
    background: #f0faf1;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #2e5a30;
}

.blog-detail-article a {
    color: #2d7dd2;
    text-decoration: underline;
}

.blog-detail-article a:hover {
    color: #1a5fa0;
}

.blog-detail-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95em;
    overflow-x: auto;
    display: block;
}

.blog-detail-article table thead {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.blog-detail-article table tbody {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.blog-detail-article table th,
.blog-detail-article table td {
    padding: 10px 14px;
    border: 1px solid #d0d7de;
    text-align: left;
}

.blog-detail-article table th {
    background: #f0f4f8;
    font-weight: 700;
    color: #1a2b3c;
}

.blog-detail-article table tr:nth-child(even) {
    background: #f8fafc;
}

.blog-detail-article table tr:hover {
    background: #eef3f9;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88em;
    font-weight: 600;
    color: #2d7dd2;
    text-decoration: none;
    transition: gap 0.3s;
}

.blog-back:hover {
    gap: 12px;
    text-decoration: none;
}

/* --- TABLET --- */
@media (max-width: 960px) {
    #main_menu li a {
        padding: 20px 10px;
        font-size: 14px;
    }

    .header-cta {
        font-size: 14px;
        padding: 8px 14px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-text .subtitle { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }

    .hero-illustration {
        flex: 0 0 auto;
        text-align: center;
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }

    .ai-grid { grid-template-columns: 1fr; gap: 36px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .how-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .how-step { padding-right: 0; }
    .how-step::after { display: none; }

    .hero-text h1 {
        font-size: 2em;
    }

    .stat-number {
        font-size: 2.8em;
    }

    .service-icon {
        width: 100px;
        height: 100px;
    }
    .service-icon img {
        width: 90px;
        height: 90px;
    }

    .service-hero {
        padding: 28px 0 24px;
    }

    .service-hero h1 {
        font-size: 1.9em;
    }

    .service-article {
        padding: 28px 28px;
    }

    .service-body h2 {
        font-size: 1.3em;
    }

    .service-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Portfolio tablet */
    .portfolio-hero h1 {
        font-size: 1.9em;
    }

    .portfolio-grid {
        gap: 22px;
    }

    .pf-card--featured {
        grid-template-columns: 1fr 1fr;
    }

    .pf-card--featured .pf-card__img {
        min-height: 280px;
    }

    .pf-card--featured .pf-card__body {
        padding: 28px 30px;
    }

    .pf-card--featured .pf-card__title {
        font-size: 1.35em;
    }

    .portfolio-detail-hero h1 {
        font-size: 1.9em;
    }

    .portfolio-article {
        padding: 28px 28px;
    }

    /* Price tablet */
    .price-hero h1 {
        font-size: 1.9em;
    }

    .price-grid {
        gap: 20px;
    }

    .price-card {
        padding: 28px 26px 24px;
    }

    /* Blog tablet */
    .blog-hero h1 {
        font-size: 1.9em;
    }

    .blog-grid {
        gap: 22px;
    }

    .blog-detail-hero h1 {
        font-size: 1.9em;
    }

    .blog-detail-article {
        padding: 28px 28px;
    }
}

/* --- MOBILE --- */
@media (max-width: 820px) {
    #main_menu { display: none; }
    .header-cta { display: none; }
    .burger { display: flex; margin-left: auto; }

    #main_menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #1a2a3a;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        z-index: 99;
        margin-left: 0;
    }

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

    .trust-grid { grid-template-columns: 1fr; gap: 16px; }

    .how-grid { grid-template-columns: 1fr; gap: 20px; }

    .hero-text h1 {
        font-size: 1.7em;
    }

    .stat-number {
        font-size: 2em;
    }

    .stats-row {
        flex-direction: column;
        gap: 0;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(26,58,92,0.15);
        padding: 16px 0;
    }

    .stat-item:first-child { padding-top: 0; }
    .stat-item:last-child { border-bottom: none; padding-bottom: 0; }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .service-hero {
        padding: 22px 0 20px;
    }

    .service-hero h1 {
        font-size: 1.55em;
    }

    .service-hero-desc {
        font-size: 0.97em;
    }

    .service-article {
        padding: 20px 16px;
        border-radius: 8px;
        border-left: none;
        border-right: none;
        border-radius: 0;
        margin-left: -20px;
        margin-right: -20px;
    }

    .service-body {
        font-size: 0.97em;
    }

    .service-body h2 {
        font-size: 1.2em;
    }

    .service-body h3 {
        font-size: 1.06em;
    }

    .service-body pre {
        padding: 14px 16px;
        border-radius: 6px;
        font-size: 0.83em;
    }

    .service-body blockquote {
        padding: 12px 14px 12px 16px;
    }

    .service-projects .services-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio mobile */
    .portfolio-hero {
        padding: 28px 0 24px;
    }

    .portfolio-hero h1 {
        font-size: 1.55em;
    }

    .portfolio-hero-desc {
        font-size: 0.95em;
    }

    .portfolio-section {
        padding: 32px 0 48px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pf-card--featured {
        grid-template-columns: 1fr;
    }

    .pf-card--featured .pf-card__img {
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

    .pf-card--featured .pf-card__body {
        padding: 24px 22px 28px;
    }

    .pf-card--featured .pf-card__title {
        font-size: 1.25em;
    }

    .pf-card--featured .pf-card__desc {
        font-size: 0.93em;
    }

    .pf-card__body {
        padding: 20px 20px 24px;
    }

    .portfolio-detail-hero {
        padding: 24px 0 28px;
    }

    .portfolio-detail-hero h1 {
        font-size: 1.55em;
    }

    .portfolio-meta {
        gap: 14px;
    }

    .portfolio-article {
        padding: 20px 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-left: -20px;
        margin-right: -20px;
    }

    .portfolio-detail-image {
        border-radius: 8px;
    }

    /* Price mobile */
    .price-hero {
        padding: 28px 0 24px;
    }

    .price-hero h1 {
        font-size: 1.55em;
    }

    .price-hero-desc {
        font-size: 0.95em;
    }

    .price-section {
        padding: 32px 0 24px;
    }

    .price-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .price-card {
        padding: 24px 20px 22px;
    }

    .price-card__num {
        font-size: 1.8em;
    }

    .price-cta {
        padding: 36px 0 44px;
    }

    .price-cta__title {
        font-size: 1.3em;
    }

    /* Blog mobile */
    .blog-hero {
        padding: 28px 0 24px;
    }

    .blog-hero h1 {
        font-size: 1.55em;
    }

    .blog-hero-desc {
        font-size: 0.95em;
    }

    .blog-section {
        padding: 32px 0 48px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card__body {
        padding: 20px 20px 24px;
    }

    .blog-detail-hero {
        padding: 24px 0 28px;
    }

    .blog-detail-hero h1 {
        font-size: 1.45em;
    }

    .blog-detail-section {
        padding: 32px 0 48px;
    }

    .blog-detail-article {
        padding: 24px 20px;
    }

    .blog-detail-image {
        border-radius: 8px;
    }

    .blog-pagination {
        gap: 12px;
        flex-wrap: wrap;
    }

    .blog-pagination__link {
        padding: 8px 18px;
        font-size: 0.85em;
    }
}
