/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Tech Blue Palette */
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --accent-light: #60a5fa;
    --accent-soft: #dbeafe;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);

    --border-subtle: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-focus: #3b82f6;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-accent: 0 4px 14px rgba(59, 130, 246, 0.25);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --container-max: 1200px;
    --header-height: 72px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    padding-top: var(--header-height);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .container {
        padding: 0 28px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(1.8rem, 5vw, 4rem);
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.4rem, 3.5vw, 2.5rem);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .section-label {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
}

.section-heading {
    text-align: center;
    margin-bottom: 0.5rem;
    padding: 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    padding: 0;
}

@media (min-width: 640px) {
    .section-subtitle {
        font-size: 1.05rem;
        margin: 0 auto 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-subtitle {
        font-size: 1.1rem;
        margin: 0 auto 3rem;
    }
}

/* ===== STICKY HEADER & NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    height: var(--header-height);
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 639px) {
    .site-header {
        height: 60px;
    }

    :root {
        --header-height: 60px;
    }
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
    padding: 0 20px;
}

@media (min-width: 640px) {
    .nav-bar {
        padding: 0 28px;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .nav-bar {
        padding: 0 32px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 400px) {
    .logo {
        font-size: 1.05rem;
    }
}

@media (min-width: 640px) {
    .logo {
        font-size: 1.2rem;
        gap: 0.65rem;
    }
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .logo-icon {
        width: 34px;
        height: 34px;
    }
}

.logo-icon svg {
    width: 16px;
    height: 16px;
}

@media (min-width: 640px) {
    .logo-icon svg {
        width: 19px;
        height: 19px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .nav-links a {
        font-size: 0.9375rem;
        padding: 0.5rem 1rem;
    }
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.nav-links a.active {
    color: var(--accent);
    background: var(--accent-soft);
    font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: none;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    padding: 7px;
    z-index: 1100;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.hamburger:hover {
    background: var(--bg-secondary);
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
    margin: 0 auto;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 861px) {
    .hamburger {
        display: none;
    }
}

@media (max-width: 860px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.99);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 20px;
        gap: 0.2rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.8rem 1rem;
        width: 100%;
        text-align: center;
        border-radius: var(--radius-md);
        margin: 2px 0;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    letter-spacing: 0.2px;
    white-space: nowrap;
    text-align: center;
    width: auto;
    max-width: 100%;
}

@media (min-width: 640px) {
    .btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
        gap: 0.5rem;
    }
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-inverse);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--border-focus);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

@media (min-width: 640px) {
    .btn-lg {
        padding: 0.9rem 2.25rem;
        font-size: 1rem;
    }
}

.btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
    padding: 2.5rem 0 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .page-hero {
        padding: 4rem 0 3rem;
    }
}

@media (min-width: 1024px) {
    .page-hero {
        padding: 5rem 0 4rem;
    }
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

@media (min-width: 640px) {
    .page-hero::before {
        width: 450px;
        height: 450px;
    }
}

.page-hero h1 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    padding: 0;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .page-hero p {
        font-size: 1.1rem;
    }
}

/* ===== HOME HERO ===== */
.hero-full {
    padding: 2.5rem 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 50%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
    min-height: auto;
}

@media (min-width: 640px) {
    .hero-full {
        padding: 3rem 0;
        min-height: 70vh;
    }
}

@media (min-width: 1024px) {
    .hero-full {
        min-height: calc(100vh - var(--header-height));
    }
}

.hero-full::before {
    content: '';
    position: absolute;
    top: 5%;
    right: -15%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@media (min-width: 640px) {
    .hero-full::before {
        width: 380px;
        height: 380px;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 860px) {
    .hero-content {
        text-align: left;
    }
}

.hero-content .section-label {
    margin-bottom: 0.75rem;
}

.hero-content h1 {
    margin-bottom: 0.75rem;
}

.hero-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 860px) {
    .hero-content p {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 860px) {
    .hero-actions {
        justify-content: flex-start;
        gap: 1rem;
    }
}

.hero-visual {
    position: relative;
    order: -1;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 640px) {
    .hero-visual {
        max-width: 420px;
    }
}

@media (min-width: 860px) {
    .hero-visual {
        order: 0;
        max-width: 100%;
    }
}

.hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
    .hero-visual img {
        border-radius: var(--radius-2xl);
    }
}

/* ===== SECTIONS ===== */
.section {
    padding: 2.5rem 0;
}

@media (min-width: 640px) {
    .section {
        padding: 3.5rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 5rem 0;
    }
}

.section-light {
    background: var(--bg-white);
}

.section-gray {
    background: var(--bg-secondary);
}

.section-accent-light {
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
}

/* ===== CARDS GRID ===== */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 540px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 860px) {
    .cards-grid:not(.cols-4) {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .cards-grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 860px) and (max-width: 1023px) {
    .cards-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    height: 100%;
}

@media (min-width: 640px) {
    .card {
        padding: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .card {
        padding: 2rem;
    }
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.card-icon {
    width: 38px;
    height: 38px;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    color: var(--accent);
}

@media (min-width: 640px) {
    .card-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 1.2rem;
    }
}

.card-icon svg {
    width: 19px;
    height: 19px;
}

@media (min-width: 640px) {
    .card-icon svg {
        width: 23px;
        height: 23px;
    }
}

.card h3 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
}

.card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .card p {
        font-size: 0.9375rem;
    }
}

.card-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 0.75rem 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
    .card-image {
        margin: 1rem 0;
    }
}

