/* ===========================
   EFLukas — Shared Stylesheet
   =========================== */

:root {
  --red:   #e52242;
  --red-dk:#b91538;
  --teal:  #003a44;
  --pink:  #f26178;
  --white: #ffffff;
  --font:  'Hanken Grotesk', system-ui, sans-serif;
  --px:    clamp(22px, 5vw, 72px);
  --t12: rgba(0,58,68,.12); --t14: rgba(0,58,68,.14); --t16: rgba(0,58,68,.16);
  --t24: rgba(0,58,68,.24); --t28: rgba(0,58,68,.28); --t30: rgba(0,58,68,.30);
  --t65: rgba(0,58,68,.65); --t70: rgba(0,58,68,.70); --t78: rgba(0,58,68,.78);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--white); color: var(--teal); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { position: relative; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 82px; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dk); }
::selection { background: var(--red); color: #fff; }
h1, h2, h3, p { margin: 0; }
img { display: block; }
button, input, textarea { font-family: var(--font); }
@keyframes eflrise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── Layout ── */
.site-wrap { max-width: 100%; overflow-x: hidden; }

/* ── Header / Nav ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--t12); transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 4px 20px -8px rgba(0,58,68,.22); }
.site-wrap { padding-top: 78px; }
.nav-inner { width: 100%; padding: 16px var(--px); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 46px; }
.site-nav { display: flex; align-items: center; gap: clamp(14px,1.8vw,30px); }
.nav-link { font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-email { display: flex; align-items: center; gap: 9px; padding-left: clamp(14px,1.8vw,30px); border-left: 1px solid var(--t16); color: var(--teal); font-weight: 600; font-size: 14px; transition: color .2s; }
.nav-email:hover { color: var(--red); }
.nav-cta { font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--red); padding: 14px 24px; transition: background .2s; }
.nav-cta:hover { color: var(--white); background: var(--red-dk); }

/* ── Shared Buttons ── */
.btn-primary { font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--red); padding: 19px 32px; display: inline-block; transition: background .2s; cursor: pointer; }
.btn-primary:hover { color: var(--white); background: var(--red-dk); }
.btn-outline { font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); background: transparent; padding: 19px 32px; border: 1px solid var(--t30); display: inline-block; transition: background .2s, color .2s, border-color .2s; }
.btn-outline:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-ghost-dark { font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); padding: 17px 30px; border: 1px solid var(--t30); display: inline-block; transition: background .2s, color .2s, border-color .2s; }
.btn-ghost-dark:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-white { font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); background: var(--white); padding: 21px 36px; display: inline-block; transition: background .2s, color .2s; cursor: pointer; }
.btn-white:hover { background: var(--red); color: var(--white); }
.btn-white-sm { font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); background: var(--white); padding: 20px 34px; display: inline-block; transition: background .2s, color .2s; }
.btn-white-sm:hover { background: var(--teal); color: var(--white); }

/* ── Hero ── */
.hero { position: relative; background: var(--white); border-bottom: 1px solid var(--t12); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: min(84vh,760px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px,6vw,96px) clamp(22px,4vw,64px) clamp(40px,6vw,96px) var(--px); animation: eflrise .7s ease both; }
.hero-eyebrow { font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 28px; display: flex; align-items: center; gap: 16px; }
.hero-eyebrow-line { width: 38px; height: 3px; background: var(--red); display: inline-block; flex-shrink: 0; }
.hero-h1 { font-weight: 900; font-size: clamp(44px,6.6vw,104px); line-height: .92; letter-spacing: -.02em; text-transform: uppercase; color: var(--teal); text-wrap: balance; }
.hero-h1 .hl { color: var(--red); }
.hero-desc { max-width: 46ch; font-size: clamp(17px,1.35vw,21px); line-height: 1.55; color: var(--t78); margin-top: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

/* ── Hero Panel (carousel) ── */
.hero-panel { position: relative; overflow: hidden; background: var(--teal); height: 100%; }
/* šikmá bílá hrana zleva */
.hero-panel::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 15%; background: var(--white); clip-path: polygon(0 0, 100% 0, 0 100%); z-index: 5; pointer-events: none; }
/* první slide viditelný hned — žádné modré probliknutí */
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; z-index: 0; pointer-events: none; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide[data-slide="0"] { opacity: 1; }

