/* ==========================================================================
   MG SPORT PERFORMANCE - EDITORIAL DESIGN SYSTEM
   Ispirato al modello Triathlon Passione: Autentico, Minimale, Scientifico
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Palette Colori: Ispirata alla divisa MG (Giallo Fluo / Lime) e al Logo Nero */
    --color-dark-bg: #0c0d10;        /* Nero profondo atletico */
    --color-dark-surface: #14161c;   /* Superficie scura */
    --color-dark-border: rgba(255, 255, 255, 0.1);
    
    --color-light-bg: #ffffff;
    --color-light-surface: #f9fafb;
    --color-light-border: #e5e7eb;
    
    --color-accent-lime: #d9f927;     /* Giallo-lime ufficiale maglia MG */
    --color-accent-lime-hover: #c4e41a;
    --color-accent-lime-muted: rgba(217, 249, 39, 0.15);
    
    --color-text-dark: #0f172a;
    --color-text-muted: #64748b;
    --color-text-white: #ffffff;
    --color-text-white-muted: #94a3b8;
    
    /* Tipografia Editoriale */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    
    --transition: all 0.25s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    background-color: var(--color-dark-bg); /* Prevents white side flashes on zoom out */
}

body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-light-bg);
    -webkit-font-smoothing: antialiased;
    min-width: 320px;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 800;
    line-height: 1.15;
    overflow-wrap: break-word;
    word-break: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 92px;
    background-color: rgba(12, 13, 16, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-dark-border);
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo img {
    height: 72px;
    max-height: 76px;
    width: auto;
    display: block;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e2e8f0;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent-lime);
}

.header-cta .btn {
    padding: 10px 22px;
    font-size: 0.88rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn svg {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    flex-shrink: 0;
}

.btn-lime {
    background-color: var(--color-accent-lime);
    color: #0c0d10;
}

.btn-lime:hover {
    background-color: var(--color-accent-lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 249, 39, 0.3);
}

.btn-outline-white {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--color-dark-bg);
    color: #ffffff;
}

.btn-dark:hover {
    background-color: #1a1c22;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--color-accent-lime);
    color: #0c0d10;
}

.btn-primary:hover {
    background-color: var(--color-accent-lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 249, 39, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section (Triathlon Passione Style)
   ========================================================================== */
.hero-editorial {
    position: relative;
    background: linear-gradient(180deg, rgba(12, 13, 16, 0.85) 0%, rgba(12, 13, 16, 0.95) 100%), url('../home2.png') center/cover no-repeat;
    color: #ffffff;
    padding: 110px 0 130px 0;
    border-bottom: 1px solid var(--color-dark-border);
}

.hero-editorial-content {
    max-width: 860px;
}

.hero-subtitle-tag {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent-lime);
    margin-bottom: 18px;
    display: inline-block;
}

.hero-editorial h1 {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-quote-box {
    border-left: 3px solid var(--color-accent-lime);
    padding-left: 24px;
    margin: 32px 0 40px 0;
}

.hero-quote-box p {
    font-size: 1.3rem;
    line-height: 1.55;
    color: #e2e8f0;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 12px;
}

.hero-quote-box cite {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-white-muted);
}

.hero-quote-box cite strong {
    color: #ffffff;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Section: Science & Philosophy (Science Based, Results Proven)
   ========================================================================== */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-media {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.philosophy-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.philosophy-content .section-tag {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0c0d10;
    margin-bottom: 10px;
    display: block;
}

.philosophy-content h2 {
    font-size: 2.6rem;
    margin-bottom: 24px;
    color: var(--color-text-dark);
}

.philosophy-content p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 20px;
}

/* ==========================================================================
   Section: 3 Macro Services (Visual Cards)
   ========================================================================== */
.services-section {
    background-color: var(--color-dark-bg);
    color: #ffffff;
}

.services-editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.service-block {
    background-color: var(--color-dark-surface);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-block:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent-lime);
}

.service-block-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.service-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-block:hover .service-block-image img {
    transform: scale(1.05);
}

.service-block-body {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-block-body h3 {
    font-size: 1.45rem;
    margin-bottom: 14px;
    color: #ffffff;
}

.service-block-body p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--color-text-white-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-block-body .btn {
    align-self: flex-start;
}

/* ==========================================================================
   Section: Training Camp Showcase (New Photos)
   ========================================================================== */
.camps-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 40px 0;
}

.camp-photo-item {
    position: relative;
    height: 250px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.camp-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.camp-photo-item:hover img {
    transform: scale(1.06);
}

/* ==========================================================================
   Section: Help & Orientation CTA (Triathlon Passione Style)
   ========================================================================== */
.orientation-cta {
    background: linear-gradient(135deg, #14161c 0%, #0c0d10 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 70px 50px;
    text-align: center;
    border: 1px solid var(--color-dark-border);
    margin: 60px 0;
}

.orientation-cta h2 {
    font-size: 2.4rem;
    max-width: 800px;
    margin: 0 auto 18px auto;
    color: #ffffff;
}

.orientation-cta p {
    font-size: 1.15rem;
    color: var(--color-text-white-muted);
    max-width: 650px;
    margin: 0 auto 36px auto;
}

/* ==========================================================================
   Section: Direct Contact Form (Submits to info@mgsportperformance.it)
   ========================================================================== */
.contact-form-wrapper {
    max-width: 680px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 44px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-light-border);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--color-light-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #0c0d10;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* Additional Editorial & Utility Components */
.camp-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 20px;
    background: linear-gradient(to top, rgba(12, 13, 16, 0.9) 0%, transparent 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

.camp-photo-item:hover .camp-photo-overlay {
    color: var(--color-accent-lime);
}

.camps-summary-card {
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--radius-md);
    padding: 44px;
    margin-top: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.camps-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.camps-summary-col h4 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.camps-summary-col p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.65;
}

.credentials-badge-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 28px 0;
}

.credential-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    color: #334155;
    line-height: 1.5;
}

.cred-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-accent-lime);
    border: 2px solid #0c0d10;
    margin-top: 6px;
    flex-shrink: 0;
}

