/* ============================================================
   DELTAPLAN CZ — Landing Page Styles
   Corporate color: #00AEEF
   ============================================================ */

:root {
    --clr-accent: #00AEEF;
    --clr-accent-rgb: 0, 174, 239;
    --clr-accent-hover: #0099d6;
    --clr-accent-glow: rgba(0, 174, 239, 0.35);
    --clr-accent-subtle: rgba(0, 174, 239, 0.08);

    --clr-bg: #060b14;
    --clr-bg-alt: #0a101e;
    --clr-bg-card: #0e1424;
    --clr-bg-card-hover: #111a30;
    --clr-surface: rgba(14, 20, 36, 0.7);

    --clr-text: #e8ecf2;
    --clr-text-dim: #8892a8;
    --clr-text-muted: #5a6680;
    --clr-border: rgba(255, 255, 255, 0.06);
    --clr-border-hover: rgba(255, 255, 255, 0.12);

    --canvas-alpha-edge: 0.4;
    --canvas-alpha-node: 0.75;
    --canvas-alpha-bright: 1.0;
    --canvas-alpha-grid: 0.08;
    --canvas-alpha-horizon: 0.14;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px var(--clr-accent-glow), 0 0 80px rgba(0, 174, 239, 0.15);

    --nav-height: 72px;
    --container-max: 1200px;
    --container-wide: 1300px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Light Theme ---- */
[data-theme="light"] {
    --clr-accent-hover: #0090cc;
    --clr-accent-glow: rgba(0, 174, 239, 0.25);
    --clr-accent-subtle: rgba(0, 174, 239, 0.1);

    --clr-bg: #f4f6f9;
    --clr-bg-alt: #eceff4;
    --clr-bg-card: #ffffff;
    --clr-bg-card-hover: #f8f9fc;
    --clr-surface: rgba(255, 255, 255, 0.8);

    --clr-text: #11161f;
    --clr-text-dim: #4a5468;
    --clr-text-muted: #7a8398;
    --clr-border: rgba(0, 0, 0, 0.07);
    --clr-border-hover: rgba(0, 0, 0, 0.14);

    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 40px rgba(0, 174, 239, 0.2), 0 0 80px rgba(0, 174, 239, 0.08);

    --canvas-alpha-edge: 0.3;
    --canvas-alpha-node: 0.6;
    --canvas-alpha-bright: 0.85;
    --canvas-alpha-grid: 0.06;
    --canvas-alpha-horizon: 0.1;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

::selection {
    background: var(--clr-accent);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

/* ---- Utility ---- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container--wide {
    max-width: var(--container-wide);
}

.page-content {
    position: relative;
    z-index: 1;
}

.page-content--inner {
    padding-top: var(--nav-height);
}

.section {
    padding: 120px 0;
    position: relative;
}

.section--dark {
    background: var(--clr-bg-alt);
}

.section--accent {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.08) 0%, rgba(0, 174, 239, 0.02) 100%);
}

[data-theme="light"] .section--accent {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.12) 0%, rgba(0, 174, 239, 0.04) 100%);
}

.section__header {
    text-align: center;
    margin-bottom: 72px;
}

.section__tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-accent);
    background: var(--clr-accent-subtle);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section__desc {
    font-size: 17px;
    color: var(--clr-text-dim);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quint);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--clr-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 174, 239, 0.35);
}

.btn--primary:hover {
    background: var(--clr-accent-hover);
    box-shadow: 0 6px 28px rgba(0, 174, 239, 0.5);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--clr-text);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--ghost:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-subtle);
}

.btn--outline {
    background: transparent;
    color: var(--clr-accent);
    border: 1px solid var(--clr-accent);
}

.btn--outline:hover {
    background: var(--clr-accent);
    color: #fff;
}

.btn--full {
    width: 100%;
}

.btn--sm {
    padding: 10px 22px;
    font-size: 13px;
    letter-spacing: 0.04em;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
    background: rgba(6, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
}

[data-theme="light"] .nav.scrolled {
    background: rgba(244, 246, 249, 0.85);
}

.nav__inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.nav__logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.nav__links {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--clr-text-dim);
    transition: color 0.2s;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    border-radius: 1px;
    transition: width 0.3s var(--ease-out-expo);
}

.nav__link:hover,
.nav__link.active {
    color: var(--clr-text);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

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

.nav__lang-item {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--clr-text-muted);
    transition: color 0.2s;
}

.nav__lang-item.active {
    color: var(--clr-accent);
}

.nav__lang-item:not(.active):hover {
    color: var(--clr-text-dim);
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 1px;
    transition: all 0.3s var(--ease-out-expo);
}

/* ---- Theme Toggle ---- */
.nav__theme {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-text-dim);
    padding: 6px;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav__theme:hover {
    color: var(--clr-accent);
    background: var(--clr-accent-subtle);
}

.nav__theme-sun,
.nav__theme-moon {
    transition: all 0.4s var(--ease-out-expo);
}

.nav__theme-sun { display: block; }
.nav__theme-moon { display: none; }

[data-theme="light"] .nav__theme-sun { display: none; }
[data-theme="light"] .nav__theme-moon { display: block; }

/* ---- Hero Canvas ---- */
.hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero__since {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero__title {
    margin-bottom: 28px;
}

.hero__title-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 88px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) forwards;
}

.hero__title-line:nth-child(1) { animation-delay: 0.3s; }
.hero__title-line:nth-child(2) { animation-delay: 0.45s; }
.hero__title-line:nth-child(3) { animation-delay: 0.6s; }

.hero__title-line--accent {
    color: var(--clr-accent);
    text-shadow: 0 0 80px rgba(0, 174, 239, 0.4);
}

[data-theme="light"] .hero__title-line--accent {
    text-shadow: 0 0 40px rgba(0, 174, 239, 0.2);
}

.hero__subtitle {
    font-size: 18px;
    color: var(--clr-text-dim);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.75s forwards;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 0.9s forwards;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 72px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 1.05s forwards;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--clr-accent);
    line-height: 1;
    margin-bottom: 6px;
}

.hero__stat-label {
    font-size: 13px;
    color: var(--clr-text-muted);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out-expo) 1.2s forwards;
}