/* ── Carousel progress bar ── */
.hero-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 6px; z-index: 10; display: flex; gap: 3px; }
.hero-progress-dot { flex: 1; height: 100%; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.hero-progress-dot::after { content: ''; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.hero-progress-dot.running::after { animation: hero-bar 5s linear forwards; }
@keyframes hero-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-info { position: absolute; left: 0; right: 0; bottom: 6px; padding: 28px clamp(24px,3vw,44px) 28px 18%; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; pointer-events: none; z-index: 10; }
.hero-info::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,24,29,.85) 0%, transparent 100%); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); z-index: -1; }
.hero-label { font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--pink); margin-bottom: 8px; }
.hero-name { font-weight: 700; font-size: clamp(16px,1.3vw,21px); color: #fff; }
.hero-counter { font-weight: 600; font-size: 14px; letter-spacing: .06em; color: rgba(255,255,255,.65); }
/* Tlačítka jsou přímé děti .hero-panel — žádný pointer-events:none rodič */
.hero-controls { position: absolute; bottom: 24px; right: clamp(16px,2vw,36px); z-index: 30; display: flex; align-items: center; gap: 10px; }
.btn-prev, .btn-next { width: 48px; height: 48px; color: #fff; font-size: 18px; cursor: pointer; border: none; transition: background .2s; }
.btn-prev { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.32); }
.btn-prev:hover { background: rgba(255,255,255,.26); }
.btn-next { background: var(--red); }
.btn-next:hover { background: var(--red-dk); }

/* ── USP section ── */
.usp { background: var(--red); color: #fff; padding: clamp(60px,7vw,112px) var(--px); }
.usp-inner { max-width: 1360px; margin: 0 auto; }
.usp-title { font-weight: 700; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: clamp(40px,4.5vw,62px); }
.usp-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.usp-item { padding: 0 clamp(22px,2.2vw,40px); border-left: 1px solid rgba(255,255,255,.3); }
.usp-num { font-weight: 700; font-size: 14px; letter-spacing: .12em; color: rgba(255,255,255,.8); margin: 28px 0 16px; }
.usp-h3 { font-weight: 800; font-size: clamp(21px,1.9vw,28px); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 14px; }
.usp-p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.85); }

/* ── Approach section ── */
.approach { background: var(--white); padding: clamp(64px,9vw,140px) var(--px); }
.approach-inner { max-width: 1360px; margin: 0 auto; }
.approach-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(40px,6vw,110px); align-items: start; }
.approach-lead { font-weight: 700; font-size: clamp(26px,3.1vw,46px); line-height: 1.22; letter-spacing: -.015em; color: var(--teal); text-wrap: pretty; }
.approach-lead span { color: var(--red); }
.approach-body { padding-top: 8px; }
.approach-text { font-size: 18px; line-height: 1.65; color: var(--t78); margin-bottom: 28px; }
.approach-stats { display: flex; gap: 0; border-top: 1px solid var(--t14); }
.stat-item { flex: 1; padding: 26px 0; }
.stat-item:first-child { border-right: 1px solid var(--t14); }
.stat-item:last-child { padding-left: 26px; }
.stat-num { font-weight: 900; font-size: clamp(44px,4.5vw,58px); line-height: 1; }
.stat-num--red { color: var(--red); }
.stat-num--teal { color: var(--teal); }
.stat-label { font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--t65); margin-top: 12px; line-height: 1.4; }


