:root {
    --bg: #f8f1e8;
    --bg-soft: #f2ddc4;
    --surface: rgba(255, 252, 249, 0.88);
    --surface-strong: #ffffff;
    --text: #1a1713;
    --muted: #675f58;
    --primary: #ea5b2c;
    --primary-dark: #bf4118;
    --primary-soft: #fff1ea;
    --secondary: #11343a;
    --secondary-soft: #1b4d55;
    --accent: #f0b44d;
    --accent-soft: #fff0c2;
    --border: rgba(17, 52, 58, 0.1);
    --shadow: 0 24px 52px rgba(17, 52, 58, 0.1);
    --shadow-strong: 0 28px 84px rgba(17, 52, 58, 0.18);
    --radius: 26px;
    --container: 1180px;
    --font-body: 'Outfit', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(240, 180, 77, 0.24), transparent 22%),
        radial-gradient(circle at top right, rgba(234, 91, 44, 0.12), transparent 21%),
        radial-gradient(circle at 82% 24%, rgba(17, 52, 58, 0.08), transparent 18%),
        linear-gradient(180deg, #f8f1e8 0%, #fdf9f4 35%, #f6ede2 100%);
}

body.modal-open {
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.12), transparent 70%);
    opacity: 0.3;
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top left, rgba(255, 209, 102, 0.25), transparent 24%),
        linear-gradient(135deg, rgba(18, 52, 59, 0.96), rgba(28, 74, 82, 0.98));
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-mark {
    text-align: center;
    color: #fff;
}

.loader-mark strong,
.loader-mark small {
    display: block;
}

.loader-mark strong {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.12em;
}

.loader-mark small {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.72);
}

.loader-dumbbell {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    animation: spinDumbbell 1.4s linear infinite;
}

.loader-dumbbell::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 16px;
    right: 16px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd166, #ff6b2c);
    transform: translateY(-50%);
}

.loader-dumbbell span {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 64px;
    border-radius: 10px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 0 0 6px rgba(255, 209, 102, 0.14);
}

.loader-dumbbell span:nth-child(1) {
    left: 0;
}

.loader-dumbbell span:nth-child(2) {
    left: 28px;
}

.loader-dumbbell span:nth-child(3) {
    right: 0;
}

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

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

button,
input,
select,
textarea {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

main {
    overflow: hidden;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 250, 246, 0.88);
    border-bottom: 1px solid rgba(15, 47, 53, 0.08);
    box-shadow: 0 12px 34px rgba(15, 47, 53, 0.05);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 78px;
}

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

.brand strong,
.hero-copy h1,
.section-head h2,
.hero-stats strong,
.lead-card h2,
.page-hero h1,
.admin-brand {
    font-family: var(--font-display);
    letter-spacing: 0.03em;
}

.brand-mark {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(15, 47, 53, 0.1);
    border: 1px solid rgba(18, 52, 59, 0.1);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.site-nav a {
    position: relative;
    font-weight: 600;
    color: var(--muted);
    font-size: 1rem;
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: transform 0.25s ease;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--secondary);
}

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

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta,
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ff935b);
    color: #fff !important;
    box-shadow: 0 18px 38px rgba(255, 106, 26, 0.26);
}

.btn-secondary {
    background: rgba(15, 47, 53, 0.08);
    color: var(--secondary);
}

.btn:hover,
.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 4px 0;
    border-radius: 10px;
    background: var(--secondary);
}

.hero {
    padding: 4.8rem 0 2.25rem;
    position: relative;
}

.hero-grid,
.about-grid,
.contact-grid,
.lead-card,
.admin-shell {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    background: linear-gradient(135deg, rgba(255, 107, 44, 0.14), rgba(255, 209, 102, 0.24));
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 44, 0.06);
}

.hero-copy h1,
.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.02;
    margin: 0 0 1rem;
}

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

.hero-copy p,
.page-hero p,
.section-head p,
.about-copy p,
.program-card p,
.info-card p,
.instagram-card p,
.footer-grid p,
.diet-card p,
.exercise-card p,
.gallery-intro p {
    color: var(--muted);
    line-height: 1.65;
}

.hero-copy p,
.section-head p,
.page-hero p {
    font-size: 1.08rem;
}

.hero-kicker {
    margin: 0 0 0.8rem;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-actions,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-mini-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.hero-mini-proof span {
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(17, 52, 58, 0.08);
    font-weight: 600;
    color: var(--secondary);
    backdrop-filter: blur(10px);
}

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

.hero-stats article,
.program-card,
.diet-card,
.exercise-card,
.gallery-card,
.info-card,
.instagram-card,
.admin-card,
.stats-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.program-card,
.diet-card,
.exercise-card,
.gallery-card,
.info-card,
.instagram-card,
.admin-card,
.stats-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,250,246,0.92));
}

.hero-stats article {
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.hero-stats article::after {
    content: '';
    position: absolute;
    inset: auto -20px -20px auto;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.32), transparent 70%);
}

