/*
Theme Name:   Kadence Child - Fino Master Final
Theme URI:    https://yourdomain.com/
Description:  نسخه نهایی شامل صفحه اصلی و صفحات داخلی (درباره ما، تماس، افتخارات و قوانین).
Author:       Ario
Template:     kadence
Version:      2.1.2
Text Domain:  kadence-child
*/

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;600;700;900&display=swap');

:root {
    --global-font-family: 'Vazirmatn', sans-serif;
    --neon-pink: #f450f9;
    --color-cyan: #5ce1e6;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --color-dark: #111111;
    --color-text: #4a4a4a;
    --white: #ffffff;
    --dark-navy: #020b1e;
    --slate-blue: #818ba3; 
    --light-blue-grey: #b8c4d1; 
    --card-blue-grey: #6b7a99;
}

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

/* 🔴 CRITICAL FIX FOR STICKY SCROLL IN WORDPRESS THEMES 🔴 */
html, body, #page, #wrapper, .site, .site-inner, #primary, .site-main, .content-area {
    overflow: visible !important;
    overflow-x: clip !important;
}

body {
    font-family: var(--global-font-family) !important;
    direction: rtl;
    text-align: right;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    background-color: var(--dark-navy);
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.btn-pink { background-color: var(--neon-pink); color: var(--white); padding: 0.7rem 2rem; border-radius: 8px; font-weight: 700; transition: all 0.3s ease; display: inline-block; border: none; cursor: pointer; box-shadow: 0 4px 15px rgba(244, 80, 249, 0.4); }
.btn-pink:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244, 80, 249, 0.6); color: var(--white); }
.btn-dark-solid { background-color: var(--dark-navy); color: var(--white); padding: 0.8rem 2.5rem; border-radius: 50px; font-weight: 700; transition: all 0.3s ease; display: inline-block; border: none; cursor: pointer;}
.btn-dark-solid:hover { background-color: var(--neon-pink); color: var(--white); transform: translateY(-2px); }