/* ===== SERVICE BLOCKS ===== */
.service-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
    .service-block {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 2.5rem 0;
    }
}

@media (min-width: 1024px) {
    .service-block {
        gap: 3rem;
        padding: 3rem 0;
    }
}

.service-block:last-child {
    border-bottom: none;
}

.service-content .section-label {
    margin-bottom: 0.4rem;
}

.service-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

@media (min-width: 640px) {
    .service-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
}

.service-content>p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .service-content>p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

@media (min-width: 640px) {
    .benefit-list {
        gap: 0.65rem;
    }
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .benefit-list li {
        font-size: 0.9375rem;
        gap: 0.7rem;
    }
}

.benefit-list li svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

@media (min-width: 640px) {
    .benefit-list li svg {
        width: 17px;
        height: 17px;
    }
}

.service-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
    .service-image {
        aspect-ratio: 4/3;
        box-shadow: var(--shadow-lg);
    }
}

@media (min-width: 768px) {
    .service-image {
        border-radius: var(--radius-xl);
    }
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 540px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 860px) {
    .why-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .why-grid {
        gap: 1.5rem;
    }
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1.1rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--transition-base);
}

@media (min-width: 640px) {
    .why-item {
        padding: 1.4rem;
        gap: 0.9rem;
    }
}

.why-item:hover {
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 34px;
    height: 34px;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .why-icon {
        width: 42px;
        height: 42px;
    }
}

.why-icon svg {
    width: 17px;
    height: 17px;
}

@media (min-width: 640px) {
    .why-icon svg {
        width: 21px;
        height: 21px;
    }
}

.why-item strong {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.88rem;
}

@media (min-width: 640px) {
    .why-item strong {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }
}

.why-item p {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .why-item p {
        font-size: 0.85rem;
    }
}

/* ===== ABOUT PAGE ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .about-grid {
        gap: 4rem;
    }
}

.about-image {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .about-image {
        max-width: 100%;
        border-radius: var(--radius-2xl);
    }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 399px) {
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 640px) {
    .values-grid {
        gap: 0.75rem;
        margin-top: 2rem;
    }
}

.value-card {
    text-align: center;
    padding: 1rem 0.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-xs);
}

@media (min-width: 640px) {
    .value-card {
        padding: 1.5rem 0.75rem;
    }
}

.value-card .value-icon {
    width: 34px;
    height: 34px;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: var(--accent);
}

@media (min-width: 640px) {
    .value-card .value-icon {
        width: 42px;
        height: 42px;
        margin: 0 auto 0.7rem;
    }
}

.value-card .value-icon svg {
    width: 17px;
    height: 17px;
}

@media (min-width: 640px) {
    .value-card .value-icon svg {
        width: 21px;
        height: 21px;
    }
}

.value-card h4 {
    font-size: 0.8rem;
}

@media (min-width: 640px) {
    .value-card h4 {
        font-size: 0.95rem;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 350px;
    margin: 0 auto;
}

@media (min-width: 540px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: 1.25rem;
    }
}

@media (min-width: 860px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

.team-card {
    text-align: center;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

@media (min-width: 640px) {
    .team-card {
        padding: 1.75rem 1.5rem;
    }
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 0.9rem;
    background: var(--bg-tertiary);
    border: 3px solid var(--accent-soft);
}

@media (min-width: 640px) {
    .team-avatar {
        width: 95px;
        height: 95px;
        margin: 0 auto 1.1rem;
    }
}

.team-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.team-card p {
    font-size: 0.8rem;
}

@media (min-width: 640px) {
    .team-card p {
        font-size: 0.875rem;
    }
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 540px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 860px) {
    .capabilities-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

/* ===== CONTACT PAGE ===== */
.contact-centered {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
}

