@font-face {
    font-family: "Open Sauce Sans";
    src: url("../../fonts/Open-Sauce-Sans/OpenSauceSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sauce Sans";
    src: url("../../fonts/Open-Sauce-Sans/OpenSauceSans-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sauce Sans";
    src: url("../../fonts/Open-Sauce-Sans/OpenSauceSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sauce Sans";
    src: url("../../fonts/Open-Sauce-Sans/OpenSauceSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "TT Drugs";
    src: url("../../fonts/tt_drugs/TT Drugs Trial Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-background: #f6f7f9;
    --color-surface: #ffffff;
    --color-surface-soft: #eef2f6;
    --color-surface-muted: #f8fafc;
    --color-text: #152033;
    --color-muted: #596579;
    --color-border: rgba(21, 32, 51, 0.12);
    --color-brand: #0f2745;
    --color-brand-soft: #24486f;
    --color-accent: #c0d2e4;
    --color-highlight: #dfe9f4;
    --color-success: #11683d;
    --color-error: #b42318;
    --shadow-soft: 0 18px 45px rgba(15, 39, 69, 0.08);
    --shadow-strong: 0 28px 75px rgba(15, 39, 69, 0.14);
    --radius-sm: 18px;
    --radius-md: 26px;
    --radius-lg: 34px;
    --max-width: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Open Sauce Sans", "Helvetica Neue", Helvetica, sans-serif;
    color: var(--color-text);
    background:
        radial-gradient(circle at top right, rgba(192, 210, 228, 0.32), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, var(--color-background) 100%);
    line-height: 1.6;
}

.js-enabled .reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        filter 0.7s ease;
    transition-delay: var(--delay, 0s);
}

.js-enabled .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

p,
ul,
ol {
    margin: 0;
}

ul {
    padding: 0;
}

address {
    font-style: normal;
}

button,
input,
textarea {
    font: inherit;
}

svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--color-brand);
    color: #fff;
    border-radius: 999px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: clamp(4.25rem, 7vw, 7rem) 0;
}

.section-alt {
    background: linear-gradient(180deg, #fbfcfd 0%, var(--color-surface-soft) 100%);
}

.section-muted {
    background: #f3f6f9;
}

.section-heading {
    max-width: 44rem;
    margin-bottom: 2.75rem;
}

.section-heading.compact {
    max-width: 40rem;
}

.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: var(--color-highlight);
    color: var(--color-brand);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-kicker-light {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
}

h1,
h2,
h3 {
    font-family: "TT Drugs", "Open Sauce Sans", serif;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.02;
    margin: 0;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-top: 1rem;
}

h3 {
    font-size: 1.5rem;
}

.section-heading p {
    margin-top: 1rem;
    color: var(--color-muted);
    font-size: 1.05rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.35rem;
    padding: 0 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.98rem;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--color-brand);
    color: #fff;
    box-shadow: 0 16px 34px rgba(15, 39, 69, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #132f53;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-brand);
    border-color: rgba(15, 39, 69, 0.16);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(15, 39, 69, 0.28);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(21, 32, 51, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body.is-scrolled .site-header {
    border-color: rgba(21, 32, 51, 0.1);
    box-shadow: 0 10px 35px rgba(15, 39, 69, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 5.3rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-mark {
    width: 98px;
    height: auto;
    border-radius: 1rem;
    /* box-shadow: 0 10px 24px rgba(15, 39, 69, 0.12); */
}

.brand-copy {
    display: grid;
    gap: 0.1rem;
}

.brand-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-subtitle {
    color: var(--color-muted);
    font-size: 0.82rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.nav-list a {
    color: var(--color-muted);
    font-size: 0.97rem;
    font-weight: 500;
}

.nav-list a:hover,
.nav-list a:focus-visible {
    color: var(--color-brand);
}

.nav-toggle {
    display: none;
    width: 3.1rem;
    height: 3.1rem;
    border: 1px solid rgba(15, 39, 69, 0.12);
    border-radius: 1rem;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0;
}

.nav-toggle span {
    width: 1.1rem;
    height: 2px;
    background: var(--color-brand);
    border-radius: 999px;
}

.hero {
    position: relative;
    overflow: clip;
    padding-top: clamp(3.5rem, 8vw, 6rem);
}

.hero::before {
    content: "";
    position: absolute;
    right: -12rem;
    top: -10rem;
    width: 38rem;
    height: 38rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 210, 228, 0.55) 0%, rgba(192, 210, 228, 0) 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.92fr);
    gap: clamp(2.2rem, 5vw, 4rem);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.9rem, 5.5vw, 4.85rem);
    margin-top: 1.1rem;
    max-width: 13.4ch;
}

.hero-copy {
    margin-top: 1.25rem;
    max-width: 40rem;
    color: var(--color-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.fact-card {
    padding: 1.1rem 1.15rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--color-border);
    border-radius: 1.45rem;
    box-shadow: var(--shadow-soft);
}

.fact-card strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--color-brand);
    font-size: 1rem;
    font-weight: 700;
}

.fact-card span {
    display: block;
    color: var(--color-muted);
    font-size: 0.93rem;
    line-height: 1.45;
}

.hero-visual {
    position: relative;
}

.portrait-shell {
    position: relative;
    padding: 1.15rem;
    border: 1px solid rgba(15, 39, 69, 0.1);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 242, 246, 0.9) 100%);
    box-shadow: var(--shadow-strong);
}

.portrait-shell::before {
    content: "";
    position: absolute;
    inset: 1.15rem;
    border-radius: calc(var(--radius-lg) - 0.5rem);
    background: linear-gradient(180deg, rgba(223, 233, 244, 0.24) 0%, rgba(15, 39, 69, 0.08) 100%);
    pointer-events: none;
}

.portrait-badge {
    position: absolute;
    left: 1.6rem;
    top: 1.6rem;
    z-index: 1;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-brand);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-portrait {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.95;
    object-fit: cover;
    object-position: 12% 14%;
    border-radius: calc(var(--radius-lg) - 0.4rem);
    background: linear-gradient(180deg, #eef2f6 0%, #dde4ec 100%);
}

.hero-panel {
    position: absolute;
    right: -1rem;
    bottom: 1.8rem;
    z-index: 1;
    width: min(18rem, calc(100% - 1rem));
    padding: 1.4rem;
    border-radius: 1.8rem;
    background: rgba(15, 39, 69, 0.97);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 60px rgba(15, 39, 69, 0.24);
    animation: float-panel 7s ease-in-out infinite;
}

.hero-panel-label {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-panel h2 {
    margin-top: 0;
    font-size: 1.9rem;
    color: #fff;
}

.hero-panel p {
    margin-top: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.55;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card,
.benefit-card,
.process-card,
.membership-card,
.contact-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card::before,
.benefit-card::before,
.process-card::before,
.membership-card::before,
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(192, 210, 228, 0.24), transparent 48%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.service-card:hover,
.benefit-card:hover,
.process-card:hover,
.membership-card:hover,
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(15, 39, 69, 0.12);
    border-color: rgba(15, 39, 69, 0.18);
}

.service-card:hover::before,
.benefit-card:hover::before,
.process-card:hover::before,
.membership-card:hover::before,
.contact-card:hover::before {
    opacity: 1;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.7rem 1.7rem;
    border-radius: var(--radius-md);
}

.service-media {
    position: relative;
    margin: 0 -1.7rem;
    aspect-ratio: 3 / 2;
    min-height: 0;
    overflow: hidden;
    border-radius: calc(var(--radius-md) - 0.1rem) calc(var(--radius-md) - 0.1rem) 1.3rem 1.3rem;
}

.service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 39, 69, 0.02) 0%, rgba(15, 39, 69, 0.45) 100%);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.06);
}

