:root {
    --green: #9ac31c;
    --black: #14151d;
    --dark-gray: #1e1f2b;
    --mid-gray: #23242f;
    --light-gray: #fbf1f1;
    --white: #ffffff;
    --font-head: 'Exo 2', sans-serif;
    --font-text: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-text); background-color: var(--black); color: var(--white); overflow-x: hidden; }
h1,h2,h3,h4 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2px; }

.deep-link {
  cursor: pointer;
}

.section-divider {
    width: 80px; height: 3px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    margin: 12px auto 0; position: relative;
}
.section-divider::before,.section-divider::after {
    content: ''; position: absolute; top: 50%; transform: translateY(-50%);
    width: 6px; height: 6px; background: var(--green); border-radius: 50%;
}
.section-divider::before { left: 0; }
.section-divider::after  { right: 0; }
.section-divider.dark { background: linear-gradient(90deg, transparent, var(--black), transparent); }
.section-divider.dark::before,.section-divider.dark::after { background: var(--black); }

.dec-circle {
    position: absolute; border: 1px dashed var(--green); border-radius: 50%;
    opacity: 0.2; pointer-events: none; animation: spin 30s linear infinite;
}
.dec-circle.rev { animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.from-left  { transform: translateX(-60px); }
.reveal.from-right { transform: translateX(60px); }
.reveal.visible { opacity: 1; transform: translate(0); }

.electric-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* HEADER */
header {
    position: fixed; top: 0; width: 100%;
    background: rgba(20,21,29,0.95); backdrop-filter: blur(12px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 5%; z-index: 1000;
    border-bottom: 1px solid rgba(154,195,28,0.2);
}

header img {
  max-height: 60px;
  width: auto;
}

.logo-box {
    width: 100px; height: 50px; background: var(--green); color: var(--black); margin-right:auto; margin-left: 7px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 700; font-size: 32px;
    clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px); transition: box-shadow 0.3s;
}

.logo-box:hover { box-shadow: 0 0 20px var(--green); }
.header-right { display: flex; align-items: center; gap: 24px; }
.phone { color: var(--green); font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.btn-callback {
    background: transparent; color: var(--green); border: 1px solid var(--green);
    padding: 9px 20px; font-family: var(--font-head); font-weight: 600;
    cursor: pointer; transition: 0.3s; text-transform: uppercase;
    clip-path: polygon(8% 0,100% 0,100% 70%,92% 100%,0 100%,0 30%);
}
.btn-callback:hover { background: var(--green); color: var(--black); box-shadow: 0 0 15px var(--green); }
.burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; padding: 5px; }
.burger span { display: block; width: 28px; height: 2px; background: var(--green); transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu {
    position: fixed; inset: 0; background: rgba(20,21,29,0.97);
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
    z-index: 999; clip-path: circle(0% at calc(100% - 60px) 40px);
    transition: clip-path 0.55s cubic-bezier(.77,0,.175,1);
}
.nav-menu.active { clip-path: circle(150% at calc(100% - 60px) 40px); }
.nav-menu a {
    color: var(--white); text-decoration: none; font-family: var(--font-head);
    font-size: clamp(1.4rem,3vw,2.4rem); letter-spacing: 4px; position: relative; transition: color 0.3s;
}
.nav-menu a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--green); transition: width 0.3s; }
.nav-menu a:hover { color: var(--green); }
.nav-menu a:hover::after { width: 100%; }