.hero-visual {
    position: relative;
}

.hero-media-main {
    position: relative;
    min-height: 560px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 34px 68px rgba(17, 52, 58, 0.2);
}

.hero-media-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media-overlay {
    position: absolute;
    inset: auto 1.3rem 1.3rem 1.3rem;
    padding: 1.35rem;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(180deg, rgba(8, 29, 33, 0.14), rgba(8, 29, 33, 0.84));
    backdrop-filter: blur(12px);
}

.hero-media-overlay h2 {
    margin: 0.5rem 0;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    line-height: 1.08;
}

.hero-media-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.hero-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-visual-card {
    min-height: 180px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

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

.hero-visual-card-copy {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-visual-card-copy strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--secondary);
}

.hero-visual-card-copy span {
    color: var(--muted);
    margin-top: 0.15rem;
}

.hero-visual-card-copy p {
    margin: 0.8rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.visual-card {
    position: relative;
    min-height: 640px;
    border-radius: 32px;
    background: linear-gradient(135deg, #1d5965, #12343b);
    overflow: hidden;
    box-shadow: 0 34px 68px rgba(18, 52, 59, 0.22);
    isolation: isolate;
}

.visual-card::before,
.visual-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: pulseOrb 6s ease-in-out infinite;
}

.visual-card::before {
    width: 220px;
    height: 220px;
    top: -40px;
    right: -40px;
}

.visual-card::after {
    width: 160px;
    height: 160px;
    bottom: 30px;
    left: -50px;
}

.visual-content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background: linear-gradient(180deg, rgba(18, 52, 59, 0) 0%, rgba(18, 52, 59, 0) 48%, rgba(18, 52, 59, 0.46) 74%, rgba(18, 52, 59, 0.9) 100%);
}

.visual-chip {
    display: inline-flex;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: black;
    width: fit-content;
    margin-bottom: 0.8rem;
}

.owner-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: heroZoom 8s ease-in-out infinite alternate;
    filter: saturate(1.05) contrast(1.04);
}

.hero-highlight {
    position: absolute;
    right: -30px;
    bottom: 34px;
    max-width: 260px;
    padding: 1.1rem 1.15rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    border: 1px solid rgba(18, 52, 59, 0.08);
    animation: floatCard 4s ease-in-out infinite;
}

.hero-highlight strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--secondary);
}

.section {
    padding: 2rem 0 4.5rem;
    position: relative;
}

.section-head,
.page-hero,
.gallery-intro {
    max-width: 860px;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head .section-badge,
.page-hero .section-badge,
.gallery-intro .section-badge {
    justify-content: center;
}

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

.program-card,
.diet-card,
.exercise-card,
.info-card,
.instagram-card,
.gallery-card,
.admin-card,
.stats-card {
    padding: 1.25rem;
}

.program-card,
.diet-card,
.exercise-card,
.gallery-card,
.info-card,
.instagram-card,
.admin-card,
.stats-card,
.about-panel,
.lead-card,
.login-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.program-card:hover,
.diet-card:hover,
.exercise-card:hover,
.gallery-card:hover,
.instagram-card:hover,
.info-card:hover,
.stats-card:hover,
.admin-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(255, 106, 26, 0.22);
}

.program-card h3,
.diet-card h3,
.exercise-card h3,
.gallery-card h3,
.admin-card h3,
.info-card h3 {
    margin-top: 0.3rem;
    margin-bottom: 0.65rem;
    font-size: 1.35rem;
    line-height: 1.15;
}

.meta-row,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.tag,
.meta {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(18, 52, 59, 0.07), rgba(18, 52, 59, 0.12));
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

.about-grid,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-panel {
    background: linear-gradient(160deg, #ffe7d4, #fffdfa);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 106, 26, 0.14);
    animation: riseIn 0.8s ease;
}

.split-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.split-list div {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.76);
    border-radius: 18px;
    border: 1px solid rgba(18, 52, 59, 0.06);
}

.split-list strong {
    display: block;
    margin-bottom: 0.45rem;
}

.owner-feature {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.2rem;
    align-items: center;
}

.owner-feature-image {
    overflow: hidden;
    border-radius: 26px;
    min-height: 220px;
    box-shadow: var(--shadow);
}

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

