/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #1a56db;
    --primary-dark: #1340a0;
    --primary-light: #e8f0fe;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark2: #1e293b;
    --gray: #64748b;
    --gray-light: #f1f5f9;
    --white: #ffffff;
    --text: #334155;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { color: var(--dark); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--gray); line-height: 1.75; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header .label { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 16px; }
.section-header p { margin-top: 12px; font-size: 1.1rem; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition); text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,86,219,0.3); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--primary-light); }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: #d97706; transform: translateY(-2px); }
.btn-danger { background: #ef4444; color: white; }
.btn-danger:hover { background: #dc2626; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); box-shadow: 0 2px 24px rgba(0,0,0,0.08); }
.navbar:not(.scrolled) { background: transparent; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 44px; height: 44px; background: var(--primary); color: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; letter-spacing: -1px; flex-shrink: 0; }
.logo-text span { display: block; font-weight: 700; font-size: 0.95rem; color: var(--dark); line-height: 1.2; }
.logo-text small { font-size: 0.7rem; color: var(--gray); font-weight: 400; }
.navbar:not(.scrolled) .logo-text span,
.navbar:not(.scrolled) .nav-menu a:not(.btn) { color: white; }
.navbar:not(.scrolled) .logo-text small { color: rgba(255,255,255,0.7); }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 0.9rem; padding: 8px 14px; border-radius: 6px; transition: var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: var(--primary-light); }
.nav-menu a.active { font-weight: 600; }
.nav-close-row { display: none; }
/* Mobil menü overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.nav-cta a { background: var(--primary) !important; color: white !important; padding: 10px 20px !important; border-radius: 8px !important; }
.nav-cta a:hover { background: var(--primary-dark) !important; }

.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 40px; height: 40px; cursor: pointer; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 0; gap: 0; transition: var(--transition); }
.navbar.scrolled .hamburger { background: var(--primary-light); border-color: var(--primary-light); }
.hamburger span { display: block; width: 18px; height: 2px; background: white; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease, margin 0.3s ease; margin: 2.5px 0; }
.navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { min-height: 100vh; background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, #1a3a6e 100%); position: relative; display: flex; align-items: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 50px 50px; }
.hero-content { position: relative; z-index: 1; color: white; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 8px 16px; border-radius: 100px; font-size: 0.8rem; color: rgba(255,255,255,0.8); margin-bottom: 24px; backdrop-filter: blur(8px); }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: #4ade80; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { color: rgba(255,255,255,0.75); font-size: 1.15rem; margin-bottom: 40px; max-width: 560px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2.5rem; font-weight: 800; color: white; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; }
.hero-stat .num .unit { font-size: 1.5rem; }
.hero-stat p { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin: 0; }
.hero-badge-cnc { position: absolute; right: 60px; bottom: 80px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(16px); padding: 24px 32px; border-radius: 16px; color: white; text-align: center; }
.hero-badge-cnc p { color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; margin: 0 0 4px; }
.hero-badge-cnc strong { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 2px; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: var(--transition); transform-origin: left; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 60px; height: 60px; background: var(--primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin-bottom: 20px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.92rem; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--dark); color: white; }
.stats-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 40px 32px; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: var(--accent); line-height: 1; display: block; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 6px; }

/* ===== CTA SECTION ===== */
.cta-section { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; text-align: center; }
.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== PAGE HEADER ===== */
.page-header { background: linear-gradient(135deg, var(--dark), var(--dark2)); color: white; padding: 140px 0 80px; }
.page-header .breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 16px; }
.page-header .breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.page-header .breadcrumb a:hover { color: white; }
.page-header .breadcrumb span { color: white; }
.page-header h1 { color: white; }
.page-header p { color: rgba(255,255,255,0.7); margin-top: 12px; font-size: 1.1rem; }

