/* Design system for maslyuk.com with Adobe Fonts primary and local fallbacks. */

:root {
    --font-body: "futura-pt", "Inter", "Segoe UI", Arial, sans-serif;
    --font-display: "futura-pt-bold", "futura-pt", "Outfit", "Arial Narrow", sans-serif;
    --font-accent: "manifold-cf", "Outfit", "Arial Black", sans-serif;
    --font-condensed: "futura-pt-condensed", "Outfit", "Arial Narrow", sans-serif;
    --hue: 210;
    --primary: hsl(var(--hue), 58%, 16%);
    --primary-light: hsl(var(--hue), 44%, 28%);
    --accent: hsl(28, 89%, 58%);
    --accent-soft: hsl(34, 89%, 82%);
    --accent-light: hsl(34, 95%, 68%);
    --danger: hsl(3, 66%, 47%);
    --bg-page: hsl(35, 45%, 97%);
    --bg-hero: linear-gradient(180deg, hsl(39, 60%, 96%) 0%, hsl(36, 33%, 99%) 48%, hsl(210, 30%, 98%) 100%);
    --bg-card: hsla(0, 0%, 100%, 0.9);
    --bg-elevated: hsl(0, 0%, 100%);
    --bg-dark: hsl(213, 61%, 15%);
    --bg-glass: hsla(0, 0%, 100%, 0.82);
    --text-main: hsl(214, 36%, 15%);
    --text-muted: hsl(214, 18%, 41%);
    --text-subtle: hsl(214, 15%, 52%);
    --border-color: hsla(210, 26%, 31%, 0.11);
    --border-strong: hsla(210, 32%, 23%, 0.18);
    --shadow-light: 0 12px 30px hsla(214, 42%, 18%, 0.07);
    --shadow-medium: 0 24px 60px hsla(214, 48%, 16%, 0.12);
    --shadow-hover: 0 28px 80px hsla(214, 56%, 14%, 0.18);
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --transition: 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Offset anchor jumps (#home, #all-services, #contact) by the fixed header
       height so sections don't hide under it and #home matches the no-hash top. */
    scroll-padding-top: 90px;
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-main);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    background:
        radial-gradient(circle at top left, hsla(34, 93%, 72%, 0.16), transparent 30%),
        radial-gradient(circle at 85% 18%, hsla(210, 60%, 62%, 0.14), transparent 28%),
        linear-gradient(180deg, hsl(40, 55%, 97%) 0%, hsl(36, 40%, 99%) 40%, hsl(210, 25%, 98%) 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(10px);
}

body::before {
    width: 28rem;
    height: 28rem;
    top: -12rem;
    right: -10rem;
    background: radial-gradient(circle, hsla(28, 92%, 64%, 0.16) 0%, transparent 68%);
}

body::after {
    width: 24rem;
    height: 24rem;
    bottom: 10%;
    left: -12rem;
    background: radial-gradient(circle, hsla(210, 75%, 48%, 0.12) 0%, transparent 72%);
}

img {
    max-width: 100%;
    display: block;
}

a,
button {
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

a {
    color: inherit;
}

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid hsla(28, 89%, 58%, 0.35);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

p,
li,
span {
    font-family: var(--font-body);
}

main {
    margin-top: 90px;
    flex-grow: 1;
}

.section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 5.5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-main {
    display: inline-block;
    position: relative;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: clamp(2.3rem, 4vw, 3.4rem);
}

.section-title-main::before {
    content: "";
    display: block;
    width: 4.25rem;
    height: 0.45rem;
    margin: 0 auto 1.1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.section-subtitle {
    max-width: 52rem;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.main-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.92) 0%, hsla(0, 0%, 100%, 0.84) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px hsla(210, 30%, 15%, 0.05);
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 14px 30px hsla(210, 45%, 18%, 0.12);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--primary);
    font-size: 1.4rem;
    cursor: pointer;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--text-muted);
    font-family: var(--font-condensed);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: hsla(214, 34%, 20%, 0.05);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.38rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    opacity: 0;
    transform: scaleX(0.4);
    transition:
        opacity var(--transition),
        transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.portal-link {
    background: linear-gradient(135deg, hsl(212, 54%, 18%), hsl(214, 42%, 24%));
    color: hsl(40, 75%, 96%);
    box-shadow: 0 12px 24px hsla(214, 44%, 16%, 0.18);
}

.portal-link:hover,
.portal-link.active {
    color: #fff;
    background: linear-gradient(135deg, hsl(212, 58%, 16%), hsl(28, 79%, 45%));
}

.portal-link::after {
    display: none;
}

.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: hsla(0, 0%, 100%, 0.76);
    box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.4);
}