.section-head-left {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.section-head-left .section-badge {
    justify-content: flex-start;
}

.about-page-hero {
    padding-top: 3.4rem;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 2rem;
    align-items: center;
}

.about-hero-stats {
    margin-top: 1.6rem;
}

.about-hero-card {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 34px;
    box-shadow: 0 34px 68px rgba(17, 52, 58, 0.18);
}

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

.about-hero-card-copy {
    position: absolute;
    inset: auto 1.2rem 1.2rem 1.2rem;
    padding: 1.35rem;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(180deg, rgba(8, 29, 33, 0.14), rgba(8, 29, 33, 0.88));
    backdrop-filter: blur(12px);
}

.about-hero-card-copy h2 {
    margin: 0 0 0.55rem;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.about-hero-card-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.about-experience-grid {
    align-items: stretch;
}

.about-info-card h3 {
    color: var(--secondary);
}

.lead-card {
    grid-template-columns: 0.95fr 1.05fr;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, #fff6ee 100%);
    border-radius: 32px;
    border: 1px solid rgba(255, 106, 26, 0.12);
    box-shadow: var(--shadow);
}

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

.lead-form-grid label,
.admin-form label {
    display: block;
}

.lead-form-grid span,
.admin-form span {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(18, 52, 59, 0.14);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    font: inherit;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(255, 107, 44, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 107, 44, 0.12);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.full-width {
    grid-column: 1 / -1;
}

.alert {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-weight: 600;
}

.alert.success {
    background: rgba(28, 163, 78, 0.12);
    color: #17763b;
}

.alert.error {
    background: rgba(200, 52, 52, 0.12);
    color: #972626;
}

.instagram-grid,
.gallery-grid,
.stats-grid {
    display: grid;
    gap: 1.25rem;
}

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

.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-gallery-grid .gallery-card:nth-child(1),
.featured-gallery-grid .gallery-card:nth-child(4) {
    transform: translateY(18px);
}

.gallery-image,
.exercise-image {
    aspect-ratio: 1 / 0.72;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #eff4f5;
    position: relative;
}

.gallery-image img,
.exercise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-card:hover .gallery-image img,
.exercise-card:hover .exercise-image img,
.diet-card:hover .exercise-image img,
.trainer-card:hover .gallery-image img {
    transform: scale(1.06);
    filter: saturate(1.06);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #12343b, #2f6d77);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.contact-card iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.page-hero {
    padding: 3.2rem 0 1.25rem;
}

.page-hero .container,
.gallery-intro {
    padding: 1.5rem 0 0;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    background: #1fbf61;
    color: #fff;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(31, 191, 97, 0.28);
    animation: whatsappPulse 3.2s ease-in-out infinite;
}

.instagram-float {
    position: fixed;
    right: 22px;
    bottom: 84px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.92rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #833ab4, #fd1d1d 52%, #fcb045);
    box-shadow: 0 18px 36px rgba(131, 58, 180, 0.26);
}

.site-footer {
    position: relative;
    padding: 3rem 0 1.6rem;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.09), transparent 22%),
        radial-gradient(circle at bottom left, rgba(255, 207, 90, 0.12), transparent 24%),
        linear-gradient(135deg, #081d21, #102f35 42%, #173e45 100%);
    color: rgba(255, 255, 255, 0.86);
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 84px 84px;
    opacity: 0.35;
    pointer-events: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand,
.footer-cta {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.footer-quote {
    margin: 0.9rem 0 0;
    padding-left: 1rem;
    border-left: 3px solid rgba(255, 209, 102, 0.7);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    font-style: italic;
}

.footer-brand img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.footer-cta {
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.footer-highlight-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 1;
}

.footer-highlight {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255,255,255,0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.footer-highlight strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #fff;
}

.footer-highlight p {
    margin: 0;
}

.footer-grid h3,
.footer-grid h4 {
    color: #fff;
    margin-top: 0;
}

.footer-grid a,
.footer-grid p {
    color: rgba(255, 255, 255, 0.82);
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    letter-spacing: 0.02em;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.footer-legal-links a:hover {
    color: #fff;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.privacy-sidebar-card {
    position: sticky;
    top: 108px;
    padding: 1.5rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(17, 52, 58, 0.98), rgba(13, 37, 42, 0.94));
    color: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-strong);
}

.privacy-sidebar-card h3 {
    margin-top: 0.1rem;
    margin-bottom: 0.7rem;
    color: #fff;
    font-size: 1.5rem;
}

.privacy-sidebar-card p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.privacy-content {
    display: grid;
    gap: 1.25rem;
}

.privacy-card {
    padding: 1.6rem;
}

.privacy-card p {
    margin-bottom: 0;
}

.privacy-meta {
    justify-content: center;
}

.privacy-points {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.privacy-points div {
    padding: 0.95rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-points strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #fff;
}

.privacy-contact-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255, 241, 234, 0.96));
}

.privacy-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.stories-grid,
.story-videos-grid,
.home-stories-layout,
.admin-story-layout {
    display: grid;
    gap: 1.25rem;
}

.stories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-stories-layout,
.admin-story-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-card,
.story-video-card {
    background: linear-gradient(180deg, rgb(0 0 0 / 96%), rgb(49 44 38 / 94%));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-card {
    min-height: 100%;
}

.story-card {
    padding: 1.5rem;
}

.story-card h3,
.story-video-copy h3 {
    margin: 0.7rem 0 0.65rem;
    font-size: 1.35rem;
    color: var(--secondary);
}

.story-card p,
.story-video-copy p,
.admin-helper-text {
    color: var(--muted);
    line-height: 1.7;
}

.story-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
}

.story-video-card {
    overflow: hidden;
}

.story-video-trigger {
    width: 100%;
    padding: 0;
    border: 0;
    text-align: left;
    background: transparent;
    cursor: pointer;
    color: inherit;
}

.gallery-image-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.story-video-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #102f35, #1b4d55);
}

