:root {
    --bg-dark: #0a0a0a;
    --bg-card: #282828;
    --bg-card-glass: rgba(40, 40, 40, 0.7);
    --text-main: #ffffff;
    --text-muted: #cccccc;
    --accent-main: #06ff27;
    --accent-secondary: #926ef5;
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 400;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.highlight {
    color: var(--accent-main);
    text-shadow: 0 0 15px rgba(6, 255, 39, 0.4);
}

.btn-primary {
    background: var(--accent-main);
    color: #000;
    padding: 10px 30px;
    border-radius: 0;
    font-weight: 700;
    font-family: var(--font-head);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--accent-main);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

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

.logo img {
    height: 50px;
    /* Adjust based on navbar height */
    width: auto;
}

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

.nav-links a:not(.btn-primary) {
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-main);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links a:not(.btn-primary).is-active::after,
.nav-links a:not(.btn-primary):focus-visible::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Background image moved to facility section */
    background: #000;
}

.hero-blog-index {
    height: 72vh;
    min-height: 560px;
}

.hero-blog-index .hero-content {
    margin-top: 110px; /* avoid fixed navbar overlap */
}

.hero-blog-index .hero-sub {
    max-width: 640px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
    object-fit: cover;
    opacity: 0.6;
    /* Slight dim for text readability */
}

/* Reusing .video-overlay logic if needed, but styling here for specific hero needs */
.hero .video-overlay {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.6) 80%, var(--bg-dark) 100%);
    z-index: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(5, 5, 5, 0.7) 40%, rgba(5, 5, 5, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 60px;
}

.hero-text {
    max-width: 600px;
}

.result h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    color: #fff;
}

.glitch {
    font-size: 4.5rem;
    font-weight: 900;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 450px;
    border-left: 3px solid var(--accent-main);
    padding-left: 20px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-neon {
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--accent-main);
    color: var(--accent-main);
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-neon:hover {
    background: var(--accent-main);
    color: #000;
    box-shadow: 0 0 30px var(--btn-neon-glow, rgba(6, 255, 39, 0.4));
}

.btn-outline {
    padding: 15px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
    opacity: 0.8;
}

.stat-item {
    text-align: right;
}

.stat-value {
    display: block;
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-main);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    opacity: 0.6;
}

.scroll-indicator span {
    font-size: 0.8rem;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff, transparent);
}

/* Facility Intro (Now with "Old Hero" styling) */
.facility-intro {
    padding: 120px 20px;
    text-align: center;
    position: relative;
    /* The old hero image is repurposed here */
    background: linear-gradient(rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.8)), url('hero-bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    /* Parallax effect for professional feel */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.section-header p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #ddd;
}

.section-header .sub-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Cyber Bento Grid ("What's On") */
.whats-on {
    padding: 80px 0 120px;
    background: radial-gradient(circle at center, rgba(6, 255, 39, 0.03) 0%, transparent 70%);
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

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

@media (min-width: 1100px) {
    .grid-layout {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 250px;
        /* Base height units */
    }
}

/* Base Card Style */
.card {
    background: #111;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Cyber Corner Cut */
    clip-path: polygon(20px 0, 100% 0,
            100% calc(100% - 20px), calc(100% - 20px) 100%,
            0 100%, 0 20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

/* Grid Spans for Bento Layout */
.card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.card-wide {
    grid-column: span 2;
}

.card-tall {
    grid-row: span 2;
}

/* Background Image Handling */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    background-position: center;
    /* Brightened up: less grayscale, higher brightness */
    filter: grayscale(80%) brightness(0.9) contrast(1.1);
    transition: transform 0.6s ease, filter 0.4s ease;
    z-index: 0;
}

/* Image Color Reveal (Child Element implementation) */
.card-image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Brightened up here too for consistency if this layer is used */
    filter: grayscale(80%) brightness(0.9);
    transition: transform 0.8s ease, filter 0.4s ease;
    z-index: 0;
}

.card:hover .card-image-layer,
.card:hover::before {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.1);
}


/* Content Styling */
.card-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
    width: 100%;
    /* Ensure full width for text containment */
}