.lang-btn {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.lang-btn:hover {
    color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 22px hsla(214, 44%, 15%, 0.2);
}

.section-hero {
    background: var(--bg-hero);
    padding: 4rem 2rem 5.5rem;
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
}

.hero-intro {
    max-width: 860px;
    margin: 0 auto 3rem;
    padding: 2.6rem 2.8rem;
    border: 1px solid hsla(214, 34%, 21%, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
    background:
        linear-gradient(140deg, hsla(0, 0%, 100%, 0.92), hsla(35, 70%, 98%, 0.8)),
        hsla(0, 0%, 100%, 0.75);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.hero-intro::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 50%;
    width: 11rem;
    height: 11rem;
    transform: translateX(-50%);
    background: radial-gradient(circle, hsla(28, 89%, 58%, 0.14) 0%, transparent 68%);
    pointer-events: none;
}

.hero-title {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: clamp(2.8rem, 5vw, 4.7rem);
    text-wrap: balance;
}

.hero-tagline {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: clamp(1.08rem, 2.1vw, 1.38rem);
    line-height: 1.7;
}

.slideshow-wrapper {
    position: relative;
    overflow: hidden;
    padding: clamp(1.8rem, 4vw, 3rem);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, hsla(0, 0%, 100%, 0.95), hsla(35, 65%, 98%, 0.78)),
        var(--bg-card);
    box-shadow: var(--shadow-medium);
}

.slideshow-wrapper::before {
    content: "";
    position: absolute;
    inset: auto auto -3rem -3rem;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: radial-gradient(circle, hsla(210, 76%, 54%, 0.12), transparent 70%);
    pointer-events: none;
}

.slide-container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 4vw, 3.8rem);
    align-items: center;
    transition: opacity 0.5s ease-in-out;
}

.slide-text-side {
    display: flex;
    flex-direction: column;
}

.slide-num-badge {
    align-self: flex-start;
    margin-bottom: 1.3rem;
    padding: 0.45rem 1rem;
    border: 1px solid hsla(28, 89%, 58%, 0.18);
    border-radius: 999px;
    background: hsla(28, 89%, 58%, 0.08);
    color: var(--primary);
    font-family: var(--font-condensed);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.slide-title {
    margin-bottom: 0.85rem;
    color: var(--primary);
    font-size: clamp(2rem, 3.4vw, 3rem);
}

.slide-subtitle {
    margin-bottom: 1.9rem;
    color: var(--primary-light);
    font-family: var(--font-accent);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.55;
}

.slide-bullets-container,
.slide-bounds-container {
    margin-bottom: 1.7rem;
}

.bullet-section-title,
.bounds-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    color: var(--primary);
    font-family: var(--font-condensed);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bounds-title {
    color: var(--danger);
}

.slide-bullets,
.slide-bounds-bullets {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.slide-bullets li,
.slide-bounds-bullets li {
    position: relative;
    padding-left: 1.55rem;
    color: var(--text-main);
    font-size: 0.98rem;
    line-height: 1.65;
}

.slide-bullets li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.24rem;
    color: var(--accent);
    font-size: 0.85rem;
}

.slide-bounds-bullets li::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.24rem;
    color: var(--danger);
    font-size: 0.85rem;
}

.slide-extra-text {
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-style: italic;
    line-height: 1.65;
}

.slide-image-side {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image-wrapper {
    width: 100%;
    aspect-ratio: 0.96;
    overflow: hidden;
    border: 1px solid hsla(214, 32%, 23%, 0.11);
    border-radius: calc(var(--radius-md) + 4px);
    background: linear-gradient(180deg, hsl(40, 35%, 98%) 0%, hsl(210, 30%, 97%) 100%);
    box-shadow: 0 18px 44px hsla(214, 44%, 16%, 0.12);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.slide-image:hover {
    transform: scale(1.04);
}

.slideshow-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid hsla(214, 32%, 23%, 0.09);
}

.slide-control-btn {
    width: 3.2rem;
    height: 3.2rem;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-elevated);
    color: var(--primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: var(--shadow-light);
}

.slide-control-btn:hover {
    transform: translateY(-2px);
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.slide-indicators {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: hsla(214, 18%, 42%, 0.22);
    cursor: pointer;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.35);
    box-shadow: 0 0 0 0.35rem hsla(28, 89%, 58%, 0.12);
}

.section-services {
    position: relative;
    background:
        linear-gradient(180deg, hsla(0, 0%, 100%, 0.82), hsla(0, 0%, 100%, 0.94)),
        #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    background:
        linear-gradient(160deg, hsla(0, 0%, 100%, 0.96), hsla(36, 70%, 98%, 0.82)),
        var(--bg-card);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 0.28rem;
    background: linear-gradient(90deg, var(--accent), hsla(210, 52%, 44%, 0.95));
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: hsla(214, 42%, 24%, 0.15);
    box-shadow: var(--shadow-hover);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    margin-bottom: 1.35rem;
}

.service-card-img-wrapper {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 14px 26px hsla(214, 40%, 16%, 0.14);
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.service-card-num {
    color: var(--accent);
    font-family: var(--font-condensed);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-card-title {
    color: var(--primary);
    font-size: 1.45rem;
    line-height: 1.15;
}

.service-card-subtitle {
    margin-bottom: 1.35rem;
    color: var(--text-muted);
    font-family: var(--font-accent);
    font-size: 0.97rem;
    font-weight: 400;
    line-height: 1.55;
}

.service-card-bullets,
.service-card-bounds-bullets {
    list-style: none;
    margin-bottom: 1.25rem;
}

.service-card-bullets li,
.service-card-bounds-bullets li {
    position: relative;
    margin-bottom: 0.55rem;
    padding-left: 1.2rem;
    color: var(--text-main);
    font-size: 0.94rem;
    line-height: 1.55;
}

.service-card-bullets li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--accent);
    font-size: 0.72rem;
}

.service-card-bounds-bullets li::before {
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--danger);
    font-size: 0.72rem;
}

