/* ============================================
   ERKAM BİLİŞİM — Kurumsal Site
   Renkler: #1b3a99 | #000000
   Display: Cormorant Garamond (klasik Garamond geleneği)
   Body: Source Sans 3
   ============================================ */

:root {
    --brand: #1b3a99;
    --brand-deep: #142c75;
    --brand-soft: #e8eefc;
    --brand-mist: #f3f6fd;
    --ink: #000000;
    --ink-soft: #1a1a1a;
    --text: #2a2f3a;
    --text-muted: #5c6573;
    --line: #d8dee8;
    --paper: #ffffff;
    --paper-soft: #f7f8fb;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(27, 58, 153, 0.10);
    --shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.12);
    --radius: 14px;
    --radius-lg: 22px;
    --header-h: 78px;
    --hero-h: 500px;
    --overlap: 110px;
    --container: 1160px;
    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(27, 58, 153, 0.08), transparent 60%),
        radial-gradient(900px 420px at 100% 0%, rgba(27, 58, 153, 0.05), transparent 55%),
        linear-gradient(180deg, #fbfcfe 0%, #f5f7fb 100%);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font: inherit;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

/* ---- Typography ---- */
h1, h2, h3, .brand-tile h3 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: 1.45rem; }

h1 em, h2 em {
    font-style: italic;
    color: var(--brand);
    font-weight: 600;
}

.section-label, .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}

.eyebrow .sq {
    width: 7px;
    height: 7px;
    background: var(--brand);
    display: inline-block;
}

.section-head {
    max-width: 640px;
    margin-bottom: 42px;
}

.section-head p,
.page-hero p,
.hero-copy p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
    cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(27, 58, 153, 0.25);
}

.btn-primary:hover { background: var(--brand-deep); }

.btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
    background: #fff;
    color: var(--ink);
}

.btn-outline-dark {
    border-color: rgba(0, 0, 0, 0.18);
    color: var(--ink);
    background: transparent;
}

.btn-outline-dark:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-primary-sm, .btn-ghost-sm {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.88rem;
    border-radius: 8px;
}

.btn-primary-sm {
    background: var(--brand);
    color: #fff;
}

.btn-ghost-sm {
    color: var(--text-muted);
    border: 1px solid var(--line);
    background: #fff;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--brand);
    font-weight: 700;
}

.text-link svg { width: 18px; height: 18px; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(216, 222, 232, 0.9);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand img {
    height: 48px;
    width: auto;
    border-radius: 6px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    position: relative;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--brand);
    background: var(--brand-mist);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: .25s var(--ease);
}

/* ---- Hero + Slider ---- */
.hero-stage {
    position: relative;
    padding-bottom: calc(var(--overlap) + 40px);
}

.hero-slider {
    position: relative;
    height: var(--hero-h);
    overflow: hidden;
    background: var(--ink);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s var(--ease), visibility .7s var(--ease);
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
}

.hero-slide-bg--brand {
    background:
        radial-gradient(circle at 80% 20%, rgba(27, 58, 153, 0.55), transparent 35%),
        linear-gradient(135deg, #050505 0%, #0d1a3d 48%, #1b3a99 100%);
}

.hero-slide-bg--bulut {
    background:
        radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.12), transparent 30%),
        linear-gradient(135deg, #0a1638 0%, #1b3a99 55%, #274fc0 100%);
}

.hero-slide-bg--pazar {
    background:
        radial-gradient(circle at 20% 80%, rgba(27, 58, 153, 0.45), transparent 40%),
        linear-gradient(120deg, #000 0%, #121212 40%, #1b3a99 100%);
}

.hero-slide-bg--gundem {
    background:
        linear-gradient(160deg, #101010 0%, #1a274f 50%, #1b3a99 100%);
}

.hero-slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
    opacity: .55;
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 30px;
    /* Kart örtüşme alanı kadar alt boşluk: yazı/butonlar kartların altında kalmaz */
    padding: 34px 0 calc(var(--overlap) + 28px);
}

.hero-copy {
    color: #fff;
    max-width: 620px;
    animation: slideIn .8s var(--ease) both;
}

.hero-copy h1 {
    font-size: clamp(2.1rem, 3.8vw, 3.2rem);
    margin-bottom: 10px;
}

.hero-copy h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    margin-bottom: 10px;
}

.hero-copy p {
    margin-bottom: 16px;
    font-size: 1rem;
}