/* ===== GALLERY ===== */
.gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; justify-content: center; }
.filter-btn { padding: 8px 20px; border-radius: 100px; border: 2px solid var(--border); background: transparent; color: var(--gray); cursor: pointer; font-size: 0.875rem; font-weight: 500; transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: white; }
.gallery-grid { columns: 3; gap: 16px; }
.gallery-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(15,23,42,0.7); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); color: white; text-align: center; padding: 20px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: white; margin-bottom: 6px; }
.gallery-overlay span { font-size: 0.8rem; background: var(--primary); padding: 3px 10px; border-radius: 100px; }
.gallery-placeholder { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gray); }
.gallery-placeholder .icon { font-size: 2.5rem; margin-bottom: 8px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; background: var(--gray-light); border-radius: var(--radius); padding: 20px; }
.contact-card-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-card h4 { font-size: 0.85rem; color: var(--gray); font-weight: 500; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: var(--dark); font-weight: 500; text-decoration: none; }
.contact-card a:hover { color: var(--primary); }
.map-placeholder { background: var(--gray-light); border-radius: var(--radius); height: 240px; display: flex; align-items: center; justify-content: center; margin-top: 16px; color: var(--gray); text-align: center; overflow: hidden; }
.map-placeholder iframe { width: 100%; height: 100%; border: none; border-radius: var(--radius); }

