/* ========================================
   IRONPULSE FITNESS — Complete Stylesheet
   ======================================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #111111;
    --bg-secondary: #191919;
    --bg-card: #222222;
    --accent: #FF5A16;
    --accent-hover: #ff7838;
    --white: #FFFFFF;
    --muted: #9A9A9A;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container: 1240px;
    --section-padding: 100px 0;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; cursor: pointer; font-family: inherit; background: none; }
input, textarea { font-family: var(--font-body); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-text {
    color: var(--muted);
    font-size: 16px;
    max-width: 520px;
    margin-bottom: 36px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-text {
    margin: 0 auto 36px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 90, 22, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--bg-primary);
    border-color: var(--white);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 90, 22, 0.4);
}

/* --- Top Bar --- */
.top-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-size: 12px;
    color: var(--muted);
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item i {
    color: var(--accent);
    font-size: 11px;
}

/* --- Header --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.header.scrolled {
    background: rgba(17, 17, 17, 0.97);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo-text small {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 14px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

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

.nav-icon-btn {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    padding: 8px;
    transition: color var(--transition);
}

.nav-icon-btn:hover {
    color: var(--accent);
}

.nav-cta {
    margin-left: 8px;
    padding: 10px 24px;
    font-size: 12px;
}

/* --- Hamburger --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.04;
}

.hero-bg-shapes .shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
}

.hero-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
}

.hero-bg-shapes .shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 45%;
    opacity: 0.06;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text {
    color: var(--muted);
    font-size: 16px;
    max-width: 460px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.hero-image-wrapper {
    position: relative;
    width: 460px;
    height: 520px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    position: relative;
    z-index: 2;
}

.hero-diag-shape {
    position: absolute;
    z-index: 1;
}

.hero-diag-shape.diag-1 {
    width: 100%;
    height: 100%;
    top: 20px;
    right: -20px;
    border: 3px solid var(--accent);
    border-radius: var(--radius);
    opacity: 0.35;
    transform: rotate(3deg);
}

.hero-diag-shape.diag-2 {
    width: 80px;
    height: 80px;
    bottom: -10px;
    left: -30px;
    background: var(--accent);
    border-radius: 12px;
    opacity: 0.7;
    transform: rotate(45deg);
}

/* --- About --- */
.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.about-img-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.about-shape {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    top: 20px;
    left: 20px;
    opacity: 0.2;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: rgba(255, 90, 22, 0.3);
    transform: translateY(-3px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 90, 22, 0.25);
    border-radius: 10px;
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 14px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.feature-text {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

/* --- Programs --- */
.programs {
    padding: var(--section-padding);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.program-img-wrap {
    overflow: hidden;
    height: 220px;
}

.program-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover .program-img-wrap img {
    transform: scale(1.08);
}

.program-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.program-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.program-card-text {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.learn-more {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.learn-more:hover {
    gap: 10px;
}

.learn-more i {
    font-size: 11px;
}

/* --- Personal Training --- */
.personal-training {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.pt-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pt-image-col img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius);
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.check-list li i {
    color: var(--accent);
    font-size: 14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 90, 22, 0.12);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Trainers --- */
.trainers {
    padding: var(--section-padding);
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trainer-card {
    text-align: center;
}

.trainer-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 4/5;
}

.trainer-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.trainer-card:hover .trainer-img-wrap img {
    transform: scale(1.05);
}

.trainer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    padding-bottom: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

.trainer-card:hover .trainer-overlay {
    opacity: 1;
}

.trainer-overlay a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    transition: all var(--transition);
    transform: translateY(12px);
}

.trainer-card:hover .trainer-overlay a {
    transform: translateY(0);
}

.trainer-overlay a:hover {
    background: var(--white);
    color: var(--accent);
}

.trainer-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.trainer-role {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
}

/* --- Membership --- */
.membership {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.plan-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(255, 90, 22, 0.08) 0%, var(--bg-card) 40%);
    transform: scale(1.04);
    box-shadow: 0 8px 40px rgba(255, 90, 22, 0.15);
}

.plan-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 5px 20px;
    border-radius: 20px;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
}

.plan-price .rupee {
    font-size: 24px;
    vertical-align: top;
    margin-right: 2px;
}

.plan-price small {
    font-size: 15px;
    font-weight: 400;
    color: var(--muted);
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.plan-features li i {
    color: var(--accent);
    font-size: 12px;
}

.plan-btn {
    width: 100%;
}

/* --- Stats --- */
.stats {
    padding: 60px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--border);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    display: inline;
    color: var(--white);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    color: var(--muted);
    font-size: 14px;
    margin-top: 6px;
}

/* --- Testimonials --- */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(255, 90, 22, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.testimonial-role {
    color: var(--muted);
    font-size: 12px;
}

/* --- CTA --- */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent) 0%, #e04a10 100%);
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.06);
    top: -150px;
    right: -100px;
}

.cta-shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    bottom: -100px;
    left: -60px;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.cta-text {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* --- Blog --- */
.blog {
    padding: var(--section-padding);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.blog-card:hover {
    border-color: rgba(255, 90, 22, 0.3);
    transform: translateY(-4px);
}

.blog-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.06);
}

.blog-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
}

.blog-card-body {
    padding: 24px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-card-text {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* --- Contact --- */
.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 90, 22, 0.1);
    border: 1px solid rgba(255, 90, 22, 0.2);
    border-radius: 10px;
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--muted);
    font-size: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

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

.contact-form .btn {
    align-self: flex-start;
}

/* --- Footer --- */
.footer {
    padding: 60px 0 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    font-size: 15px;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a,
.footer-links li {
    color: var(--muted);
    font-size: 14px;
    transition: color var(--transition);
}

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

.footer-contact-icon {
    color: var(--accent);
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(255, 90, 22, 0.35);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .hero-title { font-size: 60px; }
    .hero-image-wrapper { width: 400px; height: 460px; }
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .top-bar { display: none; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 40px;
        gap: 4px;
        transition: right var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 12px 14px;
        font-size: 15px;
    }

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

    .nav-icon-btn { display: none; }

    .nav-cta {
        width: 100%;
        text-align: center;
        margin: 16px 0 0;
    }

    .hamburger { display: flex; }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text { margin: 0 auto 36px; }
    .hero-btns { justify-content: center; }
    .hero-image { justify-content: center; }
    .hero-image-wrapper { width: 100%; max-width: 420px; height: 440px; }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-img-wrapper { margin: 0 auto; }
    .about-shape { display: none; }
    .section-text { margin-left: auto; margin-right: auto; }

    .pt-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .check-list { align-items: center; }

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

    .membership-grid { grid-template-columns: repeat(2, 1fr); }
    .plan-card.featured { transform: none; }
    .plan-card.featured:hover { transform: translateY(-4px); }

    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }

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

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

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-items { align-items: center; }
    .contact-form .btn { align-self: center; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .hero { min-height: auto; padding: 80px 0 60px; }
    .hero-title { font-size: 44px; }
    .hero-image-wrapper { height: 360px; }

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

    .membership-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat-number { font-size: 36px; }

    .trainers-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }

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

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

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-about { text-align: center; }
    .footer-desc { margin: 0 auto 20px; }
    .footer-social { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 36px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn { width: 100%; }
    .section-title { font-size: 28px; }
    .plan-price { font-size: 34px; }
    .stat-number { font-size: 30px; }
    .cta-title { font-size: 28px; }
}

/* --- Mobile Menu Overlay --- */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Counter animation helper --- */
.counting { transition: none; }