/* --- Header --- */
.site-header { position: absolute; top: 20px; left: 0; width: 100%; z-index: 1000; background: transparent; padding: 0 2rem; }
.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1600px; margin: 0 auto; }
.logo .logo-text { font-size: 2.2rem; font-weight: 900; color: var(--white); letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.main-navigation { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 50px; padding: 0.7rem 2.5rem; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); }
.main-navigation ul { list-style: none; display: flex; gap: 2.5rem; margin: 0; padding: 0; }
.main-navigation a { font-weight: 700; color: var(--white); transition: color 0.3s ease; font-size: 0.95rem; text-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.main-navigation a:hover { color: var(--neon-pink); }

/* --- Front Page Sections --- */
.swim-hero { min-height: 100vh; width: 100%; position: relative; background: url('https://images.unsplash.com/photo-1530549387789-4c1017266635?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover; display: flex; align-items: center; justify-content: flex-start; }
.swim-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(2, 11, 30, 0.2), var(--dark-navy)); mix-blend-mode: multiply; z-index: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: flex-end; }
.hero-big-text { font-size: clamp(5rem, 12vw, 12rem); font-weight: 900; color: rgba(255, 255, 255, 0.85); line-height: 0.85; text-transform: uppercase; text-shadow: 0 10px 30px rgba(0,0,0,0.3); margin: 0; }

.swim-features { padding: 5rem 0 8rem 0; background-color: transparent; position: relative; }
.swim-features::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80vw; height: 80vw; max-width: 800px; max-height: 800px; background: radial-gradient(circle, rgba(200, 50, 255, 0.28) 0%, transparent 65%); z-index: 0; pointer-events: none; }
.features-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem 2rem; }
.feature-card { background: transparent; padding: 0; border-radius: 0; box-shadow: none; border: none; display: flex; flex-direction: column; align-items: flex-start; text-align: right; transition: transform 0.3s ease; }
.feature-card:hover { transform: translateY(-8px); border: none; }
.feature-image { width: 100%; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; margin-bottom: 1.5rem; background-color: #1a253a; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.feature-card:hover .feature-image img { transform: scale(1.05); }
.feature-card h3 { font-size: 1.6rem; margin-bottom: 0.8rem; color: var(--white); font-weight: 800; }
.feature-card p { color: rgba(255, 255, 255, 0.75); line-height: 1.6; font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.btn-pill { background-color: rgba(255, 255, 255, 0.65); color: #111; padding: 0.5rem 2rem; border-radius: 50px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: all 0.3s ease; align-self: flex-start; }
.btn-pill:hover { background-color: var(--white); }

/* --- Pool Coverage Section (Updated) --- */
.pool-coverage-section { background-color: var(--slate-blue); padding: 6rem 0; color: var(--white); position: relative; z-index: 2; }
.coverage-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.coverage-text h2 { font-size: 2.8rem; font-weight: 900; color: var(--white); margin-bottom: 3rem; letter-spacing: -1px; }
.pool-list { display: flex; flex-direction: column; gap: 2.5rem; }
.pool-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.pool-number { font-size: 1.4rem; font-weight: 900; color: var(--dark-navy); background: var(--color-cyan); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.pool-details h3 { color: var(--white); font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; line-height: 1.3; }
.pool-details p { color: rgba(255, 255, 255, 0.85); font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
.pool-location-btn { display: inline-flex; align-items: center; gap: 8px; background-color: var(--dark-navy); color: var(--white); padding: 0.5rem 1.2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 700; transition: all 0.3s ease; box-shadow: 0 3px 10px rgba(0,0,0,0.2); }
.pool-location-btn svg { width: 16px; height: 16px; fill: var(--color-cyan); }
.pool-location-btn:hover { background-color: var(--color-cyan); color: var(--dark-navy); }
.pool-location-btn:hover svg { fill: var(--dark-navy); }
.coverage-visual .white-box { background: var(--white); border-radius: 24px; padding: 3rem 2rem; text-align: center; box-shadow: 0 15px 50px rgba(0,0,0,0.2); }
.coverage-visual h3 { color: #333; font-size: 1.6rem; font-weight: 800; margin-bottom: 1.5rem; }
.region-tags { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.region-badge { background: #eef2f6; color: var(--dark-navy); padding: 0.6rem 1.8rem; border-radius: 50px; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; border: 2px solid transparent; transition: all 0.3s ease; }
.region-badge:hover { border-color: var(--neon-pink); color: var(--neon-pink); }
.visual-placeholder img { width: 100%; height: auto; border-radius: 12px; margin: 0 auto; }

.fino-why-us-tech { background-color: var(--dark-navy); padding: 8rem 0; text-align: center; position: relative; border-top: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.fino-why-us-tech .why-us-header { max-width: 850px; margin: 0 auto 4rem auto; position: relative; z-index: 2; }
.fino-why-us-tech .why-us-header h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; color: var(--color-cyan); margin-bottom: 1.5rem; letter-spacing: -1px; }
.fino-why-us-tech .why-us-header p { font-size: 1.2rem; color: var(--white); line-height: 1.8; margin-bottom: 2.5rem; font-weight: 400; opacity: 0.9; }
.fino-why-us-tech .why-us-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 6rem; position: relative; z-index: 2; }
.wu-card-dark { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 3rem 2rem; transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease; backdrop-filter: blur(10px); }
.wu-card-dark:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.06); box-shadow: 0 15px 30px rgba(0,0,0,0.3); border-color: rgba(92, 225, 230, 0.3); }
.wu-card-dark .wu-stat-wrapper { display: flex; align-items: center; justify-content: center; direction: ltr; margin-bottom: 1rem; }
.wu-card-dark .stat-number, .wu-card-dark .stat-prefix { font-size: 3.5rem; font-weight: 900; color: var(--white); margin: 0; line-height: 1; }
.wu-card-dark p { font-size: 1.1rem; font-weight: 600; color: var(--color-cyan); margin: 0; text-transform: uppercase; letter-spacing: 1px; }
.tech-mockup-container { position: relative; max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.tech-glow { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; max-width: 800px; background: radial-gradient(circle, rgba(180, 40, 255, 0.35) 0%, transparent 70%); z-index: 0; pointer-events: none; }
.mockup-placeholder { position: relative; z-index: 1; width: 100%; height: 450px; background: rgba(0,0,0,0.4); border: 2px dashed rgba(255,255,255,0.15); border-radius: 20px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 1.2rem; margin-bottom: 1rem; backdrop-filter: blur(5px); }
.btn-cyan-solid { position: relative; z-index: 2; background-color: var(--color-cyan); color: var(--dark-navy); padding: 1.1rem 3.5rem; border-radius: 50px; font-weight: 900; font-size: 1.15rem; display: inline-block; transition: all 0.3s ease; box-shadow: 0 8px 25px rgba(92, 225, 230, 0.25); text-decoration: none; }
.btn-cyan-solid:hover { background-color: var(--white); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3); color: var(--dark-navy); }

.fino-leaders-intro { background-color: var(--card-blue-grey); padding: 5rem 0 3rem 0; position: relative; overflow: hidden; }
.giant-bg-text { position: absolute; top: -10px; left: 0; width: 100%; text-align: center; font-size: clamp(6rem, 15vw, 12rem); font-weight: 900; color: rgba(2, 11, 30, 0.08); line-height: 1; white-space: nowrap; pointer-events: none; z-index: 1; }
.leaders-intro-content { position: relative; z-index: 2; max-width: 800px; }
.leaders-intro-content h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; color: var(--dark-navy); margin-bottom: 1.5rem; letter-spacing: -1px; }
.leaders-intro-content p { font-size: 1.15rem; color: var(--dark-navy); line-height: 1.8; margin-bottom: 2rem; font-weight: 600; }
.btn-outline-dark { border: 1px solid var(--dark-navy); color: var(--dark-navy); border-radius: 50px; padding: 0.5rem 1.5rem; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s ease; text-decoration: none; }
.btn-outline-dark .icon-circle { width: 30px; height: 30px; border-radius: 50%; background: var(--dark-navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: bold; }
.btn-outline-dark:hover { background-color: var(--dark-navy); color: var(--white); }
.btn-outline-dark:hover .icon-circle { background-color: var(--white); color: var(--dark-navy); }
.fino-leaders-profiles { background-color: var(--dark-navy); padding: 4rem 0 8rem 0; }
.leaders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.leader-card { display: flex; gap: 1.5rem; align-items: flex-end; }
.leader-vertical-text { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; flex-direction: row; gap: 10px; color: var(--white); white-space: nowrap; }
.leader-vertical-text h3 { font-size: 2.2rem; font-weight: 900; margin: 0; color: var(--white); letter-spacing: 1px; }
.leader-vertical-text span { font-size: 1.2rem; font-weight: 600; color: var(--slate-blue); }
.leader-image { flex-grow: 1; border-radius: 16px; overflow: hidden; position: relative; }
.leader-image img { width: 100%; height: auto; display: block; aspect-ratio: 4/5; object-fit: cover; }

.fino-social-cta { background: radial-gradient(circle at center, #a639d6 0%, #20134b 100%); padding: 7rem 0; text-align: center; position: relative; color: var(--white); border-top: 1px solid rgba(255,255,255,0.05); }
.social-stars { color: var(--white); font-size: 1.2rem; letter-spacing: 8px; margin-bottom: 2rem; }
.social-quote-container { position: relative; max-width: 900px; margin: 0 auto 3rem auto; padding: 0 4rem; }
.social-quote-mark { font-size: 6rem; font-family: serif; font-weight: 900; color: var(--white); line-height: 0; position: absolute; }
.social-quote-mark.left { top: 30px; left: 0; }
.social-quote-mark.right { bottom: -10px; right: 0; transform: rotate(180deg); }
.social-main-text { font-size: 1.6rem; font-weight: 400; line-height: 1.8; color: var(--white); margin: 0; }
.social-links-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; }
.btn-social { padding: 0.8rem 1.5rem; border-radius: 50px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: var(--white); box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4); padding: 0.8rem 2.2rem; font-size: 1.05rem; }
.btn-instagram:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 25px rgba(220, 39, 67, 0.6); color: var(--white); }
.btn-glass-social { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); }
.btn-glass-social:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); color: var(--white); }
.btn-whatsapp-support { border-color: #25D366; color: #25D366; }
.btn-whatsapp-support:hover { background: rgba(37, 211, 102, 0.1); color: #25D366; }

.fino-team-section { background-color: var(--light-blue-grey); padding: 2rem 0 8rem 0; text-align: center; }
.fino-team-section h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; color: var(--dark-navy); margin-bottom: 3.5rem; letter-spacing: -1px; }
.team-image-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.team-image-wrapper img { width: 100%; height: auto; max-height: 550px; object-fit: cover; object-position: center; display: block; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }

/* --- 🔴 THE STICKY ACTION SECTION 🔴 --- */
.blog-stack-section { background-color: var(--dark-navy); padding: 8rem 0 10rem 0; position: relative; }
.stack-intro { text-align: center; margin-bottom: 6rem; }
.stack-intro h2 { color: var(--white); font-size: 3rem; font-weight: 900; margin-bottom: 1rem; }
.stack-intro p { color: rgba(255, 255, 255, 0.7); font-size: 1.2rem; }
.stack-container { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.stack-card { 
    position: -webkit-sticky; 
    position: sticky; 
    height: 70vh; 
    min-height: 450px; 
    max-height: 600px; 
    background-color: var(--slate-blue); 
    border-radius: 40px; 
    box-shadow: 0 -20px 50px rgba(0,0,0,0.4); 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center; 
    padding: 4rem; 
    margin-bottom: 60vh; /* Pacing of the scroll action */
    overflow: hidden; 
    border-top: 1px solid rgba(255,255,255,0.2); 
    transform-origin: top center; 
    transition: transform 0.1s ease-out, filter 0.1s ease-out; 
}
.stack-card:last-child { margin-bottom: 0; }

.stack-card-content { display: flex; gap: 2rem; align-items: flex-start; }
.stack-number { font-size: 8rem; font-weight: 900; font-style: italic; color: var(--dark-navy); line-height: 0.8; opacity: 0.8; }
.stack-text h3 { font-size: 2.2rem; font-weight: 900; font-style: italic; color: var(--dark-navy); margin-bottom: 1rem; text-transform: uppercase; }
.stack-text p { font-size: 1.1rem; color: #1a253a; line-height: 1.8; margin-bottom: 2.5rem; font-weight: 600; }

.stack-card-image { position: relative; border-radius: 20px; overflow: hidden; background-color: var(--dark-navy); background-image: radial-gradient(var(--neon-pink) 2px, transparent 2px); background-size: 20px 20px; padding: 0 0 20px 20px; height: 100%; max-height: 450px; }
.stack-card-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: 5px 5px 20px rgba(0,0,0,0.2); }
.play-icon-overlay { position: absolute; top: calc(50% - 10px); left: calc(50% + 10px); transform: translate(-50%, -50%); width: 70px; height: 70px; background: transparent; border: 5px solid var(--neon-pink); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.3s ease; }
.play-icon-overlay::after { content: ''; width: 0; height: 0; border-top: 15px solid transparent; border-left: 25px solid var(--neon-pink); border-bottom: 15px solid transparent; margin-left: 10px; }
.stack-card-image:hover .play-icon-overlay { transform: translate(-50%, -50%) scale(1.1); }

.fino-reviews-section { background-color: var(--white); padding: 8rem 0 4rem 0; overflow: hidden; }
.fino-reviews-section h2.section-title { font-size: 3.5rem; font-weight: 900; color: var(--dark-navy); margin-bottom: 2rem; text-align:center; }
.review-summary-card { background-color: var(--light-blue-grey); border-radius: 12px; padding: 0; margin-bottom: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; }
.rs-tabs { display: flex; border-bottom: 1px solid rgba(0,0,0,0.05); overflow-x: auto; scrollbar-width: none; background: rgba(255,255,255,0.5); }
.rs-tabs::-webkit-scrollbar { display: none; }
.rs-tabs span { padding: 1.2rem 1.5rem; font-weight: 600; font-size: 0.95rem; color: var(--color-text); cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; }
.rs-tabs span.active { color: var(--dark-navy); border-bottom-color: var(--dark-navy); }
.rs-main { padding: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.rs-rating { display: flex; flex-direction: column; }
.rs-title { font-size: 1.1rem; font-weight: 600; color: var(--dark-navy); margin-bottom: 0.5rem; }
.rs-score-row { display: flex; align-items: center; gap: 10px; }
.rs-score { font-size: 2rem; font-weight: 900; color: var(--dark-navy); }
.rs-stars { color: #ffc107; font-size: 1.5rem; letter-spacing: 2px; }
.rs-count { color: #555; font-size: 0.9rem; margin-right: 5px; }
.reviews-slider { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2rem; scrollbar-width: none; }
.reviews-slider::-webkit-scrollbar { display: none; }
.review-card { scroll-snap-align: start; min-width: 320px; max-width: 320px; background-color: var(--dark-navy); border-radius: 12px; padding: 1.8rem; flex-shrink: 0; color: var(--white); display: flex; flex-direction: column; }
.rc-header { display: flex; align-items: center; gap: 15px; margin-bottom: 1.5rem; }
.rc-avatar { width: 50px; height: 50px; background-color: #ddd; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rc-user-info h4 { margin: 0 0 0.2rem 0; font-size: 1rem; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 5px; }
.rc-user-info h4 svg { width: 14px; height: 14px; fill: #4CAF50; }
.rc-meta { font-size: 0.8rem; color: #999; display: flex; align-items: center; gap: 5px; }
.rc-stars { color: #ffc107; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.rc-text { font-size: 1.05rem; line-height: 1.6; color: rgba(255,255,255,0.9); margin-bottom: 1rem; flex-grow: 1; }
.rc-read-more { color: var(--color-cyan); font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.rc-read-more:hover { text-decoration: underline; }

.fino-faq-section { background-color: var(--white); padding: 4rem 0 8rem 0; }
.fino-faq-section h2.section-title { font-size: 3rem; font-weight: 900; color: var(--dark-navy); margin-bottom: 4rem; text-align: center; }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eaeaea; padding: 1.5rem 0; }
.faq-item summary { font-size: 1.25rem; font-weight: 700; color: var(--dark-navy); cursor: pointer; list-style: none; position: relative; padding-left: 2rem; transition: color 0.3s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--neon-pink); transition: transform 0.3s ease; }
.faq-item[open] summary::after { content: '−'; transform: translateY(-50%) rotate(180deg); }
.faq-item[open] summary { color: var(--neon-pink); }
.faq-answer { padding-top: 1rem; font-size: 1.05rem; line-height: 1.8; color: var(--color-text); }

.site-footer { background: linear-gradient(90deg, #070e27 0%, #aa30d1 50%, #070e27 100%); padding: 5rem 0 2rem 0; color: var(--white); position: relative; border-top: 5px solid #000; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding-bottom: 4rem; align-items: start; }
.footer-logo-col { display: flex; flex-direction: column; align-items: center; }
.footer-logo-col .logo-text { font-size: 3.5rem; font-weight: 900; line-height: 1; margin-bottom: 2rem; text-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.lang-selector { display: flex; align-items: center; gap: 5px; font-size: 0.9rem; cursor: pointer; }
.lang-selector img { width: 24px; border-radius: 2px; }
.footer-links-col { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links-col a { color: var(--white); font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; width: 200px; transition: opacity 0.3s ease; }
.footer-links-col a:hover { opacity: 0.7; }
.has-dropdown::after { content: '˜4'; font-size: 1.2rem; font-weight: 400; opacity: 0.6; }
.footer-contact-col h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 1.2rem; font-weight: 700; }
.btn-white { background-color: var(--white); color: #111; padding: 0.6rem 2rem; border-radius: 50px; font-weight: 700; font-size: 0.9rem; display: inline-block; margin-bottom: 2rem; transition: background 0.3s; }
.btn-white:hover { background-color: #eee; }
.footer-address { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; background-color: var(--white); color: #aa30d1; border-radius: 50%; text-decoration: none; font-weight: bold; font-size: 0.8rem; }
.footer-bottom { text-align: center; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); padding-top: 1rem; }
.back-to-top { position: absolute; bottom: 40px; left: 40px; background-color: var(--neon-pink); color: var(--white); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.3s ease; }
.back-to-top:hover { transform: translateY(-5px); }

/* 🔴 CRITICAL ANIMATION CLASSES 🔴 */
.animate-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.animate-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ==========================================================================
   NEW PAGES: ABOUT, CONTACT, CHAMPIONS, TEXT PAGES
   ========================================================================== */

/* Shared Inner Page Header */
.fino-page-header { background: var(--dark-navy); padding: 8rem 0 4rem; text-align: center; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.05); }
.fino-page-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--color-cyan); margin-bottom: 1rem; font-weight: 900; letter-spacing: -1px; }
.fino-page-header p { font-size: 1.1rem; opacity: 0.8; max-width: 600px; margin: 0 auto; line-height: 1.6; }
.fino-page-content { background: var(--white); padding: 5rem 0; }

/* --- About Us Page --- */
.about-story { max-width: 800px; margin: 0 auto 4rem; text-align: center; line-height: 1.8; }
.about-story h2 { color: var(--dark-navy); margin-bottom: 1.5rem; font-weight: 800; font-size: 2.2rem; }
.about-story p { font-size: 1.1rem; color: var(--color-text); }

.team-coaches-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 2rem; }
.coach-grid-card { background: var(--light-blue-grey); border-radius: 16px; padding: 2.5rem 1.5rem; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.coach-grid-card:hover { transform: translateY(-8px); }
.coach-grid-avatar { width: 110px; height: 110px; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--slate-blue); overflow: hidden; border: 3px solid var(--white); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.coach-grid-avatar img { width: 100%; height: 100%; object-fit: cover; }
.coach-grid-card h3 { font-size: 1.25rem; color: var(--dark-navy); margin-bottom: 0.5rem; font-weight: 800; }
.coach-grid-card span { color: var(--neon-pink); font-size: 0.9rem; font-weight: 700; display: block; }

/* --- Contact Us Page --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: flex-start; }
.contact-form-box { background: var(--light-blue-grey); padding: 3rem; border-radius: 20px; }
.contact-form-box h3 { font-size: 1.8rem; font-weight: 800; color: var(--dark-navy); margin-bottom: 2rem; }
.fino-form { display: flex; flex-direction: column; gap: 1.2rem; }
.fino-form input, .fino-form textarea { width: 100%; padding: 1.2rem; border: none; border-radius: 8px; font-family: inherit; font-size: 1rem; background: var(--white); box-shadow: inset 0 2px 5px rgba(0,0,0,0.02); transition: all 0.3s ease; }
.fino-form textarea { resize: vertical; min-height: 150px; }
.fino-form input:focus, .fino-form textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(92, 225, 230, 0.4); }

.contact-info-box h3 { font-size: 1.8rem; font-weight: 800; color: var(--dark-navy); margin-bottom: 1.5rem; }
.contact-detail-item { margin-bottom: 1.5rem; font-size: 1.05rem; color: var(--color-text); line-height: 1.6; }
.contact-detail-item strong { display: block; color: var(--dark-navy); margin-bottom: 0.3rem; font-size: 1.1rem; }

.map-accordion { margin-top: 3rem; }
.map-accordion details { background: var(--white); border: 1px solid var(--slate-blue); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; }
.map-accordion summary { padding: 1.2rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--dark-navy); background: rgba(255,255,255,0.5); }
.map-accordion summary::-webkit-details-marker { display: none; }
.map-accordion summary::after { content: '+'; color: var(--neon-pink); font-size: 1.5rem; font-weight: 300; transition: transform 0.3s; }
.map-accordion details[open] summary::after { content: '−'; transform: rotate(180deg); }
.map-iframe-container { padding: 1rem; }
.map-iframe-container iframe, .map-iframe-container .placeholder-map { width: 100%; height: 300px; border: none; border-radius: 8px; background: var(--light-blue-grey); display: flex; align-items: center; justify-content: center; font-weight: bold; color: var(--dark-navy); }

/* --- Champions Page --- */
.champions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem; }
.champion-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.06); position: relative; border: 1px solid #eaeaea; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.champion-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.champion-medal { position: absolute; top: 15px; left: 15px; width: 45px; height: 45px; z-index: 10; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); }
.champion-img { width: 100%; aspect-ratio: 1; background: var(--slate-blue); object-fit: cover; }
.champion-info { padding: 1.8rem 1.5rem; text-align: center; }
.champion-info h3 { font-size: 1.3rem; color: var(--dark-navy); margin-bottom: 0.5rem; font-weight: 800; }
.champion-info .badge { display: inline-block; background: rgba(92,225,230,0.15); color: var(--dark-navy); padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; }
.champion-info p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--color-text); }

/* --- Simple Text Page (Privacy/Terms) --- */
.fino-text-content { max-width: 850px; margin: 0 auto; line-height: 1.9; font-size: 1.1rem; color: var(--color-text); }
.fino-text-content h2 { color: var(--dark-navy); margin: 3rem 0 1.2rem; font-weight: 800; font-size: 1.8rem; }
.fino-text-content ul { padding-right: 1.5rem; margin-bottom: 1.5rem; }
.fino-text-content li { margin-bottom: 0.8rem; }
.fino-text-content p { margin-bottom: 1.5rem; }

@media (max-width: 767px) {
    .main-navigation { display: none; }
    .hero-big-text { font-size: 4rem; }
    .site-header { padding: 0 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .coverage-grid { grid-template-columns: 1fr; }
    .fino-why-us-tech .why-us-cards { grid-template-columns: 1fr; }
    .fino-why-us-tech .why-us-header h2 { font-size: 3rem; }
    .leaders-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-links-col a { width: 100%; justify-content: center; gap: 10px; }
    .footer-logo-col { margin-bottom: 2rem; }
    .back-to-top { left: 20px; bottom: 20px; }
    .fino-reviews-section h2.section-title { font-size: 2.5rem; }
    .rs-main { flex-direction: column; align-items: flex-start; }
    .social-quote-container { padding: 0 1.5rem; }
    .social-quote-mark { font-size: 4rem; }
    .social-main-text { font-size: 1.2rem; }
    .stack-card { grid-template-columns: 1fr; height: auto; padding: 2rem; margin-bottom: 1.5rem; position: relative; top: auto !important; }
    .stack-number { font-size: 4rem; }
    .stack-text h3 { font-size: 1.8rem; }
    .stack-card-image { max-height: 250px; margin-top: 2rem; }
    .giant-bg-text { font-size: 4rem; }
    
    /* Pages Mobile */
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .fino-page-header { padding: 7rem 1rem 3rem; }
    .fino-page-content { padding: 4rem 1rem; }
    .fino-page-header h1 { font-size: 2.5rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .coverage-grid { grid-template-columns: 1fr; } 
    .fino-why-us-tech .why-us-cards { grid-template-columns: repeat(3, 1fr); }
    .leaders-grid { grid-template-columns: 1fr; }
    .stack-card { padding: 3rem; gap: 2rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===================== وبلاگ: آرشیو و تک‌پست (هماهنگ با سیستم طراحی موجود) ===================== */
.blog-archive-grid{ display: grid; grid-template-columns: 1fr; gap: 2rem; }
.blog-archive-card{ border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); background: var(--white); }
.blog-archive-image{ aspect-ratio: 16/10; overflow: hidden; }
.blog-archive-image img{ width: 100%; height: 100%; object-fit: cover; }
.blog-archive-body{ padding: 1.5rem; }
.blog-archive-meta{ font-size: .8rem; color: #999; margin-bottom: .5rem; }
.blog-archive-body h3{ font-size: 1.2rem; margin: 0 0 .6rem; font-weight: 800; }
.blog-archive-body h3 a{ color: var(--dark-navy); text-decoration: none; }
.blog-archive-body p{ font-size: .9rem; color: #666; line-height: 1.7; margin-bottom: 1rem; }

@media (min-width: 768px){
    .blog-archive-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
    .blog-archive-grid{ grid-template-columns: repeat(3, 1fr); }
}