/* ===== FORM ===== */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group label .req { color: #ef4444; }
.form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.95rem; color: var(--dark); transition: var(--transition); font-family: inherit; background: var(--white); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-control.error { border-color: #ef4444; }
textarea.form-control { resize: vertical; min-height: 140px; }
.alert { padding: 16px 20px; border-radius: 8px; margin-bottom: 20px; font-weight: 500; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img { background: linear-gradient(135deg, var(--primary-light), #dbeafe); border-radius: 20px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 5rem; position: relative; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.about-img .img-badge { position: absolute; bottom: 24px; left: 24px; background: white; border-radius: 12px; padding: 14px 20px; box-shadow: var(--shadow); }
.about-img .img-badge strong { display: block; font-size: 1.5rem; color: var(--primary); }
.about-img .img-badge span { font-size: 0.8rem; color: var(--gray); }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.value-card { background: var(--gray-light); border-radius: 10px; padding: 20px; }
.value-card h4 { font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.value-card p { font-size: 0.875rem; margin: 0; }
.certs { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.cert-badge { background: var(--primary-light); color: var(--primary); padding: 6px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }

/* ===== QUOTE FORM ===== */
.quote-section { background: var(--gray-light); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.quote-info h3 { margin-bottom: 16px; }
.quote-features { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.quote-feature { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text); }
.quote-feature::before { content: '✓'; width: 24px; height: 24px; background: #dcfce7; color: #16a34a; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.75rem; flex-shrink: 0; }

/* ===== ADMIN ===== */
.admin-body { background: #f8fafc; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--dark); min-height: 100vh; position: fixed; left: 0; top: 0; bottom: 0; overflow-y: auto; z-index: 100; }
.admin-sidebar-header { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-sidebar-header .logo-text span { color: white; }
.admin-sidebar-header .logo-text small { color: rgba(255,255,255,0.5); }
.admin-sidebar-header small { display: block; color: rgba(255,255,255,0.4); font-size: 0.72rem; margin-top: 8px; }
.admin-nav { padding: 16px 12px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.65); text-decoration: none; padding: 10px 14px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; margin-bottom: 2px; transition: var(--transition); }
.admin-nav a:hover, .admin-nav a.active { color: white; background: rgba(255,255,255,0.1); }
.admin-nav a.active { background: var(--primary); color: white; }
.admin-nav .nav-label { color: rgba(255,255,255,0.3); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 16px 14px 6px; font-weight: 600; }
.admin-main { margin-left: 260px; padding: 32px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.admin-topbar h1 { font-size: 1.5rem; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.admin-card { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px; }
.admin-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.admin-card-icon.blue { background: var(--primary-light); }
.admin-card-icon.green { background: #dcfce7; }
.admin-card-icon.amber { background: #fef3c7; }
.admin-card-icon.red { background: #fee2e2; }
.admin-card h3 { font-size: 1.75rem; margin: 0; }
.admin-card p { font-size: 0.8rem; color: var(--gray); margin: 0; }
.panel { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 24px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.panel-header h2 { font-size: 1.1rem; margin: 0; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.table th { font-weight: 600; color: var(--gray); background: var(--gray-light); }
.table tr:hover td { background: #f8fafc; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.badge-new { background: #dbeafe; color: #1d4ed8; }
.badge-read { background: #f1f5f9; color: var(--gray); }
.login-wrapper { min-height: 100vh; background: linear-gradient(135deg, var(--dark), var(--dark2)); display: flex; align-items: center; justify-content: center; }
.login-card { background: white; border-radius: 20px; padding: 48px 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.login-card .logo { justify-content: center; margin-bottom: 32px; }
.login-card h2 { text-align: center; margin-bottom: 8px; }
.login-card .subtitle { text-align: center; color: var(--gray); font-size: 0.9rem; margin-bottom: 32px; }

/* ===== LIGHTBOX ===== */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,0.1); border: none; color: white; width: 44px; height: 44px; border-radius: 50%; font-size: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ===== WHATSAPP ===== */
.whatsapp-btn { position: fixed; bottom: 28px; right: 28px; z-index: 999; background: #25D366; color: white; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition); }
.whatsapp-btn:hover { transform: scale(1.1); }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray) !important;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    transition: var(--transition);
    background: transparent !important;
}
.lang-btn:hover {
    color: var(--primary) !important;
    background: var(--primary-light) !important;
}
.lang-active {
    color: var(--primary) !important;
    background: var(--primary-light) !important;
}
.lang-sep {
    color: var(--border);
    font-size: 0.7rem;
    line-height: 1;
}
.lang-flag { font-size: 0.9rem; line-height: 1; }
.navbar:not(.scrolled) .lang-btn { color: rgba(255,255,255,0.7) !important; }
.navbar:not(.scrolled) .lang-btn:hover,
.navbar:not(.scrolled) .lang-active { color: white !important; background: rgba(255,255,255,0.15) !important; }
.navbar:not(.scrolled) .lang-sep { color: rgba(255,255,255,0.3); }

/* ===== AI QUOTE BUTTON ===== */
.btn-ai {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    position: relative;
    overflow: hidden;
}
.btn-ai::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6d28d9, #4338ca);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-ai:hover::before { opacity: 1; }
.btn-ai:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,0.4); color: white; }
.btn-ai span, .btn-ai > * { position: relative; z-index: 1; }

/* ===== FOOTER ===== */
.site-footer {
    background: #0a1020;
    color: rgba(255,255,255,.55);
    font-size: .875rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.4fr;
    gap: 48px;
    padding: 56px 0 40px;
    align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo-link { display: inline-block; text-decoration: none; }
.footer-logo-text strong { display: block; color: white; font-size: 1rem; font-weight: 700; }
.footer-logo-text span  { display: block; color: rgba(255,255,255,.35); font-size: .72rem; margin-top: 2px; }
.footer-tagline { color: rgba(255,255,255,.35); font-size: .8rem; margin: 0; line-height: 1.6; }
.footer-contacts { display: flex; flex-direction: column; gap: 6px; }
.footer-contacts a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-contacts a:hover { color: white; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.footer-nav a { color: rgba(255,255,255,.45); text-decoration: none; font-size: .85rem; transition: color .2s, padding-left .2s; }
.footer-nav a:hover { color: white; padding-left: 4px; }
.footer-extra { padding-top: 4px; }
.footer-extra p  { color: rgba(255,255,255,.45); font-size: .82rem; line-height: 1.7; margin: 0 0 8px; }
.footer-extra a  { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-extra a:hover { color: white; }
.footer-extra h4,.footer-extra h3 { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0 0 10px; font-weight: 600; }
.footer-extra strong { color: rgba(255,255,255,.65); }
.footer-extra ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-extra ul li::before { content: "→ "; color: rgba(255,255,255,.25); }
.footer-extra ul li a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-extra ul li a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; }
.footer-bottom p { color: rgba(255,255,255,.25); font-size: .78rem; margin: 0; text-align: center; }



/* ===== HİZMETLER SAYFASI ===== */
.svc-row {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 72px;
    align-items: center;
    margin-bottom: 100px;
}
/* görsel solda olan satırlar */
.svc-row-flip {}
.svc-visual {
    border-radius: 20px;
    min-height: 420px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    position: relative;
    overflow: hidden;
}
.svc-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.svc-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--dark);
    margin-bottom: 0;
    line-height: 1.25;
}
.svc-text p {
    margin: 18px 0 24px;
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.75;
}
.svc-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}
.svc-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    color: var(--dark2);
    line-height: 1.5;
}
.svc-features li::before {
    content: '✓';
    color: #16a34a;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.svc-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.svc-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin-bottom: 100px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
 {
    .contact-grid, .about-grid, .quote-grid { grid-template-columns: 1fr; gap: 40px; }
    .gallery-grid { columns: 2; }
    .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .admin-sidebar { width: 220px; }
    .admin-main { margin-left: 220px; }
    .svc-row { gap: 44px; }
    .svc-visual { min-height: 300px; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Genel */
    .section { padding: 56px 0; }
    .container { padding: 0 16px; }
    .section-header { margin-bottom: 40px; }

    /* Navbar */
    .hamburger { display: flex; }
    .nav-menu {
        display: block;
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: 280px;
        background: var(--dark);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        z-index: 1001;
        padding: 16px;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        list-style: none;
    }
    .nav-menu.open { transform: translateX(0); }
    /* Body scroll kilidi */
    body.menu-open { overflow: hidden; }
    body.menu-open .nav-overlay { display: block; }
    /* X kapat butonu satırı */
    .nav-close-row {
        display: flex !important;
        width: 100%;
        justify-content: flex-end;
        margin-bottom: 12px;
        list-style: none;
    }
    .nav-close {
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 10px;
        color: white;
        width: 40px; height: 40px;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        transition: background 0.2s;
        flex-shrink: 0;
    }
    .nav-close:hover { background: rgba(255,255,255,0.25); }
    .nav-menu li { width: 100%; text-align: left; }
    .nav-menu a:not(.btn) {
        color: white !important;
        font-size: 1rem;
        padding: 12px 16px;
        display: block;
        border-radius: 8px;
    }
    /* Dil değiştirici mobilde yatay */
    .nav-menu .lang-switcher {
        flex-direction: row !important;
        justify-content: center;
        padding: 8px 0;
        gap: 8px;
    }
    .nav-menu .lang-btn { color: rgba(255,255,255,.6) !important; font-size: .95rem; padding: 8px 16px; }
    .nav-menu .lang-active { color: white !important; background: rgba(255,255,255,.15) !important; }
    .nav-menu .lang-sep { color: rgba(255,255,255,.2); }
    /* CTA butonu mobilde tam genişlik */
    .nav-menu .nav-cta { margin-top: 8px; }
    .nav-menu .nav-cta a {
        display: block;
        text-align: center;
        padding: 14px 24px !important;
    }

    /* Hero */
    .hero { min-height: 100svh; padding: 140px 0 60px; align-items: flex-start; }
    .hero-content { padding-top: 0; text-align: center; }
    .hero h1 { text-align: center; }
    .hero p { font-size: 1rem; text-align: center; margin-left: auto; margin-right: auto; }
    .hero-buttons { gap: 10px; justify-content: center; }
    .hero-buttons .btn { padding: 12px 20px; font-size: .9rem; }
    .hero-badge-cnc { display: none; }
    .hero-stats {
        gap: 16px 24px;
        margin-top: 40px;
        padding-top: 32px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }
    .hero-stat .num { font-size: 1.8rem; }

    /* Stats bar */
    .stats-bar-inner { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 28px 16px; }
    .stat-num { font-size: 2.2rem; }

    /* Gallery */
    .gallery-grid { columns: 1; }
    .gallery-filters { gap: 6px; }
    .filter-btn { padding: 6px 14px; font-size: .8rem; }

    /* Forms */
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 24px 20px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-values { grid-template-columns: 1fr; }
    .about-img { aspect-ratio: 16/9; font-size: 3rem; }

    /* Hizmetler — tek sütun, görsel metinden sonra */
    .svc-row {
        grid-template-columns: 1fr !important;
        gap: 28px;
        margin-bottom: 56px;
    }
    .svc-row .svc-text   { order: 1; }
    .svc-row .svc-visual { order: 2; aspect-ratio: 4/3; min-height: unset; font-size: 4rem; }
    /* flip satırlar da metni üstte tutsun */
    .svc-row-flip .svc-text   { order: 1; }
    .svc-row-flip .svc-visual { order: 2; }
    .svc-divider { margin-bottom: 56px; }

    /* Quote & Contact */
    .quote-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }

    /* Page header */
    .page-header { padding: 100px 0 48px; }
    .page-header h1 { font-size: clamp(1.6rem, 6vw, 2.5rem); }

    /* Butonlar */
    .btn-lg { padding: 14px 24px; font-size: .95rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

    /* Admin */
    .admin-sidebar { transform: translateX(-100%); transition: transform .3s; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; padding: 16px; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }

    /* Whatsapp btn — yukarı al footer'dan uzaklaştır */
    .whatsapp-btn { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 1.25rem; }
}

/* Küçük ekranlar */
@media (max-width: 400px) {
    .container { padding: 0 12px; }
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.35rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hero-stat .num { font-size: 1.5rem; }
}