.local-editorial-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.local-perks-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.perk-item {
    display: flex;
    gap: 18px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-dark-border);
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.perk-item:hover {
    border-color: var(--color-accent-lime);
}

.perk-num {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--color-accent-lime);
}

.perk-item strong {
    display: block;
    color: #ffffff;
    font-size: 1.02rem;
    margin-bottom: 4px;
}

.perk-item p {
    color: var(--color-text-white-muted);
    font-size: 0.88rem;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateX(6px);
    border-color: #0c0d10;
}

.contact-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(12, 13, 16, 0.06);
    color: #0c0d10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-text {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-card-text h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.contact-card-text p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--color-text-dark);
    border-color: var(--color-text-dark);
}

.btn-outline-dark:hover {
    background-color: var(--color-text-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.text-center {
    text-align: center;
}

/* Page Hero for Subpages */
.page-hero {
    background: linear-gradient(180deg, #0c0d10 0%, #14161c 100%);
    color: #ffffff;
    padding: 80px 0 70px 0;
    border-bottom: 1px solid var(--color-dark-border);
    text-align: center;
}

.page-hero .section-tag {
    color: var(--color-accent-lime);
    margin-bottom: 12px;
}

.page-hero h1 {
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--color-text-white-muted);
    max-width: 720px;
    margin: 0 auto;
}

/* Packages Grid (Coaching) */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.package-card {
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.package-card.featured {
    border: 2px solid #0c0d10;
    background-color: #fafbfc;
}

.package-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent-lime);
    color: #0c0d10;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid #0c0d10;
}

.package-name {
    font-size: 1.65rem;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.package-target {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    min-height: 48px;
}

.package-billing {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0c0d10;
    background-color: rgba(12, 13, 16, 0.06);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.package-annual-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0c0d10;
    background-color: rgba(204, 255, 0, 0.25);
    border: 1px solid rgba(204, 255, 0, 0.6);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    line-height: 1.35;
}

.package-annual-badge svg {
    flex-shrink: 0;
    color: #0c0d10;
}

.annual-discount-banner {
    margin-top: 48px;
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    border-left: 4px solid var(--color-accent-lime);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.annual-discount-banner .annual-discount-tag {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0c0d10;
    background: var(--color-accent-lime);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.annual-discount-banner h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
    color: var(--color-text-dark);
}

.annual-discount-banner p {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .annual-discount-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
    }
}

.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.93rem;
    color: #334155;
    line-height: 1.5;
}

.package-features li > span {
    flex: 1;
}

.package-features svg {
    width: 18px;
    height: 18px;
    fill: #0c0d10;
    flex-shrink: 0;
    margin-top: 3px;
}

.package-footer {
    margin-top: auto;
}

.package-footer .btn {
    width: 100%;
}

/* Form Status Notification */
.form-status-alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    display: none;
}

.form-status-alert.success {
    display: block;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.form-status-alert.error {
    display: block;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ==========================================================================
   Footer
   ========================================================================== */
/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-dark-bg);
    color: var(--color-text-white-muted);
    padding: 70px 0 36px 0;
    border-top: 1px solid var(--color-dark-border);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-dark-border);
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.footer-brand img {
    height: 72px;
    max-height: 72px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-white-muted);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-accent-lime);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.footer-bottom > * {
    flex: 1 1 0;
}