.story-video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.story-video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 12, 16, 0.08), rgba(4, 12, 16, 0.7));
}

.story-video-play {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.story-video-copy {
    padding: 1.25rem 1.25rem 1.35rem;
}

.story-video-card:hover .story-video-thumb video,
.story-video-trigger:hover .story-video-thumb video {
    transform: scale(1.04);
}

.story-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.story-modal[hidden] {
    display: none;
}

.story-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 12, 0.82);
    backdrop-filter: blur(10px);
}

.story-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    background: #081319;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.story-modal-media {
    background: #000;
}

.story-modal-media video {
    width: 100%;
    display: block;
    max-height: min(72vh, 620px);
    background: #000;
}

.story-modal-copy {
    padding: 1.15rem 1.3rem 1.35rem;
    color: rgba(255, 255, 255, 0.76);
}

.story-modal-copy h3 {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: 1.35rem;
}

.story-modal-copy p {
    margin: 0;
}

.story-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.image-modal[hidden] {
    display: none;
}

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 12, 0.82);
    backdrop-filter: blur(10px);
}

.image-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    background: #081319;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.image-modal-media {
    background: #000;
    display: grid;
    place-items: center;
}

.image-modal-media img {
    display: block;
    width: 100%;
    max-height: min(78vh, 820px);
    object-fit: contain;
    background: #000;
}

.image-modal-copy {
    padding: 1rem 1.25rem 1.2rem;
}

.image-modal-copy h3 {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    font-weight: 600;
}

.image-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.admin-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #fff7ee, #fffdfb);
}

.admin-shell {
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 2rem;
    background: #12343b;
    color: rgba(255, 255, 255, 0.8);
}

.admin-brand-wrap {
    margin-bottom: 1.35rem;
}

.admin-brand-wrap p {
    margin: 0.7rem 0 0;
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.6;
}

.admin-brand {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
}

.admin-brand-wrap .admin-brand {
    margin-bottom: 0;
}

.admin-user-card {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 1.1rem;
}

.admin-user-card strong,
.admin-user-card small {
    display: block;
}

.admin-user-card small {
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.admin-sidebar a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    margin-bottom: 0.65rem;
}

.admin-nav-label {
    margin: 1.2rem 0 0.75rem;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.admin-main {
    padding: 2rem;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.admin-overview-grid {
    margin-bottom: 1.5rem;
}

.admin-table-wrap {
    overflow: auto;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.96);
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(18, 52, 59, 0.08);
    vertical-align: top;
}

th {
    background: rgba(255, 248, 241, 0.9);
}

.login-wrap {
    max-width: 460px;
    margin: 0 auto;
    padding: 5rem 1rem;
}

.login-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.empty-state {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    text-align: center;
    color: var(--muted);
}

.admin-card .btn {
    margin-top: 0.8rem;
}

.admin-section-heading {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

.admin-client-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 0.9rem;
}

.admin-check {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(18, 52, 59, 0.04);
    border: 1px solid rgba(18, 52, 59, 0.08);
}

.admin-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

.admin-check span {
    margin: 0;
}

.lead-contact-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.3rem;
}

.whatsapp-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: #1fbf61;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(31, 191, 97, 0.18);
}

.whatsapp-mini:hover {
    transform: translateY(-2px);
}

.trainer-grid,
.subscription-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.quote-card {
    position: relative;
    min-height: 420px;
    padding: 1.25rem;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(18, 52, 59, 0.08);
    background: #0f2f35;
    color: #fff;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.quote-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.quote-image {
    position: absolute;
    inset: 0;
}

.quote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.02) contrast(1.02);
}

.quote-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 52, 59, 0.2), rgba(18, 52, 59, 0.88) 72%);
}

.quote-card .tag,
.quote-card blockquote,
.quote-card p {
    position: relative;
    z-index: 1;
}

.quote-card .tag {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.quote-card blockquote {
    margin: 1rem 0 0;
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.25;
    letter-spacing: 0.03em;
}

.quote-card p {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

.instagram-embed-card {
    padding: 0.9rem;
    overflow: hidden;
}

.instagram-embed-card .instagram-media {
    min-width: 100% !important;
}

.trainer-image {
    aspect-ratio: 1 / 1.06;
}

.trainer-card,
.subscription-card {
    position: relative;
    overflow: hidden;
}

.trainer-card::before,
.subscription-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.subscription-section {
    padding-top: 0;
}

.subscription-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,245,237,0.92));
}

