:root {
    --primary: #FF5E00;
    --primary-dark: #cc4a00;
    --primary-light: #ff8c40;
    --primary-glow: rgba(255, 94, 0, 0);
    --bg-dark: #000000;
    --bg-darker: #050505;
    --text-white: #ffffff;
    --text-gray: #d0d0d0;
    --glass: rgba(0, 0, 0, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --container-width: 1300px;
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Custom Selection */
::selection {
    background-color: var(--primary);
    color: var(--text-white);
}

/* Modern Minimal Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(255, 94, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 100% 50%, rgba(255, 94, 0, 0.03) 0%, transparent 30%);
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.highlight {
    color: var(--text-white);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    display: inline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.btn-primary {
    background-color: transparent;
    color: #f4f4f4;
    border: 1px solid #f4f4f4;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #f4f4f4;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary:hover {
    color: #111;
    transform: none;
    box-shadow: none;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-xl {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-giant {
    padding: 1.5rem 3.5rem;
    font-size: 1.25rem;
    width: auto;
    max-width: 100%;
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(25deg);
    animation: shine-sweep 4s infinite;
    pointer-events: none;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #f4f4f4;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: none;
}

.btn-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: background-color 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--glass-border);
}

@supports (backdrop-filter: blur(5px)) {
    .navbar.scrolled {
        background: rgba(10, 10, 10, 0.8);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.logo .xtreme {
    color: white;
}

.logo .security {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.highlight::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--text-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1100;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-img--large {
    height: 62px;
}

.logo-footer {
    height: 75px;
    width: auto;
    margin-bottom: 1.5rem;
}

/* Hero Slogan Tag */
.hero-slogan-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1.4rem;
    border-radius: 30px;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.35);
    animation: fadeInUp 0.8s ease-out;
}

/* SkyGloss Promo Card */
.skygloss-promo-card {
    grid-column: 1 / -1;
    border: 1px solid rgba(255, 200, 0, 0.25) !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 10, 0, 0.95) 100%) !important;
    position: relative;
    overflow: hidden;
}

.skygloss-promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 180, 0, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 94, 0, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.skygloss-banner {
    display: grid;
    grid-template-columns: 1.1fr 1.6fr;
    gap: 0;
    position: relative;
    z-index: 1;
    min-height: 340px;
}

.skygloss-badge-exclusive {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #FFB800, #FF8C00);
    color: #000;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.5rem 1rem;
    z-index: 10;
    grid-column: 1 / -1;
}

.skygloss-logo-area {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    margin-top: 32px;
}

.skygloss-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.skygloss-promo-card:hover .skygloss-hero-img {
    transform: scale(1.05);
}

.skygloss-content {
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    border-left: 1px solid rgba(255, 180, 0, 0.15);
    margin-top: 32px;
}

.skygloss-tag {
    background: linear-gradient(135deg, #FFB800, #FF8C00) !important;
    color: #000 !important;
    font-size: 0.7rem;
}

.skygloss-header h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0.6rem 0 0.3rem;
    background: linear-gradient(135deg, #fff 0%, #FFD580 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.skygloss-accent {
    color: #FFB800;
    -webkit-text-fill-color: #FFB800;
}

.skygloss-headline {
    font-size: 1rem;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.5;
}

.skygloss-headline strong {
    color: #FFB800;
}

.skygloss-desc {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.65;
    margin: 0;
    border-left: 3px solid rgba(255, 184, 0, 0.5);
    padding-left: 1rem;
}

.skygloss-arrows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.skygloss-arrow-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #f0f0f0;
    font-weight: 500;
    background: rgba(255, 184, 0, 0.06);
    border: 1px solid rgba(255, 184, 0, 0.12);
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    transition: all 0.3s ease;
}

.skygloss-arrow-item:hover {
    background: rgba(255, 184, 0, 0.14);
    border-color: rgba(255, 184, 0, 0.3);
    transform: translateX(4px);
}

.skygloss-arrow-item i {
    color: #FFB800;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.skygloss-cta {
    align-self: flex-start;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #FFB800, #FF8C00) !important;
    color: #000 !important;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.35) !important;
}

.skygloss-cta:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(255, 184, 0, 0.5) !important;
}

/* About Slogan */
.about-slogan {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-style: italic;
}

/* Footer Slogan */
.footer-slogan {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem !important;
}