/* ── Process section ── */
.process { background: var(--teal); color: #fff; padding: clamp(64px,9vw,140px) var(--px); }
.process-inner { max-width: 1360px; margin: 0 auto; }
.process-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: clamp(44px,6vw,80px); }
.process-h2 { font-weight: 900; font-size: clamp(34px,4.6vw,68px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.process-desc { max-width: 40ch; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.72); }
.process-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.process-step { padding: 36px 30px 42px; border-right: 1px solid rgba(255,255,255,.16); transition: background .35s ease; }
.process-step:hover { background: rgba(255,255,255,.06); }
.process-step:hover .step-dot { background: #fff; }
.process-step:hover .step-num { color: #fff; }
.process-step:hover .step-desc { color: rgba(255,255,255,.92); }
.step-dot { width: 18px; height: 18px; background: var(--red); margin-bottom: 28px; clip-path: polygon(0 0,100% 16%,100% 100%,0 100%); transition: background .35s ease; }
.step-num { font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--pink); margin-bottom: 16px; transition: color .35s ease; }
.step-title { font-weight: 800; font-size: clamp(22px,1.9vw,30px); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 14px; color: #fff; }
.step-desc { font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.7); transition: color .35s ease; }

/* ── References section ── */
.references { background: var(--white); padding: clamp(64px,9vw,140px) var(--px); }
.references-inner { max-width: 1360px; margin: 0 auto; }
.references-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 28px; margin-bottom: clamp(20px,3vw,40px); }
.references-h2 { font-weight: 900; font-size: clamp(34px,4.6vw,68px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; color: var(--teal); }
.references-desc { font-size: 17px; line-height: 1.6; color: var(--t70); max-width: 56ch; margin-bottom: clamp(30px,4vw,56px); }
.references-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,2.2vw,32px); }
.ref-card { display: flex; flex-direction: column; background: var(--white); text-decoration: none; }
.ref-card:hover { opacity: .88; }
.ref-card image-slot { pointer-events: none; }
.ref-image { position: relative; aspect-ratio: 4/3; background: #f0efec; overflow: hidden; }
.ref-badge { position: absolute; top: 0; left: 0; background: var(--red); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; z-index: 1; }
.ref-year { position: absolute; bottom: 0; right: 0; background: var(--teal); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .1em; padding: 7px 13px; z-index: 1; }
.ref-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.ref-title { font-weight: 800; font-size: clamp(19px,1.4vw,23px); line-height: 1.16; letter-spacing: -.01em; color: var(--teal); text-wrap: pretty; }
.ref-footer { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ref-client-tag { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: var(--red); }
.ref-client-line { width: 22px; height: 3px; background: var(--red); display: inline-block; flex-shrink: 0; }
.ref-arrow { font-weight: 700; font-size: 20px; color: var(--teal); flex-shrink: 0; }

/* ── Contact / Footer ── */
.contact { background: var(--teal); color: #fff; padding: clamp(64px,9vw,140px) var(--px) 0; }
.contact-inner { max-width: 1360px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(40px,6vw,90px); align-items: start; padding-bottom: clamp(56px,7vw,96px); border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-h2 { font-weight: 900; font-size: clamp(36px,5.2vw,80px); line-height: .96; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 36px; }
.contact-h2 span { color: var(--red); }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-top: 12px; }
.info-label { font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.info-value { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.85); }
.info-value a { color: #fff; transition: color .2s; }
.info-value a:hover { color: var(--pink); }
.footer-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 32px 0; }
.footer-logo { height: 26px; filter: brightness(0) invert(1); }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.footer-link { font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-link:hover { color: #fff; }
.footer-copy { font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.footer-createdby { display: flex; align-items: center; gap: 8px; opacity: .35; transition: opacity .3s ease; text-decoration: none; }
.footer-createdby:hover { opacity: .7; }
.footer-createdby-label { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.footer-createdby-logo { height: 18px; filter: brightness(0) invert(1); }

/* ── Modal ── */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0,24,29,.55); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); animation: eflrise .3s ease both; }
.modal-box { position: relative; width: min(560px,100%); max-height: 90vh; overflow-y: auto; background: var(--white); }
.modal-stripe { height: 6px; background: var(--red); }
.modal-body { padding: clamp(30px,4vw,52px); }
.btn-close { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; background: transparent; border: 1px solid var(--t24); color: var(--teal); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s; }
.btn-close:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.modal-eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.modal-h3 { font-weight: 900; font-size: clamp(26px,3vw,38px); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 28px; color: var(--teal); }
.form-success { font-size: 17px; line-height: 1.6; color: var(--teal); padding: 20px 0; }

/* ── Form ── */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--t70); }
.form-input, .form-textarea { font-family: var(--font); font-size: 16px; color: var(--teal); padding: 13px 14px; border: 1px solid var(--t28); background: #fff; outline: none; transition: border-color .2s; width: 100%; }
.form-input:focus, .form-textarea:focus { border-color: var(--red); }
.form-textarea { resize: vertical; }
.recaptcha-wrap { min-height: 78px; }
.btn-submit { font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); border: none; padding: 18px 32px; cursor: pointer; margin-top: 6px; transition: background .2s; width: 100%; text-align: center; }
.btn-submit:hover { background: var(--red-dk); }

/* ==========================================
   REFERENCE PAGE
   ========================================== */
.back-nav { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); transition: color .2s; }
.back-nav:hover { color: var(--red); }
.ref-header { background: var(--white); padding: clamp(48px,6vw,96px) var(--px) clamp(30px,4vw,56px); }
.ref-header-inner { max-width: 1360px; margin: 0 auto; animation: eflrise .6s ease both; }
.ref-tags { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.ref-tag-type { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--red); padding: 8px 15px; }
.ref-tag-year { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); padding: 8px 15px; border: 1px solid var(--t24); }
.ref-detail-h1 { font-weight: 900; font-size: clamp(34px,5vw,76px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; color: var(--teal); max-width: 20ch; text-wrap: balance; }
.ref-client-name { font-weight: 700; font-size: clamp(15px,1.3vw,19px); letter-spacing: .03em; text-transform: uppercase; color: var(--red); margin-top: 26px; }
.ref-main-img-section { padding: 0 var(--px) clamp(40px,5vw,72px); }
.ref-main-img-inner { max-width: 1360px; margin: 0 auto; }
.ref-main-img { position: relative; width: 100%; aspect-ratio: 16/8; background: #f0efec; overflow: hidden; }
.ref-desc-section { padding: 0 var(--px) clamp(56px,7vw,110px); }
.ref-desc-inner { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr .9fr; gap: clamp(40px,6vw,100px); align-items: start; }
.ref-about-label { font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 26px; }
.ref-about-lead { font-weight: 700; font-size: clamp(22px,2.4vw,34px); line-height: 1.28; letter-spacing: -.01em; color: var(--teal); text-wrap: pretty; margin-bottom: 28px; }
.ref-about-p { font-size: 18px; line-height: 1.7; color: rgba(0,58,68,.8); margin-bottom: 20px; }
.ref-about-p:last-child { margin-bottom: 0; }
.ref-meta { border-top: 3px solid var(--teal); padding-top: 26px; }
.ref-meta-item { padding: 18px 0; border-bottom: 1px solid var(--t14); }
.ref-meta-item:last-child { border-bottom: none; }
.ref-meta-label { font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.ref-meta-value { font-weight: 700; font-size: 18px; color: var(--teal); }
.gallery-section { background: var(--teal); color: #fff; padding: clamp(56px,7vw,110px) var(--px); }
.gallery-inner { max-width: 1360px; margin: 0 auto; }
.gallery-label { font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 26px; }
.gallery-h2 { font-weight: 900; font-size: clamp(30px,3.6vw,52px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: clamp(34px,4vw,54px); }
.gallery-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(16px,1.8vw,26px); }
.gallery-item { position: relative; width: 100%; background: rgba(255,255,255,.06); overflow: hidden; display: block; cursor: zoom-in; }
.gallery-item img { transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* ── Lightbox ── */
.lightbox-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(0,24,29,.9); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); animation: eflrise .3s ease both; }
.lightbox-img { max-width: 90vw; max-height: 85vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox-close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s; }
.lightbox-close:hover { background: #fff; color: var(--teal); border-color: #fff; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, border-color .2s; }
.lightbox-nav:hover { background: #fff; color: var(--teal); border-color: #fff; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
@media (max-width: 640px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 22px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}
.ref-cta { background: var(--red); color: #fff; padding: clamp(52px,6vw,96px) var(--px); }
.ref-cta-inner { max-width: 1360px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.ref-cta-h2 { font-weight: 900; font-size: clamp(26px,3.4vw,50px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; max-width: 18ch; }
.ref-footer-section { background: var(--teal); color: #fff; padding: clamp(56px,7vw,110px) var(--px) 0; }
.ref-footer-inner { max-width: 1360px; margin: 0 auto; }
.ref-footer-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(40px,6vw,90px); align-items: start; padding-bottom: clamp(48px,6vw,80px); border-bottom: 1px solid rgba(255,255,255,.16); }
.ref-footer-h2 { font-weight: 900; font-size: clamp(32px,4.6vw,66px); line-height: .96; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 32px; }
.ref-footer-h2 span { color: var(--red); }

/* ==========================================
   COOKIE CONSENT
   ========================================== */
.cookie-btn { font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; padding: 13px 22px; border: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.cookie-btn-primary { background: var(--red); color: #fff; }
.cookie-btn-primary:hover { background: var(--red-dk); }
.cookie-btn-outline { background: transparent; color: var(--teal); border: 1px solid var(--t30); }
.cookie-btn-outline:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.cookie-btn-ghost { background: transparent; color: var(--t70); border: none; text-decoration: underline; padding: 13px 6px; }
.cookie-btn-ghost:hover { color: var(--teal); }

.cookie-modal-overlay { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(0,24,29,.6); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.cookie-modal-overlay.is-visible { display: flex; animation: eflrise .3s ease both; }
.cookie-modal-box { width: min(620px,100%); max-height: 90vh; overflow-y: auto; }
.cookie-modal-lead { font-size: 15px; line-height: 1.55; color: var(--t78); margin-bottom: 24px; }
.cookie-modal-lead a { color: var(--red); }
.cookie-modal-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.cookie-item { border: 1px solid var(--t14); padding: 16px 18px; }
.cookie-item-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-item-title { font-weight: 700; font-size: 15px; color: var(--teal); }
.cookie-item-desc { font-size: 13.5px; line-height: 1.5; color: var(--t70); margin-top: 8px; }
.cookie-toggle { position: relative; display: inline-flex; flex-shrink: 0; cursor: pointer; }
.cookie-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cookie-toggle-track { width: 42px; height: 24px; background: var(--t24); border-radius: 999px; position: relative; transition: background .2s; }
.cookie-toggle-thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; }
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--red); }
.cookie-toggle input:checked + .cookie-toggle-track .cookie-toggle-thumb { transform: translateX(18px); }
.cookie-toggle.is-disabled { opacity: .55; cursor: not-allowed; }
.cookie-modal-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 14px; }

@media (max-width: 640px) {
  .cookie-modal-actions { justify-content: stretch; }
  .cookie-modal-actions .cookie-btn { flex: 1 1 auto; text-align: center; }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(2,1fr); row-gap: clamp(28px,3vw,44px); }
  .usp-item { border-left: none; padding-left: 0; }
  .usp-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.3); padding-left: clamp(22px,2.2vw,40px); }
  .process-steps { grid-template-columns: repeat(3,1fr); }
  .process-step:nth-child(3) { border-right: none; }
  .process-step:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.16); }
}

@media (max-width: 768px) {
  :root { --px: clamp(18px, 5vw, 36px); }
  .nav-link { display: none; }
  .nav-email-text { display: none; }
  .nav-cta { padding: 12px 16px; font-size: 13px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-panel, .hero-panel-wrap { clip-path: none; height: 300px; }
  .hero-info { padding-left: clamp(18px,4vw,40px); }
  .approach-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-top: 1px solid rgba(255,255,255,.16); }
  .process-step:first-child { border-top: none; }
  .process-step:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.16); }
  .references-grid { grid-template-columns: 1fr; }
  .contact-grid, .ref-footer-grid { grid-template-columns: 1fr; }
  .ref-desc-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .ref-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-panel, .hero-panel-wrap { height: 240px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .usp-grid { grid-template-columns: 1fr; row-gap: 0; }
  .usp-item, .usp-item:nth-child(even) { padding: 24px 0; border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.3); }
  .usp-item:first-child { border-top: none; }
  .references-grid { grid-template-columns: 1fr; }
  .references-head { flex-direction: column; align-items: flex-start; }
  .contact-info { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; }
  .form-row { grid-template-columns: 1fr; }
}