/* "Hollow" Text Effect - REVISED TYPOGRAPHY */
.card h3 {
    /* Responsive font size to prevent clipping on "EXPERIENCE" */
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 900;
    line-height: 1.1;
    /* slightly more breathing room */
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
    /* Stronger stroke for visibility */
    transition: all 0.3s ease;
    margin-bottom: 10px;
    text-transform: uppercase;
    word-wrap: break-word;
    /* Safety wrap */
}

.card p {
    color: #bbb;
    font-size: 0.95rem;
    max-width: 90%;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.btn-text {
    display: inline-block;
    color: var(--accent-main);
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
    pointer-events: auto;
    /* Re-enable clicks */
}

/* Hover States (The "Cyber Reveal") */
.card:hover {
    border-color: var(--accent-main);
    box-shadow: 0 0 30px rgba(6, 255, 39, 0.15);
    /* Soft neon glow */
    z-index: 10;
}

/* Colored Text on Hover */
.card:hover h3 {
    color: var(--accent-main);
    -webkit-text-stroke: 0px transparent;
    text-shadow: 0 0 20px rgba(6, 255, 39, 0.6);
}

.card:hover p,
.card:hover .btn-text {
    transform: translateY(0);
    opacity: 1;
}

/* Image Color Reveal */
/* Valid only if we move bg to a child. I'll simply rely on filter removal on the element itself if possible 
   OR use a ::before if I can get the bg image there. 
   
   Since HTML edit is next, I will specify: 
   .card .card-bg { ... } 
   in the HTML refactor.
*/
.card-image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.6);
    transition: transform 0.8s ease, filter 0.4s ease;
    z-index: 0;
}