.footer-bottom-slogan {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Academy Section */
.academy {
    padding: 8rem 0;
    background: var(--bg-darker);
}

.academy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.academy-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
}

.course-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.course-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.8rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

@supports (backdrop-filter: blur(5px)) {
    .course-card {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.2) 100%);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

.course-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 94, 0, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.course-card>* {
    position: relative;
    z-index: 1;
}

.course-card:hover {
    border-color: rgba(255, 94, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.course-card:hover::before {
    opacity: 1;
}

.course-card i {
    color: var(--primary);
    width: 30px;
    height: 30px;
}

.course-card h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.course-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
}

.academy-cta {
    width: 100%;
    justify-content: center;
}

/* Services Additional Styles */
.service-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Hero Section Updates */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Minimal overlay */
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    padding-bottom: 5vh;
}

.badge {
    display: none;
    /* Removed for minimalist look */
}

.hero-text-block {
    margin-top: 5vh;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: none;
    font-weight: 500;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1rem;
    font-weight: 400;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
}

.hero-bottom-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
    width: 100%;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat .number {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
}

.stat .label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: capitalize;
    font-weight: 400;
}

/* Services */
.services {
    padding: 8rem 0;
    background-color: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    will-change: transform;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.service-card:hover::after {
    width: 100%;
}

.service-img {
    height: 250px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Custom Collage Grid for Service Cards */
.collage-4-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    background: #000;
}

.collage-4-grid img {
    width: 100% !important;
    height: 125px !important;
    /* Half of 250px */
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
    border-radius: 0 !important;
}

.svc-modal-img-wrap #modalImageContainer,
.svc-modal-img-wrap .collage-4-grid {
    height: 100%;
}

.svc-modal-img-wrap #modalImageContainer img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.svc-modal-img-wrap .collage-4-grid img {
    height: 250px !important; /* Proper height for 2x2 modal grid */
}

/* Fix for 2 images in modal: side-by-side columns (better for portrait photos) */
.svc-modal-img-wrap .collage-4-grid[data-count="2"] {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr !important;
}

.svc-modal-img-wrap .collage-4-grid[data-count="2"] img {
    height: 100% !important;
}

.collage-4-grid img:hover {
    transform: scale(1.05);
    z-index: 2;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 2rem;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-info h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: white;
}

.service-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #f0f0f0;
}

.service-footer-cta {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
}

.btn-more-info {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.2);
}

.btn-more-info i {
    width: 16px;
    height: 16px;
    color: white;
    transition: transform 0.3s ease;
}

.service-card:hover .btn-more-info {
    background: white;
    border-color: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.service-card:hover .btn-more-info i {
    color: var(--primary);
    transform: translateX(4px);
}

/* Completely Remove old chips */
.service-hover-chip,
.service-card:hover .service-hover-chip {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.service-features li i {
    color: var(--primary);
    width: 18px;
    height: 18px;
}


/* =============================================
   SERVICE HOVER CHIP
   ============================================= */
.service-hover-chip {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 5;
}

.service-hover-chip i {
    width: 13px;
    height: 13px;
}

.service-card:hover .service-hover-chip {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   GLOBAL SERVICE MODAL
   ============================================= */
.svc-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

@supports (backdrop-filter: blur(5px)) {
    .svc-modal-backdrop {
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

.svc-modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.svc-modal-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    background: #0d0d0d;
    border: 1px solid rgba(255, 94, 0, 0.25);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 94, 0, 0.06);
    transform: translateY(28px);
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.svc-modal-backdrop.is-open .svc-modal-panel {
    transform: translateY(0);
}

/* Close button */
.svc-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 20;
    width: 2.2rem;
    height: 2.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.svc-modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.svc-modal-close i {
    width: 16px;
    height: 16px;
}

/* Left image column */
.svc-modal-img-wrap {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.svc-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-modal-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.15) 50%,
            rgba(13, 13, 13, 0.9) 100%);
}

/* Remove overlay specifically for detailing as per user request */
.modal-detailing .svc-modal-img-overlay {
    display: none;
}

.svc-modal-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary);
    color: white;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 1rem;
    border-radius: 30px;
}