.subscription-price {
    display: inline-block;
    margin: 0.2rem 0 0.8rem;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.goal-grid {
    margin-top: 1.25rem;
}

.goal-card {
    background: linear-gradient(180deg, rgba(18,52,59,0.95), rgba(38,86,95,0.94));
    color: #fff;
}

.goal-card p,
.goal-card .tag,
.goal-card h3 {
    color: #fff;
}

.goal-card .tag {
    background: rgba(255, 255, 255, 0.14);
}

.not-found-hero {
    min-height: 64vh;
    display: grid;
    align-items: center;
}

.not-found-dumbbell {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 1.4rem;
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 7.6rem);
    font-weight: 700;
    color: var(--secondary);
}

.not-found-weight {
    position: relative;
    width: 180px;
    height: 84px;
    animation: floatCard 3.2s ease-in-out infinite;
}

.not-found-weight b {
    position: absolute;
    top: 50%;
    left: 18px;
    right: 18px;
    height: 10px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.not-found-weight i {
    position: absolute;
    top: 50%;
    width: 34px;
    height: 84px;
    border-radius: 12px;
    transform: translateY(-50%);
    background: var(--secondary);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.not-found-weight i:first-child {
    left: 0;
}

.not-found-weight i:last-child {
    right: 0;
}

@keyframes heroZoom {
    from {
        transform: scale(1.04);
    }
    to {
        transform: scale(1.09);
    }
}

@keyframes pulseOrb {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes spinDumbbell {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.03);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

    .instagram-grid,
    .gallery-grid,
    .stats-grid,
    .quotes-grid,
    .footer-highlight-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 78px;
        left: 1rem;
        right: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 24px;
        box-shadow: var(--shadow);
        border: 1px solid rgba(18, 52, 59, 0.08);
    }

    .site-nav.open {
        display: flex;
    }

    .hero-grid,
    .about-hero-grid,
    .about-grid,
    .contact-grid,
    .lead-card,
    .home-stories-layout,
    .admin-story-layout,
    .privacy-layout,
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .hero-media-main {
        min-height: 460px;
    }

    .footer-grid,
    .footer-top,
    .footer-highlight-row,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid,
    .stories-grid,
    .story-videos-grid,
    .trainer-grid,
    .subscription-grid,
    .instagram-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-sidebar {
        padding-bottom: 0;
    }

    .about-hero-card {
        min-height: 440px;
    }

    .privacy-sidebar-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 3rem;
    }

    .hero-stats,
    .cards-grid,
    .quotes-grid,
    .lead-form-grid,
    .split-list {
        grid-template-columns: 1fr;
    }

    .instagram-grid,
    .gallery-grid,
    .stories-grid,
    .story-videos-grid,
    .trainer-grid,
    .subscription-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .container {
        width: min(var(--container), calc(100% - 1.2rem));
    }

    .site-header {
        background: rgba(255, 248, 241, 0.94);
    }

    body::before {
        opacity: 0.18;
    }

    .nav-wrap {
        min-height: 72px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .brand strong {
        font-size: 0.96rem;
    }

    .brand small {
        font-size: 0.78rem;
    }

    .page-hero {
        padding-top: 2.3rem;
    }

    .gallery-image,
    .exercise-image,
    .story-video-thumb {
        border-radius: 18px;
    }

    .story-card,
    .story-video-copy,
    .program-card,
    .diet-card,
    .exercise-card,
    .gallery-card,
    .subscription-card {
        padding: 1rem;
    }

    .story-card h3,
    .story-video-copy h3,
    .program-card h3,
    .diet-card h3,
    .exercise-card h3,
    .gallery-card h3 {
        font-size: 1.05rem;
    }

    .story-card p,
    .story-video-copy p,
    .program-card p,
    .diet-card p,
    .exercise-card p,
    .gallery-card p {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .story-card p {
        -webkit-line-clamp: 4;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 12vw, 3.2rem);
    }

    .hero-copy h1 {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }

    .hero-kicker {
        font-size: 0.88rem;
    }

    .hero-actions,
    .cta-row {
        gap: 0.8rem;
    }

    .hero-highlight {
        border-radius: 20px;
    }

    .loader-dumbbell {
        width: 108px;
        height: 108px;
    }

    .hero-media-main {
        min-height: 360px;
        border-radius: 24px;
    }

    .about-hero-card {
        min-height: 360px;
        border-radius: 24px;
    }

    .admin-client-form,
    .admin-editor-form {
        grid-template-columns: 1fr;
    }

    .hero-media-overlay {
        inset: auto 1rem 1rem 1rem;
        border-radius: 20px;
        padding: 1rem;
    }

    .about-hero-card-copy {
        inset: auto 1rem 1rem 1rem;
        border-radius: 20px;
        padding: 1rem;
    }

    .hero-visual-grid {
        grid-template-columns: 1fr;
    }

    .not-found-weight {
        width: 120px;
        height: 64px;
    }

    .not-found-weight i {
        width: 24px;
        height: 64px;
    }

    .owner-feature {
        grid-template-columns: 1fr;
    }

    .lead-card,
    .about-panel,
    .program-card,
    .diet-card,
    .exercise-card,
    .gallery-card,
    .info-card,
    .instagram-card,
    .admin-card,
    .stats-card,
    .login-card {
        border-radius: 22px;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        padding: 0.8rem 1rem;
        font-size: 0.92rem;
    }

    .footer-brand img {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .story-modal-dialog {
        border-radius: 22px;
    }

    .story-modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
    }

    .image-modal-dialog {
        border-radius: 22px;
    }

    .image-modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
    }

    .featured-gallery-grid .gallery-card:nth-child(1),
    .featured-gallery-grid .gallery-card:nth-child(4) {
        transform: none;
    }

    th,
    td {
        min-width: 140px;
    }
}