/* HERO */
.hero {
    height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    position: relative; overflow: hidden; background: var(--black);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-content { text-align: center; z-index: 2; position: relative; max-width: 98vw;}
.hero-badge {
    display: inline-block; border: 1px dashed rgba(154,195,28,0.5);
    color: var(--green); font-family: var(--font-head);
    letter-spacing: 6px; font-size: .9rem; padding: 6px 18px; margin-bottom: 20px;
}
.hero-logo {
    font-size: clamp(4rem,2vw,9rem); color: var(--green);
    text-shadow: 0 0 30px rgba(154,195,28,0.5),0 0 80px rgba(154,195,28,0.2);
    line-height: 1; animation: pulse-glow 3s ease-in-out infinite;
}
.hero-slogan { font-family: var(--font-head); font-size: clamp(1rem,2vw,1.6rem); letter-spacing: 8px; color: rgba(255,255,255,0.7); margin-top: 10px; }
.hero-scroll {
    position: absolute; bottom: 40px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.4); font-family: var(--font-head); font-size: .8rem; letter-spacing: 3px;
    animation: bounce 2s ease-in-out infinite; z-index: 2;
}
.hero-scroll-line { width: 1px; height: 50px; background: linear-gradient(var(--green), transparent); }
@keyframes pulse-glow {
    0%,100% { text-shadow: 0 0 30px rgba(154,195,28,0.5),0 0 80px rgba(154,195,28,0.2); }
    50%      { text-shadow: 0 0 50px rgba(154,195,28,0.8),0 0 120px rgba(154,195,28,0.4); }
}
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* ABOUT */
.about { background: var(--white); color: var(--black); display: flex; flex-wrap: wrap; min-height: 500px; }
.about-text { flex: 1; min-width: 300px; padding: 8% 6%; display: flex; flex-direction: column; justify-content: center; }
.about-text h2 { font-size: clamp(2rem,4vw,3.5rem); color: var(--black); margin-bottom: 25px;}
.about-text .section-divider { margin: 12px 0 30px; }
.about-text p { font-size: 1.05rem; line-height: 1.9; color: #444; max-width: 500px; }
.about-img {
    flex: 2; min-width: 300px; min-height: 450px;
    background: url('./images/back-images-2.jpg') right/cover; position: relative;
}
.about-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(154,195,28,0.15),transparent); }