.service-card-toggle {
    margin-top: auto;
    border: 0;
    background: transparent;
    color: var(--primary-light);
    font-family: var(--font-condensed);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.service-card-toggle:hover {
    color: var(--accent);
}

.service-card-bounds {
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    transition:
        max-height 400ms ease,
        padding-top var(--transition),
        margin-top var(--transition),
        border-color var(--transition);
}

.service-card-bounds.expanded {
    max-height: 36rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top-color: hsla(214, 32%, 23%, 0.1);
}

.service-card-extra-text {
    margin-top: 0.7rem;
    padding-left: 0.85rem;
    border-left: 2px solid var(--accent);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.55;
}

.section-contact {
    background:
        radial-gradient(circle at 12% 12%, hsla(28, 89%, 58%, 0.13), transparent 26%),
        radial-gradient(circle at 88% 82%, hsla(210, 70%, 54%, 0.12), transparent 26%);
}

.contact-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.business-card {
    width: 100%;
    max-width: 940px;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    overflow: hidden;
    border: 1px solid hsla(214, 42%, 22%, 0.12);
    border-radius: 32px;
    background: hsla(0, 0%, 100%, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-medium);
}

.business-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-left {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3.5rem 3rem;
    background:
        radial-gradient(circle at top left, hsla(28, 89%, 58%, 0.28), transparent 34%),
        linear-gradient(160deg, hsl(214, 62%, 18%) 0%, hsl(210, 50%, 21%) 52%, hsl(215, 45%, 16%) 100%);
    color: #fff;
}

.card-left::before {
    content: "";
    position: absolute;
    inset: auto -2rem -2rem auto;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    background: radial-gradient(circle, hsla(0, 0%, 100%, 0.14) 0%, transparent 68%);
}

.card-logo-img {
    width: 96px;
    height: 96px;
    margin-bottom: 1.35rem;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 18px 40px hsla(214, 60%, 10%, 0.24);
}

.card-name {
    font-size: clamp(1.9rem, 2.8vw, 2.5rem);
    margin-bottom: 0.4rem;
}

.card-title {
    margin-bottom: 1.2rem;
    color: hsla(40, 75%, 96%, 0.82);
    font-size: 1.08rem;
    line-height: 1.55;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    color: var(--primary);
    font-family: var(--font-condensed);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.25rem;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.86), hsla(35, 65%, 98%, 0.72));
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border: 1px solid hsla(214, 32%, 23%, 0.08);
    border-radius: 18px;
    background: hsla(0, 0%, 100%, 0.72);
}

.contact-icon-wrapper {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(180deg, hsla(28, 89%, 58%, 0.12), hsla(210, 55%, 32%, 0.06));
    border: 1px solid hsla(28, 89%, 58%, 0.12);
    color: var(--primary);
    font-size: 1.05rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.detail-label {
    color: var(--text-subtle);
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-value {
    color: var(--text-main);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

a.detail-value:hover {
    color: var(--accent);
}

.main-footer {
    padding: 4rem 2rem 2.5rem;
    color: #fff;
    border-top: 4px solid var(--accent);
    background:
        radial-gradient(circle at top right, hsla(28, 89%, 58%, 0.18), transparent 24%),
        linear-gradient(180deg, hsl(214, 64%, 16%) 0%, hsl(214, 57%, 13%) 100%);
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
}

.legal-notice-box {
    margin-bottom: 3rem;
    padding: 2rem 2.2rem;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 28px;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.08), hsla(0, 0%, 100%, 0.03));
    box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.05);
}

.notice-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    color: var(--accent-light);
    font-family: var(--font-condensed);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.notice-text {
    color: hsla(40, 50%, 93%, 0.86);
    font-size: 0.95rem;
    line-height: 1.75;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.12);
}

