/* ==================== CAB GLOBAL WIREFRAME - STYLES ==================== */

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

:root {
    --wire-bg: #f8f9fa;
    --wire-border: #dee2e6;
    --wire-dark: #212529;
    --wire-medium: #495057;
    --wire-light: #adb5bd;
    --wire-accent: #228be6;
    --wire-placeholder: #e9ecef;
    --wire-annotation: #fff3bf;
    --wire-annotation-border: #ffd43b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--wire-bg);
    color: var(--wire-dark);
    line-height: 1.5;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: white;
    border-bottom: 1px solid var(--wire-border);
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--wire-dark);
    text-decoration: none;
}

.navbar-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wire-light);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--wire-dark);
    border-bottom-color: var(--wire-accent);
}

.navbar-cta {
    background: var(--wire-dark);
    color: white;
    padding: 12px 24px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.navbar-cta:hover {
    background: var(--wire-accent);
}

/* ==================== PAGE CONTAINER ==================== */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* ==================== SECTION ==================== */
.section {
    margin-bottom: 80px;
}

.section:last-child {
    margin-bottom: 0;
}

.section-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--wire-light);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--wire-border);
}

/* ==================== WIREFRAME ELEMENTS ==================== */
.wire-text {
    background: var(--wire-placeholder);
    height: 12px;
    border-radius: 2px;
    margin-bottom: 8px;
}

.wire-text.h1 {
    height: 40px;
    width: 60%;
    background: var(--wire-dark);
    margin-bottom: 20px;
}

.wire-text.h2 {
    height: 28px;
    width: 50%;
    background: var(--wire-dark);
    margin-bottom: 16px;
}

.wire-text.h3 {
    height: 20px;
    width: 40%;
    background: var(--wire-medium);
    margin-bottom: 12px;
}

.wire-text.subtitle {
    height: 16px;
    width: 75%;
    margin-bottom: 16px;
}

.wire-text.body {
    height: 12px;
    margin-bottom: 8px;
}

.wire-text.body:nth-child(odd) { width: 100%; }
.wire-text.body:nth-child(even) { width: 88%; }
.wire-text.short { width: 35%; }

/* ==================== IMAGE PLACEHOLDER ==================== */
.wire-image {
    background: var(--wire-placeholder);
    border: 2px dashed var(--wire-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wire-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wire-image.hero { height: 400px; }
.wire-image.large { height: 320px; }
.wire-image.medium { height: 240px; }
.wire-image.small { height: 160px; }
.wire-image.thumb { height: 100px; }
.wire-image.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

/* ==================== BUTTONS ==================== */
.wire-btn {
    display: inline-block;
    background: var(--wire-accent);
    color: white;
    padding: 16px 32px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    margin-top: 24px;
    transition: background 0.2s;
}

.wire-btn:hover {
    background: var(--wire-dark);
}

.wire-btn.secondary {
    background: transparent;
    border: 2px solid var(--wire-dark);
    color: var(--wire-dark);
}

.wire-btn.secondary:hover {
    background: var(--wire-dark);
    color: white;
}

/* ==================== LAYOUTS ==================== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

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

.four-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ==================== CARDS ==================== */
.card {
    background: white;
    border: 1px solid var(--wire-border);
    border-radius: 8px;
    padding: 32px;
}

.card .icon {
    width: 56px;
    height: 56px;
    background: var(--wire-placeholder);
    border-radius: 12px;
    margin-bottom: 20px;
}

.card .card-title {
    height: 16px;
    width: 70%;
    background: var(--wire-dark);
    border-radius: 2px;
    margin-bottom: 12px;
}

.card .card-text {
    height: 10px;
    background: var(--wire-placeholder);
    border-radius: 2px;
    margin-bottom: 6px;
}

.card .card-text:last-of-type {
    width: 65%;
}

/* ==================== LOGO GRID ==================== */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.logo-placeholder {
    background: white;
    border: 1px solid var(--wire-border);
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--wire-light);
}

/* ==================== PROCESS STEPS ==================== */
.process-container {
    display: flex;
    gap: 16px;
    position: relative;
}

.process-step {
    flex: 1;
    background: white;
    border: 1px solid var(--wire-border);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid var(--wire-border);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--wire-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 18px;
    font-weight: 600;
}

.step-title {
    height: 14px;
    width: 80%;
    background: var(--wire-dark);
    border-radius: 2px;
    margin: 0 auto 12px;
}

.step-text {
    height: 10px;
    background: var(--wire-placeholder);
    border-radius: 2px;
    margin-bottom: 6px;
}

/* ==================== TABS ==================== */
.tabs-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--wire-border);
}

.tab-btn {
    padding: 16px 32px;
    background: var(--wire-bg);
    border: 1px solid var(--wire-border);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wire-light);
    cursor: pointer;
    margin-bottom: -2px;
}

.tab-btn.active {
    background: white;
    color: var(--wire-dark);
    font-weight: 600;
    border-bottom: 2px solid white;
}

.tab-content {
    background: white;
    border: 1px solid var(--wire-border);
    border-top: none;
    border-radius: 0 8px 8px 8px;
    padding: 40px;
}

/* ==================== SERVICE ITEM ==================== */
.service-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px dashed var(--wire-border);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--wire-placeholder);
    border-radius: 8px;
    flex-shrink: 0;
}

.service-content {
    flex: 1;
}

