/* ============================================
   Bursa Sosyal Medya — Minimal Design System
   ============================================ */

:root {
    --color-bg: #fafafa;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-accent: #1e1b4b;
    --color-accent-hover: #312e81;
    --color-highlight: #8b5cf6;
    --color-highlight-soft: rgba(139, 92, 246, 0.1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --transition: 0.2s ease;
    --container: 1140px;
    --header-h: 76px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---- Typography ---- */
h1, h2, h3, h4 {
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}
.btn-outline:hover {
    border-color: var(--color-text);
    background: var(--color-surface);
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: var(--header-h);
    overflow: visible;
}

.site-header {
    position: relative;
    height: var(--header-h);
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid var(--color-border);
    overflow: visible;
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    display: block;
    width: auto;
}

.site-header .logo-img {
    height: 44px;
    max-width: min(280px, 65vw);
}

@media (min-width: 1025px) {
    .site-header .logo-img {
        height: 52px;
        max-width: 300px;
    }
}

.logo-img--footer {
    height: 36px;
    max-width: min(200px, 52vw);
    filter: brightness(0) invert(1);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

@media (min-width: 1025px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: min(100%, var(--container));
        height: var(--header-h);
        padding: 0 24px;
        justify-content: flex-end;
        z-index: 1101;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        background: transparent;
    }

    .main-nav ul,
    .main-nav .header-cta {
        pointer-events: auto;
    }
}

.main-nav ul {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-text);
}

.main-nav .header-cta {
    color: #fff;
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.main-nav .header-cta:hover {
    color: #fff;
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1102;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(30, 27, 75, 0.94) 0%, rgba(30, 27, 75, 0.82) 42%, rgba(49, 46, 129, 0.55) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: end;
    padding: 80px 24px 64px;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
}

.hero-content {
    max-width: 640px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #ddd6fe;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.35);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin-bottom: 20px;
    color: #fff;
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: var(--color-highlight);
    border-color: var(--color-highlight);
}
.hero-actions .btn-primary:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.hero-stats-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(12px);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 0;
    border-top: none;
}

.hero-stats .stat strong {
    color: #fff;
    font-size: 1.75rem;
}

.hero-stats .stat span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.stat span {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ---- Sections ---- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-highlight);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--color-text-muted);
    margin-top: 12px;
}

.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }

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

.services-grid-full {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    overflow: hidden;
}

.card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-border);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .card-image img,
.region-card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.service-card:hover {
    border-color: var(--color-text);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-card h3,
.region-card h3 {
    margin-bottom: 10px;
}

.service-card p,
.region-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    flex: 1;
    line-height: 1.6;
}

.card-link {
    margin-top: 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-highlight);
}

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

.web-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.web-feature {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-align: center;
}

.web-feature strong {
    font-size: 0.95rem;
    color: var(--color-accent);
}

.web-feature span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.feature-card {
    padding: 28px;
}

.feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-highlight-soft);
    color: var(--color-highlight);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

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

.regions-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.region-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    overflow: hidden;
}

.region-card:hover {
    border-color: var(--color-text);
    box-shadow: var(--shadow);
}

.region-image {
    aspect-ratio: 16 / 9;
}

.region-card .card-body {
    padding: 20px;
}

.region-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.region-card p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.region-card-lg .card-body {
    padding: 24px;
}

.region-card-lg h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

/* ---- Process Steps ---- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-border);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ---- FAQ ---- */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-list-full {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
    padding: 20px 0;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-muted);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
    padding-bottom: 20px;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ---- CTA ---- */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--color-accent);
    color: #fff;
}

.cta-section h2 {
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--color-accent);
    border-color: #fff;
}
.cta-section .btn-primary:hover {
    background: #f1f5f9;
}

.cta-section .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.cta-section .btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ---- Page Hero ---- */
.page-hero {
    padding: calc(var(--header-h) + 48px) 0 48px;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.page-hero-image {
    position: relative;
    padding: 0;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    border-bottom: none;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img,
.page-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.4) 50%, rgba(15,23,42,0.2) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: calc(var(--header-h) + 48px) 24px 48px;
    color: #fff;
}

.page-hero-image .breadcrumbs,
.page-hero-image .breadcrumbs a {
    color: rgba(255,255,255,0.7);
}

.page-hero-image .breadcrumbs a:hover {
    color: #fff;
}

.page-hero-image .page-hero-desc {
    color: rgba(255,255,255,0.85);
}

.page-hero h1 {
    margin-top: 16px;
    max-width: 700px;
}

.page-hero-desc {
    margin-top: 16px;
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.7;
}

/* ---- Gallery ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin: 0;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.04);
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ---- About Visual ---- */
.about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-visual-reverse .about-image {
    order: 2;
}

.about-visual-reverse .about-text {
    order: 1;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    margin-bottom: 16px;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.content-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    aspect-ratio: 16 / 9;
}

.content-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Page Hero (plain) ---- */

/* ---- Breadcrumbs ---- */
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--color-border);
}

.breadcrumbs a:hover {
    color: var(--color-text);
}

/* ---- Content Layout ---- */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.prose h2 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.prose h3 {
    margin-top: 24px;
    margin-bottom: 8px;
}