/* STATIONS */
.stations { background: var(--black); padding: 8% 5%; position: relative; overflow: hidden; }
.section-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }
.section-header h2 { font-size: clamp(1.2rem,3vw,3rem); color: var(--green); margin-bottom: 25px;}
.section-header p { color: #FFF; max-width: 75vw; margin: 18px auto 0; line-height: 1.7; }
.st-intro { display: flex; flex-wrap: wrap; gap: 50px; align-items: stretch; margin-bottom: 80px; position: relative; z-index: 2; }
.st-intro-img {
    flex: 1; min-width: 300px; min-height: 400px;
    background: url('./images/certs.jpg') center/contain no-repeat;
    clip-path: polygon(0 0,100% 0,95% 100%,0 100%); position: relative;
}
/*.st-intro-img::after { content: ''; position: absolute; inset: 0; border-bottom: 3px dashed var(--green); pointer-events: none; }*/
.st-intro-text { flex: 1; min-width: 280px; display: flex; flex-direction: column; justify-content: center; border: 3px dashed var(--green); padding: 25px;}
.st-intro-text h3 { color: var(--green); font-size: 2rem; margin-bottom: 16px; }
.st-intro-text p,
.low-station p { color: #bbb; line-height: 1.8; }
.low-station p {text-align: center;margin-bottom: 30px;}

/* Carousel */
.carousel-wrap { position: relative; padding-top: 40px; padding-bottom: 100px; z-index: 2; }
.carousel-track-outer { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.55s cubic-bezier(.77,0,.175,1); gap:20px;}
.c-slide {
    min-width: calc(50% - 12px);
    background: var(--dark-gray); border: 1px solid rgba(154,195,28,0.2);
    display: flex; flex-shrink: 0; transition: border-color 0.3s, box-shadow 0.3s;
}
.c-slide:hover { border-color: var(--green); box-shadow: 0 0 20px rgba(154,195,28,0.15); }
.c-slide-img { width: 40%; min-height: 280px; background-size: contain; background-position: center; flex-shrink: 0; 
margin: 10px; background-repeat: no-repeat;}
.c-slide-info { flex: 1; padding: 24px 20px; display: flex; flex-direction: column; justify-content: center; }
.c-slide-info h4 { color: var(--green); font-size: 1.3rem; margin-bottom: 16px; }
.c-slide-info table { width: 100%; border-collapse: collapse; }
.c-slide-info td { padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); font-size: .88rem; color: #bbb; }
.c-slide-info td:last-child { color: var(--green); text-align: right; }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 35px; }
.car-btn {
    width: 44px; height: 44px; background: transparent; border: 1px solid var(--green);
    color: var(--green); font-size: 1.2rem; cursor: pointer; transition: 0.3s;
    clip-path: polygon(0 0,80% 0,100% 20%,100% 100%,20% 100%,0 80%);
    display: flex; align-items: center; justify-content: center;
}
.car-btn:hover { background: var(--green); color: var(--black); box-shadow: 0 0 15px var(--green); }
.car-dots { display: flex; gap: 8px; }
.car-dot { width: 8px; height: 8px; background: rgba(255,255,255,0.2); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.car-dot.active { background: var(--green); box-shadow: 0 0 6px var(--green); }
.low-station { position: relative; z-index: 2; }
.low-station h3 { text-align: center; font-size: clamp(1.8rem,3vw,2.8rem); margin-bottom: 25px; }
.low-station-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.low-station-grid img { width: 100%; height: auto; object-fit: contain; border: 1px solid rgba(154,195,28,0.3); transition: border-color 0.3s, transform 0.3s; }
.low-station-grid img:hover { border-color: var(--green); transform: scale(1.02); }

/* HUBS */
.hubs-section { background: var(--mid-gray); position: relative; overflow: hidden; }
.hubs-header { text-align: center; padding: 8% 5% 60px; position: relative; z-index: 2; }
.hubs-header h2 { font-size: clamp(2rem,4vw,3.5rem); color: var(--green); margin-bottom: 30px;}
.hubs-grid { display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 2; }
.hub-item { position: relative; height: 560px; background-size: cover; background-position: center; overflow: hidden; }
.hub-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top,rgba(20,21,29,0.85) 0%,transparent 60%); transition: background 0.4s; }
.hub-item:hover::before { background: linear-gradient(to top,rgba(20,21,29,0.9) 0%,rgba(154,195,28,0.1) 100%); }
.hub-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 40px; transform: translateY(10px); transition: transform 0.4s; }
.hub-item:hover .hub-caption { transform: translateY(0); }
.hub-caption h3 { color: var(--green); font-size: 2rem; margin-bottom: 10px; }
.hub-caption p { color: #ccc; font-size: .95rem; line-height: 1.6; }

/* AI SYSTEMS */
.ai-section { background: var(--black); padding-top: 8%; padding-bottom: 8%; overflow: hidden; position: relative; }
.ai-section .section-header { padding: 0 5% 50px; }
.ai-carousel-wrap { position: relative; }
.ai-track-outer { overflow: hidden; touch-action: pan-y; }
.ai-track { display: flex; transition: transform 0.6s cubic-bezier(.77,0,.175,1); will-change: transform; }
.ai-card {
    min-width: 100%; height: clamp(400px,60vw,70vh);
    flex-shrink: 0; position: relative;
    background-size: cover; background-position: center;
    display: flex; align-items: center; padding: 0 10%;
}
.ai-card::before { content: ''; position: absolute; inset: 0; }
.ai-content { position: relative; z-index: 2; max-width: 520px; width: 100%; }
.ai-content h3 { font-size: clamp(1.2rem,2vw,4rem); color: var(--green); margin-bottom: 18px; }
.ai-content p { font-size: clamp(0.9rem,1.5vw,1.1rem); line-height: 1.7; color: #ccc; margin-bottom: 32px; }
.btn-order {
    background: var(--green); color: var(--black); padding: 12px 36px; border: none;
    font-family: var(--font-head); font-size: clamp(1rem,1.5vw,1.1rem); font-weight: 700;
    cursor: pointer; clip-path: polygon(0 0,88% 0,100% 50%,88% 100%,0 100%);
    transition: 0.3s; text-transform: uppercase; letter-spacing: 2px; display: inline-block;
}
.btn-order:hover { box-shadow: 0 0 25px var(--green); transform: translateX(4px); }

.before-10 {margin-top: 10px;}


.image-container {
  position: relative;
  display: inline-block;
  width: 100%;   
}

.image-container img {
  width: 100%;
  display: block; 
  height: auto;
}

.overlay-button {
  position: absolute;
  bottom: 25px;
  left: 25px;
}

.btn-full {clip-path: none;}
.btn-full:hover { box-shadow: 0 0 25px var(--green); transform: translatey(4px); }

.ai-nav { display: flex; justify-content: center; gap: 16px; margin-top: 24px; padding: 0 5%; }
.ai-nav button {
    width: 48px; height: 48px; background: rgba(20,21,29,0.7); border: 1px solid var(--green);
    color: var(--green); font-size: 1.4rem; cursor: pointer; transition: 0.3s; backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
}
.ai-nav button:hover { background: var(--green); color: var(--black); }
.ai-indicators { display: flex; justify-content: center; gap: 12px; margin-top: 20px; padding: 0 5%; }
.ai-ind { height: 3px; width: 40px; background: rgba(255,255,255,0.2); cursor: pointer; transition: 0.4s; }
.ai-ind.active { background: var(--green); box-shadow: 0 0 8px var(--green); width: 60px; }

/* 4ELEMENTS */
.elements {background: var(--light-gray); padding: 8% 5%; position: relative; overflow: hidden;
  background-color: #0b1d3a;
  background-image:
    radial-gradient(at 20% 20%, rgba(46, 204, 113, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 40%, rgba(0, 210, 255, 0.25) 0px, transparent 60%),
    radial-gradient(at 40% 85%, rgba(0, 114, 255, 0.3) 0px, transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(0deg, rgba(2, 8, 20, 0.6) 0%, rgba(11, 29, 58, 0) 100%);
    background-blend-mode: screen, normal, normal, overlay, normal; background-attachment: fixed;}
.ele-grid {display: flex; justify-content: space-around; align-items:flex-start;flex-wrap:wrap;width:100%;padding: 20px; gap: 40px;}
.ele-item {display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 160px; max-width: 220px; text-align: center;}
.ele-icon { width: 100px; height: 100px; background-color: #ffffff; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 8px 12px rgba(78, 172, 242, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ele-icon:hover { transform: translateY(-3px); box-shadow: 0 10px 12px rgba(255, 255, 255, 0.2);}
.ele-icon svg { width: 45px; height: 45px;}
.ele-title { font-size: 1.2rem; margin-top: 25px; margin-bottom: 8px; color: var(--green);}
.ele-comment { color: #ccc; font-size: .9rem; padding: 0 20px; line-height: 1.6; }

/* MARINA BACK */
.marinas { background: #092441; padding: 8% 0 0 0;position: relative; overflow: hidden;}
.marina-slider { position: relative; width: 100%; height: 75vh; overflow: hidden;}
.mslide {position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 2s ease-in-out; }
.mslide.m-active { opacity: 1;}
.marina-overlay {position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
.marina-logo { position: absolute; top: 20px; right: 20px; width: 300px; max-width: 95%;}
.marina-text {text-align: center;color: white;  margin:10%; padding: 30px;background-color: rgba(9,36,65,0.6);}

/* MOBILE MARINA*/
.mmarina { background: #092441; padding: 8% 0 0 0;position: relative; overflow: hidden;}
.mmarina-container {width: 100%;display: flex;flex-wrap: wrap;min-height: 500px;align-items: center;}
.mmarina-image {flex: 1;min-width: 300px;padding: 0;display: flex;flex-direction: column;justify-content: center;}
.mmarina-image img { width: 100%; height: auto; display: block; z-index: 1;}
.mmarina-list {flex: 2;min-width: 300px;position: relative;padding: 2%;}
.mmarina-list ul {list-style-type: none; padding: 30px;background-color: rgba(0,0,0,0.2);border-radius: 20px;}
.mmarina-list ul li {position: relative;color: #ccc;font-size: 1.2em;margin-bottom: 20px;padding-left: 30px;}
.mmarina-list ul li::before {content: "•"; color: var(--green);font-size: 2em;position: absolute;left: 0;top: -0.35em;}

/* LOCATIONS */
.locations { background: var(--dark-gray); padding: 8% 5%; position: relative; overflow: hidden; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(340px,1fr)); gap: 40px; margin-top: 60px; position: relative; z-index: 2; }
.loc-card { background: var(--black); border-top: 2px dashed rgba(154,195,28,0.5); padding: 0 0 24px; transition: transform 0.3s; }
.loc-card:hover { transform: translateY(-6px); }
.overlap-gallery { position: relative; height: 240px; margin-bottom: 24px; }
.overlap-gallery img { position: absolute; object-fit: cover; border: 2px solid var(--black); transition: transform 0.4s; }
.overlap-gallery img:nth-child(1) { width: 60%; height: 75%; top: 0; left: 0; z-index: 3; }
.overlap-gallery img:nth-child(2) { width: 50%; height: 65%; top: 15%; right: 0; z-index: 2; }
.overlap-gallery img:nth-child(3) { width: 45%; height: 55%; bottom: 0; left: 25%; z-index: 1; }
.overlap-gallery:hover img:nth-child(1) { transform: translate(-4px,-4px) scale(1.03); }
.overlap-gallery:hover img:nth-child(2) { transform: translate(4px,-4px) scale(1.03); }
.overlap-gallery:hover img:nth-child(3) { transform: translateY(4px) scale(1.03); }
.loc-card h4 { font-size: 1.6rem; padding: 0 20px; margin-bottom: 10px; }
.loc-card p { color: #888; font-size: .9rem; padding: 0 20px; line-height: 1.6; }

/* CLIENTS — WHITE */
.clients { background: var(--white); padding: 8% 5%; text-align: center; }
.clients .clients-grid img {max-width: 98vw; height: auto;}
.clients .section-header h2 { color: var(--black); }
.clients-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 50px; }
.client-logo {
    width: 148px; height: 76px; background: rgba(20,21,29,0.05);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(20,21,29,0.15); font-family: var(--font-head);
    font-size: .95rem; letter-spacing: 2px; color: #999; transition: 0.3s;
    clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
}
.client-logo:hover { background: rgba(154,195,28,0.08); color: var(--black); border-color: var(--green); box-shadow: 0 0 12px rgba(154,195,28,0.2); }

/* CONTACTS */
.contacts { background: var(--mid-gray); display: flex; flex-wrap: wrap; position: relative; overflow: hidden; }
.contact-info { flex: 1; min-width: 300px; padding: 8% 5%; position: relative; z-index: 2; }
.contact-info h2 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 40px; }
.info-line { margin-bottom: 20px; font-size: 1rem; display: flex; align-items: flex-start; gap: 10px; }
.info-icon { color: var(--green); font-family: var(--font-head); font-weight: 700; min-width: 26px; padding-top: 1px; }
.socials { margin-top: 40px; display: flex; gap: 12px; }
.socials a {
    width: 42px; height: 42px; border: 1px dashed var(--green);
    display: flex; align-items: center; justify-content: center;
    color: var(--green); text-decoration: none; font-family: var(--font-head);
    font-size: .85rem; border-radius: 50%; transition: 0.3s;
}
.socials a:hover { background: var(--green); color: var(--black); box-shadow: 0 0 10px var(--green); }
.contact-form {
    flex: 1; min-width: 300px; padding: 8% 5%;
    background: linear-gradient(rgba(30,31,43,0.88),rgba(30,31,43,0.88));
    display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2;
}
.form-group { margin-bottom: 28px; position: relative; }
.form-group input[type="text"] {
    width: 100%; background: transparent; border: none;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding: 10px 0; color: var(--white); font-size: 1rem; outline: none; transition: 0.3s;
}
.form-group input:focus { border-bottom-color: var(--green); }
.form-group label { position: absolute; top: 10px; left: 0; color: #666; font-size: .9rem; transition: 0.3s; pointer-events: none; }
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label { top: -14px; font-size: .75rem; color: var(--green); }
.checkbox-group { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 30px; font-size: .88rem; color: #888; line-height: 1.5; }
.checkbox-group input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--green); margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.checkbox-group a { color: var(--green); text-decoration: none; }
.btn-send {
    background: transparent; border: 2px solid var(--green); color: var(--green);
    padding: 15px 0; width: 100%; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
    cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 3px;
    position: relative; overflow: hidden;
}
.btn-send::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--green); transition: left 0.35s ease; z-index: 0; }
.btn-send:hover::before { left: 0; }
.btn-send span { position: relative; z-index: 1; }
.btn-send:hover span { color: var(--black); }


/*POPUP*/
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-content {
    background: var(--black);
    padding: 25px;
    margin: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-width: 280px;
    border: 3px dashed var(--green);
}
.popup-content button {
    margin-top: 15px;
    padding: 8px 25px;
    cursor: pointer;
}

/* Full screen fixed container layer */
.full-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    border: 3px dashed var(--green);
}

/* The primary internal layout block */
.full-popup-container {
    width: 100%;
    height: 100%;
    background-color: var(--dark-gray);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #FFFFFF;
}


/* Fixed Header Panel */
.full-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}
.full-popup-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}
.close-icon-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    color: #9ca3af;
}

.full-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    line-height: 1.6;
}
.full-popup-body h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.full-popup-body p {
    margin-bottom: 8px;
}

/* Fixed Action Row Footer */
.full-popup-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--green);
}