.hero-slide.is-active .hero-copy {
    animation: slideIn .8s var(--ease) both;
}

.hero-copy .eyebrow { color: #c9d5f7; }
.hero-copy .eyebrow .sq { background: #8ea6e8; }

.hero-copy h1,
.hero-copy h2 {
    color: #fff;
}

.hero-copy h1 em,
.hero-copy h2 em {
    color: #b8c8f5;
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 52ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-orb {
    width: min(100%, 300px);
    aspect-ratio: 1.2;
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
    display: grid;
    place-items: center;
    padding: 24px;
    backdrop-filter: blur(6px);
    transform: translateY(0);
    animation: floatY 5.5s ease-in-out infinite;
    margin-top: 8px;
}

.hero-orb--light {
    background: rgba(255, 255, 255, 0.95);
}

.hero-orb img {
    width: min(100%, 260px);
    max-height: 90px;
    object-fit: contain;
}

.hero-controls {
    position: absolute;
    z-index: 3;
    left: 50%;
    /* Kartların üstünde kalsın; kart yerleşimi değişmez */
    bottom: calc(var(--overlap) - 18px);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-arrow {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .25s var(--ease);
}

.hero-arrow:hover { background: var(--brand); }
.hero-arrow svg { width: 18px; height: 18px; }

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: .25s var(--ease);
}

.hero-dot.is-active {
    background: #fff;
    width: 22px;
    border-radius: 999px;
}

/* ---- Overlapping brand tiles ---- */
.brand-overlap {
    position: relative;
    z-index: 5;
    margin-top: calc(var(--overlap) * -1);
}

.brand-overlap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.brand-tile {
    background: var(--paper);
    border: 1px solid rgba(216, 222, 232, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.brand-tile:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 58, 153, 0.28);
}

.brand-tile-logo {
    height: 104px;
    display: grid;
    place-items: center;
    padding: 16px 20px;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-tile-logo img {
    max-height: 58px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.brand-tile-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.brand-tile-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 8px;
}

.brand-tile h3 {
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.brand-tile p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex: 1;
}

.brand-tile-link {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-weight: 700;
    font-size: 0.92rem;
}

.brand-tile-link svg { width: 16px; height: 16px; }

/* ---- Sections ---- */
.section {
    padding: 80px 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(27, 58, 153, 0.04), rgba(255, 255, 255, 0));
}

.section-intro {
    padding-top: 20px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-copy p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 1.05rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.stat-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--brand);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.promise-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.promise-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.promise-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand);
    margin-bottom: 16px;
}

.promise-icon svg { width: 24px; height: 24px; }

.promise-item h3 { margin-bottom: 8px; }
.promise-item p { color: var(--text-muted); }

.section-cta { padding-top: 20px; }

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 40px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(120deg, #000 0%, #121c3a 45%, #1b3a99 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.cta-panel h2 { color: #fff; margin-bottom: 8px; }
.cta-panel p { color: rgba(255,255,255,.8); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Page hero ---- */
.page-hero {
    padding: 64px 0 48px;
    background:
        linear-gradient(180deg, rgba(27, 58, 153, 0.08), transparent 70%),
        linear-gradient(90deg, rgba(0,0,0,0.02), transparent);
    border-bottom: 1px solid var(--line);
}

.page-hero--compact { padding: 48px 0 32px; }

.page-hero-inner {
    max-width: 760px;
}

.page-hero h1 { margin-bottom: 12px; }

/* ---- Kurumsal ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 36px;
    align-items: start;
}

.about-copy p {
    color: var(--text-muted);
    margin-top: 14px;
}

.aside-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.aside-card h3 { margin-bottom: 18px; }

.fact-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}

.fact-list li:last-child { border-bottom: 0; }
.fact-list span { color: var(--text-muted); }
.fact-list strong { color: var(--ink); text-align: right; }

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.value-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 20px;
    min-height: 210px;
}

.value-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--brand);
    margin-bottom: 12px;
}

.value-card p { color: var(--text-muted); margin-top: 8px; }

/* ---- Hizmetler ---- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card--wide {
    grid-column: 1 / -1;
}

.service-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 10px;
}

.service-card h2 {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.service-card > p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-card .check-list {
    margin-bottom: 0;
}

.service-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 8px;
}

.service-split h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 12px;
}

.approach-panel {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.approach-panel p {
    color: var(--text-muted);
    max-width: 62ch;
    margin-top: 10px;
}

/* ---- Markalar ---- */
.brand-detail-list {
    display: grid;
    gap: 28px;
}

.brand-detail {
    display: grid;
    grid-template-columns: 0.85fr 1.35fr;
    gap: 28px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.brand-detail--alt {
    background: linear-gradient(180deg, #fff, var(--brand-mist));
}

.brand-detail-media {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.brand-detail-logo {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    min-height: 160px;
    display: grid;
    place-items: center;
    padding: 24px;
}

.brand-detail-logo img {
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

.brand-pill {
    align-self: start;
    background: var(--brand);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 999px;
}

.brand-detail-copy h2 {
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-detail .lead {
    color: var(--text-muted);
    font-size: 1.08rem;
    margin: 10px 0 18px;
}

.check-list {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--brand);
    clip-path: polygon(14% 44%, 0 65%, 40% 100%, 100% 18%, 82% 0, 38% 62%);
}

.eco-map .section-head { margin-inline: auto; text-align: center; }

.eco-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.eco-node {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 22px 26px;
    min-width: 200px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    color: rgba(255, 255, 255, 0.75);
}

.eco-node img {
    height: 42px;
    width: auto;
    margin: 0 auto 12px;
    object-fit: contain;
}

.eco-node span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.eco-line {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 32px;
    align-items: start;
}

.contact-info h2,
.contact-form-wrap h2 {
    margin-bottom: 22px;
}

.contact-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.contact-item:last-child { border-bottom: 0; }

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-item h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.contact-item a { color: var(--brand); font-weight: 600; }
.contact-item p { color: var(--text-muted); }

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 6px;
}

.contact-form label span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
    color: var(--ink);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(27, 58, 153, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: 600;
}

.alert-success {
    background: #eaf7ef;
    color: #146c36;
    border: 1px solid #b9e4c7;
}

.alert-error {
    background: #fdeeee;
    color: #9b1c1c;
    border: 1px solid #f2c2c2;
}

.map-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.map-card iframe {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

.legal-content {
    max-width: 760px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 22px 0 10px;
}

.legal-content p { color: var(--text-muted); }
.legal-content a { color: var(--brand); font-weight: 600; }

/* ---- FAQ (SEO / GEO) ---- */
.faq-list {
    display: grid;
    gap: 12px;
    max-width: 860px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 20px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    padding: 18px 0;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--brand);
    font-weight: 700;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
    color: var(--text-muted);
    padding-bottom: 18px;
}

/* ---- Footer ---- */
.site-footer {
    background: #000;
    color: rgba(255, 255, 255, 0.78);
    padding: 64px 0 28px;
    margin-top: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 28px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    height: 52px;
    width: auto;
    border-radius: 6px;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 36ch;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.footer-col ul {
    display: grid;
    gap: 8px;
}

.footer-col a:hover { color: #9eb4f0; }

.footer-seo {
    padding: 22px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 18px;
}

.footer-seo p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 80ch;
}

.footer-seo a {
    color: #9eb4f0;
    font-weight: 600;
}

.footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ---- Reveal motion ---- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes floatY {
    0%, 100% { transform: translateY(8px); }
    50% { transform: translateY(-6px); }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    :root {
        --hero-h: 460px;
        --overlap: 90px;
    }

    .hero-slide-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .value-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .brand-detail { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    :root {
        --header-h: 70px;
        --hero-h: 430px;
        --overlap: 70px;
    }

    .btn-ghost-sm { display: none; }
    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 4px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: .3s var(--ease);
        box-shadow: var(--shadow-md);
    }

    .main-nav.is-open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav a { padding: 12px 14px; }

    .brand-overlap-grid,
    .promise-grid,
    .intro-grid,
    .about-grid,
    .contact-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card--wide { grid-column: auto; }
    .service-split { grid-template-columns: 1fr; }

    .cta-panel,
    .approach-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row { grid-template-columns: 1fr; }
    .eco-line { width: 2px; height: 28px; }
    .eco-flow { flex-direction: column; }
}

@media (max-width: 560px) {
    :root {
        --hero-h: 460px;
        --overlap: 40px;
    }

    .container { width: min(100% - 28px, var(--container)); }
    .brand img { height: 40px; }
    .header-actions .btn-primary-sm { display: none; }
    .value-grid, .intro-stats { grid-template-columns: 1fr; }
    .hero-controls { bottom: calc(var(--overlap) - 8px); }
    .section { padding: 56px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .brand-tile { min-height: 0; }
    .hero-copy p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