.service-media-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-brand);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.2rem;
    background: var(--color-highlight);
    color: var(--color-brand);
}

.service-card h3 {
    font-size: 1.7rem;
}

.service-summary {
    color: var(--color-muted);
}

.service-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    margin-top: 0.2rem;
}

.service-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--color-text);
    line-height: 1.5;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 50%;
    background: var(--color-brand-soft);
}

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.5rem;
    align-items: start;
}

.why-intro {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #0f2745 0%, #17365b 100%);
    color: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-strong);
}

.why-intro h2 {
    color: #fff;
}

.why-intro p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.why-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.why-gallery {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 0.9rem;
    margin-top: 1.7rem;
}

.why-image {
    margin: 0;
    min-height: 10.5rem;
    overflow: hidden;
    border-radius: 1.3rem;
    background: rgba(255, 255, 255, 0.08);
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-gallery-badge {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.why-gallery-badge strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.why-gallery-badge span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.5;
}

.benefit-card {
    min-height: 100%;
    padding: 1.5rem;
    border-radius: 1.4rem;
}

.benefit-icon,
.process-icon,
.contact-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: var(--color-highlight);
    color: var(--color-brand);
}

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
}

.benefit-card p {
    margin-top: 0.8rem;
    color: var(--color-muted);
    font-size: 0.98rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.process-card {
    position: relative;
    padding: 1.55rem;
    border-radius: 1.5rem;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--color-highlight);
    color: var(--color-brand);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.process-icon {
    margin-bottom: 1rem;
}

.process-card h3 {
    font-size: 1.35rem;
}

.process-card p {
    margin-top: 0.85rem;
    color: var(--color-muted);
}

.memberships-panel {
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.92) 100%);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.membership-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 7.5rem;
    padding: 1rem;
    border-radius: 1.45rem;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.membership-card img {
    max-width: 8rem;
    max-height: 2.9rem;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.88;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1.5rem;
}

.contact-card {
    padding: clamp(1.6rem, 3vw, 2rem);
    border-radius: var(--radius-lg);
}