.hero__scroll-text {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--clr-text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

.about__card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.4s var(--ease-out-expo);
}

.about__card:hover {
    background: var(--clr-bg-card-hover);
    border-color: var(--clr-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(var(--clr-accent-rgb), 0.08);
}

.about__card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-accent-subtle);
    color: var(--clr-accent);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.about__card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.about__card p {
    font-size: 15px;
    color: var(--clr-text-dim);
    line-height: 1.65;
}

/* ---- About Detail ---- */
.about-detail__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}

.about-detail__content p {
    font-size: 16px;
    color: var(--clr-text-dim);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-detail__content a {
    color: var(--clr-accent);
    transition: opacity 0.2s;
}

.about-detail__content a:hover {
    opacity: 0.8;
}

.about-detail__highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-detail__highlight {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.about-detail__highlight h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-detail__highlight p {
    font-size: 14px;
    color: var(--clr-text-dim);
    line-height: 1.6;
}

.about-detail__highlight a {
    color: var(--clr-accent);
    transition: opacity 0.2s;
}

.about-detail__highlight a:hover {
    opacity: 0.8;
}

.about-detail__highlight--cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-detail__highlight--cta .btn {
    align-self: flex-start;
    margin-top: 4px;
}

/* ---- Timeline (History page) ---- */
.timeline__intro {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 80px;
}

.timeline__intro-content p {
    font-size: 16px;
    color: var(--clr-text-dim);
    line-height: 1.8;
    margin-bottom: 16px;
}

.timeline__intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
}

.timeline__intro-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.timeline__track {
    position: relative;
    padding-left: 32px;
    border-left: 2px solid var(--clr-border);
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.timeline__era {
    position: relative;
}

.timeline__era-marker {
    position: absolute;
    left: calc(-32px - 10px);
    top: -4px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.timeline__era-marker::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--clr-accent);
    border: 3px solid var(--clr-bg);
    box-shadow: 0 0 0 2px var(--clr-accent);
    flex-shrink: 0;
}

.timeline__year {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-accent);
    white-space: nowrap;
}

