:root { 
    --brand: #195c4b; 
    --white: #ffffff; 
    --dark: #1a1a1a; 
    --grey: #f8faf9; 
    --heading-font: 'Grifter Bold', 'Bacalisties', 'Avenir', 'Montserrat', sans-serif; 
    --sans: 'Montserrat', 'Avenir', sans-serif; 
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

img { max-width: 100%; height: auto; display: block; }

body { 
    margin: 0; padding: 0; overflow-x: hidden; font-family: var(--sans); color: var(--dark); line-height: 1.6; 
    background-color: var(--white);
    background-image: radial-gradient(rgba(25, 92, 75, 0.04) 2px, transparent 2px);
    background-size: 30px 30px;
}

.site-header { position: fixed; top: 0; width: 100%; z-index: 1000; transition: 0.5s ease-in-out; padding: 25px 5%; display: flex; justify-content: space-between; align-items: center; background: transparent; }
.site-header.scrolled, .site-header.internal { background: var(--brand); padding: 15px 5%; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.logo img { height: 50px; transition: 0.3s; z-index: 1100; position: relative; }
.main-nav ul { list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: white; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; transition: 0.3s; position: relative; font-family: var(--sans); }
.main-nav a::after { content: ''; position: absolute; width: 0; height: 1px; background: white; bottom: -5px; left: 0; transition: 0.3s; }
.main-nav a:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1100; padding: 10px; }
.hamburger span { display: block; width: 28px; height: 2px; background: white; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; color: white; text-align: center; overflow: hidden; background-size: cover; background-position: center; background-attachment: fixed; }
.hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -2; transform: translateX(-50%) translateY(-50%); object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(25,92,75,0.4), rgba(25,92,75,0.8)); z-index: -1; }
h1 { font-family: var(--heading-font); font-size: clamp(2.5rem, 6vw, 4.5rem); text-transform: uppercase; margin: 0; letter-spacing: 2px; }

.parallax-divider { height: 50vh; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; display: flex; align-items: center; justify-content: center; position: relative; margin: 60px 0; }
.parallax-divider::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 26, 26, 0.6); z-index: 1; }
.parallax-divider h2 { position: relative; z-index: 2; color: var(--white); font-size: clamp(2rem, 4vw, 3.5rem); text-align: center; margin: 0; text-transform: uppercase; letter-spacing: 3px; font-family: var(--heading-font); }

.btn { display: inline-block; padding: 15px 35px; border: 1px solid var(--brand); color: var(--brand); text-decoration: none; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); margin-top: 20px; position: relative; overflow: hidden; z-index: 1; background: transparent; font-family: var(--sans); font-weight: 600; }
.btn::before { content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%; background: var(--brand); transition: 0.4s; z-index: -1; }
.btn:hover::before { width: 100%; }
.btn:hover { color: white; border-color: var(--brand); }
.btn-hero { color: white; border-color: white; margin-top: 40px; }
.btn-hero::before { background: white; }
.btn-hero:hover { color: var(--brand); border-color: white; }

.section { padding: 120px 8%; max-width: 1400px; margin: auto; }
.section[style*="background-color: var(--grey)"] { background: linear-gradient(135deg, var(--grey) 0%, #eef3f1 100%); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
h2 { font-family: var(--heading-font); color: var(--brand); font-size: 3.5rem; line-height: 1.1; margin-top: 0; }
h3 { font-family: var(--heading-font); color: var(--brand); font-size: 2rem; margin-bottom: 15px; }
.subtitle { color: var(--brand); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; font-size: 0.85rem; display: block; margin-bottom: 10px; font-family: var(--sans); }

.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
@media (min-width: 901px) { .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; } }

.gallery-grid img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.4s ease; cursor: zoom-in; }
.gallery-grid img:hover { transform: scale(1.03); z-index: 2; position: relative; box-shadow: 0 10px 25px rgba(25, 92, 75, 0.2); }
.img-zoom { overflow: hidden; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); background-color: white; }
.img-zoom img { width: 100%; display: block; transition: transform 0.7s ease; cursor: zoom-in; }
.img-zoom:hover img { transform: scale(1.05); }

.stats-container { display: flex; justify-content: space-around; flex-wrap: wrap; background: var(--brand); color: white; padding: 60px 8%; margin-top: 60px; border-radius: 4px; }
.stat-box { text-align: center; margin: 20px; }
.stat-box span { font-family: var(--heading-font); font-size: 4rem; display: inline-block; margin-bottom: 10px; font-weight: bold; }
.stat-box p { text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin: 0; font-family: var(--sans); font-weight: 600; }