.prose p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.prose ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
}

.prose li {
    color: var(--color-text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
}

.prose a {
    color: var(--color-highlight);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--color-highlight-soft);
    border-radius: var(--radius-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
}

.feature-item .check {
    color: var(--color-highlight);
    font-weight: 700;
}

/* ---- Sidebar ---- */
.sidebar-card {
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.sidebar-card h3 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.sidebar-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.sidebar-links li {
    margin-bottom: 8px;
}

.sidebar-links a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.sidebar-links a:hover {
    color: var(--color-text);
}

.cta-card {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.cta-card h3 { color: #fff; }
.cta-card p { color: rgba(255,255,255,0.7); }

.cta-card .btn-primary {
    background: #fff;
    color: var(--color-accent);
    border-color: #fff;
    margin-bottom: 8px;
}

.cta-card .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

/* ---- Contact ---- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h2 {
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.contact-method:hover {
    border-color: var(--color-text);
}

.contact-icon {
    font-size: 1.25rem;
}

.contact-method strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
}

.contact-method span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.contact-hours h3 {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.contact-hours p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.contact-form-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.9375rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg);
    transition: border-color var(--transition);
    color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-error {
    padding: 12px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success h3 {
    margin-bottom: 8px;
    color: #16a34a;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ---- Quote Modal ---- */
.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.quote-modal[hidden] {
    display: none;
}

.quote-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.quote-modal-dialog {
    position: relative;
    width: min(100%, 520px);
    max-height: min(90vh, 820px);
    overflow-y: auto;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

.quote-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-bg);
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: background var(--transition), color var(--transition);
}

.quote-modal-close:hover {
    background: var(--color-border);
    color: var(--color-text);
}

.quote-modal-header {
    margin-bottom: 24px;
    padding-right: 40px;
}

.quote-modal-header h2 {
    font-size: 1.375rem;
    margin-bottom: 6px;
}

.quote-modal-header p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.quote-modal-success {
    text-align: center;
    padding: 32px 16px;
}

.quote-modal-success h3 {
    color: #16a34a;
    margin-bottom: 8px;
}

.quote-modal-success p {
    margin-bottom: 24px;
    color: var(--color-text-muted);
}

body.modal-open {
    overflow: hidden;
}

/* ---- References ---- */
.references-section {
    background: #232628;
    padding: 72px 0 80px;
}

.references-section .container {
    max-width: 1280px;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 32px;
    align-items: center;
}

.reference-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 16px 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: inherit;
}

a.reference-card {
    cursor: pointer;
}

.reference-logo-img {
    display: block;
    width: 100%;
    max-width: 240px;
    height: 88px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%) brightness(0) invert(0.72);
    opacity: 0.55;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.reference-card:hover .reference-logo-img,
a.reference-card:hover .reference-logo-img {
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 1;
    transform: scale(1.04);
}

.reference-logo-fallback {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
    transition: color 0.35s ease;
}

.reference-card:hover .reference-logo-fallback {
    color: rgba(255, 255, 255, 0.9);
}

.references-empty {
    text-align: center;
    padding: 64px 24px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
}

.references-empty p {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 24px;
}

.prose.text-center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

/* ---- Stats Row ---- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.stat-card {
    text-align: center;
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.stat-card span {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--color-accent);
    color: rgba(255,255,255,0.8);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links h3,
.footer-contact h3 {
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.875rem;
    transition: color var(--transition);
}

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

.footer-contact li {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.footer-contact a:hover { color: #fff; }

.footer-contact .btn {
    margin-top: 16px;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.footer-contact .btn:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a:hover { color: #fff; }

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 48px;
    }
    .hero-stats-card { max-width: 480px; }
    .services-grid,
    .services-grid-full,
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .web-features { grid-template-columns: repeat(2, 1fr); }
    .regions-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .references-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }

    .nav-toggle { display: flex; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1098;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-backdrop:not([hidden]) {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav {
        display: flex;
        position: fixed;
        inset: var(--header-h) 0 0 0;
        z-index: 1099;
        width: 100%;
        transform: none;
        background: var(--color-surface);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 24px;
        gap: 24px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav li {
        border-bottom: 1px solid var(--color-border);
    }

    .main-nav a {
        display: block;
        padding: 16px 0;
        font-size: 1rem;
    }

    .main-nav .header-cta {
        width: 100%;
        margin-top: auto;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .services-grid-full,
    .features-grid,
    .web-features,
    .regions-grid,
    .regions-grid-full,
    .process-steps { grid-template-columns: 1fr; }

    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .contact-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .references-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
    .reference-logo-img { height: 72px; max-width: 200px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .about-visual,
    .about-visual-reverse { grid-template-columns: 1fr; }
    .about-visual-reverse .about-image,
    .about-visual-reverse .about-text { order: unset; }

    .section { padding: 56px 0; }
    .cta-section { padding: 56px 0; }
}

@media (max-width: 480px) {
    .hero-inner { padding: 64px 24px 48px; }
    .hero h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ---- Print ---- */
@media print {
    .site-header-wrap, .whatsapp-float, .cta-section { display: none; }
    body { background: #fff; }
}