.timeline__year--end {
    color: var(--clr-text-muted);
    font-size: 11px;
}

.timeline__year--current {
    color: var(--clr-accent);
    font-size: 14px;
    font-weight: 700;
}

.timeline__era-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-left: 24px;
    transition: border-color 0.3s;
}

.timeline__era-card:hover {
    border-color: var(--clr-border-hover);
}

.timeline__era-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.timeline__era-card p {
    font-size: 15px;
    color: var(--clr-text-dim);
    line-height: 1.75;
    margin-bottom: 12px;
}

.timeline__era-card p:last-child {
    margin-bottom: 0;
}

.timeline__cta {
    text-align: center;
    margin-top: 64px;
}

/* ---- Services ---- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--clr-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--clr-border);
}

.service__item {
    background: var(--clr-bg-card);
    padding: 40px 32px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.service__item:hover {
    background: var(--clr-bg-card-hover);
}

.service__num {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--clr-accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
}

.service__item h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service__item p {
    font-size: 14px;
    color: var(--clr-text-dim);
    line-height: 1.6;
}

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

.project__card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.project__card:hover {
    border-color: var(--clr-accent);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(var(--clr-accent-rgb), 0.1);
}

.project__image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project__image--1 { background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%); }
.project__image--2 { background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 100%); }
.project__image--3 { background: linear-gradient(135deg, #0f1923 0%, #1a2a3a 100%); }
.project__image--4 { background: linear-gradient(135deg, #0a1a1a 0%, #1a2a2a 100%); }
.project__image--5 { background: linear-gradient(135deg, #121926 0%, #1e2a3c 100%); }
.project__image--6 { background: linear-gradient(135deg, #0d1520 0%, #1a2535 100%); }

[data-theme="light"] .project__image--1 { background: linear-gradient(135deg, #ccd6e0 0%, #b8c5d6 100%); }
[data-theme="light"] .project__image--2 { background: linear-gradient(135deg, #ced8e4 0%, #c0cdda 100%); }
[data-theme="light"] .project__image--3 { background: linear-gradient(135deg, #c8d2de 0%, #bac7d5 100%); }
[data-theme="light"] .project__image--4 { background: linear-gradient(135deg, #d0d8e2 0%, #c2cfdb 100%); }
[data-theme="light"] .project__image--5 { background: linear-gradient(135deg, #ccd4df 0%, #bfcbd8 100%); }
[data-theme="light"] .project__image--6 { background: linear-gradient(135deg, #c6d0db 0%, #b9c5d2 100%); }

.project__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 50%);
}

.project__placeholder {
    color: rgba(0, 174, 239, 0.15);
    transition: all 0.5s var(--ease-out-expo);
}

.project__card:hover .project__placeholder {
    color: rgba(0, 174, 239, 0.4);
    transform: scale(1.1);
}

.project__info {
    padding: 24px;
}

.project__info h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project__info p {
    font-size: 14px;
    color: var(--clr-text-dim);
    line-height: 1.55;
    margin-bottom: 14px;
}

.project__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-accent);
    background: var(--clr-accent-subtle);
    padding: 4px 12px;
    border-radius: 100px;
}

.projects__cta {
    text-align: center;
    margin-top: 56px;
}

/* ---- Careers ---- */
.careers__box {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.careers__badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--clr-accent);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
    animation: badgePulse 2s ease-in-out infinite;
}