/* Right content column */
.svc-modal-body {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.svc-modal-title {
    font-size: 2.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    line-height: 1.1;
    margin-bottom: 0.6rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.svc-modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.svc-modal-desc {
    font-size: 0.97rem;
    color: #c0c0c0;
    line-height: 1.75;
    margin-bottom: 2rem;
    font-weight: 300;
}

.svc-modal-list {
    list-style: none;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.svc-modal-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: #e0e0e0;
    line-height: 1.4;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 94, 0, 0.04);
    border: 1px solid rgba(255, 94, 0, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.svc-modal-list li:hover {
    background: rgba(255, 94, 0, 0.1);
    border-color: rgba(255, 94, 0, 0.3);
    color: white;
    transform: translateX(3px);
}

.svc-modal-list li i {
    color: var(--primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    filter: drop-shadow(0 0 4px rgba(255, 94, 0, 0.4));
}

.svc-modal-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: auto;
}

.svc-modal-cta {
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.svc-modal-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

/* Animations and Reveals */
.reveal-target {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
}

.reveal-target.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 8rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.features-list {
    display: grid;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
}

.feature-item:hover {
    transform: translateX(10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 94, 0, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 94, 0, 0.1);
}

.feature-item:hover .icon-box {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 94, 0, 0.3);
}

.feature-item h4 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.image-stack {
    position: relative;
}

.img-main {
    width: 70%;
    margin-left: 30%;
    border-radius: 30px;
    filter: grayscale(0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.img-secondary {
    position: absolute;
    bottom: -5%;
    left: 5%;
    width: 50%;
    border-radius: 20px;
    border: 5px solid #0d0d0d;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    z-index: 2;
    transition: transform 0.4s ease;
}

.img-secondary:hover {
    transform: scale(1.05) rotate(-2deg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--primary);
    padding: 2.5rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(255, 102, 0, 0.3);
    animation: premiumPulse 4s infinite alternate;
    z-index: 3;
}

@keyframes premiumPulse {
    0% {
        box-shadow: 0 10px 30px rgba(255, 94, 0, 0.2);
    }

    100% {
        box-shadow: 0 25px 50px rgba(255, 94, 0, 0.5);
    }
}

.exp-num {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Map Section */
.map-section {
    padding: 8rem 0;
    background-color: var(--bg-dark);
}

.map-container {
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
    filter: grayscale(0.5) contrast(1.2) invert(0.9) hue-rotate(180deg);
    /* Dark mode map effect */
    transition: filter 0.5s ease;
}

.map-container:hover {
    filter: grayscale(0) contrast(1) invert(0) hue-rotate(0);
}

/* Footer */
footer {
    background: var(--bg-darker);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    gap: 1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-btn {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 60px;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(25deg);
    animation: shine-sweep 4s infinite;
    pointer-events: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.wa-icon {
    width: 32px;
    height: 32px;
}

.online-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: #00e676;
    border: 2px solid white;
    border-radius: 50%;
}

.whatsapp-bubble {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    color: #333;
    padding: 1rem 1.5rem;
    border-radius: 20px 20px 0 20px;
    font-size: 0.9rem;
    font-weight: 500;
    width: 220px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: bounceIn 1s 2s both;
    transform-origin: bottom right;
}

.bubble-arrow {
    position: absolute;
    bottom: -10px;
    right: 0;
    border-left: 10px solid transparent;
    border-top: 10px solid white;
}

/* Animations */
@keyframes shine-sweep {
    0% {
        left: -150%;
    }

    15% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 94, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 94, 0, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Utilities */
.section-padding {
    padding: 8rem 0;
}

.margin-top-md {
    margin-top: 3rem;
}

.margin-top-lg {
    margin-top: 5rem;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.w-100 {
    width: 100%;
}

.no-padding-top {
    padding-top: 0 !important;
}

/* Page Header */
.page-header {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.page-header h1 {
    font-size: 4.5rem;
}

/* About Detail */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.about-video img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow-premium);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--glass);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    transition: transform 0.4s ease, border-color 0.4s ease;
    will-change: transform;
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.value-card i {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--glass-border);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
}

.year {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 2rem;
    box-shadow: 0 0 20px var(--primary-glow);
}

.timeline-item h4 {
    margin-bottom: 0.5rem;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-item-card {
    background: var(--glass);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-item-card i {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
}

/* Modern Form */
.contact-form-container {
    background: var(--glass);
    padding: 4rem;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
}

@supports (backdrop-filter: blur(10px)) {
    .contact-form-container {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.modern-form .form-group {
    margin-bottom: 2rem;
}

.modern-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.modern-form select option {
    background: var(--bg-dark);
    color: white;
}

/* Instagram Feed Section */
.instagram-feed {
    background-color: var(--bg-dark);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 0 1rem;
    justify-content: center;
}

.instagram-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.instagram-item h3 {
    text-transform: uppercase;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 800;
}

.embed-crop {
    width: 100%;
    /* Usamos aspect ratio + padding para recortar exactamente debajo del video */
    padding-bottom: calc(100% + 52px);
    /* 100% video cuadrado + 52px header */
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.embed-crop iframe {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    /* Altura sobredimensionada para empujar el pie de página blanco fuera del contenedor */
    height: 1200px;
    border: none;
}

/* Custom Story Card Placeholder */
.ig-story-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #111;
}

.story-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 0.6;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.story-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem;
}

.story-overlay i {
    width: 60px;
    height: 60px;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(255, 94, 0, 0.4));
    transition: transform 0.3s ease;
}

.btn-story {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.ig-story-card:hover .story-preview-img {
    transform: scale(1.1);
    opacity: 0.4;
}

.ig-story-card:hover .story-overlay i {
    transform: scale(1.1) rotate(5deg);
}

.btn-story:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Gallery Section - Modern Slider */
.gallery {
    padding: 8rem 0;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.gallery-container {
    padding: 0 2rem;
    position: relative;
}

/* Edge Fade Effect (Difuminado) */
.gallery-wrapper {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
    mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
}

.gallery-wrapper::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.gallery-item {
    flex: 0 0 320px;
    flex-shrink: 0;
    height: 450px;
    scroll-snap-align: start;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #080808;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    will-change: transform;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.02) translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(255, 94, 0, 0.1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

/* Preview Grid Below Slider */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 4rem;
}

.preview-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.5s ease;
    filter: grayscale(0.2);
}

.preview-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .gallery-preview-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

/* Mobile Navbar Refinements */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .navbar.scrolled {
        padding: 0.6rem 0;
    }

    .logo-img {
        height: 38px;
    }
}

/* Desktop Navigation Link Highlights */
.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    width: 100%;
}

/* Base Responsive Overrides (Laptops/Tablets) */
@media (max-width: 1200px) {
    :root {
        --container-width: 100%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-stats {
        gap: 3rem;
    }
}

/* Tablet & Mobile Menu Implementation */
@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-cta {
        display: none;
        /* Hide button in nav on mobile */
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .academy-grid,
    .about-container,
    .about-grid,
    .contact-grid,
    .values-grid,
    .contact-cards-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        /* Reduced from 3rem */
    }

    .instagram-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* Specific Mobile Adjustments */
@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
    }

    .container {
        padding: 0 var(--container-padding);
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    .hero {
        height: auto;
        min-height: 90vh;
        padding: 100px 0 40px;
    }

    .hero-content {
        justify-content: center;
        gap: 1.5rem;
        /* Reduced from 2rem */
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        padding: 0 1rem;
        max-width: 90%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }

    .stat {
        flex: 0 0 40%;
    }

    .service-img {
        height: 180px;
        /* Reduced from 250px */
    }

    .service-info {
        padding: 1.25rem;
        /* Reduced from 2rem */
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
        /* Slightly smaller */
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .course-list {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        padding: 1.5rem;
        bottom: -20px;
        left: 10px;
    }

    .exp-num {
        font-size: 2rem;
    }

    /* Gallery Mobile */
    .gallery-wrapper {
        gap: 1.5rem;
        padding: 1.5rem 0;
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }

    .gallery-item {
        flex: 0 0 220px;
        height: 300px;
        scroll-snap-align: center;
    }

    .gallery-container {
        padding: 0 1rem;
    }

    /* Forms */
    .contact-grid {
        gap: 3rem;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .contact-item-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .contact-item-card i {
        font-size: 1.2rem;
    }

    /* Footer */
    .footer-grid {
        text-align: center;
    }

    .footer-brand .logo,
    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-brand .logo-footer {
        height: 50px;
    }

    .footer-bottom {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }

    /* Subpages */
    .page-header {
        height: auto;
        min-height: 40vh;
        padding: 100px 0 50px;
        display: flex;
        align-items: center;
    }

    .page-header h1 {
        font-size: 1.8rem;
        /* Reduced from 2.2rem */
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-video {
        order: -1;
        /* Video/Image above text on mobile */
    }

    .value-card {
        padding: 2rem;
        border-radius: 20px;
    }

    /* Timeline Mobile Design */
    .timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 3rem;
        padding-left: 20px;
    }

    .timeline::before {
        display: block;
        width: 2px;
        height: 100%;
        left: 42.5px;
        top: 0;
    }

    .timeline-item {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        text-align: left;
        margin-bottom: 2rem;
    }

    .timeline-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .timeline-item p {
        font-size: 0.9rem;
    }

    .year {
        width: 45px;
        height: 45px;
        font-size: 0.8rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    /* Map Section Mobile */
    .map-section {
        padding: 4rem 0 !important;
    }

    .map-container {
        height: 300px;
        border-radius: 20px;
    }

    .map-container iframe {
        height: 100% !important;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 0.9rem;
    }

    .modern-form input,
    .modern-form select,
    .modern-form textarea {
        font-size: 16px !important;
        /* Prevents auto-zoom in iOS */
        padding: 1rem;
    }

    .modern-form label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat .number {
        font-size: 1.3rem;
    }

    /* SkyGloss mobile */
    .skygloss-banner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .skygloss-logo-area {
        min-height: 160px;
        /* Reduced from 220px */
        margin-top: 36px;
    }

    .skygloss-content {
        padding: 1.5rem;
        margin-top: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 180, 0, 0.15);
    }

    .skygloss-header h3 {
        font-size: 1.6rem;
    }

    .skygloss-arrows {
        grid-template-columns: 1fr;
    }

    .skygloss-cta {
        width: 100%;
        justify-content: center;
    }

    .logo-img--large {
        height: 42px;
    }

    /* Modal mobile */
    .svc-modal-panel {
        grid-template-columns: 1fr;
        max-height: 95vh;
        overflow-y: auto;
    }

    .svc-modal-img-wrap {
        min-height: 220px;
    }

    .svc-modal-body {
        padding: 2rem 1.5rem;
    }

    .svc-modal-title {
        font-size: 1.6rem;
    }

    .svc-modal-list {
        grid-template-columns: 1fr;
    }

    .svc-modal-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* HIGH PERFORMANCE MODE FOR SLOW DEVICES */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* Disable heavy shadows and blurs if device is very slow (heuristics) */
.low-perf-mode * {
    text-shadow: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* --- Refined Integrated Styles --- */

/* SkyGloss Feature Grid */
.skygloss-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 0.5rem 0 1rem;
}

.sg-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    background: rgba(255, 184, 0, 0.04);
    border: 1px solid rgba(255, 184, 0, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.sg-feature div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sg-feature strong {
    color: #FFB800;
    font-size: 0.95rem;
    display: block;
}

.sg-feature span {
    color: var(--text-gray);
    font-size: 0.78rem;
    line-height: 1.3;
}

.sg-feature:hover {
    background: rgba(255, 184, 0, 0.08);
    border-color: rgba(255, 184, 0, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 184, 0, 0.05);
}

.sg-feature i {
    color: #FFB800;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.sg-feature-full {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 184, 0, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

.sg-feature-full i {
    color: #FFB800;
}

/* Academy Grid v3 (Integrated) */
.academy-grid-v3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Footer Promo Banner */
.footer-promo-banner {
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.fp-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.15), rgba(255, 140, 0, 0.05));
    border: 1px solid rgba(255, 94, 0, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fp-inner strong {
    color: var(--primary-light);
    font-size: 1rem;
}

.fp-inner i {
    color: var(--primary-light);
    width: 18px;
    height: 18px;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .academy-grid-v3 {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .skygloss-feature-grid {
        grid-template-columns: 1fr;
    }

    .academy-grid-v3 {
        grid-template-columns: 1fr;
    }
}

/* SkyGloss Footer CTA Area */
.skygloss-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 180, 0, 0.1);
}

.skygloss-cta {
    margin-top: 0 !important;
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
}

@media (max-width: 768px) {
    .skygloss-footer {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 1.2rem;
    }

    .skygloss-cta {
        width: 100%;
        justify-content: center;
    }
}