/* IT BİLİŞİM — marka arayüzü */
:root {
    --orange: #f58216;
    --orange-dark: #d96708;
    --ink: #17181c;
    --muted: #68707c;
    --line: #e8e9ed;
    --surface: #f6f7f9;
    --white: #fff;
    --shadow: 0 18px 50px rgba(23, 24, 28, .08);
    --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: 'DM Sans', Arial, sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(232,233,237,.8); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; width: 175px; }
.brand img { width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; color: #4d535c; }
.main-nav a { position: relative; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.is-active { color: var(--orange-dark); }
.main-nav a.is-active::after { content: ''; height: 3px; width: 20px; background: var(--orange); border-radius: 20px; position: absolute; left: 0; bottom: -12px; }
.main-nav .nav-login { padding: 11px 17px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; }
.main-nav .nav-login:hover { border-color: var(--orange); color: var(--orange-dark); }
.main-nav .nav-quote { display: inline-flex; align-items: center; justify-content: center; min-width: 108px; padding: 12px 20px; color: var(--white); background: var(--orange); border: 1px solid var(--orange); border-radius: 999px; box-shadow: 0 8px 20px rgba(245,130,22,.28); font-weight: 700; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.main-nav .nav-quote:hover { color: var(--white); background: var(--orange-dark); border-color: var(--orange-dark); box-shadow: 0 10px 24px rgba(217,103,8,.3); transform: translateY(-2px); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 2px; background: var(--ink); display: block; margin: 5px; }
.hero { overflow: hidden; position: relative; padding: 96px 0 108px; background: linear-gradient(120deg, #fff 0%, #fff8f1 56%, #fff 100%); }
.hero::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -170px; top: -160px; background: rgba(245,130,22,.1); filter: blur(3px); }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 70px; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange-dark); text-transform: uppercase; font-size: 12px; letter-spacing: .16em; font-weight: 700; }
.eyebrow::before { content: ''; width: 24px; height: 3px; border-radius: 3px; background: var(--orange); }
h1, h2, h3, h4 { font-family: 'Space Grotesk', Arial, sans-serif; line-height: 1.12; margin: 0 0 18px; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 5.8vw, 74px); max-width: 720px; }
h2 { font-size: clamp(31px, 4vw, 48px); }
h3 { font-size: 24px; }
p { margin: 0 0 18px; color: var(--muted); }
.hero p { max-width: 600px; font-size: 18px; }
.hero-slider .hero-copy { min-height: 335px; position: relative; }
.hero-slide { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .55s ease, transform .55s ease; }
.hero-slide.is-active { position: relative; opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero-slide h1 { max-width: 700px; }
.slider-toolbar { display: flex; align-items: center; gap: 19px; margin-top: 32px; }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.slider-arrow:hover { color: var(--white); border-color: var(--orange); background: var(--orange); }
.slider-dots { display: flex; align-items: center; gap: 7px; }
.slider-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #d7d9de; cursor: pointer; transition: width .25s, background .25s; }
.slider-dot.is-active { width: 27px; border-radius: 9px; background: var(--orange); }
.slider-label { margin-left: auto; color: var(--muted); font: 600 12px 'Space Grotesk'; letter-spacing: .08em; }
.slider-stage { position: relative; width: 100%; min-height: 410px; }
.slider-visual { position: absolute; inset: 0; opacity: 0; transform: scale(.97); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.slider-visual.is-active { opacity: 1; transform: scale(1); }
.slider-visual .hero-orbit { border-color: color-mix(in srgb, var(--slide-accent, var(--orange)) 55%, transparent); }
.slider-visual .hero-core { background: var(--slide-accent, var(--ink)); }
.slider-visual .hero-stat strong { color: var(--slide-accent, var(--ink)); }
.slider-index { position: absolute; right: 22px; top: 20px; color: var(--slide-accent, var(--orange)); font: 700 14px 'Space Grotesk'; letter-spacing: .1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
.button { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 21px; border-radius: 9px; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--orange); box-shadow: 0 9px 23px rgba(245,130,22,.22); }
.button-primary:hover { background: var(--orange-dark); }
.button-dark { color: var(--white); background: var(--ink); }
.button-light { color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.hero-visual { min-height: 410px; position: relative; display: flex; align-items: center; justify-content: center; }
.hero-orbit { width: 340px; height: 340px; border: 1px solid rgba(245,130,22,.4); border-radius: 50%; position: relative; transform: rotate(-18deg); }
.hero-orbit::before, .hero-orbit::after { content: ''; position: absolute; border-radius: 50%; }
.hero-orbit::before { inset: 34px; border: 1px dashed rgba(23,24,28,.25); }
.hero-orbit::after { width: 16px; height: 16px; background: var(--orange); top: 32px; left: 67px; box-shadow: 225px 210px 0 var(--ink), 243px -66px 0 var(--orange); }
.hero-core { width: 146px; height: 146px; display: flex; align-items: center; justify-content: center; border-radius: 30px; color: var(--white); background: var(--ink); box-shadow: 0 25px 44px rgba(23,24,28,.24); transform: rotate(18deg); }
.hero-core strong { font-family: 'Space Grotesk'; font-size: 38px; letter-spacing: -.1em; }
.hero-stat { position: absolute; display: grid; gap: 2px; padding: 16px 18px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.hero-stat strong { font: 700 24px 'Space Grotesk'; }
.hero-stat span { color: var(--muted); font-size: 12px; }
.hero-stat.one { left: 0; top: 45px; }
.hero-stat.two { right: 0; bottom: 45px; }
.slider-stat-label { display: block; }
.section { padding: 100px 0; }
.section-soft { background: var(--surface); }
.section-heading { max-width: 650px; margin-bottom: 43px; }
.section-heading p { font-size: 17px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); min-height: 255px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(245,130,22,.4); box-shadow: var(--shadow); }
.service-icon { width: 48px; height: 48px; margin-bottom: 28px; display: grid; place-items: center; color: var(--orange); background: #fff1e4; border-radius: 13px; font-size: 25px; font-weight: 700; }
.service-card h3 { font-size: 20px; }
.service-card p { font-size: 14px; }
.text-link { color: var(--orange-dark); font-weight: 700; font-size: 14px; }
.text-link::after { content: ' →'; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 80px; }
.dark-panel { min-height: 390px; border-radius: 26px; padding: 45px; color: var(--white); background: var(--ink); position: relative; overflow: hidden; }
.dark-panel::after { content: ''; position: absolute; width: 230px; height: 230px; right: -80px; bottom: -100px; border: 35px solid var(--orange); border-radius: 50%; opacity: .85; }
.dark-panel .mini-label { position: relative; z-index: 1; color: #ffb56c; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }
.dark-panel h3 { position: relative; z-index: 1; font-size: 38px; max-width: 350px; margin-top: 70px; }
.dark-panel .code-line { position: absolute; left: 45px; bottom: 42px; z-index: 1; color: #b8beca; font: 14px monospace; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 15px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: #3c424d; }
.check-list li::before { content: '✓'; display: grid; place-items: center; min-width: 23px; height: 23px; color: var(--orange-dark); background: #fff1e4; border-radius: 50%; font-weight: 700; font-size: 13px; }
.cta { padding: 76px 0; background: var(--orange); color: var(--white); }
.cta-wrap { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta h2 { max-width: 620px; }
.cta p { color: rgba(255,255,255,.86); max-width: 580px; margin: 0; }
.cta .button-light { border: 0; white-space: nowrap; }
.page-hero { padding: 80px 0; background: linear-gradient(120deg, #fff8f1, #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 5vw, 62px); margin-top: 18px; }
.breadcrumbs { color: var(--muted); font-size: 14px; margin-top: 20px; }
.content-wrap { max-width: 820px; margin: 0 auto; }
.rich-content { color: #535a66; font-size: 17px; }
.rich-content h3 { color: var(--ink); margin-top: 40px; }
.rich-content ul { padding-left: 22px; }
.rich-content li { margin: 9px 0; }
.service-detail { padding: 88px 0; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 280px; gap: 70px; align-items: start; }
.service-aside { padding: 26px; background: var(--surface); border-radius: 18px; }
.service-aside strong { display: block; font-family: 'Space Grotesk'; font-size: 19px; margin-bottom: 9px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field-full { grid-column: 1/-1; }
label { display: grid; gap: 7px; color: #3c424d; font-weight: 600; font-size: 14px; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 13px 14px; color: var(--ink); background: var(--white); outline: none; transition: border .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245,130,22,.12); }
textarea { min-height: 160px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.quote-layout { align-items: stretch; }
.quote-intro { padding: 25px 0 0; }
.quote-intro h2 { max-width: 520px; }
.quote-intro > p { max-width: 510px; font-size: 17px; }
.quote-points { display: grid; gap: 13px; margin-top: 32px; }
.quote-points div { display: flex; align-items: center; gap: 14px; color: var(--ink); font-weight: 700; }
.quote-points strong { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--orange-dark); background: #fff1e4; font: 700 12px 'Space Grotesk'; }
.quote-form { padding: 27px; }
.quote-form .button { width: 100%; }
.contact-card { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .contact-symbol { width: 42px; height: 42px; display: grid; place-items: center; color: var(--orange); background: #fff1e4; border-radius: 12px; font-weight: 700; }
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item span, .contact-item a { color: var(--muted); }
.site-footer { padding: 70px 0 24px; color: #d3d5da; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr 1fr; gap: 50px; padding-bottom: 55px; }
.footer-brand { background: var(--white); padding: 7px 11px; border-radius: 7px; margin-bottom: 18px; }
.site-footer p { color: #9da3ad; max-width: 315px; }
.site-footer a, .site-footer span { display: block; color: #aeb4be; margin: 7px 0; font-size: 14px; }
.site-footer a:hover { color: #ffac5f; }
.footer-title { font: 700 15px 'Space Grotesk' !important; color: var(--white) !important; margin-bottom: 15px !important; }
.footer-bottom { border-top: 1px solid #303239; padding-top: 19px; display: flex; justify-content: space-between; gap: 20px; color: #838995; font-size: 12px; }
.footer-bottom a { margin: 0; font-size: 12px; }
.floating-actions { position: fixed; right: 22px; bottom: 22px; z-index: 30; display: grid; gap: 11px; }
.floating { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: var(--white); font-weight: 700; box-shadow: 0 8px 22px rgba(0,0,0,.18); transition: transform .2s; }
.floating:hover { transform: scale(1.08); }
.floating.whatsapp { background: #20bf6b; font-size: 13px; }
.floating.phone { background: var(--orange); font-size: 25px; }
.alert { padding: 13px 16px; border-radius: 9px; margin: 20px 0; font-size: 14px; }
.alert-success { background: #e8f8ee; color: #17653b; border: 1px solid #b8e8ca; }
.alert-error { background: #fff0f0; color: #a42a2a; border: 1px solid #f2c2c2; }
.muted { color: var(--muted); }
.form-protection-note { color: var(--muted); background: #f8f9fb; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-size: 12px; }
.trap-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; }
.auth-page, .install-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(140deg, #fff8f1, #f6f7f9); padding: 28px; }
.auth-card, .install-card { width: min(470px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 38px; box-shadow: var(--shadow); }
.auth-logo, .install-logo { width: 175px; margin-bottom: 28px; mix-blend-mode: multiply; }
.auth-card h1, .install-card h1 { font-size: 34px; }
.stack-form { display: grid; gap: 16px; margin-top: 22px; }
.auth-switch { display: flex; justify-content: space-between; gap: 15px; margin-top: 21px; color: var(--muted); font-size: 13px; }
.auth-switch a { color: var(--orange-dark); font-weight: 700; }
/* admin */
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; background: var(--surface); }
.admin-sidebar { padding: 25px 18px; background: var(--ink); color: #adb2bd; }
.admin-sidebar .brand { width: 170px; background: var(--white); padding: 7px 10px; border-radius: 7px; margin: 3px 7px 40px; }
.admin-sidebar nav { display: grid; gap: 5px; }
.admin-sidebar nav a { padding: 12px 14px; border-radius: 9px; font-size: 14px; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.is-active { color: var(--white); background: rgba(245,130,22,.17); }
.admin-main { min-width: 0; }
.admin-topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-content { padding: 34px; }
.admin-page-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.admin-page-head h1 { font-size: 35px; margin: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 27px; }
.stat-card { background: var(--white); border: 1px solid var(--line); padding: 22px; border-radius: 14px; }
.stat-card span { display: block; color: var(--muted); font-size: 13px; }
.stat-card strong { display: block; font: 700 32px 'Space Grotesk'; margin-top: 6px; }
.admin-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 23px; overflow-x: auto; }
.admin-card h2 { font-size: 23px; margin-bottom: 20px; }
.data-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.data-table th, .data-table td { text-align: left; padding: 13px 9px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: top; }
.data-table th { color: var(--muted); font-weight: 600; }
.status { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #eef0f3; color: #545a64; font-size: 11px; font-weight: 700; }
.status.success { color: #17653b; background: #e8f8ee; }
.status.warning { color: #805d12; background: #fff5d8; }
.action-links { display: flex; gap: 10px; white-space: nowrap; }
.action-links a { color: var(--orange-dark); font-weight: 700; font-size: 12px; }
.action-links a.delete { color: #b52b2b; }
.delete-button { padding: 0; border: 0; background: transparent; cursor: pointer; color: #b52b2b; font-weight: 700; font-size: 12px; }
.admin-form { max-width: 850px; }
.admin-form .button { margin-top: 7px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }
.toolbar p { margin: 0; }
@media (max-width: 950px) {
    .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
    .hero-slider .hero-copy { min-height: 380px; }
    .hero { padding: 74px 0 80px; }
    .hero-visual, .slider-stage { min-height: 350px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1/-1; }
    .service-detail-grid { grid-template-columns: 1fr; gap: 35px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .container { width: min(100% - 28px, 1160px); }
    .nav-wrap { min-height: 72px; }
    .brand { width: 145px; }
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 18px 20px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 11px 0; }
    .main-nav a.is-active::after { bottom: 6px; }
    .main-nav .nav-login { text-align: center; margin-top: 8px; }
    .main-nav .nav-quote { width: 100%; min-height: 48px; margin-top: 10px; padding: 13px 18px; color: var(--white) !important; background: var(--orange) !important; border: 1px solid var(--orange); border-radius: 12px; box-shadow: 0 8px 20px rgba(245,130,22,.24); text-align: center; justify-content: center; }
    .quote-page-hero { display: none; }
    .quote-section { padding: 48px 0 74px; }
    .quote-layout { gap: 34px; }
    .quote-intro { padding-top: 0; }
    .quote-intro .eyebrow { font-size: 12px; letter-spacing: .18em; }
    .quote-intro h2 { max-width: none; margin-top: 17px; font-size: clamp(37px, 10vw, 50px); line-height: 1.08; letter-spacing: -.05em; }
    .quote-intro > p { max-width: none; margin-top: 30px; font-size: 18px; line-height: 1.9; }
    .quote-points { gap: 14px; margin-top: 31px; }
    .quote-points div { gap: 0; font-size: 18px; font-weight: 500; }
    .quote-points strong { width: auto; height: auto; min-width: 41px; color: var(--ink); background: transparent; place-items: start; font: 700 18px 'Space Grotesk'; }
    .quote-form { padding: 27px; border-radius: 22px; }
    .quote-form .form-grid { gap: 22px; }
    .quote-form label { gap: 10px; font-size: 16px; }
    .quote-form input, .quote-form textarea, .quote-form select { padding: 16px; border-radius: 12px; font-size: 16px; }
    h1 { font-size: 43px; }
    .hero-slider .hero-copy { min-height: 430px; }
    .slider-toolbar { gap: 12px; }
    .section { padding: 74px 0; }
    .services-grid, .form-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .dark-panel { min-height: 320px; padding: 29px; }
    .dark-panel h3 { margin-top: 48px; font-size: 30px; }
    .dark-panel .code-line { left: 29px; bottom: 27px; font-size: 11px; }
    .cta-wrap, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid > :first-child { grid-column: auto; }
    .auth-card, .install-card { padding: 27px 21px; }
    .admin-shell { display: grid; grid-template-columns: 154px minmax(0, 1fr); align-items: start; }
    .admin-sidebar { position: sticky; top: 0; min-height: 100vh; padding: 14px 8px; }
    .admin-sidebar .brand { width: min(100%, 138px); margin: 0 auto 22px; padding: 6px 7px; }
    .admin-sidebar nav { display: grid; gap: 3px; }
    .admin-sidebar nav a { display: block; min-height: 0; padding: 10px 7px; border-radius: 8px; font-size: 11px; line-height: 1.25; }
    .admin-topbar { min-height: 64px; height: auto; padding: 14px 15px; gap: 10px; }
    .admin-topbar strong, .admin-topbar .muted { font-size: 12px; }
    .admin-content { padding: 19px 14px; }
    .admin-page-head { align-items: flex-start; flex-direction: column; }
    .admin-page-head h1 { font-size: 29px; }
}
@media (max-width: 400px) {
    .admin-shell { grid-template-columns: 132px minmax(0, 1fr); }
    .admin-sidebar { padding-left: 7px; padding-right: 7px; }
    .admin-sidebar .brand { width: 116px; }
    .admin-sidebar nav a { padding-left: 6px; padding-right: 6px; font-size: 10px; }
    .admin-content { padding-left: 11px; padding-right: 11px; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* references */
.reference-page-hero { background: radial-gradient(circle at 78% 20%, rgba(245,130,22,.1), transparent 34%), linear-gradient(135deg, #fffaf5, #f7f8fa); }
.reference-page-hero p { max-width: 580px; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.reference-section { background: var(--white); }
.reference-heading { align-items: end; margin-bottom: 42px; }
.reference-heading h2 { max-width: 580px; margin-top: 13px; }
.reference-heading > p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.75; }
.reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reference-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 12px 35px rgba(23,24,28,.06); transition: transform .22s ease, box-shadow .22s ease; }
.reference-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(23,24,28,.12); }
.reference-image-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #eef0f3; }
.reference-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.reference-card:hover .reference-image-wrap img { transform: scale(1.035); }
.reference-category { position: absolute; left: 15px; bottom: 15px; display: inline-flex; padding: 7px 10px; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.92); font: 700 11px 'Space Grotesk'; letter-spacing: .05em; }
.reference-card-body { padding: 23px 23px 25px; }
.reference-kicker { display: block; color: var(--orange-dark); font: 700 11px 'Space Grotesk'; letter-spacing: .16em; }
.reference-card h3 { margin-top: 9px; font-size: 23px; line-height: 1.15; }
.reference-company { margin-top: 8px; color: var(--ink); font-weight: 700; }
.reference-description { margin-top: 13px; color: var(--muted); line-height: 1.65; }
.reference-empty { display: grid; gap: 7px; padding: 34px; border: 1px dashed #d9dde3; border-radius: 16px; color: var(--muted); text-align: center; }
.reference-empty strong { color: var(--ink); font-size: 18px; }
.reference-admin-table { min-width: 760px; }
.reference-admin-thumb { display: block; width: 92px; height: 62px; border-radius: 8px; object-fit: cover; background: #eef0f3; }
.admin-section-intro { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.upload-field small { display: block; margin-top: -4px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.reference-current-image { display: grid; gap: 9px; }
.reference-current-image img { width: min(360px, 100%); aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 950px) {
    .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reference-heading { grid-template-columns: 1fr; align-items: start; gap: 18px; }
}
@media (max-width: 700px) {
    .reference-page-hero p { font-size: 16px; }
    .reference-section { padding-top: 52px; }
    .reference-heading { margin-bottom: 27px; }
    .reference-heading h2 { font-size: 34px; }
    .reference-heading > p { font-size: 15px; }
    .reference-grid { grid-template-columns: 1fr; gap: 18px; }
    .reference-card-body { padding: 20px; }
    .reference-card h3 { font-size: 21px; }
    .admin-section-intro { align-items: flex-start; flex-direction: column; gap: 5px; }
    .reference-admin-form { padding: 19px; }
}