.service-name {
    height: 14px;
    width: 35%;
    background: var(--wire-dark);
    border-radius: 2px;
    margin-bottom: 10px;
}

.service-desc {
    height: 10px;
    background: var(--wire-placeholder);
    border-radius: 2px;
    margin-bottom: 6px;
}

.service-desc:last-child {
    width: 80%;
}

/* ==================== TEAM ==================== */
.team-member {
    text-align: center;
}

.team-member .avatar {
    width: 100px;
    height: 100px;
    background: var(--wire-placeholder);
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.team-member .name {
    height: 14px;
    width: 70%;
    background: var(--wire-dark);
    border-radius: 2px;
    margin: 0 auto 8px;
}

.team-member .role {
    height: 10px;
    width: 50%;
    background: var(--wire-placeholder);
    border-radius: 2px;
    margin: 0 auto;
}

/* ==================== TABLE ==================== */
.wire-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--wire-border);
}

.wire-table th {
    background: var(--wire-dark);
    color: white;
    padding: 16px;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wire-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--wire-border);
    font-size: 13px;
}

.wire-table tr:nth-child(even) {
    background: var(--wire-bg);
}

.wire-table tr:last-child td {
    border-bottom: none;
}

.check { color: #40c057; font-weight: 600; }
.cross { color: #fa5252; }
.optional { color: var(--wire-light); font-style: italic; }

/* ==================== PORTFOLIO ==================== */
.filter-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 10px 24px;
    background: white;
    border: 1px solid var(--wire-border);
    border-radius: 24px;
    font-size: 12px;
    color: var(--wire-light);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--wire-dark);
    color: var(--wire-dark);
}

.filter-btn.active {
    background: var(--wire-dark);
    color: white;
    border-color: var(--wire-dark);
}

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

.portfolio-item {
    background: var(--wire-placeholder);
    border-radius: 8px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--wire-light);
    border: 2px dashed var(--wire-border);
}

/* ==================== FORM ==================== */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    background: white;
    border: 1px solid var(--wire-border);
    border-radius: 6px;
    padding: 16px;
    height: 54px;
}

.form-field.full {
    grid-column: span 2;
}

.form-field.textarea {
    height: 140px;
}

/* ==================== CTA BLOCK ==================== */
.cta-block {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 64px;
    text-align: center;
    color: white;
}

.cta-block .wire-text.h2 {
    background: white;
    margin: 0 auto 20px;
}

.cta-block .wire-text.body {
    background: rgba(255,255,255,0.3);
    margin: 0 auto 8px;
    width: 50%;
}

.cta-block .wire-btn {
    margin-top: 32px;
    background: white;
    color: var(--wire-dark);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #1a1a2e;
    padding: 64px 40px 32px;
    margin-top: 80px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col .footer-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: white;
    margin-bottom: 16px;
}

.footer-col .footer-desc {
    height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin-bottom: 8px;
}

.footer-col .footer-title {
    height: 10px;
    width: 60%;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    margin-bottom: 20px;
}

.footer-col .footer-link {
    height: 8px;
    width: 75%;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin-bottom: 12px;
}

.footer-col .footer-link:nth-child(odd) {
    width: 65%;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
}

.footer-bottom .text {
    height: 8px;
    width: 180px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
}

/* ==================== CONTENT BLOCK (REAL TEXT) ==================== */
.content-block h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--wire-dark);
    margin-bottom: 24px;
}

.content-block h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--wire-dark);
    margin-bottom: 20px;
}

.content-block h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--wire-dark);
    margin-bottom: 16px;
    margin-top: 32px;
}

.content-block p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--wire-medium);
    margin-bottom: 16px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block p.subtitle {
    font-size: 17px;
    color: var(--wire-light);
}

.content-block ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-block li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--wire-medium);
    margin-bottom: 8px;
}

/* Team member with real text */
.team-member .name {
    font-size: 16px;
    font-weight: 600;
    color: var(--wire-dark);
    margin-bottom: 4px;
    height: auto;
    width: auto;
    background: none;
}

.team-member .role {
    font-size: 13px;
    color: var(--wire-light);
    height: auto;
    width: auto;
    background: none;
}

/* Footer with real text */
.footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: white;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.footer-col .footer-text {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* CTA Block with real text */
.cta-block h2 {
    font-size: 32px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.cta-block p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

/* Card with real text */
.card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--wire-dark);
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--wire-medium);
}

/* Process step with real text */
.process-step h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--wire-dark);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--wire-light);
}

/* Service item with real text */
.service-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--wire-dark);
    margin-bottom: 8px;
}

.service-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--wire-medium);
}

/* ==================== ANNOTATIONS ==================== */
.annotation {
    background: var(--wire-annotation);
    border: 1px solid var(--wire-annotation-border);
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 12px;
    color: #5c5200;
    margin-top: 20px;
    line-height: 1.6;
}

.annotation strong {
    color: #3d3700;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .four-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-container {
        flex-wrap: wrap;
    }
    .process-step {
        flex-basis: calc(50% - 8px);
    }
    .process-step::after {
        display: none;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }
    .navbar-links {
        display: none;
    }
    .page-container {
        padding: 40px 20px;
    }
    .two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .two-col.reverse {
        direction: ltr;
    }
    .three-col {
        grid-template-columns: 1fr;
    }
    .four-col {
        grid-template-columns: 1fr;
    }
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .form-field.full {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