.careers__box h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.careers__box p {
    font-size: 17px;
    color: var(--clr-text-dim);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ---- News ---- */
.news__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.news__card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
}

.news__card:hover {
    border-color: var(--clr-border-hover);
    transform: translateY(-4px);
}

.news__date {
    font-size: 12px;
    font-weight: 600;
    color: var(--clr-accent);
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.news__card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news__card p {
    font-size: 14px;
    color: var(--clr-text-dim);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 16px;
}

.news__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-accent);
    transition: opacity 0.2s;
}

.news__link:hover {
    opacity: 0.8;
}

/* ---- Contact ---- */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.contact__desc {
    font-size: 17px;
    color: var(--clr-text-dim);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

.contact__detail {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--clr-text-dim);
}

.contact__detail svg {
    color: var(--clr-accent);
    flex-shrink: 0;
}

.contact__detail a {
    color: var(--clr-text);
    transition: color 0.2s;
}

.contact__detail a:hover {
    color: var(--clr-accent);
}

.contact__map iframe {
    width: 100%;
    height: 450px;
    filter: grayscale(40%);
}

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

.form__group input,
.form__group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    color: var(--clr-text);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
}

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

.form__group input:focus,
.form__group textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px var(--clr-accent-subtle);
}

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

/* ---- Footer ---- */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--clr-border);
}

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

.footer__logo-img {
    height: 52px;
    width: auto;
    display: block;
    margin-bottom: 12px;
}

.footer__brand p {
    font-size: 14px;
    color: var(--clr-text-dim);
    max-width: 280px;
    line-height: 1.6;
}

.footer__links h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--clr-text);
}

.footer__links a {
    display: block;
    font-size: 14px;
    color: var(--clr-text-dim);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--clr-accent);
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--clr-border);
    text-align: center;
}

.footer__bottom p {
    font-size: 13px;
    color: var(--clr-text-muted);
}

/* ---- Team ---- */
.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.team__card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.team__card:hover {
    background: var(--clr-bg-card-hover);
    border-color: var(--clr-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(var(--clr-accent-rgb), 0.08);
}

.team__photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    background: var(--clr-bg-alt);
}

.team__info {
    padding: 20px 20px 24px;
}

.team__name {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.team__role {
    font-size: 13px;
    color: var(--clr-accent);
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
}

.team__email {
    font-size: 12px;
    color: var(--clr-text-muted);
    word-break: break-all;
    transition: color 0.2s;
}

.team__card:hover .team__email {
    color: var(--clr-text-dim);
}

/* ---- Reveal animation ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Keyframes ---- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.5); }
    50% { box-shadow: 0 0 0 12px rgba(0, 174, 239, 0); }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .about__grid { grid-template-columns: 1fr; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .projects__grid { grid-template-columns: repeat(2, 1fr); }
    .news__grid { grid-template-columns: repeat(2, 1fr); }
    .contact__grid { grid-template-columns: 1fr; gap: 48px; }
    .hero__stats { gap: 40px; }
    .team__grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .about-detail__grid { grid-template-columns: 1fr; gap: 40px; }
    .timeline__intro { grid-template-columns: 1fr; gap: 32px; }
    .timeline__intro-image { max-width: 300px; }
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__burger { display: flex; }

    .section { padding: 80px 0; }
    .section__header { margin-bottom: 48px; }

    .hero { padding: 100px 16px 60px; }
    .hero__stats { gap: 28px; flex-wrap: wrap; }
    .hero__stat-number { font-size: 32px; }

    .services__grid { grid-template-columns: 1fr; }
    .projects__grid { grid-template-columns: 1fr; }
    .news__grid { grid-template-columns: 1fr; }
    .team__grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .timeline__track { padding-left: 24px; }
    .timeline__era-marker { left: calc(-24px - 8px); }
    .timeline__era-marker::before { width: 16px; height: 16px; }
    .timeline__era-card { padding: 24px; margin-left: 16px; }

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

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__scroll { display: none; }
}