/* Production refresh overrides */
:root {
    --bg: #081217;
    --bg-soft: #101d24;
    --surface: rgba(14, 26, 33, 0.86);
    --surface-strong: rgba(18, 33, 42, 0.96);
    --surface-glow: rgba(255, 255, 255, 0.04);
    --text: #f5f7f8;
    --muted: #a3b4be;
    --primary: #ff6b2c;
    --primary-dark: #cc4d18;
    --primary-soft: rgba(255, 107, 44, 0.12);
    --secondary: #5ae4c0;
    --secondary-soft: #38bfa0;
    --accent: #ffd166;
    --accent-soft: rgba(255, 209, 102, 0.14);
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
    --shadow-strong: 0 30px 80px rgba(0, 0, 0, 0.38);
    --radius: 30px;
    --container: 1220px;
}

html {
    background:
        radial-gradient(circle at top left, rgba(90, 228, 192, 0.08), transparent 22%),
        radial-gradient(circle at top right, rgba(255, 107, 44, 0.14), transparent 28%),
        linear-gradient(180deg, #071015 0%, #0d171d 36%, #060b0f 100%);
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at 0% 0%, rgba(90, 228, 192, 0.12), transparent 20%),
        radial-gradient(circle at 100% 0%, rgba(255, 107, 44, 0.13), transparent 28%),
        radial-gradient(circle at 50% 30%, rgba(255, 209, 102, 0.06), transparent 22%),
        linear-gradient(180deg, #081217 0%, #0a1318 42%, #060b0f 100%);
}

body::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 78%);
    opacity: 1;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03), transparent 26%),
        radial-gradient(circle at 20% 80%, rgba(90, 228, 192, 0.05), transparent 24%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 44, 0.06), transparent 26%);
    opacity: 0.9;
}

main,
.site-footer,
.site-header {
    position: relative;
    z-index: 1;
}

.site-header {
    z-index: 120;
}

.container {
    width: min(var(--container), calc(100% - 2.5rem));
}