.copyright {
    color: hsla(35, 40%, 88%, 0.72);
    font-size: 0.88rem;
}

.footer-links {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: hsla(35, 40%, 88%, 0.78);
    font-family: var(--font-condensed);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.slide-bounds-container {
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid hsla(214, 32%, 23%, 0.08);
}

.slide-bounds-toggle {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--primary-light);
    font-family: var(--font-condensed);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.slide-bounds-toggle:hover {
    color: var(--accent);
}

.slide-bounds-toggle i {
    transition: transform var(--transition);
}

.slide-bounds-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.slide-bounds-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 400ms ease,
        opacity var(--transition),
        padding-top var(--transition);
}

.slide-bounds-content.expanded {
    max-height: 38rem;
    opacity: 1;
    padding-top: 1rem;
}

.section-legal {
    min-height: 80vh;
    padding: 5rem 2rem;
}

.legal-page-container {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 4rem);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, hsla(0, 0%, 100%, 0.97), hsla(35, 65%, 98%, 0.84)),
        var(--bg-card);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.legal-page-container::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 0.4rem;
    background: linear-gradient(90deg, var(--accent), hsla(210, 55%, 42%, 0.9));
}

.legal-page-container h1 {
    margin-bottom: 1.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid hsla(214, 32%, 23%, 0.1);
    color: var(--primary);
    font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.legal-page-container h2 {
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    color: var(--primary-light);
    font-family: var(--font-condensed);
    font-size: 1.26rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-page-container h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    font-size: 1.18rem;
}

.legal-page-container p {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.78;
}

.legal-page-container strong {
    font-family: var(--font-display);
    font-weight: 700;
}

.legal-page-container ul {
    list-style: none;
    margin-bottom: 1.25rem;
    padding-left: 0;
}

.legal-page-container ul li {
    position: relative;
    margin-bottom: 0.55rem;
    padding-left: 1.3rem;
    color: var(--text-main);
    font-size: 0.98rem;
    line-height: 1.7;
}

.legal-page-container ul li::before {
    content: "\f111";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.62rem;
    color: var(--accent);
    font-size: 0.42rem;
}

.legal-page-container a {
    color: var(--primary-light);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.15em;
}

.legal-page-container a:hover {
    color: var(--accent);
}

.legal-page-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8rem 0;
    overflow: hidden;
    border-radius: 16px;
    font-size: 0.95rem;
}

.legal-page-container th,
.legal-page-container td {
    border: 1px solid hsla(214, 32%, 23%, 0.09);
    padding: 0.9rem 1rem;
    text-align: left;
    vertical-align: top;
}

.legal-page-container th {
    background: hsla(210, 48%, 20%, 0.05);
    color: var(--primary);
    font-family: var(--font-condensed);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.legal-page-container blockquote.legal-quote {
    margin: 1.5rem 0;
    padding: 1.15rem 1.25rem;
    border-left: 4px solid var(--accent);
    border-radius: 0 18px 18px 0;
    background: hsla(28, 89%, 58%, 0.08);
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 992px) {
    .slide-container {
        grid-template-columns: 1fr;
    }

    .slide-image-side {
        order: -1;
    }

    .slide-image-wrapper {
        max-width: 460px;
    }

    .business-card {
        grid-template-columns: 1fr;
    }

    .card-left,
    .card-right {
        padding: 2.8rem 2rem;
    }
}

@media (max-width: 768px) {
    main {
        margin-top: 82px;
    }

    .header-container {
        padding: 0.9rem 1rem;
    }

    .section-container,
    .section-hero,
    .section-legal,
    .main-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-intro {
        padding: 2rem 1.3rem;
    }

    .slideshow-wrapper {
        padding: 1.4rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid var(--border-color);
        background: hsla(0, 0%, 100%, 0.97);
        transition: max-height 260ms ease;
    }

    .nav-menu.open {
        max-height: 25rem;
    }

    .nav-list {
        align-items: stretch;
        flex-direction: column;
        gap: 0.6rem;
        padding: 1rem;
    }

    .nav-link {
        justify-content: flex-start;
    }

    .nav-link::after {
        display: none;
    }

    .lang-selector-item {
        padding-top: 0.35rem;
    }

    .section-title-main {
        font-size: 2rem;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .legal-page-container,
    .contact-item {
        border-radius: 22px;
    }

    .slideshow-controls {
        flex-direction: column;
    }

    .slide-control-btn {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-links {
        gap: 0.85rem 1rem;
    }

    .legal-page-container h1 {
        font-size: 1.95rem;
    }

    .legal-page-container table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 560px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .card-name {
        font-size: 1.85rem;
    }

    .business-card {
        border-radius: 24px;
    }

    .card-left,
    .card-right,
    .legal-notice-box {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .detail-value {
        font-size: 1rem;
    }
}