.footer-bottom > *:first-child {
    text-align: left;
}

.footer-bottom > *:last-child {
    text-align: right;
}

.footer-credit {
    color: var(--color-text-white-muted);
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

.footer-credit strong {
    color: var(--color-text-white);
    font-weight: 600;
}

.footer-credit a {
    color: var(--color-text-white);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: var(--color-accent-lime);
}

/* ==========================================================================
   Page & Helper Components
   ========================================================================== */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.discipline-card {
    background-color: #ffffff;
    border: 1px solid var(--color-light-border);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.discipline-card:hover {
    transform: translateY(-4px);
    border-color: #0c0d10;
}

.discipline-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background-color: rgba(12, 13, 16, 0.06);
    color: #0c0d10;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.discipline-icon-box svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.hero-section {
    background: linear-gradient(180deg, #0c0d10 0%, #14161c 100%);
    color: #ffffff;
    border-bottom: 1px solid var(--color-dark-border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid var(--color-dark-border);
}

.hero-badge.highlight {
    background-color: var(--color-accent-lime-muted);
    color: var(--color-accent-lime);
    border-color: rgba(217, 249, 39, 0.3);
}

.hero-title {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--color-text-white-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-image-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-dark-border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.hero-image-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-floating-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #0c0d10;
    border: 1px solid var(--color-dark-border);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-top: -30px;
    margin-left: 20px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    max-width: calc(100% - 40px);
}

.hero-floating-badge strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
}

.hero-floating-badge p {
    color: var(--color-accent-lime);
    font-size: 0.82rem;
    margin: 0;
    font-weight: 600;
}

.badge-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color-accent-lime-muted);
    color: var(--color-accent-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0c0d10;
    background-color: rgba(12, 13, 16, 0.06);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-editorial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .camps-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .local-editorial-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .camps-summary-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .disciplines-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-hero h1 {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 76px;
    }

    .brand-logo img {
        height: 52px;
        max-height: 52px;
    }

    .hero-editorial {
        padding: 60px 0 50px 0;
    }

    .hero-editorial h1 {
        font-size: 2.2rem !important;
        line-height: 1.15;
    }

    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.15;
    }
    
    .hero-quote-box {
        padding: 20px 16px;
        margin: 24px 0 30px 0;
    }

    .hero-quote-box p {
        font-size: 1.05rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .site-nav {
        display: none;
    }
    
    .site-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        max-width: 100vw;
        background-color: #0c0d10;
        padding: 24px;
        border-bottom: 1px solid var(--color-dark-border);
        box-shadow: 0 12px 36px rgba(0,0,0,0.8);
        gap: 16px;
        z-index: 999;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-cta {
        display: none;
    }
    
    .camps-gallery-grid {
        grid-template-columns: 1fr;
    }

    .camps-summary-card {
        padding: 28px 18px;
    }

    .camps-summary-card h3 {
        font-size: 1.5rem;
    }
    
    .orientation-cta {
        padding: 36px 18px;
        text-align: center;
    }

    .orientation-cta h2 {
        font-size: 1.65rem !important;
        line-height: 1.25;
    }
    
    .contact-form-wrapper {
        padding: 24px 16px;
        width: 100%;
        max-width: 100%;
    }

    .contact-card {
        padding: 16px;
        gap: 14px;
    }

    .contact-card-icon {
        width: 44px;
        height: 44px;
    }

    .contact-card-icon svg {
        width: 20px;
        height: 20px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-card {
        padding: 28px 18px;
    }

    .two-col-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .site-footer {
        padding: 44px 0 28px 0;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer-brand img {
        height: 56px;
    }

    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .footer-links a {
        font-size: 0.88rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        padding-top: 20px;
        font-size: 0.85rem;
    }

    .footer-bottom > * {
        flex: auto;
        text-align: center !important;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-padding-sm {
        padding: 40px 0;
    }

    .container {
        padding: 0 18px;
    }

    .service-block-body {
        padding: 24px 18px;
    }

    .perk-item {
        padding: 16px;
        gap: 14px;
    }

    h1 {
        font-size: 2.1rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    .page-hero {
        padding: 55px 0 45px 0;
    }

    .page-hero h1 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .hero-editorial h1 {
        font-size: 1.9rem !important;
    }

    .hero-title {
        font-size: 1.9rem !important;
    }

    h1 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .contact-form-wrapper {
        padding: 20px 14px;
    }

    .contact-card {
        padding: 14px;
        gap: 12px;
    }

    .contact-card-icon {
        width: 38px;
        height: 38px;
    }

    .perk-item {
        padding: 14px;
        gap: 12px;
    }

    .hero-floating-badge {
        margin-left: 0;
        margin-top: 16px;
        max-width: 100%;
    }
}