.site-header {
    background: rgba(7, 15, 20, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.brand-mark {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.brand strong,
.hero-copy h1,
.section-head h2,
.lead-card h2,
.page-hero h1,
.admin-brand,
.hero-media-overlay h2,
.about-hero-card-copy h2,
.quote-card blockquote {
    letter-spacing: 0;
}

.brand small,
.site-nav a,
.hero-copy p,
.page-hero p,
.section-head p,
.about-copy p,
.program-card p,
.info-card p,
.instagram-card p,
.footer-grid p,
.diet-card p,
.exercise-card p,
.gallery-intro p,
.hero-visual-card-copy span {
    color: var(--muted);
}

.site-nav {
    gap: 0.55rem;
}

.site-nav a {
    padding: 0.82rem 1rem;
    border-radius: 999px;
    font-size: 0.96rem;
    letter-spacing: 0.01em;
}

.site-nav a::after {
    display: none;
}

.site-nav a.active,
.site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta,
.btn-primary {
    background: linear-gradient(135deg, #ff6b2c, #ff935b 55%, #ffc46b);
    color: #081217 !important;
    box-shadow: 0 18px 38px rgba(255, 107, 44, 0.26);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn:hover,
.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 46px rgba(0, 0, 0, 0.34);
}

.section-badge,
.tag,
.meta,
.visual-chip {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-badge {
    background: linear-gradient(135deg, rgba(255, 107, 44, 0.16), rgba(255, 209, 102, 0.14));
    color: #ffd8b8;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.tag,
.meta {
    background: rgba(255, 255, 255, 0.06);
    color: #d8e5ea;
}

.hero {
    padding: 5.5rem 0 3rem;
}

.page-hero {
    padding: 4rem 0 1.6rem;
}

.hero-copy {
    max-width: 640px;
}

.hero-copy h1,
.page-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.9rem, 6vw, 5.2rem);
    line-height: 0.96;
}

.page-hero h1 {
    margin-left: auto;
    margin-right: auto;
}

.hero-kicker {
    color: var(--secondary);
    letter-spacing: 0.14em;
}

.hero-stats article,
.program-card,
.diet-card,
.exercise-card,
.gallery-card,
.info-card,
.instagram-card,
.admin-card,
.stats-card,
.about-panel,
.lead-card,
.login-card,
.contact-card iframe,
.hero-visual-card,
.hero-media-main,
.about-hero-card,
.footer-highlight,
.footer-cta {
    background:
        linear-gradient(180deg, rgba(21, 36, 45, 0.95), rgba(11, 22, 28, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.hero-stats article {
    padding: 1.15rem 1.15rem 1.2rem;
}

.hero-stats article strong {
    color: #fff;
}

.hero-stats article::after {
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(90, 228, 192, 0.18), transparent 72%);
}

.hero-media-main,
.about-hero-card {
    isolation: isolate;
}

.hero-media-main::after,
.about-hero-card::after,
.gallery-image::after,
.exercise-image::after,
.quote-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 11, 15, 0.08), rgba(6, 11, 15, 0.48) 100%);
    pointer-events: none;
}

.hero-media-overlay,
.about-hero-card-copy {
    background: linear-gradient(180deg, rgba(8, 17, 22, 0.2), rgba(5, 10, 14, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

.hero-media-overlay p,
.about-hero-card-copy p {
    color: rgba(245, 247, 248, 0.78);
}

.hero-visual-card-copy {
    background: linear-gradient(180deg, rgba(19, 34, 44, 0.96), rgba(11, 22, 28, 0.94));
}

.hero-visual-card-copy strong,
.program-card h3,
.diet-card h3,
.exercise-card h3,
.gallery-card h3,
.admin-card h3,
.info-card h3,
.footer-highlight strong,
.lead-card h2,
.page-hero h1,
.section-head h2,
.about-panel h3,
.subscription-price {
    color: #fff;
}

.section {
    padding: 2.2rem 0 5rem;
}

.section-head,
.page-hero,
.gallery-intro {
    max-width: 940px;
    margin-bottom: 2.4rem;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.02;
    margin-bottom: 0.8rem;
}

.cards-grid,
.gallery-grid,
.quotes-grid,
.instagram-grid,
.stats-grid,
.footer-highlight-row {
    gap: 1.6rem;
}

.program-card,
.diet-card,
.exercise-card,
.gallery-card,
.info-card,
.instagram-card,
.admin-card,
.stats-card,
.lead-card,
.about-panel,
.login-card {
    position: relative;
    overflow: hidden;
}

.program-card::before,
.diet-card::before,
.exercise-card::before,
.gallery-card::before,
.info-card::before,
.instagram-card::before,
.admin-card::before,
.stats-card::before,
.lead-card::before,
.about-panel::before,
.login-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.program-card:hover,
.diet-card:hover,
.exercise-card:hover,
.gallery-card:hover,
.instagram-card:hover,
.info-card:hover,
.stats-card:hover,
.admin-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(255, 255, 255, 0.12);
}

.split-list div {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.owner-feature-image,
.gallery-image,
.exercise-image,
.trainer-image {
    border-radius: 24px;
}

.gallery-image,
.exercise-image {
    background: linear-gradient(135deg, rgba(25, 42, 51, 0.92), rgba(15, 24, 30, 0.98));
}

.gallery-image img,
.exercise-image img,
.quote-image img,
.hero-media-main img,
.about-hero-card img,
.owner-feature-image img {
    filter: saturate(1.04) contrast(1.02);
}

.quote-card {
    min-height: 460px;
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(17, 31, 39, 0.82), rgba(10, 17, 23, 0.96));
}

.quote-card .tag {
    background: rgba(255, 255, 255, 0.12);
}

.quote-card p {
    color: rgba(245, 247, 248, 0.78);
}

.lead-card {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 2.3rem;
}

input,
select,
textarea {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

input::placeholder,
textarea::placeholder {
    color: rgba(163, 180, 190, 0.82);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(90, 228, 192, 0.6);
    box-shadow: 0 0 0 4px rgba(90, 228, 192, 0.14);
}

option {
    color: #081217;
}

.alert.success {
    background: rgba(90, 228, 192, 0.16);
    color: #bdf9ea;
}

.alert.error {
    background: rgba(255, 107, 44, 0.14);
    color: #ffd1bc;
}

.contact-card iframe {
    min-height: 100%;
}

.page-hero .container,
.gallery-intro {
    padding-top: 0.75rem;
}

.whatsapp-float {
    right: 10px;
    bottom: 10px;
    padding: 0.58rem 0.82rem;
    font-size: 0.82rem;
    background: linear-gradient(135deg, #1ec96d, #0f9d57);
    box-shadow: 0 12px 24px rgba(10, 92, 49, 0.3);
}

.instagram-float {
    right: 10px;
    bottom: 50px;
    padding: 0.56rem 0.8rem;
    font-size: 0.8rem;
    box-shadow: 0 12px 24px rgba(131, 58, 180, 0.22);
}

.instagram-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 42px rgba(131, 58, 180, 0.32);
}

.site-footer {
    padding: 3.8rem 0 1.6rem;
    background:
        radial-gradient(circle at top right, rgba(90, 228, 192, 0.1), transparent 22%),
        radial-gradient(circle at bottom left, rgba(255, 107, 44, 0.12), transparent 26%),
        linear-gradient(180deg, #071015 0%, #04080b 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer::before {
    background-size: 72px 72px;
}

.footer-top {
    gap: 2rem;
    align-items: stretch;
}

.footer-quote {
    border-left-color: rgba(90, 228, 192, 0.62);
}

.footer-grid a,
.footer-grid p,
.footer-bottom p,
.footer-cta p,
.footer-highlight p {
    color: rgba(245, 247, 248, 0.72);
}

.admin-page {
    background:
        radial-gradient(circle at top left, rgba(90, 228, 192, 0.08), transparent 26%),
        linear-gradient(180deg, #0c151a, #05090d);
}

.admin-sidebar {
    background: linear-gradient(180deg, rgba(8, 18, 24, 0.98), rgba(6, 12, 16, 0.98));
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-main {
    padding: 2.2rem;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.admin-section-card {
    padding: 1.4rem;
    margin-bottom: 1.5rem;
}

.admin-trainer-grid,
.admin-gallery-grid {
    align-items: start;
    margin-bottom: 1.5rem;
}

.admin-editor-card {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: visible;
}

.admin-editor-card:hover {
    transform: none;
}

.admin-editor-card .gallery-image,
.admin-editor-card .trainer-image {
    margin-bottom: 0;
}

.admin-editor-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.admin-editor-form label {
    margin: 0;
}

.admin-editor-form textarea {
    min-height: 132px;
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.admin-delete-form {
    margin-top: 0.15rem;
}

.admin-delete-form .btn,
.admin-form-actions .btn {
    width: 100%;
}

table {
    background: rgba(10, 18, 24, 0.94);
    color: #e8eef1;
}

th {
    background: rgba(255, 255, 255, 0.05);
}

th,
td {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.empty-state {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: var(--muted);
}

.not-found-hero {
    min-height: 72vh;
}

.not-found-dumbbell {
    color: #fff;
}

.not-found-weight i {
    background: #15333d;
}

@media (max-width: 1080px) {
    .hero-grid,
    .about-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .page-hero .container {
        max-width: 100%;
    }

    .hero-copy h1,
    .page-hero h1 {
        max-width: 14ch;
    }

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

@media (max-width: 860px) {
    .site-header {
        background: #05090d;
        backdrop-filter: none;
        overflow: visible;
    }

    .site-nav {
        top: 86px;
        left: 0.75rem;
        right: 0.75rem;
        display: none;
        position: fixed;
        padding: 1rem;
        gap: 0.45rem;
        background: #000;
        border-color: rgba(255, 255, 255, 0.12);
        box-shadow: var(--shadow-strong);
        z-index: 130;
        isolation: isolate;
    }

    .site-nav a {
        width: 100%;
        justify-content: flex-start;
        color: #fff;
        background: #000;
        position: relative;
        z-index: 1;
    }

    .site-nav a.active,
    .site-nav a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
    }

    .site-nav .nav-cta {
        margin-top: 0.35rem;
        color: #081217 !important;
        background: linear-gradient(135deg, #ff6b2c, #ff935b 55%, #ffc46b);
    }

    .nav-toggle span {
        background: #fff;
    }

    .hero {
        padding-top: 4.3rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .footer-top,
    .footer-grid,
    .footer-highlight-row {
        grid-template-columns: 1fr;
    }

    .admin-editor-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 1.1rem));
    }

    .hero-copy h1,
    .page-hero h1 {
        max-width: 100%;
        font-size: clamp(2.35rem, 12vw, 4rem);
    }

    .hero {
        padding-top: 3.5rem;
    }

    .page-hero {
        padding-top: 2.75rem;
    }

    .hero-media-main,
    .about-hero-card,
    .program-card,
    .diet-card,
    .exercise-card,
    .gallery-card,
    .info-card,
    .instagram-card,
    .admin-card,
    .stats-card,
    .lead-card,
    .about-panel,
    .login-card {
        border-radius: 24px;
    }

    .hero-media-overlay,
    .about-hero-card-copy {
        padding: 1rem;
    }

    .admin-main {
        padding: 1rem 0.85rem 6rem;
    }

    .admin-section-card,
    .admin-editor-card {
        padding: 1rem;
    }

    .whatsapp-float {
        right: 8px;
        left: auto;
        bottom: 8px;
        text-align: center;
        justify-content: center;
        min-width: 0;
        padding: 0.5rem 0.72rem;
        font-size: 0.74rem;
    }

    .instagram-float {
        right: 8px;
        left: auto;
        bottom: 42px;
        text-align: center;
        justify-content: center;
        min-width: 0;
        padding: 0.48rem 0.7rem;
        font-size: 0.72rem;
    }
}
