:root {
    --orange: #ff7f00;
    --orange-dark: #e66f00;
    --black: #000;
    --white: #fff;
    --gray: #8e8e8e;
    --light-gray: #f2f2f2;
    --border: #dedede;
    --content: 1240px;
    --font: "Georama", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--white);
    color: var(--black);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.section { padding: 92px 0; }
.section h2 {
    margin: 0;
    font-size: clamp(2.15rem, 4.1vw, 4.1rem);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -.035em;
}
.button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 14px 31px;
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--black { background: var(--black); color: var(--white); }
.button--black:hover { background: #242424; }
.button--orange { border-radius: 4px; background: var(--orange); color: var(--white); }
.button--outline-orange { border-radius: 4px; border-color: var(--orange); background: var(--white); color: var(--black); }

/* Header */
.site-header { position: relative; z-index: 50; height: 173px; background: var(--white); }
.site-nav { max-width: 1680px; height: 100%; margin: auto; }
.site-nav__top {
    display: grid;
    height: 112px;
    grid-template-columns: 31% 52% 17%;
    align-items: center;
    border-top: 4px solid var(--orange);
    border-bottom: 1px solid #e8e8e8;
    padding: 0 14px;
}
.site-logo { display: block; width: 197px; height: 52px; }
.site-logo img { width: 100%; height: 100%; }
.site-contact { justify-self: center; }
.site-contact > strong { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.site-contact__links { display: flex; align-items: center; gap: 26px; }
.site-contact__links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    text-decoration: underline;
}
.site-contact__links a:nth-child(2) { text-decoration: none; }
.site-contact__links svg { width: 27px; height: 27px; fill: none; stroke: var(--orange); stroke-width: 2; }
.site-contact__links span { color: #999; font-size: 13px; }
.site-tools { display: flex; align-items: center; justify-content: flex-end; gap: 30px; }
.icon-button { width: 40px; height: 40px; border: 0; background: transparent; }
.icon-button svg { width: 27px; fill: none; stroke: #202020; stroke-linecap: round; stroke-width: 2; }
.language { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.language img { width: 24px; height: 16px; }
.language svg { width: 11px; fill: none; stroke: #222; stroke-width: 2; }
.mobile-menu-button { display: none; }
.site-nav__bottom { height: 61px; background: var(--white); }
.nav-list {
    display: flex;
    height: 100%;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    padding: 0 10px;
    list-style: none;
}
.nav-list > li { position: relative; display: flex; align-items: stretch; }
.nav-list > li + li { border-left: 1px solid #eee; }
.nav-list > li > a {
    display: flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 10px 10px 0 0;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.nav-list > li > a:hover, .nav-list > li:focus-within > a { background: var(--light-gray); }
.has-submenu > a::after { content: ""; width: 7px; height: 7px; margin-left: 13px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); }
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: grid;
    width: 570px;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 18px;
    background: var(--black);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.mega-menu--small { width: 310px; grid-template-columns: 1fr; }
.has-submenu:hover .mega-menu, .has-submenu:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu a { padding: 10px 13px; font-size: 14px; text-decoration: none; }
.mega-menu a:hover { color: var(--orange); }
.search-panel {
    position: absolute;
    inset: 112px 0 auto;
    z-index: 4;
    padding: 28px 20px;
    background: var(--black);
    color: var(--white);
    box-shadow: 0 15px 30px rgba(0,0,0,.2);
}
.search-panel form { display: grid; grid-template-columns: auto minmax(0, 600px) auto auto; gap: 12px; align-items: center; justify-content: center; }
.search-panel label { font-weight: 600; }
.search-panel input { min-height: 48px; border: 0; border-radius: 0; padding: 0 16px; }
.search-panel button { min-height: 48px; border: 0; padding: 0 22px; background: var(--orange); font-weight: 650; }
.search-panel [data-search-close] { width: 48px; padding: 0; background: transparent; color: var(--white); font-size: 2rem; }

/* Hero */
.hero {
    position: relative;
    width: min(calc(100% - 30px), 1640px);
    height: 660px;
    margin: 0 auto;
    overflow: hidden;
    background: #8e8e8e;
}
.hero__track, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__background { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__panel {
    position: absolute;
    inset: 282px 8.6% 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 24px 94px 24px 24px;
    padding: 50px clamp(40px, 10vw, 160px);
    background: rgba(255, 127, 0, .96);
    color: var(--white);
    text-align: center;
}
.hero-slide__panel h1 {
    max-width: 1000px;
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.035em;
}
.hero-slide__panel h1 span { display: block; font-weight: 300; }
.hero-slide__panel p { max-width: 820px; margin: 0 auto 34px; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.6; }
.hero-slide__actions { display: flex; width: min(100%, 650px); gap: 22px; justify-content: center; }
.hero-slide__actions .button { width: 48%; max-width: 310px; font-size: 17px; }
.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    border: 0;
    background: transparent;
    color: var(--orange);
    font-size: 4.2rem;
    font-weight: 200;
    line-height: 1;
    transform: translateY(-50%);
}
.carousel-arrow--prev { left: 2px; }
.carousel-arrow--next { right: 2px; }
.carousel-dots { position: absolute; bottom: 15px; left: 50%; z-index: 4; display: flex; gap: 10px; transform: translateX(-50%); }
.carousel-dots button { width: 10px; height: 10px; border: 0; border-radius: 50%; padding: 0; background: #c7c7c7; }
.carousel-dots button.is-active { background: var(--orange); }

/* Public sections */
.benefits { padding-top: 70px; }
.benefits h2 { margin-bottom: 65px; font-size: clamp(2rem, 3.4vw, 3.5rem); }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.benefits__grid article { min-height: 185px; border-top: 2px solid var(--black); padding: 25px 4px; }
.benefits__grid img { width: 56px; height: 56px; margin-bottom: 25px; object-fit: contain; }
.benefits__grid p { max-width: 250px; margin: 0; font-size: 19px; font-weight: 500; line-height: 1.35; }
.services { background: var(--orange); }
.section-heading--wide { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; margin-bottom: 65px; }
.section-heading p { margin: 0; font-size: 19px; line-height: 1.65; }
.service-list { border-top: 2px solid var(--black); }
.service-row {
    display: grid;
    min-height: 135px;
    grid-template-columns: 80px minmax(250px, .8fr) 1.2fr 55px;
    gap: 30px;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,.55);
    padding: 22px 0;
}
.service-row > span { font-size: 14px; font-weight: 700; }
.service-row h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 500; line-height: 1.15; }
.service-row p { margin: 0; line-height: 1.55; }
.service-row > a {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    font-size: 25px;
    text-decoration: none;
}
.knowhow { background: var(--white); }
.knowhow__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
.knowhow h2 { margin-bottom: 35px; text-transform: uppercase; }
.knowhow p { max-width: 590px; margin: 0 0 35px; font-size: 18px; line-height: 1.7; }
.knowhow__topics { border-top: 2px solid var(--black); }
.knowhow__topics article { display: grid; grid-template-columns: 65px 1fr; gap: 20px; align-items: start; border-bottom: 1px solid var(--black); padding: 28px 0; }
.knowhow__topics span { color: var(--orange); font-weight: 700; }
.knowhow__topics h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 400; line-height: 1.2; }
.approach { background: var(--black); color: var(--white); }
.approach__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 75px; }
.approach__intro h2 { color: var(--orange); text-transform: uppercase; }
.approach__intro p { margin: 0; font-size: 19px; line-height: 1.7; }
.approach__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; border-top: 1px solid #555; }
.approach__steps article { border-bottom: 1px solid #555; padding: 34px 0 38px; }
.approach__steps h3 { margin: 0 0 15px; font-size: 23px; font-weight: 500; }
.approach__steps p { margin: 0; color: #d0d0d0; line-height: 1.7; }
.stats h2 { max-width: 880px; margin-bottom: 65px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--black); border-bottom: 2px solid var(--black); }
.stats__grid article { min-height: 220px; padding: 38px 25px; }
.stats__grid article + article { border-left: 1px solid var(--black); }
.stats__grid strong { display: block; margin-bottom: 28px; color: var(--orange); font-size: clamp(2.3rem, 4vw, 4.5rem); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.stats__grid p { max-width: 210px; margin: 0; font-size: 17px; }
.stats__body { max-width: 820px; margin: 45px 0 0 auto; font-size: 19px; line-height: 1.7; }
.contact-section { background: var(--orange); }
.contact-section__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 10vw, 150px); }
.contact-section__copy { position: sticky; top: 30px; align-self: start; }
.contact-section__copy h2 { margin-bottom: 30px; }
.contact-section__copy p { font-size: 18px; line-height: 1.7; }
.contact-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.contact-form input:not([type=checkbox]):not([type=file]), .contact-form select, .contact-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 2px solid var(--black);
    border-radius: 0;
    outline: 0;
    padding: 12px 0;
    background: transparent;
    color: var(--black);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--white); }
.contact-form textarea { resize: vertical; }
.contact-form input[type=file] { border: 1px dashed rgba(0,0,0,.55); padding: 18px; }
.checkbox-field { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; }
.checkbox-field input { margin-top: 4px; }
.contact-form .button { justify-self: start; min-width: 210px; }
.honeypot { position: absolute; left: -9999px; }
.form-success { border: 2px solid #117a32; padding: 14px 18px; background: #e4f7e8; color: #0b5c25; font-weight: 600; }
.form-errors { border: 2px solid #9d1b1b; padding: 14px 18px; background: #fff0f0; color: #6e1111; }
.form-errors ul { margin-bottom: 0; }

/* Newsletter and footer */
.newsletter-band { padding: 72px 20px; background: var(--orange); }
.newsletter-band__inner { width: min(100%, 900px); margin: auto; text-align: center; }
.newsletter-band h3 { margin: 0 auto 32px; font-size: clamp(1.65rem, 3.2vw, 2.7rem); font-weight: 400; line-height: 1.25; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; max-width: 660px; margin: auto; }
.newsletter-form > input[type=email] { min-height: 58px; border: 0; padding: 0 20px; background: var(--white); }
.newsletter-form > button { border: 0; padding: 0 28px; background: var(--black); color: var(--white); font-weight: 650; }
.newsletter-consent { grid-column: 1 / -1; display: flex; justify-content: center; gap: 9px; margin-top: 12px; font-size: 13px; }
.newsletter-band__inner > p { margin: 18px 0 0; font-size: 14px; }
.footer-links { padding: 80px 20px; background: var(--white); }
.footer-links__grid { display: grid; width: min(100%, var(--content)); grid-template-columns: 1.1fr 1fr 1fr 1.15fr; gap: 50px; margin: auto; }
.footer-links h4 { margin: 0 0 28px; color: var(--orange); font-size: 18px; }
.footer-links__grid > div > a { display: block; margin: 0 0 12px; font-size: 14px; text-decoration: none; }
.footer-links__grid > div > a:hover { color: var(--orange); }
.footer-contact h2 { margin: 0 0 25px; font-size: 30px; font-weight: 300; line-height: 1.2; }
.footer-contact span { display: block; margin: 8px 0 25px; color: #888; font-size: 13px; }
.footer-contact p { font-size: 14px; }
.social-links { display: flex; gap: 8px; }
.social-links a { display: flex !important; width: 35px; height: 35px; align-items: center; justify-content: center; margin: 0 !important; border-radius: 50%; background: var(--black); color: var(--white); font-weight: 700; }
.site-footer { min-height: 192px; display: flex; align-items: center; justify-content: center; padding: 80px 10px 90px; background: var(--black); color: var(--white); }
.site-footer p { margin: 0; font-size: 14px; }

/* Cookie and floating chat */
.cookie-banner {
    position: fixed;
    inset: auto 0 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 285px;
    gap: 28px;
    align-items: center;
    padding: 25px max(20px, calc((100vw - 1140px) / 2));
    background: var(--white);
    box-shadow: 0 -12px 30px rgba(0,0,0,.12);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__logo { width: 110px; }
.cookie-banner__copy strong { font-weight: 700; }
.cookie-banner__copy p { margin: 7px 0 0; font-size: 14px; line-height: 1.55; }
.cookie-banner__copy a { color: var(--orange); font-weight: 650; }
.cookie-preferences {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}
.cookie-preferences[hidden] { display: none; }
.cookie-preferences label {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 11px;
    cursor: pointer;
}
.cookie-preferences input { margin-top: 3px; accent-color: var(--orange); }
.cookie-preferences span { display: grid; gap: 3px; }
.cookie-preferences strong { font-size: 13px; }
.cookie-preferences small { color: #666; font-size: 11px; font-weight: 400; line-height: 1.35; }
.cookie-banner__actions { display: grid; gap: 8px; }
.cookie-banner__actions .button { min-height: 51px; font-size: 14px; }
.floating-chat {
    position: fixed;
    right: 25px;
    bottom: 24px;
    z-index: 80;
    display: flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.floating-chat span { position: relative; width: 25px; height: 22px; border-radius: 45% 45% 45% 20%; background: var(--white); }
.floating-chat span::after { content: ""; position: absolute; right: 0; bottom: -4px; border-width: 5px 0 0 6px; border-style: solid; border-color: transparent transparent transparent var(--white); }

/* Admin */
.admin-body { min-height: 100vh; background: #f1f2f3; }
.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 10;
    display: flex;
    width: 250px;
    flex-direction: column;
    padding: 30px 20px;
    background: var(--black);
    color: var(--white);
}
.admin-logo { display: block; width: 145px; margin: 0 auto 45px; filter: brightness(0) invert(1); }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar nav a { border-radius: 8px; padding: 11px 13px; color: #bbb; text-decoration: none; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.is-active { background: #252525; color: var(--white); }
.admin-user { display: grid; margin-top: auto; gap: 2px; border-top: 1px solid #333; padding-top: 20px; }
.admin-user span { color: var(--orange); font-size: 12px; text-transform: uppercase; }
.admin-user button { border: 0; padding: 9px 0; background: transparent; color: #aaa; text-align: left; }
.admin-main { min-height: 100vh; margin-left: 250px; padding: 35px clamp(24px, 4vw, 65px) 70px; }
.admin-topbar { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 35px; }
.admin-topbar p { margin: 0 0 3px; color: #777; }
.admin-topbar h1 { margin: 0; font-size: 36px; font-weight: 450; }
.admin-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.admin-actions form { margin: 0; }
.admin-button {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--black);
    border-radius: 6px;
    padding: 10px 18px;
    background: var(--black);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
}
.admin-button--secondary { background: var(--white); color: var(--black); }
.admin-alert { margin: 0 0 24px; border-radius: 6px; padding: 14px 18px; }
.admin-alert--success { background: #dff2e3; color: #125824; }
.admin-alert--error { background: #ffe0e0; color: #7d1616; }
.admin-alert ul { margin: 0; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.admin-stats article { display: flex; align-items: center; justify-content: space-between; border-radius: 10px; padding: 24px; background: var(--white); }
.admin-stats span { color: #777; }
.admin-stats strong { color: var(--orange); font-size: 35px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admin-panel { margin-bottom: 24px; border-radius: 10px; padding: 28px; background: var(--white); box-shadow: 0 2px 3px rgba(0,0,0,.03); }
.admin-panel h2 { margin: 0 0 22px; font-size: 22px; font-weight: 550; }
.admin-panel__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.admin-panel__header h2 { margin-bottom: 4px; }
.admin-panel__header p { margin: 0; color: #777; }
.status-badge { border-radius: 999px; padding: 5px 11px; background: #eee; font-size: 12px; text-transform: uppercase; }
.status-badge--published { background: #d9f2df; color: #146127; }
.admin-details { margin: 0; }
.admin-details div { display: flex; justify-content: space-between; border-bottom: 1px solid #eee; padding: 13px 0; }
.admin-details dt { color: #777; }
.admin-details dd { margin: 0; font-weight: 550; }
.lead-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee; padding: 13px 0; color: inherit; text-decoration: none; }
.lead-row:hover strong { color: var(--orange-dark); }
.lead-row div { display: grid; }
.lead-row span, .lead-row time { color: #777; font-size: 13px; }
.admin-lead-list { display: grid; }
.admin-lead-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1.6fr auto;
    gap: 22px;
    align-items: center;
    border-top: 1px solid #eee;
    padding: 18px 0;
    color: inherit;
    text-decoration: none;
}
.admin-lead-card:hover { background: #fff9f2; }
.admin-lead-card > div { display: grid; gap: 3px; min-width: 0; }
.admin-lead-card span, .admin-lead-card time { color: #777; font-size: 13px; }
.admin-lead-card__status { justify-items: end; text-align: right; }
.mail-status { display: inline-flex; width: max-content; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 600; }
.mail-status--sent { background: #dff2e3; color: #125824 !important; }
.mail-status--failed { background: #ffe0e0; color: #7d1616 !important; }
.mail-status--pending { background: #fff0d2; color: #7b4b00 !important; }
.mail-status--local { background: #edf0f4; color: #535d6c !important; }
.admin-newsletter-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.admin-newsletter-stats a {
    display: grid;
    min-width: 0;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 18px 20px;
    background: var(--white);
    color: inherit;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}
.admin-newsletter-stats a:hover,
.admin-newsletter-stats a.is-active { border-color: var(--orange); }
.admin-newsletter-stats a:hover { transform: translateY(-2px); }
.admin-newsletter-stats span { overflow-wrap: anywhere; color: #667085; font-size: 13px; }
.admin-newsletter-stats strong { color: var(--orange); font-size: 30px; line-height: 1; }
.admin-list-filters {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(210px, .55fr) auto auto;
    gap: 12px;
    align-items: end;
    border: 1px solid #e2e5e9;
    border-radius: 9px;
    margin-bottom: 22px;
    padding: 16px;
    background: #f8f9fa;
}
.admin-list-filters label { display: grid; min-width: 0; gap: 6px; color: #555; font-size: 13px; font-weight: 600; }
.admin-list-filters input,
.admin-list-filters select {
    width: 100%;
    min-height: 45px;
    border: 1px solid #d7dce2;
    border-radius: 6px;
    padding: 9px 12px;
    background: #fff;
}
.admin-subscriber-list { display: grid; }
.admin-subscriber-card {
    display: grid;
    grid-template-columns: minmax(230px, .9fr) minmax(260px, 1.25fr) minmax(210px, .85fr);
    gap: 24px;
    align-items: center;
    border-top: 1px solid #eceef1;
    padding: 20px 0;
}
.admin-subscriber-card > div { display: grid; min-width: 0; gap: 5px; }
.admin-subscriber-card span,
.admin-subscriber-card small { color: #707782; font-size: 13px; }
.admin-subscriber-card__email strong { overflow-wrap: anywhere; font-size: 16px; }
.admin-subscriber-card__source a {
    overflow: hidden;
    color: #343b46;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-subscriber-card__mailchimp { justify-items: start; }
.admin-subscriber-card__error {
    grid-column: 1 / -1;
    margin: -8px 0 0;
    border-left: 3px solid #b52828;
    padding: 10px 13px;
    background: #fff3f3;
    color: #7d1616;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.admin-empty-state { border-top: 1px solid #eceef1; padding: 42px 20px; text-align: center; }
.admin-empty-state p { margin: 6px 0 0; color: #707782; }
.admin-grid--lead { align-items: start; }
.admin-details--stacked div { gap: 24px; }
.admin-details--stacked dt { flex: 0 0 190px; }
.admin-details--stacked dd { overflow-wrap: anywhere; text-align: right; }
.admin-details--stacked dd small { display: block; color: #777; font-weight: 400; }
.admin-lead-message { border-radius: 7px; padding: 20px; background: #f4f5f7; line-height: 1.65; }
.admin-error-text { color: #8b1717; }
.admin-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; border-top: 1px solid #eee; padding-top: 22px; }
.admin-pagination a, .admin-pagination span { border: 1px solid #ddd; border-radius: 5px; padding: 8px 12px; text-decoration: none; }
.admin-pagination span { color: #aaa; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-form-grid label, .admin-panel > label, .media-upload label {
    display: grid;
    gap: 7px;
    color: #555;
    font-size: 13px;
    font-weight: 600;
}
.admin-span-2 { grid-column: 1 / -1; }
.admin-form-grid input, .admin-form-grid select, .admin-form-grid textarea,
.admin-panel > label input, .media-upload input, .json-editor, .user-row input, .user-row select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    padding: 10px 12px;
    background: var(--white);
    color: var(--black);
}
.json-editor {
    min-height: 680px;
    resize: vertical;
    background: #111;
    color: #f7f7f7;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.55;
    tab-size: 2;
}
.admin-hint { color: #777; font-size: 13px; }
.sticky-save { position: sticky; bottom: 18px; z-index: 5; display: flex; align-items: center; justify-content: space-between; margin: 18px 0 28px; border-radius: 9px; padding: 16px 20px; background: var(--black); color: var(--white); box-shadow: 0 12px 35px rgba(0,0,0,.22); }
.admin-revisions article { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; border-bottom: 1px solid #eee; padding: 14px 0; }
.admin-revisions article div { display: grid; }
.admin-revisions article span, .admin-revisions time { color: #777; font-size: 13px; }
.admin-revisions button, .media-card__actions button, .user-row button { border: 0; background: transparent; color: var(--orange-dark); font-weight: 600; }
.media-upload { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 15px; align-items: end; }
.admin-media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.media-card { display: grid; gap: 8px; border-radius: 9px; padding: 14px; background: var(--white); }
.media-card__preview { display: flex; height: 150px; align-items: center; justify-content: center; overflow: hidden; border-radius: 6px; background: #e8e8e8; }
.media-card__preview img, .media-card__preview video { width: 100%; height: 100%; object-fit: cover; }
.media-card__preview > span { font-size: 30px; font-weight: 700; }
.media-card small { color: #777; }
.media-card > input { width: 100%; border: 1px solid #ddd; padding: 7px; font-size: 11px; }
.media-card__actions { display: flex; justify-content: space-between; }
.user-list { display: grid; gap: 10px; }
.user-row { display: grid; grid-template-columns: 1fr 1.2fr .8fr 1fr auto auto; gap: 10px; align-items: center; border-bottom: 1px solid #eee; padding: 12px 0; }
.user-row .checkbox-field { font-size: 13px; }
.login-page { display: grid; min-height: 100vh; place-items: center; padding: 20px; background: var(--orange); }
.login-card { width: min(100%, 440px); border-radius: 12px 70px 12px 12px; padding: 45px; background: var(--white); box-shadow: 0 22px 60px rgba(0,0,0,.18); }
.login-card > img { width: 160px; margin-bottom: 30px; }
.login-card > p { margin-bottom: 4px; color: #777; }
.login-card h1 { margin: 0 0 25px; font-size: 37px; font-weight: 400; }
.login-card form { display: grid; gap: 18px; margin-bottom: 20px; }
.login-card form > label:not(.checkbox-field) { display: grid; gap: 7px; font-weight: 600; }
.login-card input:not([type=checkbox]) { min-height: 48px; border: 1px solid #ccc; padding: 10px 12px; }
.login-card > a { font-size: 14px; }

@media (max-width: 1200px) {
    .nav-list > li > a { padding-inline: 9px; font-size: 13px; }
    .site-contact__links { gap: 16px; }
    .site-contact__links span { display: none; }
    .footer-links__grid { grid-template-columns: 1fr 1fr; }
    .admin-media-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .site-header { height: 65px; }
    .site-nav__top { position: relative; z-index: 3; height: 65px; grid-template-columns: auto 1fr auto; border-top-width: 3px; padding: 0 15px; }
    .site-logo { width: 93px; height: auto; }
    .site-contact { display: none; }
    .site-tools { grid-column: 3; gap: 13px; }
    .site-tools .icon-button { width: 28px; height: 36px; }
    .site-tools .icon-button svg { width: 23px; stroke: var(--orange); }
    .language { display: none; }
    .site-tools::before, .site-tools::after { content: ""; display: block; width: 21px; height: 18px; background-repeat: no-repeat; background-position: center; background-size: contain; }
    .site-tools::before { background-image: url("/assets/images/icon-email.svg"); }
    .site-tools::after { order: -1; background-image: url("/assets/images/icon-phone.svg"); }
    .mobile-menu-button {
        display: flex;
        min-height: 40px;
        align-items: center;
        gap: 8px;
        border: 0;
        border-radius: 4px;
        padding: 8px 10px;
        background: var(--black);
        color: var(--white);
    }
    .mobile-menu-button img { width: 20px; filter: brightness(0) invert(1); }
    .site-nav__bottom {
        position: fixed;
        inset: 65px 0 0;
        z-index: 2;
        height: auto;
        overflow-y: auto;
        background: var(--black);
        color: var(--white);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: .2s ease;
    }
    .site-nav__bottom.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-list { display: block; height: auto; padding: 25px 20px 60px; }
    .nav-list > li { display: block; border: 0 !important; border-bottom: 1px solid #333 !important; }
    .nav-list > li > a { min-height: 55px; border-radius: 0; padding: 0; font-size: 17px; }
    .nav-list > li > a:hover { background: transparent; color: var(--orange); }
    .mega-menu { position: static; display: none; width: auto; grid-template-columns: 1fr; padding: 0 0 15px 15px; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
    .has-submenu:focus-within .mega-menu { display: grid; }
    .search-panel { position: fixed; inset: 65px 0 auto; }
    .search-panel form { grid-template-columns: 1fr auto; }
    .search-panel label { grid-column: 1 / -1; }
    .search-panel [data-search-close] { position: absolute; top: 8px; right: 8px; }
    .hero { width: calc(100% - 30px); height: 675px; }
    .hero-slide__panel { inset: 28px 4% 70px; border-radius: 26px 62px 26px 26px; padding: 35px 30px; }
    .hero-slide__panel h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); }
    .benefits__grid { grid-template-columns: 1fr 1fr; }
    .section-heading--wide, .knowhow__grid, .approach__intro, .contact-section__grid { grid-template-columns: 1fr; gap: 35px; }
    .contact-section__copy { position: static; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .stats__grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--black); }
    .stats__grid article:nth-child(4) { border-top: 1px solid var(--black); }
    .admin-sidebar { position: static; width: auto; }
    .admin-sidebar nav { grid-template-columns: repeat(3, 1fr); }
    .admin-logo { margin-inline: 0; }
    .admin-user { margin-top: 30px; }
    .admin-main { margin-left: 0; }
    .admin-media-grid { grid-template-columns: repeat(2, 1fr); }
    .user-row { grid-template-columns: 1fr 1fr; }
    .admin-newsletter-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .admin-list-filters { grid-template-columns: minmax(220px, 1fr) minmax(200px, .7fr) auto; }
    .admin-list-filters .admin-button--secondary { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 700px) {
    body { font-size: 15px; }
    .container { width: min(calc(100% - 30px), var(--content)); }
    .section { padding: 68px 0; }
    .site-logo { width: 62px; overflow: visible; }
    .site-logo img { width: 100%; max-width: 100%; }
    .site-tools { gap: 9px; }
    .site-tools::before, .site-tools::after { width: 18px; height: 18px; }
    .mobile-menu-button { font-size: 15px; }
    .hero { height: 680px; }
    .hero-slide__background { object-position: center; }
    .hero-slide__panel { inset: 0 15px 82px; justify-content: flex-start; border-radius: 28px 60px 28px 28px; padding: 28px 25px; }
    .hero-slide__panel h1 { margin-bottom: 17px; font-size: 39px; line-height: 1.08; }
    .hero-slide__panel p { margin-bottom: 28px; font-size: 17px; line-height: 1.58; }
    .hero-slide__actions { flex-direction: column; gap: 16px; }
    .hero-slide__actions .button { width: 100%; max-width: none; min-height: 72px; padding-inline: 22px; font-size: 18px; }
    .carousel-arrow { font-size: 3.2rem; }
    .carousel-arrow--prev { left: -2px; }
    .carousel-arrow--next { right: -2px; }
    .benefits h2 { margin-bottom: 38px; }
    .benefits__grid { grid-template-columns: 1fr; gap: 0; }
    .benefits__grid article { display: grid; min-height: auto; grid-template-columns: 55px 1fr; gap: 18px; align-items: center; padding: 22px 0; }
    .benefits__grid img { margin: 0; }
    .benefits__grid p { max-width: none; font-size: 17px; }
    .service-row { grid-template-columns: 40px 1fr 45px; gap: 14px; padding: 25px 0; }
    .service-row h3 { font-size: 22px; }
    .service-row p { grid-column: 2 / -1; }
    .service-row > a { grid-column: 3; grid-row: 1; }
    .knowhow__grid { gap: 55px; }
    .approach__steps { grid-template-columns: 1fr; }
    .approach__steps article { padding: 28px 0; }
    .stats__grid { grid-template-columns: 1fr; }
    .stats__grid article { min-height: 160px; border: 0 !important; border-top: 1px solid var(--black) !important; }
    .stats__grid article:first-child { border-top: 0 !important; }
    .stats__body { margin-top: 30px; font-size: 17px; }
    .field-row { grid-template-columns: 1fr; }
    .newsletter-band { padding: 60px 15px; }
    .newsletter-form { grid-template-columns: 1fr; }
    .newsletter-form > button { min-height: 55px; }
    .footer-links { padding: 60px 20px; }
    .footer-links__grid { grid-template-columns: 1fr; gap: 35px; }
    .site-footer { min-height: 149px; padding: 60px 10px 70px; }
    .cookie-banner { grid-template-columns: 1fr; gap: 15px; max-height: 90vh; overflow: auto; padding: 22px; }
    .cookie-banner__logo { width: 90px; }
    .cookie-preferences { grid-template-columns: 1fr; }
    .floating-chat { right: 18px; bottom: 18px; width: 55px; height: 55px; }
    .admin-sidebar nav { grid-template-columns: 1fr 1fr; }
    .admin-main { padding: 28px 15px 60px; }
    .admin-topbar { align-items: flex-start; flex-direction: column; gap: 18px; }
    .admin-actions { width: 100%; }
    .admin-actions .admin-button { width: 100%; }
    .admin-actions form { flex: 1 1 100%; }
    .admin-stats, .admin-grid, .admin-form-grid, .admin-media-grid { grid-template-columns: 1fr; }
    .media-upload { grid-template-columns: 1fr; }
    .admin-panel { padding: 20px; }
    .admin-panel__header { flex-direction: column; }
    .admin-lead-card { grid-template-columns: 1fr; gap: 9px; }
    .admin-lead-card__status { justify-items: start; text-align: left; }
    .admin-newsletter-stats { grid-template-columns: 1fr 1fr; }
    .admin-list-filters { grid-template-columns: 1fr; }
    .admin-list-filters .admin-button,
    .admin-list-filters .admin-button--secondary { width: 100%; grid-column: auto; }
    .admin-subscriber-card { grid-template-columns: 1fr; gap: 14px; }
    .admin-subscriber-card__source a { white-space: normal; overflow-wrap: anywhere; }
    .admin-details--stacked div { align-items: flex-start; flex-direction: column; gap: 5px; }
    .admin-details--stacked dt { flex-basis: auto; }
    .admin-details--stacked dd { text-align: left; }
    .sticky-save { align-items: flex-start; flex-direction: column; gap: 14px; }
    .admin-revisions article { grid-template-columns: 1fr; gap: 7px; }
    .login-card { padding: 35px 25px; }
}

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

/* --------------------------------------------------------------------------
   Public landing page
   The base stylesheet above also serves the CMS. The rules below deliberately
   mirror the spacing and component geometry of elegal.cz/pravo-v-marketingu.
   -------------------------------------------------------------------------- */

:root {
    --elegal-orange: #ff7f00;
    --elegal-muted: #7a8496;
    --elegal-surface: #f3f5f9;
    --elegal-line: #e7e9f1;
    --elegal-width: 1400px;
}

body {
    color: #000;
    font-family: "Georama", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
}

#main-content {
    overflow: hidden;
}

.elegal-header {
    position: relative;
    z-index: 50;
    min-height: 173px;
    background: #fff;
}

.elegal-header .navbar {
    display: flex;
    max-width: 1680px;
    min-height: 173px;
    flex-direction: column;
    margin: 0 auto;
    border-top: 4px solid var(--elegal-orange);
    padding: 0;
    background: #fff;
}

.elegal-header .top-wrapper {
    position: relative;
    display: grid;
    width: 100%;
    max-width: var(--elegal-width);
    min-height: 108px;
    grid-template-columns: 31% 52% 17%;
    align-items: center;
    margin: 0 auto;
    padding: 0 40px;
}

.elegal-header .navbar .top-wrapper::after {
    position: absolute;
    right: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--elegal-line);
    content: "";
    transform: none;
}

.elegal-header .navbar-brand {
    display: block;
    width: 197px;
    height: 52px;
    margin: 0;
    padding: 0;
}

.elegal-header .navbar-brand img {
    width: 197px;
    height: 52px;
}

.elegal-header .help-block {
    justify-self: start;
}

.elegal-header .help-block .title {
    display: block;
    margin: 0 0 7px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
}

.elegal-header .help-block .list-inline {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.elegal-header .help-block .list-inline li {
    display: flex;
    align-items: center;
    margin: 0 25px 0 0;
    padding: 0;
}

.elegal-header .help-block .list-inline li::before {
    display: none;
}

.elegal-header .contact-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.elegal-header .contact-link--underline span {
    text-decoration: underline;
}

.elegal-header .contact-link svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: var(--elegal-orange);
    stroke-width: 2;
}

.elegal-header .contact-link--underline svg {
    width: 23px;
    height: 30px;
    fill: var(--elegal-orange);
    stroke: none;
}

.elegal-header .help-block small {
    margin-left: 20px;
    color: var(--elegal-muted);
    font-size: 12px;
    white-space: nowrap;
}

.elegal-header .search-n-language {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 29px;
}

.elegal-header .header-search {
    width: 32px;
    height: 32px;
    border: 0;
    padding: 5px;
    background: transparent;
}

.elegal-header .header-search svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #2c394c;
    stroke-linecap: round;
    stroke-width: 2;
}

.elegal-header .header-language {
    position: relative;
    display: block;
    color: #222;
    text-decoration: none;
}

.elegal-header .header-language summary {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    list-style: none;
}

.elegal-header .header-language summary::-webkit-details-marker {
    display: none;
}

.elegal-header .header-language img,
.elegal-header .language-menu img {
    width: 25px;
    height: auto;
}

.elegal-header .language-menu {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    z-index: 90;
    display: flex;
    width: 155px;
    flex-direction: column;
    border-radius: 0 0 10px 10px;
    padding: 12px 0;
    background: #fff;
    box-shadow: 0 20px 45px rgba(48, 69, 97, .2);
}

.elegal-header .header-language:not([open]) .language-menu {
    display: none;
}

.elegal-header .language-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: #000;
    font-size: 14px;
    text-decoration: none;
}

.elegal-header .language-menu a:hover,
.elegal-header .language-menu a[aria-current="page"] {
    color: var(--elegal-orange);
}

.elegal-header .navbar-toggler {
    display: none;
}

.elegal-header .navbar-collapse {
    display: flex !important;
    width: 100%;
    max-width: var(--elegal-width);
    min-height: 61px;
    flex-direction: column;
    margin: 0 auto;
}

.elegal-header .main_menu {
    display: flex;
    min-height: 61px;
    flex-flow: row nowrap;
    align-items: stretch;
    align-self: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.elegal-header .main_menu > li {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
}

.elegal-header .main_menu > li::before {
    display: none;
}

.elegal-header .main_menu > li::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 24px;
    background: var(--elegal-line);
    content: "";
    transform: translateY(-50%);
}

.elegal-header .main_menu > li:nth-last-child(-n+2)::after {
    display: none;
}

.elegal-header .main_menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    padding: 18px 19px 15px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
}

.elegal-header .main_menu > .dropdown > a {
    padding-right: 36px;
}

.elegal-header .main_menu > .dropdown > a::after {
    position: absolute;
    top: calc(50% - 4px);
    right: 16px;
    width: 10px;
    height: 7px;
    background: url("/assets/front/img/icon-select-down-dark.svg") center/contain no-repeat;
    content: "";
}

.elegal-header .main_menu > li:hover > a,
.elegal-header .main_menu > li:focus-within > a {
    border-bottom-color: var(--elegal-orange);
}

.elegal-header .dropdown-menu {
    position: absolute;
    top: 60px;
    left: 0;
    display: block;
    width: 300px;
    min-width: 300px;
    border: 0;
    border-radius: 0 0 10px 10px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(48, 69, 97, .2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: .18s ease;
}

.elegal-header .dropdown-menu__inner {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.elegal-header .dropdown-menu__inner li {
    margin: 0 0 10px;
    padding: 0;
    font-size: 15px;
    line-height: 24px;
}

.elegal-header .dropdown-menu__inner li:last-child {
    margin-bottom: 0;
}

.elegal-header .dropdown-menu--right {
    right: 0;
    left: auto;
}

.elegal-header .dropdown-menu a {
    padding: 0;
    color: #000;
    font-size: 15px;
    text-decoration: none;
}

.elegal-header .main_menu > li.mobile-language-switch {
    display: none;
}

.elegal-header .dropdown-menu a:hover {
    color: var(--elegal-orange);
}

.elegal-header .dropdown:hover .dropdown-menu,
.elegal-header .dropdown:focus-within .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.search-panel {
    position: absolute;
    inset: 108px 0 auto;
    z-index: 60;
    padding: 25px 20px;
    background: #000;
    color: #fff;
}

.search-panel form {
    display: grid;
    max-width: 1100px;
    grid-template-columns: auto minmax(0, 600px) auto auto;
    gap: 12px;
    align-items: center;
    margin: auto;
}

.search-panel input,
.search-panel button {
    min-height: 48px;
}

/* Hero */

.hero-content.elegal-landing,
.hero-content {
    overflow: visible;
}

.hero-content > .elegal-hero-shell {
    position: relative;
    width: 100%;
    max-width: 1680px;
    min-height: 663px;
    margin: 0 auto;
    padding: 0 10px !important;
}

.elegal-hero-track {
    position: relative;
    height: 556px;
    overflow: visible;
    border-radius: 0 0 20px 20px;
    background: #8e8e8e;
}

.hero-content.home .elegal-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    min-height: 556px;
    align-items: flex-end;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease, visibility .55s ease;
}

.hero-content.home .elegal-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-content.home .elegal-hero-slide .hero-background {
    z-index: 0;
    border-radius: 0 0 20px 20px;
    background: #8e8e8e;
}

.hero-content.home .elegal-hero-slide .hero-background::after {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .08);
    content: "";
}

.hero-content.home .elegal-hero-slide .hero-background img {
    filter: grayscale(1);
}

.hero-content.home .elegal-hero-slide .content {
    position: relative;
    z-index: 2;
    width: min(1024px, 88%);
    max-width: 1024px;
    min-height: 258px;
    margin: 0 auto -80px;
    border-radius: 30px 30px 80px 80px;
    padding: 35px 44px 40px;
    background: linear-gradient(0deg, #ff7f00 30%, rgba(255, 127, 0, .92) 70%);
    color: #fff;
    text-align: center;
}

.hero-content.home .elegal-hero-slide .content .title,
.hero-content.home .elegal-hero-slide .content article h1 {
    margin: 0;
    color: #fff;
    font-size: 46px;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.1;
}

.hero-content.home .elegal-hero-slide .content article h1 {
    margin-top: 2px;
    font-weight: 200;
}

.hero-content.home .elegal-hero-slide .content article p {
    max-width: 680px;
    margin: 18px auto 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.65;
}

.elegal-hero-actions {
    display: flex;
    width: 100%;
    justify-content: center;
}

.hero-content.home .elegal-hero-actions .btn {
    min-width: 250px;
    margin: 24px 0 0;
}

.elegal-carousel-arrow {
    position: absolute;
    top: 278px;
    z-index: 5;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--elegal-orange);
    font-size: 44px;
    font-weight: 200;
    line-height: 1;
    transform: translateY(-50%);
}

.elegal-carousel-arrow--prev { left: 10px; }
.elegal-carousel-arrow--next { right: 10px; }

.elegal-carousel-dots {
    position: absolute;
    bottom: 9px;
    left: 50%;
    z-index: 5;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.elegal-carousel-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #c7c7c7;
}

.elegal-carousel-dots button.is-active {
    background: var(--elegal-orange);
}

/* Benefits */

.elegal-benefits {
    min-height: 258px;
}

.elegal-benefits .container {
    max-width: var(--elegal-width);
}

.elegal-benefits h2 {
    margin: auto 0;
    font-size: 28px;
    font-weight: 200;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.elegal-benefits .row-highlights {
    align-items: center;
}

.elegal-benefits .service-box-row--flex .content p {
    font-size: 14px;
    line-height: 1.45;
}

/* Know-how, cards and placeholder media */

.elegal-knowhow {
    padding-top: 95px;
    padding-bottom: 0;
}

.elegal-knowhow > .container {
    max-width: var(--elegal-width);
}

.elegal-centered-heading {
    max-width: 1040px;
    margin: 0 auto 38px;
    text-align: center;
}

.elegal-centered-heading h2,
.elegal-video-band h2,
.elegal-approach h2,
.elegal-stats__title h2,
.elegal-contact header h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 200;
    line-height: 1.25;
}

.elegal-centered-heading h2::after,
.elegal-video-band h2::after,
.elegal-approach h2::after,
.elegal-stats__title h2::after,
.elegal-contact header h2::after,
.elegal-footer-contact h2::after {
    display: none !important;
    content: none !important;
}

.elegal-centered-heading > span,
.elegal-video-band header > span,
.elegal-orange-line,
.elegal-stats__title > span {
    display: block;
    width: 60px;
    height: 2px;
    margin: 20px auto;
    background: var(--elegal-orange);
}

.elegal-centered-heading p {
    margin: 0 auto 22px;
    font-size: 14px;
    line-height: 1.55;
}

.elegal-subsection {
    margin-top: 30px;
}

.elegal-subsection > h3 {
    margin: 0 0 34px;
    font-size: 26px;
    font-weight: 200;
    text-align: center;
}

.elegal-subsection > h3::after {
    display: block;
    width: 60px;
    height: 2px;
    margin: 20px auto 0;
    background: var(--elegal-orange);
    content: "";
}

.elegal-video-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.elegal-video-card {
    min-width: 0;
    text-align: center;
}

.elegal-video-card > a {
    display: block;
    min-height: 52px;
    margin-bottom: 14px;
    color: #000;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: underline;
}

.elegal-video-placeholder {
    position: relative;
    height: 310px;
    overflow: hidden;
    border-radius: 20px;
    background-color: #dc8f59;
    background-image:
        linear-gradient(rgba(255, 127, 0, .38), rgba(255, 127, 0, .38)),
        var(--placeholder-image);
    background-position: center;
    background-size: cover;
}

.elegal-video-placeholder::after {
    position: absolute;
    inset: auto 12px 14px;
    min-height: 82px;
    border-radius: 10px 10px 22px 10px;
    background: rgba(255, 255, 255, .9);
    content: "";
}

.elegal-video-placeholder button {
    position: absolute;
    top: 15px;
    left: 50%;
    z-index: 2;
    min-width: 108px;
    border: 0;
    border-radius: 999px;
    padding: 8px 15px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    transform: translateX(-50%);
}

.elegal-more {
    display: flex;
    width: max-content;
    margin: 34px auto 0;
}

.elegal-downloads {
    margin-top: 64px;
}

.elegal-file-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.elegal-file-card {
    display: flex;
    min-height: 290px;
    flex-direction: column;
    border: 1px solid var(--elegal-line);
    border-radius: 16px;
    padding: 25px;
    background: #fff;
}

.elegal-file-card h4 {
    min-height: 43px;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.35;
}

.elegal-file-card h4 a {
    color: #000;
    text-decoration: underline;
}

.elegal-file-card__body {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

.elegal-pdf-icon {
    display: block;
    width: 100px;
    height: 118px;
    object-fit: contain;
}

.elegal-file-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.elegal-file-card > .btn {
    min-width: 125px;
    align-self: center;
    margin-top: auto;
}

.elegal-file-card > .btn img {
    width: 14px;
    height: 14px;
    margin-right: 7px;
    filter: brightness(0) invert(1);
}

.elegal-video-band {
    min-height: 860px;
    padding-top: 95px;
    text-align: center;
}

.elegal-video-band header {
    max-width: 920px;
    margin: auto;
}

.elegal-video-band header p {
    font-size: 14px;
}

.elegal-video-band__grid {
    display: grid;
    min-height: 390px;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center;
    margin-top: 46px;
}

.elegal-wide-video-mock {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(rgba(255, 127, 0, .52), rgba(255, 127, 0, .52)),
        var(--video-mock-image) center / cover no-repeat;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .12);
}

.elegal-wide-video-mock::after {
    position: absolute;
    right: 17px;
    bottom: 17px;
    left: 17px;
    height: 105px;
    border-radius: 12px 12px 24px 12px;
    background: rgba(255, 255, 255, .94);
    content: "";
}

.elegal-wide-video-mock p,
.elegal-wide-video-mock > span {
    position: absolute;
    right: 34px;
    left: 34px;
    z-index: 2;
    margin: 0;
    text-align: left;
}

.elegal-wide-video-mock p {
    bottom: 58px;
    color: var(--elegal-orange);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.elegal-wide-video-mock > span {
    bottom: 35px;
    color: #6f7782;
    font-size: 11px;
}

.elegal-round-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 3px solid #d8dfe7;
    border-radius: 50%;
    padding: 0 0 0 3px;
    background: var(--elegal-orange);
    color: #fff;
    font-size: 15px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .2);
    transform: translate(-50%, -82%);
}

.elegal-placeholder-note {
    color: var(--elegal-muted);
    font-size: 12px;
}

/* Approach */

.elegal-approach {
    min-height: 0;
    padding: 92px 0 80px;
}

.elegal-approach > .container {
    max-width: var(--elegal-width);
}

.elegal-approach .elegal-orange-line {
    margin-right: 0;
    margin-left: 0;
}

.elegal-approach > .container::before {
    display: none;
}

.elegal-approach article {
    margin-top: 30px;
}

.elegal-approach article h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.35;
}

.elegal-approach article p,
.elegal-approach > .container p {
    font-size: 14px;
    line-height: 1.55;
}

/* Statistics */

.elegal-stats {
    position: relative;
    min-height: 704px;
    overflow: hidden;
    padding: 90px 10px 190px;
    background-color: var(--elegal-orange);
    background-repeat: no-repeat;
    background-position: 90% 110%;
    background-size: auto;
}

.elegal-stats::after {
    display: none;
}

.elegal-stats > .container {
    z-index: 2;
    width: min(calc(100% - 20px), 1400px);
    max-width: 1400px;
}

.elegal-stats__title {
    max-width: none;
    min-height: 124px;
    margin: 0 auto 30px;
    text-align: center;
}

.elegal-stats__title h2 {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.29;
}

.elegal-stats__title > span {
    background: #fff;
}

.elegal-stats__grid {
    display: grid;
    min-height: 178px;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2fr);
    gap: 0;
    align-items: start;
}

.elegal-stats__grid article,
.elegal-stats__copy {
    padding-right: 10px;
    padding-left: 10px;
}

.elegal-stats__grid article strong {
    display: block;
    font-size: 46px;
    font-weight: 500;
    line-height: 1.29;
    white-space: nowrap;
}

.elegal-stats__grid article p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.elegal-stats__copy {
    margin: 0;
    background: transparent;
    font-size: 18px;
    line-height: 1.78;
}

.elegal-stats__link {
    margin: 38px 0 0;
    font-size: 24px;
    line-height: 1.47;
    text-align: center;
}

.elegal-stats__link a {
    color: #fff;
    text-decoration: underline;
}

/* Contact */

.elegal-contact {
    min-height: 1060px;
    padding: 75px 0 72px;
}

.elegal-contact > .container {
    max-width: var(--elegal-width);
}

.elegal-contact header {
    max-width: 1000px;
    margin: 0 auto 85px;
    text-align: center;
}

.elegal-contact header h2 {
    font-size: 25px;
}

.elegal-contact header p {
    margin: 16px 0 0;
    font-size: 20px;
    line-height: 1.45;
}

.elegal-contact .contact-form {
    position: relative;
    max-width: 1260px;
    min-height: 585px;
    overflow: visible !important;
    margin: 0 auto;
    border-radius: 30px;
    gap: 12px;
    padding: 70px 70px 40px !important;
    background: rgba(229, 234, 241, .9);
}

.elegal-contact .contact-form::before,
.elegal-contact .contact-form::after {
    display: none;
    background: none;
    content: none;
}

.elegal-contact__logo {
    position: absolute;
    top: -100px;
    right: 12.5%;
    z-index: 0 !important;
    display: block;
    width: 438px;
    max-width: none;
    opacity: 1;
    pointer-events: none;
}

.elegal-contact .contact-form > * {
    position: relative;
    z-index: 1;
}

.elegal-contact .contact-form > .elegal-contact__logo {
    position: absolute;
    z-index: 0;
}

.elegal-contact__fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.elegal-contact label {
    display: block;
    margin: 0 0 17px;
    font-size: 12px;
}

.elegal-contact input:not([type="file"]):not([type="checkbox"]),
.elegal-contact select,
.elegal-contact textarea {
    display: block;
    width: 100%;
    border: 1px solid #d5dae2;
    border-radius: 17px;
    margin-top: 8px;
    padding: 10px 17px;
    background: #fff;
    color: #000;
}

.elegal-contact input:not([type="file"]):not([type="checkbox"]),
.elegal-contact select {
    height: 48px;
}

.elegal-contact textarea {
    min-height: 120px;
    resize: vertical;
}

.elegal-contact .elegal-file-input {
    width: max-content;
    margin-top: 3px;
}

.elegal-contact .elegal-file-input input {
    display: block;
    margin-top: 8px;
    padding: 8px 12px;
    font-size: 13px;
}

.elegal-form-agreement {
    margin: 0 0 16px;
    font-size: 12px;
    text-align: center;
}

/* Souhlas se zpracováním osobních údajů byl dřív skrytý pod sr-only
   a předzaškrtnutý. Vystředěný, aby držel linku s textem nad ním. */
.elegal-contact .contact-form > .checkbox-field {
    justify-content: center;
    margin: 0 0 20px;
    font-size: 12px;
}

.elegal-contact .contact-form > .btn {
    display: flex;
    margin: 0 auto;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
}

/* Newsletter and footer */

.section-newsletter {
    min-height: 231px;
    margin-top: 0;
    padding: 64px 0;
}

.elegal-newsletter {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 80px;
    align-items: center;
}

.elegal-newsletter h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 200;
    line-height: 1.35;
}

.elegal-newsletter > div > p {
    margin: 10px 0 0;
    color: #fff;
    font-size: 11px;
}

.elegal-newsletter > div > p a {
    color: #fff;
}

.elegal-newsletter .elegal-newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 138px;
    gap: 0;
}

.elegal-newsletter .elegal-newsletter-form input[type="email"] {
    min-height: 50px;
    border: 1px solid #dfe3e8;
    border-radius: 0;
    padding: 0 18px 0 45px;
    background: #fff url("/assets/front/img/icon-newsletter-email.svg?v=2") 17px center/18px no-repeat;
}

.elegal-newsletter .elegal-newsletter-form button {
    border: 4px solid #fff;
    border-radius: 999px;
    margin-left: -18px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* Souhlas s newsletterem byl dřív skrytý pod sr-only a předzaškrtnutý. Teď je
   vidět, takže potřebuje vlastní řádek přes celou šířku dvousloupcového gridu. */
.elegal-newsletter .elegal-newsletter-form__consent {
    display: flex;
    grid-column: 1 / -1;
    align-items: flex-start;
    gap: 9px;
    margin: 14px 0 0;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
}

.elegal-newsletter .elegal-newsletter-form__consent input {
    flex: 0 0 auto;
    margin-top: 2px;
}

.pre-footer {
    padding: 70px 10px 80px;
}

.pre-footer > .container {
    max-width: var(--elegal-width);
}

.elegal-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    border-bottom: 1px solid var(--elegal-line);
    padding-bottom: 65px;
}

.elegal-footer-links h4 {
    margin: 0 0 22px;
    font-size: 15px;
    font-weight: 650;
}

.elegal-footer-links a {
    display: block;
    margin-bottom: 9px;
    color: #000;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: underline;
}

.footer-cookie-button {
    display: block;
    border: 0;
    padding: 0;
    background: transparent;
    color: #000;
    font: inherit;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: underline;
    cursor: pointer;
}

.elegal-footer-contact {
    padding-top: 65px;
    text-align: center;
}

.elegal-footer-contact h2 {
    margin: 0 0 20px;
    font-size: 26px;
    font-weight: 200;
}

.elegal-footer-contact > div {
    display: flex;
    justify-content: center;
    gap: 28px;
    align-items: center;
}

.elegal-footer-contact > div a,
.elegal-footer-contact > div span {
    color: #000;
    font-size: 12px;
}

.elegal-footer-contact > div span {
    color: var(--elegal-muted);
}

.elegal-footer-contact > p {
    margin: 35px 0 14px;
    font-size: 12px;
}

.elegal-social {
    display: flex;
    justify-content: center;
    gap: 13px;
}

.elegal-social a {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--elegal-line);
    border-radius: 50%;
    color: var(--elegal-orange);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.main-footer {
    position: relative;
    min-height: 192px;
    padding: 80px 10px 90px;
}

.main-footer .logo-e,
.main-footer .logo-e__shadow {
    display: none;
}

.footer-glow-logo {
    position: absolute;
    top: -31px;
    left: 50%;
    z-index: 3;
    display: block;
    width: 56px;
    height: 61px;
    max-width: none;
    filter: drop-shadow(0 0 6px rgba(255, 161, 67, .5));
    transform: translateX(-50%);
}

.main-footer .copyright p {
    color: rgba(255,255,255,.5);
    font-size: 11px;
}

.floating-chat {
    position: fixed;
    right: 31px;
    bottom: 31px;
    z-index: 65;
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--elegal-orange);
    box-shadow: 0 5px 15px rgba(0,0,0,.18);
}

.floating-chat span {
    width: 20px;
    height: 18px;
    border-radius: 50% 50% 50% 5px;
    background: #fff;
}

@media (max-width: 1199px) {
    .elegal-header {
        min-height: 75px;
    }

    .elegal-header .navbar {
        min-height: 75px;
    }

    .elegal-header .top-wrapper {
        min-height: 71px;
        grid-template-columns: auto 1fr auto auto;
        gap: 20px;
        padding: 0 25px;
    }

    .elegal-header .navbar-brand,
    .elegal-header .navbar-brand img {
        width: 150px;
        height: auto;
    }

    .elegal-header .help-block {
        justify-self: center;
    }

    .elegal-header .help-block .title,
    .elegal-header .help-block small {
        display: none;
    }

    .elegal-header .help-block .list-inline li {
        margin-right: 15px;
    }

    .elegal-header .contact-link span {
        display: none;
    }

    .elegal-header .search-n-language {
        gap: 12px;
    }

    .elegal-header .header-language {
        display: none;
    }

    .elegal-header .navbar-toggler {
        display: flex;
        align-items: center;
        border: 0;
        border-radius: 5px;
        padding: 10px 13px;
        background: #000;
        color: #fff;
    }

    .elegal-header .navbar-toggler .hamburger {
        margin: 0 7px 0 0;
    }

    .elegal-header .navbar-toggler .hamburger img {
        width: 19px;
        height: 19px;
        filter: brightness(0) invert(1);
    }

    .elegal-header .navbar-collapse {
        position: fixed;
        inset: 75px 0 0;
        z-index: 80;
        display: block !important;
        max-width: none;
        overflow-y: auto;
        background: #000;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: .18s ease;
    }

    .elegal-header .navbar-collapse.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .elegal-header .main_menu {
        display: block;
        max-width: 720px;
        margin: 0 auto;
        padding: 28px 25px 70px;
    }

    .elegal-header .main_menu > li {
        display: block;
        border-bottom: 1px solid #333;
    }

    .elegal-header .main_menu > li::after {
        display: none;
    }

    .elegal-header .main_menu > li > a {
        min-height: 54px;
        border: 0;
        color: #fff;
        font-size: 16px;
    }

    .elegal-header .main_menu > .dropdown > a::after {
        filter: invert(1);
    }

    .elegal-header .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        padding: 0 20px 15px;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .elegal-header .dropdown:focus-within .dropdown-menu {
        display: block;
    }

    .elegal-header .dropdown-menu a {
        color: #fff;
    }

    .elegal-header .dropdown-menu__inner {
        margin-top: 0;
    }

    .elegal-header .main_menu > li.mobile-language-switch {
        display: flex;
        gap: 8px;
        border-bottom: 0;
        padding-top: 20px;
    }

    .elegal-header .main_menu > li.mobile-language-switch > a {
        min-height: auto;
        border: 1px solid #555;
        border-radius: 999px;
        padding: 10px 15px;
    }

    .elegal-header .main_menu > li.mobile-language-switch > a[aria-current="page"] {
        border-color: var(--elegal-orange);
        color: var(--elegal-orange);
    }

    .hero-content > .elegal-hero-shell {
        min-height: 675px;
    }

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

    .elegal-video-card:nth-child(n+4) {
        display: none;
    }

    .elegal-file-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .elegal-approach > .container::before {
        display: none;
    }

    .elegal-approach .offset-lg-5 {
        margin-left: 0;
    }

    .elegal-stats {
        padding: 65px 0 80px;
        background-position: 95% -15%;
        background-size: 25% auto;
    }

    .elegal-contact__logo {
        top: -28px;
        right: 7%;
        width: 200px;
    }

    .elegal-contact__fields {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .elegal-stats__grid article strong {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .elegal-header,
    .elegal-header .navbar {
        min-height: 65px;
    }

    .elegal-header .top-wrapper {
        min-height: 61px;
        grid-template-columns: auto 1fr auto;
        gap: 9px;
        padding: 0 14px;
    }

    .elegal-header .navbar-brand,
    .elegal-header .navbar-brand img {
        width: 112px;
    }

    .elegal-header .help-block {
        justify-self: end;
    }

    .elegal-header .help-block .list-inline li {
        margin-right: 7px;
    }

    .elegal-header .contact-link svg {
        width: 20px;
        height: 20px;
    }

    .elegal-header .search-n-language {
        display: none;
    }

    .elegal-header .navbar-toggler {
        padding: 8px 10px;
        font-size: 14px;
    }

    .elegal-header .navbar-collapse {
        inset: 65px 0 0;
    }

    .search-panel {
        position: fixed;
        inset: 65px 0 auto;
    }

    .search-panel form {
        grid-template-columns: 1fr auto;
    }

    .search-panel label {
        grid-column: 1 / -1;
    }

    .hero-content--carousel {
        min-height: 695px;
    }

    .hero-content > .elegal-hero-shell {
        min-height: 695px;
        padding: 0 10px !important;
    }

    .elegal-hero-track {
        height: 500px;
    }

    .hero-content.home .elegal-hero-slide {
        min-height: 500px;
    }

    .hero-content.home .elegal-hero-slide .hero-background img {
        object-position: center top;
    }

    .hero-content.home .elegal-hero-slide .content {
        position: absolute;
        top: 0;
        right: 30px;
        left: 30px;
        width: auto;
        min-height: 535px;
        margin: 0;
        border-radius: 20px 20px 50px 50px;
        padding: 28px 20px 30px;
    }

    .hero-content.home .elegal-hero-slide .content .title,
    .hero-content.home .elegal-hero-slide .content article h1 {
        font-size: 34px;
    }

    .hero-content.home .elegal-hero-slide .content article p {
        margin-top: 15px;
        font-size: 14px;
        line-height: 1.5;
    }

    .elegal-hero-actions {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .hero-content.home .elegal-hero-actions .btn {
        width: min(100%, 290px);
        min-width: 0;
        margin-top: 12px;
    }

    .hero-content.home .elegal-hero-actions .btn + .btn {
        margin-top: 0;
    }

    .elegal-carousel-arrow {
        top: 335px;
        font-size: 38px;
    }

    .elegal-carousel-dots {
        bottom: 8px;
    }

    .elegal-benefits {
        padding-top: 50px !important;
    }

    .elegal-benefits h2 {
        margin-bottom: 25px;
        font-size: 25px;
        text-align: center !important;
    }

    .elegal-benefits .row-service-boxes {
        margin-bottom: 0;
    }

    .elegal-benefits .service-box-row--flex {
        margin-bottom: 18px;
    }

    .elegal-knowhow {
        padding-top: 55px !important;
    }

    .elegal-centered-heading h2,
    .elegal-video-band h2,
    .elegal-approach h2,
    .elegal-stats__title h2 {
        font-size: 25px;
    }

    .elegal-video-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .elegal-video-card:nth-child(3) {
        display: none;
    }

    .elegal-video-card > a {
        min-height: 64px;
        font-size: 13px;
    }

    .elegal-video-placeholder {
        height: 255px;
    }

    .elegal-file-grid {
        grid-template-columns: 1fr;
    }

    .elegal-file-card {
        min-height: 270px;
    }

    .elegal-video-band {
        min-height: 650px;
        padding-top: 65px;
    }

    .elegal-video-band__grid {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 35px;
    }

    .elegal-wide-video-mock {
        height: 245px;
    }

    .elegal-round-play {
        transform: translate(-50%, -75%);
    }

    .elegal-approach {
        min-height: auto;
        border-radius: 20px;
        padding: 55px 0 !important;
    }

    .elegal-approach article {
        margin-top: 25px;
    }

    .elegal-stats {
        min-height: auto;
        padding: 40px 0 !important;
        background-position: 95% -15%;
        background-size: 25% auto;
    }

    .elegal-stats__title {
        min-height: 108px;
        margin-bottom: 0;
    }

    .elegal-stats__grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }

    .elegal-stats__grid article {
        padding: 0 10px 20px;
    }

    .elegal-stats__grid article strong {
        font-size: 28px;
        line-height: normal;
    }

    .elegal-stats__copy {
        grid-column: 1 / -1;
        max-width: none;
        padding: 0 10px;
        font-size: 15px;
        line-height: 24px;
        text-align: center;
    }

    .elegal-stats__link {
        margin-top: 38px;
        font-size: 15px;
        line-height: 1.47;
    }

    .elegal-contact {
        min-height: auto;
        padding: 55px 0 60px !important;
    }

    .elegal-contact header {
        margin-bottom: 65px;
    }

    .elegal-contact header h2,
    .elegal-contact header p {
        font-size: 19px;
    }

    .elegal-contact .contact-form {
        min-height: 0;
        border-radius: 20px;
        padding: 70px 20px 32px !important;
    }

    .elegal-contact__logo {
        top: 63px;
        right: 6px;
        width: 100px;
        opacity: 1;
    }

    .elegal-contact__fields {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .section-newsletter {
        min-height: 300px;
        padding: 48px 0 !important;
    }

    .elegal-newsletter {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        text-align: center;
    }

    .elegal-newsletter > * {
        width: auto;
        min-width: 0;
    }

    .elegal-newsletter h3 {
        font-size: 19px;
    }

    .elegal-newsletter .elegal-newsletter-form {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) 125px;
    }

    .elegal-newsletter .elegal-newsletter-form button {
        width: 125px;
        min-width: 125px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .pre-footer {
        padding: 55px 20px 65px;
    }

    .elegal-footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .elegal-footer-contact > div {
        flex-direction: column;
        gap: 9px;
    }

    .main-footer {
        min-height: 160px;
        padding: 70px 10px 60px;
    }

    .floating-chat {
        right: 18px;
        bottom: 18px;
    }
}

/* IT blog feed */
.elegal-articles {
    padding: 95px 0 110px !important;
    background: #fff;
}

.elegal-articles__heading {
    max-width: 780px;
    margin: 0 auto 55px;
}

.elegal-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.elegal-article-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 0 35px 0 35px;
    background: #f0f2f5;
    transition: transform .2s ease, box-shadow .2s ease;
}

.elegal-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(23, 35, 50, .13);
}

.elegal-article-card__link {
    position: absolute;
    z-index: 3;
    inset: 0;
}

.elegal-article-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dfe3e8;
}

.elegal-article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.elegal-article-card:hover .elegal-article-card__image img {
    transform: scale(1.025);
}

.elegal-article-card__image > span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(255, 127, 0, .95);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.elegal-article-card__content {
    min-height: 205px;
    padding: 25px 27px 29px;
}

.elegal-article-card__content h3 {
    margin: 0 0 22px;
    font-size: 22px;
    font-weight: 550;
    line-height: 1.25;
}

.elegal-article-card__more {
    color: #ff7f00;
    font-size: 14px;
    font-weight: 650;
}

.elegal-articles > .container > .elegal-more {
    display: flex;
    width: max-content;
    margin: 48px auto 0;
}

/* Exact social icons from the reference footer. */
.elegal-social a svg {
    display: block;
    flex: 0 0 auto;
    fill: #ff7f00;
}

/* The page no longer uses the temporary floating contact mock. */
.floating-chat {
    display: none !important;
}

/* CMS section visibility switches */
.admin-section-toggles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-section-toggles label {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 12px;
    border: 1px solid #dce1e7;
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
    cursor: pointer;
}

.admin-section-toggles input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    accent-color: #ff7f00;
}

.admin-section-toggles label > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.admin-section-toggles label strong {
    line-height: 1.25;
}

.admin-section-toggles label small {
    color: #717985;
    line-height: 1.3;
}

.admin-section-toggles label:has(input:checked) {
    border-color: #ffb66e;
    background: #fff8f1;
}

@media (max-width: 1024px) {
    .elegal-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-section-toggles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .elegal-articles {
        padding: 58px 0 70px !important;
    }

    .elegal-articles__heading {
        margin-bottom: 35px;
    }

    .elegal-articles__grid,
    .admin-section-toggles {
        grid-template-columns: 1fr;
    }

    .elegal-article-card__content {
        min-height: 0;
        padding: 21px 22px 25px;
    }

    .elegal-article-card__content h3 {
        font-size: 19px;
    }
}

.admin-language-tabs {
    display: inline-flex;
    gap: 6px;
    margin-bottom: 10px;
    border: 1px solid #dce1e8;
    border-radius: 999px;
    padding: 5px;
    background: #fff;
}

.admin-language-tabs a {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 18px;
    color: #202735;
    font-weight: 600;
    text-decoration: none;
}

.admin-language-tabs a.is-active {
    background: #ff7f00;
    color: #fff;
}

.admin-language-note {
    margin: 0 0 24px;
    color: #667085;
    font-size: 14px;
}

.admin-checkbox-setting {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    margin-top: 7px;
    border: 1px solid #d8dde6;
    border-radius: 8px;
    padding: 10px 13px;
    background: #fff;
}

.admin-checkbox-setting input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #ff7f00;
}

.admin-checkbox-setting span {
    font-weight: 600;
}

/* Reference content */
.elegal-reference-section { padding: 92px 0 !important; }
.elegal-reference-heading { margin-bottom: 52px; text-align: center; }
.elegal-reference-heading h2 { margin: 0; font-size: 38px; font-weight: 200; line-height: 1.2; }
.elegal-reference-heading > span {
    display: block;
    width: 60px;
    height: 2px;
    margin: 22px auto 0;
    background: var(--elegal-orange);
}
.elegal-case-studies { background: #fff; }
.elegal-case-studies__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.elegal-case-study-card {
    position: relative;
    display: grid;
    min-height: 275px;
    grid-template-columns: 150px minmax(0, 1fr) 42px;
    gap: 25px;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    padding: 35px;
    background: #f0f2f5;
    transition: transform .2s ease, box-shadow .2s ease;
}
.elegal-case-study-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(23,35,50,.12); }
.elegal-case-study-card__link { position: absolute; z-index: 3; inset: 0; }
.elegal-case-study-card__logo { display: flex; min-height: 110px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; }
.elegal-case-study-card__logo img { width: 110px; max-height: 62px; object-fit: contain; }
.elegal-case-study-card h3 { margin: 0 0 14px; font-size: 21px; font-weight: 550; line-height: 1.3; }
.elegal-case-study-card p { margin: 0; color: #4e5560; font-size: 14px; line-height: 1.6; }
.elegal-case-study-card__arrow {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 22px;
}
.elegal-testimonials { overflow: hidden; background: #000; color: #fff; }
.elegal-reference-heading--dark { display: grid; grid-template-columns: 106px minmax(0, 1fr) 106px; align-items: end; gap: 30px; margin-bottom: 45px; }
.elegal-reference-heading--dark h2 { grid-column: 2; max-width: 750px; margin: 0 auto; color: #fff; font-size: 38px; font-weight: 200; line-height: 1.2; text-align: center; }
.elegal-reference-heading--dark .elegal-reference-controls { grid-column: 3; justify-self: end; }
.elegal-reference-controls { display: flex; gap: 10px; }
.elegal-reference-controls button {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #555;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 23px;
}
.elegal-reference-controls button:hover { border-color: var(--elegal-orange); color: var(--elegal-orange); }
.elegal-testimonials__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 0 0 16px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--elegal-orange) #292929;
    scrollbar-width: thin;
}
.elegal-testimonial-card {
    display: grid;
    min-width: 100%;
    min-height: 430px;
    grid-template-columns: 34% 66%;
    overflow: hidden;
    border-radius: 20px;
    background: #f0f2f5;
    color: #000;
    scroll-snap-align: start;
}
.elegal-testimonial-card__identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 42px;
    background: #fff;
}
.elegal-testimonial-card__photo { width: 165px; height: 165px; border-radius: 50%; object-fit: cover; }
.elegal-testimonial-card__logo { width: 150px; max-height: 68px; object-fit: contain; }
.elegal-testimonial-card__copy { display: flex; flex-direction: column; justify-content: center; padding: 55px clamp(45px, 7vw, 90px); }
.elegal-testimonial-card blockquote { margin: 0 0 35px; font-size: 18px; line-height: 1.75; white-space: pre-line; }
.elegal-testimonial-card footer { display: grid; gap: 2px; }
.elegal-testimonial-card footer strong { font-size: 17px; }
.elegal-testimonial-card footer span { color: #747b86; font-size: 14px; }
.elegal-client-logos { background: #fff; }
.elegal-client-logos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.elegal-client-logos__grid > * {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e1e5ea;
    border-radius: 20px;
    padding: 28px;
    transition: border-color .2s ease, transform .2s ease;
}
.elegal-client-logos__grid a:hover { border-color: var(--elegal-orange); transform: translateY(-2px); }
.elegal-client-logos__grid img { width: 175px; max-height: 72px; object-fit: contain; }

/* Reference CMS */
.admin-reference-categories { display: grid; gap: 18px; }
.admin-reference-category { overflow: hidden; border: 1px solid #dfe3e8; border-radius: 10px; background: #f8f9fa; }
.admin-reference-category > header {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) auto auto;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid #e0e4e9;
    padding: 16px 18px;
    background: #fff;
}
.admin-reference-category > header > div:not(.admin-order-buttons) { display: grid; gap: 2px; }
.admin-reference-category > header small { color: #717985; }
.admin-drag-handle { color: #9ba2ad; font-size: 18px; letter-spacing: -4px; }
.admin-order-buttons { display: flex; gap: 5px; }
.admin-order-buttons button {
    width: 34px;
    height: 34px;
    border: 1px solid #d6dbe2;
    border-radius: 6px;
    background: #fff;
    font-weight: 700;
}
.admin-order-buttons button:hover:not(:disabled) { border-color: var(--orange); color: var(--orange-dark); }
.admin-order-buttons button:disabled { opacity: .35; cursor: default; }
.admin-visibility-switch { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; cursor: pointer; }
.admin-visibility-switch input[type="checkbox"] { width: 19px; height: 19px; margin: 0; accent-color: var(--orange); }
.admin-reference-category__titles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 18px; }
.admin-reference-category__titles label { display: grid; gap: 5px; color: #555; font-size: 12px; font-weight: 600; }
.admin-reference-category__titles input { min-height: 40px; border: 1px solid #d6dbe2; border-radius: 6px; padding: 8px 11px; background: #fff; }
.admin-reference-items { display: grid; padding: 0 18px; }
.admin-reference-item {
    display: grid;
    grid-template-columns: auto 78px minmax(210px, 1fr) auto auto auto;
    gap: 14px;
    align-items: center;
    border-top: 1px solid #e0e4e9;
    padding: 14px 0;
    transition: opacity .2s ease;
}
.admin-reference-item.is-hidden { opacity: .55; }
.admin-reference-item__preview { display: flex; width: 78px; height: 58px; align-items: center; justify-content: center; border-radius: 6px; padding: 7px; background: #fff; }
.admin-reference-item__preview img { width: 100%; height: 100%; object-fit: contain; }
.admin-reference-item__preview span { color: #8a919c; font-size: 10px; text-align: center; }
.admin-reference-item__copy { display: grid; min-width: 0; gap: 3px; }
.admin-reference-item__copy strong { overflow-wrap: anywhere; }
.admin-reference-item__copy small { color: #717985; }
.admin-reference-item .admin-button { min-height: 38px; padding: 7px 12px; font-size: 13px; }
.admin-reference-add { display: block; border-top: 1px solid #e0e4e9; padding: 13px 18px; color: var(--orange-dark); font-size: 13px; font-weight: 650; text-decoration: none; }
.admin-reference-empty { margin: 0; border-top: 1px solid #e0e4e9; padding: 24px 0; color: #717985; text-align: center; }
.admin-reference-media-preview { display: flex; gap: 20px; align-items: center; margin-top: 24px; border-top: 1px solid #eee; padding-top: 24px; }
.admin-reference-media-preview img { width: 180px; height: 120px; border: 1px solid #e0e4e9; border-radius: 8px; padding: 12px; object-fit: contain; }
.admin-danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid #f1caca; }
.admin-danger-zone p { margin: 4px 0 0; color: #777; }
.admin-button--danger { border-color: #a51d1d; background: #a51d1d; }

@media (max-width: 1024px) {
    .elegal-case-studies__grid { grid-template-columns: 1fr; }
    .elegal-client-logos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .admin-reference-item { grid-template-columns: auto 70px minmax(180px, 1fr) auto auto; }
    .admin-reference-item > .admin-button { grid-column: 3; justify-self: start; }
}

@media (max-width: 700px) {
    .elegal-reference-section { padding: 58px 0 !important; }
    .elegal-reference-heading { margin-bottom: 34px; }
    .elegal-reference-heading h2,
    .elegal-reference-heading--dark h2 { font-size: 27px; }
    .elegal-case-study-card { min-height: 0; grid-template-columns: 82px minmax(0, 1fr); gap: 17px; border-radius: 14px; padding: 23px; }
    .elegal-case-study-card__logo { min-height: 76px; }
    .elegal-case-study-card__logo img { width: 68px; max-height: 45px; }
    .elegal-case-study-card h3 { font-size: 18px; }
    .elegal-case-study-card p { grid-column: 1 / -1; }
    .elegal-case-study-card__arrow { display: none; }
    .elegal-reference-heading--dark { grid-template-columns: 1fr; align-items: center; gap: 22px; }
    .elegal-reference-heading--dark h2,
    .elegal-reference-heading--dark .elegal-reference-controls { grid-column: 1; }
    .elegal-reference-heading--dark .elegal-reference-controls { justify-self: center; }
    .elegal-reference-controls button { width: 42px; height: 42px; }
    .elegal-testimonial-card { min-height: 0; grid-template-columns: 1fr; border-radius: 14px; }
    .elegal-testimonial-card__identity { flex-direction: row; gap: 24px; padding: 28px 24px; }
    .elegal-testimonial-card__photo { width: 95px; height: 95px; }
    .elegal-testimonial-card__logo { width: 110px; max-height: 52px; }
    .elegal-testimonial-card__copy { padding: 30px 25px 36px; }
    .elegal-testimonial-card blockquote { font-size: 15px; line-height: 1.65; }
    .elegal-client-logos__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .elegal-client-logos__grid > * { min-height: 115px; border-radius: 14px; padding: 18px; }
    .admin-reference-category > header { grid-template-columns: auto minmax(0, 1fr) auto; }
    .admin-reference-category > header .admin-visibility-switch { grid-column: 2 / -1; }
    .admin-reference-category__titles { grid-template-columns: 1fr; }
    .admin-reference-item { grid-template-columns: auto 62px minmax(0, 1fr) auto; gap: 10px; }
    .admin-reference-item__preview { width: 62px; }
    .admin-reference-item .admin-order-buttons { grid-column: 2; }
    .admin-reference-item .admin-visibility-switch { grid-column: 3 / -1; }
    .admin-reference-item > .admin-button { grid-column: 3 / -1; justify-self: stretch; }
    .admin-danger-zone { align-items: flex-start; flex-direction: column; }
}

/* Focused IT landing page: compact navigation, static hero and clear CTAs. */
html { scroll-padding-top: 100px; }
[id] { scroll-margin-top: 100px; }
.elegal-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 3px 18px rgba(23, 33, 46, .08);
}
.elegal-header .main_menu { justify-content: flex-end; gap: clamp(12px, 2vw, 30px); }
.elegal-header .main_menu > li::before,
.elegal-header .main_menu > li::after { display: none !important; }
.elegal-header .main_menu > li > a { padding: 13px 2px; }
.elegal-header .main_menu > li.main_menu__cta > a {
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--elegal-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}
.elegal-header .main_menu > li.main_menu__cta > a:hover,
.elegal-header .main_menu > li.main_menu__cta > a:focus { background: #d96600; color: #fff; }
.elegal-anchor-target { display: block; height: 0; scroll-margin-top: 100px; }

.hero-content.elegal-hero-static > .elegal-hero-shell { min-height: 0; padding-bottom: 48px !important; }
.elegal-hero-static .elegal-hero-track { height: 500px; overflow: visible; background: transparent; }
.elegal-hero-static .elegal-hero-slide,
.hero-content.home.elegal-hero-static .elegal-hero-slide {
    position: relative;
    inset: auto;
    min-height: 500px;
    opacity: 1;
    visibility: visible;
}
.hero-content.home.elegal-hero-static .elegal-hero-slide .content {
    min-height: 0;
    margin: 0 auto -34px;
    padding: 32px 42px 34px;
}
.hero-content.home.elegal-hero-static .elegal-hero-slide .content .title { margin: 0; }
.hero-content.home.elegal-hero-static .elegal-hero-slide .content .title span { display: block; font-weight: 250; }
.hero-content.home.elegal-hero-static .elegal-hero-slide .content p { max-width: 700px; margin: 16px auto 0; }
.elegal-hero-static .elegal-hero-actions { flex-wrap: wrap; gap: 12px; }
.hero-content.home.elegal-hero-static .elegal-hero-actions .btn { min-width: 0; margin: 22px 0 0; }
.elegal-hero-static .btn-outline-light { border: 1px solid rgba(255,255,255,.9); background: transparent; color: #fff; }
.elegal-hero-static .btn-outline-light:hover,
.elegal-hero-static .btn-outline-light:focus { background: #fff; color: #c65f00; }

.elegal-services { padding: 92px 0 !important; background: #f7f8fa; }
.elegal-services .container,
.elegal-checkup .container { max-width: var(--elegal-width); }
.elegal-services .elegal-centered-heading { max-width: 800px; margin: 0 auto 44px; }
.elegal-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.elegal-service-card {
    min-height: 230px;
    border: 1px solid #e5e8ed;
    border-radius: 18px;
    padding: 26px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(23, 33, 46, .045);
}
.elegal-service-card__number { color: var(--elegal-orange); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.elegal-service-card h3 { margin: 12px 0 18px; font-size: 21px; line-height: 1.3; }
.elegal-service-card__body { margin: 0 0 16px; color: #545b66; font-size: 15px; line-height: 1.6; }
.elegal-service-card__link { color: #9d4d00; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.elegal-checkup { padding: 72px 0 !important; background: #fff; }
.elegal-checkup__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 56px; align-items: center; }
.elegal-checkup__eyebrow { margin: 0 0 12px; color: #a34f00; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.elegal-checkup h2 { max-width: 620px; margin-bottom: 18px; font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.elegal-checkup__inner > div > p:not(.elegal-checkup__eyebrow) { max-width: 620px; color: #555d68; line-height: 1.7; }
.elegal-checkup ul { display: grid; gap: 11px; margin: 24px 0 0; padding: 0; list-style: none; }
.elegal-checkup li { position: relative; padding-left: 28px; }
.elegal-checkup li::before { position: absolute; left: 0; color: #a34f00; content: "✓"; font-weight: 800; }
.elegal-checkup__offer { border: 1px solid #e5e8ed; border-radius: 20px; padding: 30px; background: #fafbfc; }
.elegal-checkup__offer h3 { margin-bottom: 10px; font-size: 23px; }
.elegal-checkup__offer > p { color: #555d68; line-height: 1.6; }
.elegal-checkup__offer dl { display: grid; gap: 12px; margin: 22px 0; }
.elegal-checkup__offer dl > div { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid #e1e4e9; padding-top: 12px; }
.elegal-checkup__offer dt { font-weight: 700; }
.elegal-checkup__offer dd { margin: 0; text-align: right; }
.elegal-checkup__offer .btn { display: inline-flex; justify-content: center; width: 100%; white-space: normal; }

.elegal-mobile-sticky-cta { display: none; }
.elegal-footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 991px) {
    .elegal-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .elegal-checkup__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 700px) {
    html { scroll-padding-top: 75px; }
    [id] { scroll-margin-top: 75px; }
    .elegal-header .main_menu { align-items: stretch; gap: 0; }
    .elegal-header .main_menu > li > a { padding: 13px 16px; }
    .elegal-header .main_menu > li.main_menu__cta > a { margin: 8px 14px 14px; text-align: center; }
    .hero-content.elegal-hero-static > .elegal-hero-shell { min-height: 0; padding: 0 10px 32px !important; }
    .elegal-hero-static .elegal-hero-track { height: auto; min-height: 0; overflow: hidden; border-radius: 0 0 18px 18px; }
    .hero-content.home.elegal-hero-static .elegal-hero-slide { min-height: 0; align-items: center; flex-direction: column; }
    .hero-content.home.elegal-hero-static .elegal-hero-slide .hero-background { position: absolute; inset: 0; border-radius: inherit; }
    .hero-content.home.elegal-hero-static .elegal-hero-slide .hero-background img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
    .hero-content.home.elegal-hero-static .elegal-hero-slide .content {
        position: relative;
        inset: auto;
        width: calc(100% - 28px);
        min-height: 0;
        margin: 28px auto;
        border-radius: 20px;
        padding: 24px 18px;
    }
    .hero-content.home.elegal-hero-static .elegal-hero-slide .content .title { font-size: clamp(27px, 8vw, 35px); }
    .hero-content.home.elegal-hero-static .elegal-hero-slide .content p { margin-top: 12px; font-size: 14px; }
    .elegal-hero-static .elegal-hero-actions { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 8px; }
    .hero-content.home.elegal-hero-static .elegal-hero-actions .btn,
    .hero-content.home.elegal-hero-static .elegal-hero-actions .btn + .btn { width: 100%; min-width: 0; min-height: 46px; margin: 18px 0 0; padding: 10px 8px; font-size: 13px; line-height: 1.2; }
    .elegal-services { padding: 58px 0 !important; }
    .elegal-services .elegal-centered-heading { margin-bottom: 30px; }
    .elegal-services__grid { grid-template-columns: 1fr; gap: 14px; }
    .elegal-service-card { min-height: 0; padding: 22px; }
    .elegal-checkup { padding: 55px 0 !important; }
    .elegal-checkup__inner { grid-template-columns: 1fr; gap: 28px; }
    .elegal-checkup__offer { padding: 23px; }
    .elegal-mobile-sticky-cta {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1100;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px max(14px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.97);
        box-shadow: 0 -4px 20px rgba(23,33,46,.14);
    }
    .elegal-mobile-sticky-cta a { display: block; border-radius: 999px; padding: 12px 10px; background: var(--elegal-orange); color: #fff; font-weight: 700; text-align: center; text-decoration: none; }
    .elegal-mobile-sticky-cta a + a { background: #17212e; }
    body { padding-bottom: 66px; }
    .elegal-footer-links { grid-template-columns: 1fr; gap: 26px; }
}

.main-footer .copyright {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}
.main-footer .copyright p { margin: 0; text-align: center; }

/* Tighter vertical rhythm across the landing page, like the main eLegal site. */
#main-content > .frontend__section:not(.hero-content) {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}
#main-content .elegal-centered-heading,
#main-content .elegal-reference-heading { margin-bottom: 32px; }

@media (max-width: 700px) {
    #main-content > .frontend__section:not(.hero-content) {
        padding-top: 44px !important;
        padding-bottom: 44px !important;
    }
    #main-content .elegal-centered-heading,
    #main-content .elegal-reference-heading { margin-bottom: 24px; }
}