.contact-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    padding: 1.25rem;
    margin: 1.25rem 0;
}

@media (min-width: 640px) {
    .contact-info-card {
        padding: 2.25rem;
        margin: 1.75rem 0;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7rem;
    padding: 0.7rem 0;
    font-size: 0.85rem;
    color: var(--text-primary);
    word-break: break-all;
}

@media (min-width: 640px) {
    .contact-item {
        justify-content: center;
        padding: 0.9rem 0;
        font-size: 1rem;
        gap: 0.9rem;
    }
}

.contact-item+.contact-item {
    border-top: 1px solid var(--border-subtle);
}

.contact-icon-circle {
    width: 34px;
    height: 34px;
    background: var(--accent-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .contact-icon-circle {
        width: 42px;
        height: 42px;
    }
}

.contact-icon-circle svg {
    width: 15px;
    height: 15px;
}

@media (min-width: 640px) {
    .contact-icon-circle svg {
        width: 19px;
        height: 19px;
    }
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .social-links {
        gap: 0.9rem;
        margin-top: 1.75rem;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xs);
}

@media (min-width: 640px) {
    .social-link {
        width: 46px;
        height: 46px;
    }
}

.social-link:hover {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-link svg {
    width: 17px;
    height: 17px;
}

@media (min-width: 640px) {
    .social-link svg {
        width: 19px;
        height: 19px;
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 2rem 1.25rem;
    background: var(--accent-gradient);
    border-radius: var(--radius-xl);
    margin: 1.25rem auto;
    max-width: var(--container-max);
    color: white;
}

@media (min-width: 640px) {
    .cta-section {
        padding: 3rem 2rem;
        margin: 1.75rem auto;
        border-radius: var(--radius-2xl);
    }
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 4rem 2rem;
    }
}

.cta-section h2 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

@media (min-width: 640px) {
    .cta-section h2 {
        font-size: 1.7rem;
        margin-bottom: 0.7rem;
    }
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
}

@media (min-width: 640px) {
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }
}

.cta-section .btn {
    background: white;
    color: var(--accent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cta-section .btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 0 1.5rem;
    color: #94a3b8;
}

@media (min-width: 640px) {
    .site-footer {
        padding: 3.5rem 0 1.5rem;
    }
}

.site-footer strong {
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
        text-align: left;
    }
}

.footer-brand p {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .footer-brand p {
        font-size: 0.88rem;
        margin-top: 0.7rem;
    }
}

.footer-links h4,
.footer-social h4 {
    color: white;
    margin-bottom: 0.7rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

@media (min-width: 640px) {

    .footer-links h4,
    .footer-social h4 {
        font-size: 0.85rem;
        margin-bottom: 0.9rem;
    }
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
}

@media (min-width: 640px) {
    .footer-links ul {
        align-items: flex-start;
        gap: 0.45rem;
    }
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.82rem;
    transition: color var(--transition-fast);
}

@media (min-width: 640px) {
    .footer-links a {
        font-size: 0.88rem;
    }
}

.footer-links a:hover {
    color: white;
}

.footer-social-icons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .footer-social-icons {
        justify-content: flex-start;
        gap: 0.7rem;
    }
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    transition: all var(--transition-base);
}

@media (min-width: 640px) {
    .footer-social-icons a {
        width: 38px;
        height: 38px;
    }
}

.footer-social-icons a:hover {
    background: var(--accent);
    color: white;
}

.footer-social-icons svg {
    width: 15px;
    height: 15px;
}

@media (min-width: 640px) {
    .footer-social-icons svg {
        width: 17px;
        height: 17px;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 1.75rem;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (min-width: 640px) {
    .fade-up {
        transform: translateY(30px);
        transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== PERFORMANCE ===== */
img {
    content-visibility: auto;
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 639px) {

    body,
    html {
        max-width: 100vw;
        overflow-x: hidden;
    }

    section {
        padding-left: 0;
        padding-right: 0;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .hero-actions .btn {
        width: auto;
        min-width: 140px;
    }

    h1,
    h2,
    h3,
    p {
        word-break: break-word;
    }

    .section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 18px;
    }

    .page-hero h1,
    .page-hero p {
        padding-left: 0;
        padding-right: 0;
    }
}