.contact-card-primary {
    background: linear-gradient(180deg, #0f2745 0%, #19385f 100%);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-strong);
}

.contact-card-primary h2 {
    color: #fff;
}

.contact-card-primary p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-details {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-detail {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-detail-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.contact-detail-icon {
    width: 2.6rem;
    height: 2.6rem;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.contact-label {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-detail a,
.contact-detail address {
    color: #fff;
    font-size: 1.02rem;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field label {
    font-size: 0.95rem;
    font-weight: 600;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid rgba(21, 32, 51, 0.12);
    border-radius: 1.15rem;
    padding: 1rem 1rem;
    background: #fff;
    color: var(--color-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(15, 39, 69, 0.32);
    box-shadow: 0 0 0 4px rgba(192, 210, 228, 0.32);
}

.field textarea {
    min-height: 11rem;
    resize: vertical;
}

.error,
.form-status {
    min-height: 1.25rem;
    font-size: 0.9rem;
}

.error {
    color: var(--color-error);
}

.form-status {
    color: var(--color-muted);
    font-weight: 600;
}

.form-status.is-error {
    color: var(--color-error);
}

.form-status.is-success {
    color: var(--color-success);
}

.form-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.form-submit:disabled {
    opacity: 0.72;
    cursor: progress;
}

.recaptcha-wrap {
    overflow: hidden;
}

.site-footer {
    padding: 1.8rem 0 2.2rem;
    background: #0e1a2a;
    color: rgba(255, 255, 255, 0.75);
}

.floating-social {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 70;
    display: grid;
    gap: 0.75rem;
}

.floating-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 3.3rem;
    width: 3.3rem;
    padding: 0;
    border-radius: 999px;
    color: #fff;
    box-shadow: 0 18px 34px rgba(15, 39, 69, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        width 0.2s ease,
        padding 0.2s ease;
}

.floating-social-link span {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 0.94rem;
    font-weight: 600;
    white-space: nowrap;
    transition: max-width 0.2s ease, opacity 0.2s ease;
}

.floating-social-link:hover,
.floating-social-link:focus-visible {
    transform: translateY(-2px);
    width: auto;
    padding: 0 1rem;
    box-shadow: 0 22px 40px rgba(15, 39, 69, 0.28);
}

.floating-social-link:hover span,
.floating-social-link:focus-visible span {
    max-width: 8rem;
    opacity: 1;
}

.floating-social-link-whatsapp {
    background: linear-gradient(180deg, #1daa61 0%, #138c4f 100%);
}

.floating-social-link-linkedin {
    background: linear-gradient(180deg, #2568b2 0%, #164f8f 100%);
}

@keyframes float-panel {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1.5rem;
    align-items: end;
}

.brand-footer .brand-title {
    color: #fff;
}

.brand-footer .brand-subtitle {
    color: rgba(255, 255, 255, 0.64);
}

.footer-branding p {
    margin-top: 1rem;
    max-width: 24rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    align-self: center;
}

.footer-links a,
.footer-meta a {
    color: rgba(255, 255, 255, 0.84);
}

.footer-meta {
    display: grid;
    gap: 0.4rem;
    justify-items: end;
    font-size: 0.94rem;
}

@media (max-width: 1100px) {
    .hero-facts,
    .services-grid,
    .process-grid,
    .membership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-grid,
    .contact-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .why-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .footer-meta {
        justify-items: start;
    }
}

@media (max-width: 900px) {
    .site-nav {
        position: fixed;
        inset: 5.8rem 1rem auto;
        display: grid;
        gap: 1.2rem;
        padding: 1.25rem;
        border: 1px solid rgba(21, 32, 51, 0.12);
        border-radius: 1.5rem;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: var(--shadow-strong);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .site-nav[data-open="true"] {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list {
        display: grid;
        gap: 1rem;
    }

    .nav-cta {
        width: 100%;
    }

    .nav-toggle {
        display: inline-flex;
    }

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

    .hero-panel {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }

    .hero-portrait {
        aspect-ratio: 4 / 4.15;
    }

    .why-points,
    .process-grid,
    .membership-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .floating-social {
        right: 0.8rem;
        bottom: 0.8rem;
    }
}

@media (max-width: 640px) {
    .header-inner {
        min-height: 4.8rem;
    }

    .brand-title {
        font-size: 0.84rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .button,
    .contact-chip {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .portrait-badge {
        left: 1rem;
        top: 1rem;
    }

    .service-card,
    .benefit-card,
    .process-card,
    .contact-card,
    .memberships-panel {
        border-radius: 1.4rem;
    }

    .service-media {
        min-height: 10rem;
    }

    .why-gallery {
        grid-template-columns: 1fr;
    }

    .floating-social-link {
        width: 3.3rem;
        padding: 0;
        border-radius: 1.1rem;
    }

    .floating-social-link span {
        display: none;
    }
}

@media (max-width: 390px) {
    .g-recaptcha {
        transform: scale(0.92);
        transform-origin: left top;
    }
}

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