/* Controls Components styling */
.full-popup-footer button {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}


/* FOOTER */
footer {
    background: var(--black); padding: 22px 5%;
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(154,195,28,0.2); flex-wrap: wrap; gap: 16px;
}
.foot-logo { color: var(--green); font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: 3px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: #555; text-decoration: none; font-size: .85rem; font-family: var(--font-head); letter-spacing: 1px; transition: color 0.3s; }
.foot-links a:hover { color: var(--green); }
.foot-copy { color: #444; font-size: .8rem; }
.foot-copy a { color: var(--green); text-decoration: none; }

@media (max-width: 960px) {
    .hubs-grid { grid-template-columns: 1fr; }
    .hub-item { height: 420px; }
    .c-slide { width: calc(100% - 2px);}
    .low-station-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero-logo { font-size: 50px;}
  .hero-slogan { letter-spacing: 2px; }
}

@media (max-width: 640px) {
    .c-slide { width: calc(100% - 2px);}
    .header-right .phone, .header-right .btn-callback { display: none; }
    .loc-grid { grid-template-columns: 1fr; }
    .ai-card { padding: 0 6%; width: 100vw;}
    footer { flex-direction: column; text-align: center; }
    .foot-links { justify-content: center; }
}

@media (max-width: 600px) {
  .hero-logo { font-size: 24px;}
  .hero-slogan { letter-spacing: 2px; font-size: 9px; }
  .hero-badge {font-size:12px;}
  .c-slide-img { width: 25%;}
  .c-slide-info table { width: 85%;}
  .ai-content { width: 80%;}
  .ai-card { height: 580px;background-position: right;}
  .mmarina-container {flex-direction: column-reverse;}
  .mmarina-image {width: 100%;}
  .mmarina-image img {width: 92%}
  .mmarina-list {padding: 2% 8%;}
  .mmarina-list ul li {font-size: 1.0em;}
  .mmarina .section-header { margin-bottom: 30px;}
  .marina-text {margin-top: 100px;}
  .marina-slider { height: 100vh;}
  .marina-logo { transform: translateX(-50%); left: 50%;}
}