.card:hover .card-image-layer {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

/* Decorative corner lines */
.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-bottom: 3px solid var(--accent-main);
    border-right: 3px solid var(--accent-main);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    /* Triangle corner */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::after {
    opacity: 1;
}

/* Latest News Section ("Holographic Data Feed") */
.news-section {
    padding: 80px 0;
    background: #080808;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Blog index header (public /blog) */
.blog-index-header {
    padding: 72px 0 36px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-subtitle {
    color: #aaa;
    max-width: 70ch;
    margin-top: 12px;
}

.blog-toolbar {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.blog-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    min-width: min(640px, 100%);
}

.blog-search input[type="search"] {
    flex: 1;
    min-width: 180px;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    padding: 6px 10px;
}

.blog-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.blog-search button {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: var(--transition);
}

.blog-search button:hover {
    background: var(--accent-main);
    color: #000;
    border-color: var(--accent-main);
}

.blog-search-meta {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog-clear {
    color: var(--accent-main);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.blog-clear:hover {
    text-decoration: underline;
}

.blog-categories {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-cat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.03);
}

.blog-cat:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.blog-cat.is-active {
    background: var(--accent-main);
    color: #000;
    border-color: var(--accent-main);
}

.blog-share{
    max-width: 900px;
    margin: 48px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-share-title{
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.blog-share-actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.blog-share-btn{
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.86);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.blog-share-btn:hover{
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
}

.blog-share-btn.is-copy{
    background: rgba(6, 255, 39, 0.06);
    border-color: rgba(6, 255, 39, 0.30);
    color: var(--accent-main);
}

.blog-share-btn.is-copy:hover{
    background: rgba(6, 255, 39, 0.10);
    border-color: rgba(6, 255, 39, 0.42);
}

.blog-share-btn.is-copied{
    border-color: rgba(6, 255, 39, 0.55);
    box-shadow: 0 0 18px rgba(6, 255, 39, 0.25);
}

.blog-share-btn img{
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.blog-share-btn svg{
    width: 20px;
    height: 20px;
    display: block;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1400px;
    /* Constrain width for readability */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

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

/* News Card - "Data Feed" Style */
.news-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle frame */
    border-top: 2px solid rgba(6, 255, 39, 0.3);
    /* Dim Neon Top Border */
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Optional image header (FTY blog module cards) */
.news-card .news-image {
    display: block;
    margin: -30px -30px 20px -30px; /* stretch to edges while keeping existing padding */
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0a0a;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    filter: grayscale(25%) brightness(0.8);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.news-card .news-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.12), rgba(0,0,0,0.85));
    pointer-events: none;
}

.news-card:hover .news-image img {
    transform: scale(1.06);
    filter: grayscale(0%) brightness(1);
}

/* Hover Lift */
.news-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-top-color: var(--accent-main);
    /* Bright Neon Top */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Meta Data */
.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    /* Tech feel */
    letter-spacing: 1px;
}

.news-date {
    color: var(--accent-main);
    opacity: 0.8;
}

.news-tag {
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    font-size: 0.7rem;
}

/* Typography */
.news-card h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.news-card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Read More Link */
.read-more {
    display: inline-block;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more .arr {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 5px;
    color: var(--accent-main);
}

.news-card:hover .read-more {
    color: var(--accent-main);
}

.news-card:hover .arr {
    transform: translateX(5px);
}

/* Catering */
.catering {
    background: linear-gradient(90deg, #050505 50%, #0a0a0a 50%);
    padding: 100px 0;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.fty-media-text {
    padding: 100px 0;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fty-split-layout.is-reverse {
    flex-direction: row-reverse;
}

.fty-split-media {
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.fty-split-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6,255,39,0.08), rgba(146,110,245,0.10));
    mix-blend-mode: screen;
    pointer-events: none;
}

.text-block {
    flex: 1;
}

.text-block h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.visual-block {
    flex: 1;
    height: 400px;
    background: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.neon-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid var(--accent-main);
    box-shadow: 0 0 50px var(--accent-secondary);
    /* Mixing the purple accent into the glow */
}

/* Visit & Contact */
.visit-contact {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.visit-controls {
    margin: 18px 0 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.visit-controls label {
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    color: #888;
    text-transform: uppercase;
}

.visit-controls select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 10px 42px 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    position: relative;
}

.visit-controls select:focus {
    outline: 2px solid rgba(6, 255, 39, 0.25);
    outline-offset: 3px;
    border-color: rgba(6, 255, 39, 0.45);
}

.talk-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 50px;
    align-items: start;
}

.talk-map {
    height: 380px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0f0f0f;
}

.talk-map-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    padding: 24px;
    text-align: center;
    font-size: 0.95rem;
}

.talk-map-empty-inner {
    max-width: 52ch;
}

.fty-marker .fty-pin {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--accent-main);
    box-shadow: 0 0 18px rgba(6, 255, 39, 0.65);
    border: 2px solid rgba(0, 0, 0, 0.55);
}

.fty-map-popup-wrap .leaflet-popup-content-wrapper {
    border-radius: 14px;
}

.fty-map-popup-wrap .leaflet-popup-content {
    margin: 10px 12px;
    font-family: var(--font-body);
}

.fty-map-popup-title {
    font-weight: 800;
    color: #0b0b0b;
}

.fty-map-popup-addr {
    margin-top: 4px;
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
    line-height: 1.4;
}

.talk-map .leaflet-control-attribution {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
}

.talk-map .leaflet-control-attribution a {
    color: rgba(255, 255, 255, 0.85);
}

.talk-map .leaflet-control-zoom a {
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.talk-map .leaflet-control-zoom a:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.info-col h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--accent-main);
}

.info-col ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.contact-link {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: #fff;
    color: #000;
}

/* Footer */
footer {
    padding: 40px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-links a {
    margin-left: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        flex-direction: row;
        margin-top: 40px;
    }

    .split-layout {
        flex-direction: column;
    }

    .fty-split-layout.is-reverse {
        flex-direction: column;
    }

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

    .talk-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .card.wide {
        grid-column: auto;
    }
}

/* ------------------------------------------------------------
   Footer (ESA-like data, htmlfty look)
   - Columns + links: Branch Admin → Navigation → Footer
   - Address + socials: Branch Admin → Design → Branding
   - Legal links + contact button: Branch Admin → Navigation → Footer (Legal)
------------------------------------------------------------ */
.footer-wrap {
    padding-top: 0;
}

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

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.1fr 2fr;
        align-items: start;
        gap: 60px;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo {
    height: 28px;
    width: auto;
    max-width: min(220px, 70vw);
    object-fit: contain;
    display: block;
}

.footer-bottom-left{
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-logo-bottom{
    height: 24px;
    opacity: 0.92;
}

.footer-address {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-contact-btn {
    display: inline-block;
    width: fit-content;
}
.footer-contact-inline {
    margin-top: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 620px) {
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .footer-columns {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.footer-col-title {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

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

.footer-col-links a {
    margin-left: 0;
    color: var(--text-muted);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 18px;
    margin-top: 22px;
}

.footer-content-extended {
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-right{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

@media (max-width: 900px) {
    .footer-content-extended{
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-bottom-left{
        width: 100%;
        justify-content: flex-start;
    }
    .footer-right{
        justify-content:flex-start;
    }
}

.footer-copy {
    margin: 0;
}

/* Override template footer link spacing (we use gap instead of margin-left) */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    margin-left: 0;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    transition: var(--transition);
}

.footer-socials a:hover {
    border-color: rgba(6, 255, 39, 0.6);
    box-shadow: 0 0 0 3px rgba(6, 255, 39, 0.12);
}

.footer-socials img {
    height: 18px;
    width: 18px;
    object-fit: contain;
    display: block;
}

.footer-socials svg{
    height: 18px;
    width: 18px;
    display:block;
}

/* Contact embed modal */
.fty-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.fty-contact-modal.is-open {
    display: block;
}

.fty-contact-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}

.fty-contact-panel {
    position: relative;
    width: min(920px, calc(100% - 40px));
    margin: 6vh auto 0;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
    padding: 18px 18px 20px;
    overflow: hidden;
}

.fty-contact-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.fty-contact-embed {
    padding-top: 36px;
    min-height: 420px;
    color: var(--text-main);
}

/* Video CTA */
.video-cta {
    position: relative;
    height: 60vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 50px 0;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(10, 10, 10, 0.4) 50%, var(--bg-dark) 100%);
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.video-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.video-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #ddd;
}

/* Tech Slider */
.tech-slider-section {
    padding: 100px 0;
    overflow: hidden;
}

/* Staff slider (bookable cards) */
.staff-slider-section {
    padding: 110px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.staff-slider-section .staff-track {
    gap: 50px;
}

.staff-slider-section .staff-track.is-static {
    justify-content: center;
}

.staff-card {
    flex-shrink: 0;
    width: 360px;
    max-width: 88vw;
    color: #fff;
}

.staff-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #0f0f0f;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    filter: grayscale(100%) contrast(1.06);
    transition: var(--transition);
}

.staff-photo-sheen {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(146, 110, 245, 0.22), transparent 55%),
                radial-gradient(circle at 80% 70%, rgba(6, 255, 39, 0.14), transparent 55%);
    mix-blend-mode: screen;
    opacity: 0.75;
    pointer-events: none;
}

.staff-badge {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 12px 18px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.staff-meta {
    text-align: center;
    padding-top: 18px;
}

.staff-name {
    color: var(--accent-secondary);
    font-family: var(--font-head);
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    margin-top: 10px;
}

.staff-role {
    color: #fff;
    opacity: 0.9;
    font-size: 1.15rem;
    margin-top: 12px;
}

.staff-details {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    line-height: 1.55;
}

.staff-detail {
    margin-top: 4px;
}

.staff-book-wrap {
    margin-top: 18px;
    min-height: 40px; /* reserve space so layout doesn't jump */
    display: flex;
    justify-content: center;
    align-items: center;
}

.staff-book-btn {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

/* Staff button uses the exact same style as navbar CTA (.btn-primary) */

.staff-card:hover .staff-photo {
    filter: grayscale(0%) contrast(1.02);
    border-color: var(--accent-main);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.staff-card:hover .staff-book-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.staff-card:focus-within .staff-book-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 900px) {
    .staff-slider-section .slider-container {
        padding: 0 20px;
    }
    .staff-card {
        width: 300px;
    }
    /* On touch devices, show booking button without hover */
    .staff-book-btn {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    /* Space for buttons */
}

.slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-out;
    padding: 20px 0;
}

.tech-slider-section .slider-track.is-static {
    justify-content: center;
    transform: translateX(0px) !important;
}

.slide {
    min-width: 350px;
    height: 450px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    border-radius: 4px;
    /* Slight roundness */
    overflow: hidden;
    transition: var(--transition);
    flex-shrink: 0;
}

.tech-slider-section a.slide {
    display: block;
    color: inherit;
    text-decoration: none;
}

.tech-slider-section button.slide {
    display: block;
    padding: 0;
    width: auto;
    border: none;
    text-align: left;
    background: var(--bg-card);
    color: inherit;
}

.tech-slider-section .slide.is-clickable {
    cursor: pointer;
}

.tech-slider-section a.slide:focus-visible,
.tech-slider-section button.slide:focus-visible {
    outline: 2px solid var(--accent-main);
    outline-offset: 4px;
}

.slide:hover {
    border-color: var(--accent-main);
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.slide-image {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.slide-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.tech-slider-section .slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1; /* show preview frame by default */
    transition: opacity 180ms ease;
    z-index: 1;
    pointer-events: none;
}

.tech-slider-section .slide-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    z-index: 3;
    backdrop-filter: blur(6px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.tech-slider-section .slide-play svg {
    width: 22px;
    height: 22px;
    margin-left: 2px; /* optical center */
}

.slide[data-video-mode="hover"].has-video:hover .slide-play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
}

.tech-slider-section .slide-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.tech-slider-section a.slide-badge {
    text-decoration: none;
}

.tech-slider-section .slide-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent-main);
}

/* Placeholders for slide images - gradients for now */
.placeholder-tech-1 {
    background: linear-gradient(45deg, #111, #222);
}

.placeholder-tech-2 {
    background: linear-gradient(45deg, #1a1a1a, #333);
}

.placeholder-tech-3 {
    background: linear-gradient(45deg, #050505, #151515);
}

.placeholder-tech-4 {
    background: linear-gradient(45deg, #222, #444);
}

.slide-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    /* readability gradient (no blur; smooth fade with multiple stops so the edge isn't visible) */
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.86) 0%,
        rgba(0,0,0,0.70) 24%,
        rgba(0,0,0,0.52) 44%,
        rgba(0,0,0,0.34) 62%,
        rgba(0,0,0,0.20) 78%,
        rgba(0,0,0,0.10) 90%,
        rgba(0,0,0,0.00) 100%
    );
    z-index: 3;
}

.slide.is-playing .slide-info {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.slide.is-playing .slide-play {
    opacity: 0;
}

.slide-info h3 {
    color: var(--accent-main);
    font-size: 1.8rem;
    margin-bottom: 0;
    text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}

.slide-info p {
    color: rgba(255,255,255,0.86);
    text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}

/* Slider Nav */
.slider-nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: var(--transition);
    pointer-events: auto;
}

.slider-nav button:hover {
    background: var(--accent-main);
    color: #000;
    border-color: var(--accent-main);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

@media (max-width: 768px) {
    .video-content h2 {
        font-size: 2.5rem;
    }

    .slide {
        min-width: 280px;
        height: 380px;
    }

    .slider-container {
        padding: 0 20px;
    }
}

/* Video popup modal (tech slider) */
.fty-video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
}

.fty-video-modal.is-open {
    display: flex;
}

.fty-video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
}

.fty-video-panel {
    position: relative;
    width: min(980px, 96vw);
    border-radius: 18px;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.fty-video-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.fty-video-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.fty-video-player {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    background: #000;
}

/* Add form module (public) */
.fty-form-section {
    /* Extra top padding to avoid overlap with the fixed navbar */
    padding: 120px 0 80px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fty-form-card {
    max-width: 860px;
    margin: 0 auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    padding: 26px 22px;
}

.fty-form-title {
    color: #fff;
    font-size: 2rem;
    margin: 0;
    letter-spacing: 1px;
}

.fty-form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    max-width: 76ch;
}

.fty-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.fty-form-field {
    min-width: 0;
}

.fty-form-field.is-full {
    grid-column: 1 / -1;
}

.fty-form-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.75);
}

.fty-form-required {
    color: #ef4444;
    margin-left: 6px;
    font-size: 0.85em;
    font-weight: 900;
    line-height: 1;
    vertical-align: 1px;
}

.fty-form-input {
    width: 100%;
    margin-top: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    padding: 12px 12px;
    outline: none;
}

/* File input (avatar upload etc.) - style the "Choose file" button to match dark theme */
.fty-form-input[type="file"]{
    padding: 10px 12px;
}
.fty-form-input::file-selector-button{
    margin-right: 12px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.18);
    color: rgba(255, 255, 255, 0.90);
    padding: 10px 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.72rem;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .06s ease;
}
.fty-form-input::-webkit-file-upload-button{
    margin-right: 12px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.18);
    color: rgba(255, 255, 255, 0.90);
    padding: 10px 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.72rem;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .06s ease;
}
.fty-form-input::file-selector-button:hover,
.fty-form-input::-webkit-file-upload-button:hover{
    border-color: rgba(var(--accent-main-rgb), 0.38);
}
.fty-form-input::file-selector-button:active,
.fty-form-input::-webkit-file-upload-button:active{
    transform: scale(0.98);
}

/* Phone input (intl-tel-input) alignment: keep same spacing as other fields */
.fty-form-field .iti{
    width: 100%;
    display: block;
    margin-top: 8px;
}
.fty-form-field .iti .fty-form-input{
    /* Override intl-tel-input CSS that can reset margins */
    margin-top: 0 !important;
}

.fty-form-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.fty-form-input:hover {
    border-color: rgba(var(--accent-main-rgb), 0.38);
}

.fty-form-input:focus {
    border-color: var(--accent-main);
    box-shadow: 0 0 0 3px rgba(var(--accent-main-rgb), 0.14);
}

.fty-form-radio {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

.fty-form-radio-item {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .06s ease;
}

.fty-form-checkbox {
    margin-top: 10px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .06s ease;
}

.fty-form-radio-item:hover,
.fty-form-checkbox:hover{
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.26);
}

/* Custom checkbox/radio (avoid default browser styling) */
.fty-form-radio-item input[type="radio"],
.fty-form-checkbox input[type="checkbox"]{
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.25);
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .06s ease;
}

.fty-form-checkbox input[type="checkbox"]{
    border-radius: 6px;
}

.fty-form-radio-item input[type="radio"]{
    border-radius: 9999px;
}

.fty-form-checkbox input[type="checkbox"]::after{
    content: '';
    width: 9px;
    height: 5px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg) scale(0);
    transform-origin: center;
    transition: transform .14s ease;
}

.fty-form-radio-item input[type="radio"]::after{
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: #000;
    transform: scale(0);
    transition: transform .14s ease;
}

.fty-form-radio-item input[type="radio"]:checked,
.fty-form-checkbox input[type="checkbox"]:checked{
    border-color: var(--accent-main);
    background: var(--accent-main);
    box-shadow: 0 0 0 3px rgba(6, 255, 39, 0.14);
}

.fty-form-checkbox input[type="checkbox"]:checked::after{
    transform: rotate(-45deg) scale(1);
}

.fty-form-radio-item input[type="radio"]:checked::after{
    transform: scale(1);
}

.fty-form-radio-item input[type="radio"]:checked + span,
.fty-form-checkbox input[type="checkbox"]:checked + span{
    color: #ffffff;
    font-weight: 700;
}

.fty-form-radio-item input[type="radio"]:focus-visible,
.fty-form-checkbox input[type="checkbox"]:focus-visible{
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--accent-main-rgb), 0.16);
}

.fty-form-radio-item input[type="radio"]:active,
.fty-form-checkbox input[type="checkbox"]:active{
    transform: scale(0.96);
}

.fty-form-error {
    margin-top: 8px;
    color: #ff647c;
    font-size: 0.92rem;
}

.fty-form-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-start;
    grid-column: 1 / -1;
}

.fty-form-alert {
    margin-top: 14px;
    border-radius: 14px;
    padding: 14px 14px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255, 255, 255, 0.88);
}

.fty-form-alert.is-success {
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(16, 185, 129, 0.10);
}

.fty-form-alert.is-error {
    border-color: rgba(251, 113, 133, 0.35);
    background: rgba(244, 63, 94, 0.10);
}

.fty-form-alert.is-warn {
    border-color: rgba(251, 191, 36, 0.30);
    background: rgba(245, 158, 11, 0.12);
}

.fty-form-success-title {
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fty-form-success-subtitle {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
    .fty-form-grid {
        grid-template-columns: 1fr;
    }
    .fty-form-card {
        padding: 22px 16px;
    }
    .fty-form-title {
        font-size: 1.6rem;
    }
}