:root {
  --red: #e21b23;
  --red-dark: #bb1118;
  --ink: #111827;
  --navy: #102238;
  --muted: #5d6875;
  --paper: #f4f6f8;
  --white: #ffffff;
  --line: rgba(17, 17, 17, 0.15);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 12px 18px; background: var(--ink); color: white; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(17,24,39,.08); backdrop-filter: blur(14px); transition: box-shadow .25s, background .25s; }
.site-header.scrolled { background: rgba(255,255,255,.99); box-shadow: 0 10px 35px rgba(16,34,56,.08); }
.header-inner { height: 82px; display: grid; grid-template-columns: 240px 1fr auto; align-items: center; gap: 28px; }
.brand { width: 196px; height: 72px; display: flex; align-items: center; overflow: hidden; }
.brand-logo { width: 184px; height: 68px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; justify-content: center; gap: 34px; }
.desktop-nav a { text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .02em; position: relative; }
.desktop-nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -8px; background: var(--red); transition: right .2s; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-cta { text-decoration: none; padding: 13px 20px; background: var(--navy); color: white; border: 1px solid var(--navy); font-size: 13px; font-weight: 800; transition: .2s; }
.header-cta:hover { background: var(--red); border-color: var(--red); }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; min-height: 880px; height: 100svh; padding-top: 82px; overflow: hidden; color: white; background: #191919; }
.hero-media, .hero-wash { position: absolute; inset: 82px 0 0; }
.hero-media { background-image: url("assets/images/dem-reklam-atolye.jpeg"); background-size: cover; background-position: center 42%; transform: scale(1.02); }
.hero-wash { background: linear-gradient(90deg, rgba(9,25,43,.94) 0%, rgba(9,25,43,.78) 43%, rgba(9,25,43,.2) 74%, rgba(9,25,43,.4) 100%), linear-gradient(0deg, rgba(9,25,43,.58), transparent 45%); }
.hero-grid { position: relative; min-height: calc(100svh - 82px); display: grid; grid-template-columns: minmax(0, 760px) 1fr; align-items: center; gap: 30px; padding-bottom: 90px; }
.eyebrow { margin: 0 0 26px; display: flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 2px; background: var(--red); }
.eyebrow.dark { color: #5e5e5e; }
.eyebrow.light { color: rgba(255,255,255,.66); }
.hero h1, .section-heading h2, .about h2, .statement h2, .process h2, .faq h2, .contact h2 { margin: 0; font-size: clamp(60px, 8.2vw, 120px); line-height: .87; letter-spacing: -.065em; font-weight: 900; }
.hero h1 em, .statement h2 em, .contact h2 em { color: var(--red); font-family: Georgia, serif; font-weight: 400; }
.hero-lead { max-width: 620px; margin: 34px 0 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: rgba(255,255,255,.8); }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; gap: 22px; padding: 17px 22px; text-decoration: none; font-size: 13px; font-weight: 800; }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: var(--red-dark); }
.text-link { font-size: 13px; font-weight: 800; text-underline-offset: 5px; }
.hero-proof { align-self: end; justify-self: end; margin-bottom: 85px; width: 170px; border-top: 1px solid rgba(255,255,255,.5); padding-top: 16px; }
.hero-proof strong { display: block; color: var(--red); font-size: 56px; line-height: .9; letter-spacing: -.06em; }
.hero-proof span { font: italic 24px Georgia, serif; }
.hero-proof small { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.68); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.hero-ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; background: var(--red); display: flex; align-items: center; overflow: hidden; }
.ticker-track { min-width: max-content; display: flex; align-items: center; gap: 28px; animation: ticker 28s linear infinite; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ticker-track i { font-style: normal; color: #ffb5b8; }
@keyframes ticker { to { transform: translateX(-50%); } }

.home-registrations { padding: 76px 0 84px; background: white; border-bottom: 1px solid var(--line); }
.home-registrations-head { display: grid; grid-template-columns: 1fr 390px; align-items: end; gap: 70px; margin-bottom: 38px; }
.home-registrations-head .eyebrow { margin-bottom: 16px; }
.home-registrations-head h2 { margin: 0; font-size: clamp(38px, 4.2vw, 62px); line-height: .95; letter-spacing: -.055em; }
.home-registrations-head > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.registration-ribbon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.registration-chip { min-width: 0; min-height: 148px; display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: 20px; padding: 14px; border: 1px solid #dce1e7; background: var(--paper); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.registration-chip:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 14px 35px rgba(0,0,0,.08); }
.registration-chip img { width: 108px; height: 118px; object-fit: cover; object-position: top; filter: grayscale(.2); }
.registration-chip span, .registration-chip small, .registration-chip strong, .registration-chip em { display: block; }
.registration-chip small { margin-bottom: 8px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.registration-chip strong { font-size: 21px; letter-spacing: -.03em; }
.registration-chip em { margin-top: 20px; color: var(--red); font-size: 11px; font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.section-heading { display: grid; grid-template-columns: 1fr 380px; align-items: end; gap: 80px; margin-bottom: 70px; }
.section-heading h2, .about h2, .process h2, .faq h2 { font-size: clamp(52px, 6vw, 84px); }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 16px; }
.services { background: #f4f6f8; }
.services-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: end; gap: clamp(50px, 8vw, 120px); margin-bottom: 54px; padding-bottom: 44px; border-bottom: 1px solid #cfd5dc; }
.services-intro .eyebrow { margin-bottom: 24px; }
.services-intro h2 { max-width: 820px; margin: 0; font-size: clamp(54px, 6.5vw, 88px); line-height: .92; letter-spacing: -.06em; font-weight: 900; }
.services-intro h2 em { color: var(--red); font-family: Georgia, serif; font-weight: 400; }
.services-intro > p { margin: 0 0 6px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-panel { position: relative; min-height: 430px; display: flex; flex-direction: column; padding: 30px; overflow: hidden; background: white; border: 1px solid #d8dee5; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-panel::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 4px; background: var(--red); transition: width .3s ease; }
.service-panel:hover { transform: translateY(-7px); border-color: #bcc5cf; box-shadow: 0 24px 55px rgba(9, 21, 35, .11); }
.service-panel:hover::before { width: 100%; }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 48px; }
.service-number { padding-top: 8px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.service-icon { width: 74px; height: 74px; flex: 0 0 74px; display: grid; place-items: center; background: var(--navy); }
.service-icon svg { width: 40px; height: 40px; fill: none; stroke: white; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-panel h3 { max-width: 280px; margin: 0 0 16px; font-size: clamp(27px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -.045em; }
.service-panel > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-panel ul { margin: auto 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid #e0e4e8; color: #38414b; font-size: 13px; line-height: 1.95; }
.service-panel li::before { content: ""; display: inline-block; width: 14px; height: 2px; margin: 0 10px 4px 0; background: var(--red); }

.statement { position: relative; min-height: 660px; display: grid; align-items: center; overflow: hidden; background: var(--navy); color: white; }
.statement-art { position: absolute; inset: 0; color: var(--red); opacity: .93; overflow: hidden; }
.statement-art span { position: absolute; right: -2vw; top: 50%; transform: translateY(-52%); font-size: 72vw; line-height: .7; font-weight: 900; letter-spacing: -.15em; }
.statement-inner { position: relative; max-width: 1050px; }
.statement-inner > p { margin: 0 0 18px; color: rgba(255,255,255,.62); font-size: 18px; }
.statement h2 { font-size: clamp(45px, 6vw, 80px); max-width: 890px; line-height: .98; }
.statement h2 em { color: white; }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; }
.about-visual { position: relative; }
.about-visual::before { content: ""; position: absolute; left: -18px; top: 30px; width: 3px; height: 140px; background: var(--red); }
.about-visual img { aspect-ratio: 4/5; width: 100%; object-fit: cover; object-position: 52% center; filter: saturate(.7) contrast(1.05); }
.about-stamp { position: absolute; right: -35px; bottom: 36px; width: 154px; height: 154px; border-radius: 50%; background: var(--red); color: white; display: grid; place-content: center; text-align: center; transform: rotate(-8deg); }
.about-stamp strong { font-size: 45px; line-height: .9; letter-spacing: -.05em; }
.about-stamp span { margin-top: 5px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.about-copy .large { margin: 36px 0 20px; font-size: 21px; line-height: 1.55; color: #333; }
.about-copy > p:not(.eyebrow):not(.large) { color: var(--muted); line-height: 1.75; }
.about-values { margin-top: 38px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.about-values div { padding: 18px 12px 0 0; }
.about-values strong, .about-values span { display: block; }
.about-values strong { color: var(--red); font-size: 12px; margin-bottom: 12px; }
.about-values span { font-size: 12px; line-height: 1.4; font-weight: 800; }

.process { background: var(--navy); color: white; }
.process-steps li { position: relative; }
.process-steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 54px; height: 3px; background: var(--red); }
.process-head { display: grid; grid-template-columns: 1fr 390px; gap: 80px; align-items: end; margin-bottom: 72px; }
.process-head > p { color: rgba(255,255,255,.77); line-height: 1.7; margin: 0; }
.process .eyebrow span { background: white; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.35); }
.process-steps li { min-height: 250px; padding: 24px 28px 0 0; border-right: 1px solid rgba(255,255,255,.22); }
.process-steps li + li { padding-left: 28px; }
.process-steps li:last-child { border: 0; }
.process-steps span { display: block; font-size: 12px; color: rgba(255,255,255,.58); margin-bottom: 80px; }
.process-steps h3 { margin: 0 0 12px; font-size: 24px; }
.process-steps p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.55; }

.certificates { background: white; }
.section-heading.split { align-items: end; }
.certificate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.certificate-card { text-decoration: none; border: 1px solid #dce1e7; background: var(--paper); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.certificate-card:hover { transform: translateY(-7px); box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.certificate-preview { height: 420px; overflow: hidden; background: #eef1f4; }
.certificate-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(.25); transition: filter .25s, transform .4s; }
.certificate-card:hover img { filter: grayscale(0); transform: scale(1.02); }
.certificate-meta { display: flex; align-items: center; justify-content: space-between; padding: 22px; }
.certificate-meta small, .certificate-meta strong { display: block; }
.certificate-meta small { color: var(--muted); margin-bottom: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.certificate-meta strong { font-size: 20px; }
.certificate-meta b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: white; }

.faq-grid { display: grid; grid-template-columns: 340px 1fr; gap: 100px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; font-size: 18px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--red); font-size: 24px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: -5px 50px 28px 0; max-width: 700px; color: var(--muted); line-height: 1.7; }

.contact { padding: 120px 0 0; background: var(--navy); color: white; }
.contact-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.contact-top .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.contact h2 { font-size: clamp(70px, 10vw, 145px); }
.contact-call { min-width: 360px; border-top: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); padding: 16px 0; }
.contact-call span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.58); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.contact-call a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 7px 0; text-decoration: none; }
.contact-call a + a { border-top: 1px solid rgba(255,255,255,.12); }
.contact-call strong { font-size: 24px; }
.contact-call b { font-size: 24px; color: var(--red); }
.contact-info { margin-top: 80px; padding: 45px 0 65px; border-top: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.contact-info small { display: block; margin-bottom: 16px; color: rgba(255,255,255,.5); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.contact-info p { margin: 0 0 14px; color: rgba(255,255,255,.84); line-height: 1.65; }
.contact-info a { text-underline-offset: 4px; }
footer { background: #091523; color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.1); }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 12px; }
.footer-logo { width: 138px; height: 72px; object-fit: contain; background: white; padding: 6px; border-radius: 2px; }
.footer-inner a { color: white; text-underline-offset: 5px; }
.floating-call { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

.hero-brand { display: block; margin-bottom: 13px; color: #fff; font-size: clamp(13px, 1.25vw, 18px); font-style: normal; font-weight: 800; letter-spacing: .2em; line-height: 1; text-transform: uppercase; }
.service-panel h3 a { color: inherit; text-decoration: none; }
.service-panel h3 a:hover { color: var(--red); }
.service-link { display: inline-block; margin-top: 22px; color: var(--ink); font-size: 12px; font-weight: 800; text-decoration-color: var(--red); text-underline-offset: 5px; }
.service-link:hover { color: var(--red); }

@media (max-width: 900px) {
  .section { padding: 88px 0; }
  .header-inner { height: 72px; grid-template-columns: 1fr auto; }
  .brand { width: 148px; height: 50px; }
  .brand-logo { width: 140px; height: 48px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; }
  .menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: absolute; left: 0; right: 0; top: 72px; display: grid; background: var(--paper); padding: 18px 20px 28px; border-bottom: 1px solid var(--line); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 15px 0; text-decoration: none; font-weight: 800; border-bottom: 1px solid var(--line); }
  .hero { min-height: 760px; padding-top: 72px; }
  .hero-media, .hero-wash { top: 72px; }
  .hero-grid { min-height: calc(100svh - 72px); grid-template-columns: 1fr; padding-bottom: 110px; align-content: center; }
  .hero-copy { padding-top: 55px; }
  .hero h1 { font-size: clamp(58px, 15vw, 92px); }
  .hero-proof { display: none; }
  .section-heading, .about-grid, .process-head, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-registrations-head { grid-template-columns: 1fr; gap: 20px; }
  .registration-ribbon { grid-template-columns: 1fr; }
  .registration-chip { grid-template-columns: 92px 1fr; min-height: 124px; }
  .registration-chip img { width: 92px; height: 96px; }
  .registration-chip em { margin-top: 12px; }
  .services-intro { grid-template-columns: 1fr; gap: 24px; }
  .services-intro h2 { max-width: 700px; }
  .services-intro > p { max-width: 620px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-panel { min-height: 360px; }
  .about-grid { gap: 60px; }
  .about-visual { max-width: 620px; }
  .about-stamp { right: -15px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps li:nth-child(2) { border-right: 0; }
  .certificate-preview { height: 300px; }
  .faq-grid { grid-template-columns: 240px 1fr; }
  .contact-top { grid-template-columns: 1fr; }
  .contact-call { min-width: 0; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .home-registrations { padding: 58px 0 64px; }
  .hero { min-height: 720px; }
  .hero-media { background-position: 61% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(0,0,0,.87), rgba(0,0,0,.38)), linear-gradient(0deg, rgba(0,0,0,.65), transparent 50%); }
  .hero-copy { padding-top: 20px; }
  .hero h1 { font-size: clamp(53px, 16vw, 74px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .eyebrow { font-size: 10px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .about h2, .process h2, .faq h2 { font-size: 48px; }
  .services-intro { margin-bottom: 32px; padding-bottom: 32px; }
  .services-intro h2 { font-size: 48px; }
  .services-intro > p { font-size: 14px; }
  .service-panel { min-height: 380px; padding: 24px; }
  .service-top { margin-bottom: 36px; }
  .service-icon { width: 64px; height: 64px; flex-basis: 64px; }
  .statement { min-height: 540px; }
  .statement h2 { font-size: 44px; }
  .about-stamp { width: 128px; height: 128px; right: -4px; }
  .about-values { grid-template-columns: 1fr; }
  .about-values div { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li, .process-steps li + li { min-height: auto; padding: 25px 0 28px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .process-steps span { margin-bottom: 30px; }
  .certificate-grid { grid-template-columns: 1fr; }
  .certificate-preview { height: 360px; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact { padding-top: 80px; }
  .contact h2 { font-size: 72px; }
  .contact-info { grid-template-columns: 1fr; gap: 30px; margin-top: 60px; }
  .footer-inner { padding: 28px 0 90px; flex-direction: column; align-items: flex-start; }
  .floating-call { position: fixed; z-index: 40; right: 14px; bottom: 14px; display: flex; gap: 8px; align-items: center; padding: 13px 17px; background: var(--red); color: white; border-radius: 99px; text-decoration: none; box-shadow: 0 8px 30px rgba(0,0,0,.25); font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