.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 60px; }
.tech-card { background: white; padding: 50px 40px; text-align: center; border: 1px solid #eee; border-radius: 4px; transition: 0.4s; position: relative; top: 0; }
.tech-card:hover { top: -15px; box-shadow: 0 30px 60px rgba(25, 92, 75, 0.1); border-color: var(--brand); }
.tech-card img { width: 80px; height: 80px; background-color: var(--brand); padding: 20px; border-radius: 50%; margin: 0 auto 25px auto; transition: 0.4s; box-shadow: 0 10px 20px rgba(25, 92, 75, 0.2); object-fit: contain; }
.tech-card:hover img { transform: scale(1.1) translateY(-5px); box-shadow: 0 15px 30px rgba(25, 92, 75, 0.4); }

.grid-3x3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.plan-card { background: var(--white); border: 1px solid #eee; border-radius: 4px; padding: 30px; text-align: center; transition: all 0.4s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.plan-card:hover { transform: translateY(-10px); border-color: var(--brand); box-shadow: 0 20px 40px rgba(25, 92, 75, 0.1); }
.plan-card img { width: 100%; height: auto; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; transition: transform 0.4s ease; cursor: zoom-in; background-color: white; margin-left: auto; margin-right: auto; }
.plan-card:hover img { transform: scale(1.05); }
.plan-card h4 { font-family: var(--heading-font); font-size: 1.5rem; color: var(--brand); margin: 0 0 10px 0; }
.badge { display: inline-block; background: var(--grey); color: var(--brand); font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; padding: 5px 15px; border-radius: 50px; margin-bottom: 15px; text-transform: uppercase; font-family: var(--sans); }

.video-container { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px rgba(25, 92, 75, 0.2); background-color: #000; }
.video-container video { width: 100%; display: block; }

input, textarea { width: 100%; padding: 15px; border: 1px solid #ccc; font-family: var(--sans); border-radius: 4px; margin-bottom: 20px; background-color: rgba(255,255,255,0.9); }
button { width: 100%; background: var(--brand); color: white; border: none; padding: 15px 40px; font-size: 1rem; cursor: pointer; text-transform: uppercase; font-family: var(--sans); letter-spacing: 1px; transition: 0.3s; border-radius: 4px; font-weight: 600; }
button:hover { background: #124538; }

.site-footer { background: var(--brand); color: white; padding: 100px 8% 40px; margin-top: 80px; font-family: var(--sans); }
.footer-inner { max-width: 1300px; margin: auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-logo img { height: 60px; filter: brightness(0) invert(1); margin-bottom: 25px; transition: 0s; }
.site-footer a { color: white; text-decoration: none; opacity: 0.8; transition: 0.3s; display: block; margin-bottom: 10px; }
.site-footer a:hover { opacity: 1; margin-left: 5px; }

#lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
#lightbox.active { opacity: 1; pointer-events: auto; }
#lightbox img { max-width: 90%; max-height: 90vh; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); object-fit: contain; background-color: white; margin: auto; }
#lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer; font-family: var(--sans); transition: 0.3s; }
#lightbox-close:hover { color: var(--brand); transform: scale(1.1); }

.footer-inner { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px; 
}

.cky-preference-center .cky-accordion-header,
.cky-preference-center .cky-accordion-btn {
    justify-content: flex-start !important;
    text-align: left !important;
}

.cky-preference-center .cky-accordion-title {
    text-align: left !important;
}

.cky-modal,
.cky-preference-center,
.cky-preference-wrapper,
.cky-preference-body-wrapper,
.cky-preference-content {
    overscroll-behavior: none !important;
    -webkit-overscroll-behavior: none !important;
}

body.cky-modal-open {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none !important;
}

@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; text-align: left; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr; text-align: left; gap: 40px; }
    
    .grid-3x3 { grid-template-columns: 1fr; text-align: center; }
    
    .hero { background-attachment: scroll; }
    .parallax-divider { background-attachment: scroll; }
    
    .hamburger { display: flex; }
    
    .main-nav { 
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; 
        background: var(--brand); display: flex; align-items: center; justify-content: center; 
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1050; 
        visibility: visible; will-change: right; 
    }
    .main-nav.active { right: 0; }
    .main-nav ul { flex-direction: column; gap: 40px; text-align: center; padding: 0; }
    .main-nav a { font-size: 1.5rem; font-family: var(--heading-font); }

    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}