/*
Theme Name: OPTEAM Construct
Theme URI: https://opteamconstruct.ro
Author: OPTEAM CONSTRUCT SRL
Description: Tema WordPress custom pentru OPTEAM CONSTRUCT SRL — Inginerie Geotehnică Aplicată și Sistematizare Verticală. Compatibilă WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: opteam-construct
Tags: dark, industrial, construction, woocommerce, custom-header
WooCommerce: 9.0
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --bg-primary: #0A0E17;
    --bg-secondary: #0F1923;
    --bg-tertiary: #141E2B;
    --bg-card: rgba(15, 25, 40, 0.65);
    --bg-overlay: rgba(15, 44, 76, 0.60);
    --text-primary: #F0F2F5;
    --text-secondary: #A8B5C8;
    --text-muted: #6B7D95;
    --accent-gold: #F2B705;
    --accent-gold-hover: #D9A204;
    --accent-gold-glow: rgba(242, 183, 5, 0.25);
    --accent-amber: #F59E0B;
    --navy-deep: #0F2C4C;
    --navy-medium: #1A3A5C;
    --navy-light: #24506E;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(242, 183, 5, 0.3);
    --glass-bg: rgba(15, 25, 40, 0.55);
    --glass-blur: 20px;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 24px rgba(242, 183, 5, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-heading: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
    --text-success: #4CAF50;
    --error-color: #ef4444;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    /* Footer Sticky Fix */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* PERFORMANCE OPTIMIZATION: Fixed Background Layer */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fallback */
    height: 100vh;
    z-index: -10;
    pointer-events: none;
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 50% 50%, rgba(20, 30, 48, 0.4) 0%, transparent 80%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Replaces background-attachment: fixed with better performance */
    will-change: transform;
}

@media (max-width: 1024px) {

    /* On mobile, use a simpler background to save GPU power */
    body::before {
        background-image: radial-gradient(circle at 50% 50%, rgba(20, 30, 48, 0.4) 0%, transparent 80%);
        /* Removed noise SVG filter for mobile */
    }

    /* Targeted mobile performance resets */
    .bg-orb,
    .hero-geo-shape,
    .hero-scan-line,
    .hero-radial-glow {
        animation: none !important;
        filter: none !important;
        backdrop-filter: none !important;
    }

    /* 2. Simplify hero background on mobile */
    .hero-radial-glow {
        width: 400px;
        height: 400px;
        animation: none;
        opacity: 0.5;
    }
}

/* ============================================
   SCROLL PERFORMANCE MODE (Jank Removal)
   ============================================ */
/* When scrolling, disable expensive filters */
html.is-scrolling .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(10, 14, 23, 0.98) !important;
    /* Solid fallback */
    box-shadow: none !important;
    transition: none !important;
}

html.is-scrolling .bg-orb {
    filter: blur(40px) !important;
    /* Reduce blur radius */
    opacity: 0.2 !important;
    transition: none !important;
}

html.is-scrolling * {
    pointer-events: none;
    /* Optional: Disable hovers during scroll */
    user-select: none;
}

/* Re-enable pointer events for scrollbar */
html.is-scrolling body {
    pointer-events: auto;
}

/* Background Animation Container */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 20s infinite ease-in-out;
}

.bg-orb-1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(242, 183, 5, 0.08);
    animation-duration: 25s;
}

.bg-orb-2 {
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: rgba(15, 44, 76, 0.15);
    animation-duration: 30s;
    animation-delay: -5s;
}

.bg-orb-3 {
    top: 60%;
    left: 40%;
    width: 200px;
    height: 200px;
    background: rgba(242, 183, 5, 0.05);
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -50px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

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

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Cursor normal — custom cursor eliminat */

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
/* Top Bar (PNRR) */
.top-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-glass);
    padding: 8px 0;
    text-align: center;
    position: relative;
    z-index: 1001;
    /* Above header */
}

.top-bar img {
    height: 28px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

/* Header / Navigation */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: background var(--transition-medium), box-shadow var(--transition-medium), backdrop-filter var(--transition-medium);
}

.site-header.header--scrolled {
    background: var(--bg-primary);
    /* Solid fallback */
    box-shadow: 0 1px 0 var(--border-glass), 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1024px) {
    .site-header.header--scrolled {
        background: rgba(10, 14, 23, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 var(--border-glass), var(--shadow-soft);
    }
}

/* =========================================
   HOMEPAGE HEADER OVERLAY
   ========================================= */
body.home .site-header {
    background: rgba(10, 14, 23, 0.5) !important;
    /* Semi-transparent instead of fully transparent */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    body.home .site-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(10, 14, 23, 0.95) !important;
        /* Solid fallback */
    }
}

body.home .site-header.header--scrolled {
    background: rgba(10, 14, 23, 0.95) !important;
    box-shadow: 0 1px 0 var(--border-glass), var(--shadow-soft) !important;
}

body.home .hero-section {
    margin-top: calc(var(--header-height) * -1);
    padding-top: 180px;
    /* Header (80) + Extra spacing for visual balance */
}

/* =========================================
   PNRR FOOTER NOTICE
   ========================================= */
.footer-pnrr {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border-glass);
    color: #fff;
}

.pnrr-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.pnrr-links {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.pnrr-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
}

.pnrr-links a:hover {
    color: var(--accent-gold);
}

.pnrr-links .separator {
    margin: 0 10px;
    color: var(--accent-gold);
}

.pnrr-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gold);
    width: 0%;
    transition: width 0.1s linear;
    z-index: 1002;
    box-shadow: 0 0 10px var(--accent-gold-glow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 32px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* PNRR Logo inside Header Removed - Moved to Top Bar */

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.site-logo .logo-accent {
    color: var(--accent-gold);
}

.site-logo img {
    height: 42px;
    width: auto;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--text-secondary);
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width var(--transition-medium);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Nav item wrapper (only for items with dropdowns) */
.nav-item {
    position: relative;
}
.nav-item.has-dropdown {
    display: flex;
    align-items: center;
}

/* Dropdown arrow icon */
.nav-arrow {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    transition: transform var(--transition-fast);
}
.nav-item.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown container */
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 200px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-strong);
    z-index: 200;
}
.nav-item.has-dropdown:hover .nav-dropdown {
    display: block;
}

/* Sub-menu links */
.nav-sub-link {
    display: block;
    padding: 10px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
    text-decoration: none;
}
.nav-sub-link:hover,
.nav-sub-link.active {
    background: rgba(242, 183, 5, 0.08);
    color: var(--text-primary);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.cart-icon:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(242, 183, 5, 0.06);
}

.cart-icon svg {
    width: 18px;
    height: 18px;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-account {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-account:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(242, 183, 5, 0.06);
}

.btn-account svg {
    width: 16px;
    height: 16px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
/* ============================================
   HERO SECTION (DIGITAL GEOTECHNICS REWRITE)
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full viewport height */
    min-height: 700px;
    display: flex;
    align-items: flex-start;
    /* Move content to top */
    justify-content: center;
    overflow: hidden;

    /* Pull up under the header */
    margin-top: calc(var(--header-height) * -1);
    /* Push content down to desired position (higher than center) */
    /* Push content down to desired position (higher than center) */
    padding-top: 80px;

    background-color: var(--bg-primary);
    /* Ensure base color match */
}

/* Hero Animated Background (CSS-only) */
.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Topographic grid lines */
.hero-grid-topo {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(242, 183, 5, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 183, 5, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(242, 183, 5, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 183, 5, 0.02) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    animation: gridDrift 30s linear infinite;
}

@keyframes gridDrift {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100px, -100px); }
}

/* Central radial glow */
.hero-radial-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(242, 183, 5, 0.12) 0%, rgba(15, 44, 76, 0.08) 40%, transparent 70%);
    animation: glowBreathe 6s ease-in-out infinite alternate;
}

@keyframes glowBreathe {
    from { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
    to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.1); }
}

/* Horizontal scan line */
.hero-scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(242, 183, 5, 0.4) 50%, transparent 100%);
    box-shadow: 0 0 12px rgba(242, 183, 5, 0.3);
    animation: scanSweep 8s ease-in-out infinite;
}

@keyframes scanSweep {
    0%   { top: 10%; opacity: 0; }
    10%  { opacity: 0.8; }
    90%  { opacity: 0.8; }
    100% { top: 85%; opacity: 0; }
}

/* Floating geometric shapes */
.hero-geo-shape {
    position: absolute;
    border: 1px solid rgba(242, 183, 5, 0.15);
    opacity: 0;
    animation: geoFloat 12s ease-in-out infinite;
}

.hero-geo-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    border-radius: 50%;
    animation-delay: 0s;
    animation-duration: 14s;
}

.hero-geo-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 12%;
    transform: rotate(45deg);
    animation-delay: 3s;
    animation-duration: 16s;
}

.hero-geo-3 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 20%;
    border-radius: 8px;
    animation-delay: 6s;
    animation-duration: 12s;
}

.hero-geo-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 20%;
    border-radius: 50%;
    border-style: dashed;
    animation-delay: 2s;
    animation-duration: 18s;
}

@keyframes geoFloat {
    0%   { opacity: 0;   transform: translateY(0) rotate(0deg); }
    20%  { opacity: 0.5; }
    50%  { opacity: 0.3; transform: translateY(-30px) rotate(90deg); }
    80%  { opacity: 0.5; }
    100% { opacity: 0;   transform: translateY(0) rotate(180deg); }
}

@media (max-width: 768px) {
    .hero-geo-shape { display: none; }
    .hero-scan-line { display: none; }
    .hero-grid-topo { background-size: 60px 60px, 60px 60px, 20px 20px, 20px 20px; }
}

/* Gradient Mask (Smooth Transition to Content) */
.hero-gradient-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 90%);
    z-index: 2;
    pointer-events: none;
}

/* HUD Layer */
.hero-hud-layer {
    position: absolute;
    inset: 30px;
    /* Margin from edges */
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through */
}

@media (max-width: 768px) {
    .hero-hud-layer {
        inset: 15px;
    }
}

.hud-corner {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hud-corner.top-left {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent-gold);
    border-left: 2px solid var(--accent-gold);
    width: 40px;
    height: 40px;
}

.hud-corner.top-right {
    top: -1px;
    right: -1px;
    border-top: 2px solid var(--accent-gold);
    border-right: 2px solid var(--accent-gold);
    width: 40px;
    height: 40px;
    align-items: flex-end;
}

.hud-corner.bottom-left {
    bottom: -1px;
    left: -1px;
    border-bottom: 2px solid var(--accent-gold);
    border-left: 2px solid var(--accent-gold);
    width: 40px;
    height: 40px;
}

.hud-corner.bottom-right {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--accent-gold);
    border-right: 2px solid var(--accent-gold);
    width: 40px;
    height: 40px;
    align-items: flex-end;
}

.hud-coord,
.hud-status,
.hud-label {
    position: absolute;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--accent-gold);
    opacity: 0.7;
    white-space: nowrap;
}

.top-left .hud-coord {
    top: 10px;
    left: 10px;
}

.top-right .hud-coord {
    top: 10px;
    right: 10px;
}

.top-right .hud-status {
    top: 24px;
    right: 10px;
    color: var(--text-success);
}

.bottom-right .hud-label {
    bottom: 10px;
    right: 10px;
}

.hud-v-line {
    position: absolute;
    top: 20%;
    left: 40px;
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(242, 183, 5, 0.3), transparent);
}

.hud-grid-dots {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 60px;
    height: 20px;
    background-image: radial-gradient(var(--accent-gold) 1px, transparent 1px);
    background-size: 4px 4px;
    opacity: 0.3;
}

/* Content Styles */
.hero-content {
    position: relative;
    z-index: 15;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-label-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.hero-label-text {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-label-line {
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.5;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
    line-height: 1.05;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Improve readability over wireframe */
}

.hero-content h1 .highlight {
    color: var(--accent-gold);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.tech-accent {
    font-family: monospace;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 8px;
    opacity: 0.6;
}

/* Actions */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-cta {
    position: relative;
    overflow: hidden;
    padding: 18px 42px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
    border: none;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(242, 183, 5, 0.4);
    background: var(--accent-amber);
}

.hero-tech-specs {
    display: flex;
    gap: 20px;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

/* Scroll Tech Indicator */
.scroll-indicator-tech {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.scroll-text {
    font-family: monospace;
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    animation: scrollPulse 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ============================================
   SECTION — CINE SUNTEM
   ============================================ */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 16px;
    position: relative;
    padding: 0 20px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.4;
}

.section-label::before {
    right: 100%;
}

.section-label::after {
    left: 100%;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Text */
.about-text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 2;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    position: relative;
    text-align: center;
    padding: 40px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(242, 183, 5, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-suffix {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   SECTION — CUM VENIM ÎN AJUTOR (Bento Grid)
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    /* 2 rows explicitly or auto */
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    padding: 36px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-medium);
    transform-style: preserve-3d;
    cursor: default;
    /* Default span 1 */
    grid-column: span 1;
}

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

.bento-card.span-3 {
    grid-column: span 3;
}

/* Mobile responsive for grid */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.span-2,
    .bento-card.span-3 {
        grid-column: span 1;
    }
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(242, 183, 5, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.bento-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold), 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-6px);
}

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

.bento-card.premium {
    border-color: rgba(242, 183, 5, 0.2);
    background: linear-gradient(145deg, rgba(242, 183, 5, 0.06) 0%, var(--glass-bg) 40%);
}

.bento-card.premium::before {
    content: 'PREMIUM';
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-gold);
    background: rgba(242, 183, 5, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(242, 183, 5, 0.2);
    z-index: 1;
}

.bento-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(242, 183, 5, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-gold);
    position: relative;
    z-index: 1;
}

.bento-icon svg {
    width: 24px;
    height: 24px;
}

.bento-problem {
    font-size: 0.82rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.bento-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.bento-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ============================================
   SECTION — CUM LUCRĂM (Timeline + Beneficii)
   ============================================ */
.workflow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-gold), var(--navy-light), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-gold);
    z-index: 1;
}

.timeline-item.active .timeline-dot {
    background: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(242, 183, 5, 0.3);
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Benefits */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
}

.benefit-card:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
    box-shadow: var(--shadow-gold);
}

.benefit-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(242, 183, 5, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
}

.benefit-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.benefit-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SECTION — PROIECTE REPREZENTATIVE
   ============================================ */
.ot-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .ot-projects-grid {
        grid-template-columns: 1fr;
    }
}

.ot-project-card {
    position: relative;
    padding: 32px 28px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-medium);
    overflow: hidden;
}

.ot-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.ot-project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ot-project-card:hover::before {
    opacity: 1;
}

.ot-project-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(242, 183, 5, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.ot-project-icon svg {
    width: 22px;
    height: 22px;
}

.ot-project-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    background: rgba(242, 183, 5, 0.08);
    border: 1px solid rgba(242, 183, 5, 0.15);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.ot-project-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.ot-project-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.ot-project-stats {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
}

.ot-project-stat strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.2;
}

.ot-project-stat span {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   SECTION — CTA FINAL
   ============================================ */
.ot-cta-section {
    padding: 80px 0 120px;
}

.ot-cta-card {
    position: relative;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(242, 183, 5, 0.2);
    background: linear-gradient(145deg, rgba(242, 183, 5, 0.06) 0%, var(--glass-bg) 40%);
    overflow: hidden;
    padding: 80px 48px;
    text-align: center;
}

.ot-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ot-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatOrb 20s infinite ease-in-out;
}

.ot-cta-orb-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -80px;
    background: rgba(242, 183, 5, 0.12);
    animation-duration: 18s;
}

.ot-cta-orb-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -60px;
    background: rgba(15, 44, 76, 0.2);
    animation-duration: 22s;
    animation-delay: -6s;
}

.ot-cta-inner {
    position: relative;
    z-index: 1;
}

.ot-cta-inner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.ot-cta-inner p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.ot-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ot-cta-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.ot-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ot-trust-item svg {
    color: var(--accent-gold);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .ot-cta-card {
        padding: 48px 24px;
    }

    .ot-cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 0;
    position: relative;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(242, 183, 5, 0.06);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid var(--border-glass);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-fiscal {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* footer-legal-logos — see definitive rules below (~line 3234) */

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   WOOCOMMERCE COMPATIBILITY
   ============================================ */
.woocommerce-page .site-content,
.woocommerce .site-content {
    padding-top: calc(var(--header-height) + 40px);
    min-height: 60vh;
}

.woocommerce .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
}

.woocommerce ul.products li.product {
    background: var(--glass-bg);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all var(--transition-medium);
}

.woocommerce ul.products li.product:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold);
}

.woocommerce ul.products li.product .price {
    color: var(--accent-gold) !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--accent-gold) !important;
    color: var(--bg-primary) !important;
    border: 2px solid var(--accent-gold) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 700 !important;
    transition: all var(--transition-medium) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: transparent !important;
    color: var(--accent-gold) !important;
}

/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-slide img {
        transform: none !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .stagger-children>* {
        opacity: 1 !important;
        transform: none !important;
    }

}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-card:nth-child(1),
    .bento-card:nth-child(4) {
        grid-column: span 1;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 23, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        font-size: 1.4rem;
        font-weight: 600;
    }

    .menu-toggle {
        display: flex;
    }

    .header-right .btn-account span {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section {
        padding: 80px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .bento-card:nth-child(1),
    .bento-card:nth-child(4) {
        grid-column: span 1;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .pnrr-logo {
        height: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .btn-cta {
        padding: 14px 28px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

/* ============================================
   13. CONTACT PAGE
   ============================================ */
.ot-contact-wrap {
    padding-top: clamp(120px, 14vw, 160px);
    padding-bottom: 80px;
}

.ot-contact-hero {
    text-align: center;
    margin-bottom: 60px;
}

.ot-contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.ot-contact-hero p {
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.ot-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

@media (max-width: 900px) {
    .ot-contact-grid {
        grid-template-columns: 1fr;
    }
}

.ot-glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: border-color var(--transition-fast);
}

.ot-glass-card:hover {
    border-color: var(--border-hover);
}

.ot-glass-card h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--accent-gold);
}

.ot-form-group {
    margin-bottom: 18px;
}

.ot-form-group label {
    display: block;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.ot-input {
    width: 100%;
    background: rgba(10, 14, 23, 0.8);
    border: 1px solid rgba(242, 183, 5, 0.12);
    padding: 12px 16px;
    border-radius: 16px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ot-input:focus {
    border-color: rgba(242, 183, 5, 0.5);
    background: rgba(10, 14, 23, 0.95);
    box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.1);
    outline: none;
}

textarea.ot-input {
    resize: vertical;
    min-height: 100px;
    border-radius: 16px;
}

.ot-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media(max-width: 600px) {
    .ot-form-row {
        grid-template-columns: 1fr;
    }
}

.ot-btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
    color: var(--bg-primary);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    margin-top: 10px;
}

.ot-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.ot-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-glass);
}

.ot-info-item:last-child {
    border-bottom: none;
}

.ot-info-item svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--accent-gold);
}

.ot-info-item strong {
    color: #fff;
    display: block;
}

.ot-info-item span,
.ot-info-item a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.ot-info-item a:hover {
    color: var(--accent-gold);
}

.ot-map-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    margin-top: 20px;
}

.ot-map-card iframe {
    width: 100%;
    height: 250px;
    border: 0;
    display: block;
    filter: brightness(0.75) contrast(1.1) saturate(0.3);
}

.ot-calendar {
    margin-top: 24px;
}

.ot-calendar h4 {
    font-size: 1rem;
    margin-bottom: 14px;
    color: var(--accent-gold);
}

.ot-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
    font-size: 0.82rem;
}

.ot-cal-head {
    font-weight: 700;
    color: var(--text-secondary);
    padding: 6px 0;
}

.ot-cal-day {
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    background: rgba(10, 14, 23, 0.5);
    color: var(--text-secondary);
}

.ot-cal-day.available {
    background: rgba(242, 183, 5, 0.08);
    color: #fff;
    border: 1px solid rgba(242, 183, 5, 0.2);
}

.ot-cal-day.today {
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 700;
}

.ot-cal-day.empty {
    background: transparent;
}

.ot-cal-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.ot-cal-legend span::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    margin-right: 5px;
    vertical-align: middle;
}

.ot-cal-legend .leg-available::before {
    background: rgba(242, 183, 5, 0.3);
}

.ot-cal-legend .leg-today::before {
    background: var(--accent-gold);
}

.ot-success-msg {
    background: rgba(80, 255, 160, 0.08);
    border: 1px solid rgba(80, 255, 160, 0.25);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    color: #fff;
}

/* ============================================
   14. LEGAL PAGES (GDPR, T&C)
   ============================================ */
.ot-legal-wrap {
    padding-top: clamp(120px, 14vw, 160px);
    padding-bottom: 80px;
}

.ot-legal-hero {
    text-align: center;
    margin-bottom: 50px;
}

.ot-legal-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 8px;
}

.ot-legal-hero p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.ot-legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .ot-legal-layout {
        grid-template-columns: 1fr;
    }
}

.ot-legal-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

@media (max-width: 900px) {
    .ot-legal-sidebar {
        position: static;
    }
}

.ot-legal-sidebar .ot-glass-card {
    padding: 20px;
}

.ot-legal-sidebar h4 {
    font-size: 0.95rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.ot-legal-sidebar ul {
    list-style: none;
    padding: 0;
}

.ot-legal-sidebar ul li {
    margin-bottom: 8px;
}

.ot-legal-sidebar ul li a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding: 6px 10px;
    display: block;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.ot-legal-sidebar ul li a:hover {
    background: rgba(242, 183, 5, 0.08);
    color: var(--accent-gold);
}

.ot-legal-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.ot-legal-content h2 {
    color: #fff;
    font-size: 1.25rem;
    margin: 2.5rem 0 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
}

.ot-legal-content h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.ot-legal-content p {
    margin-bottom: 1rem;
}

.ot-legal-content ul {
    margin: 0.75rem 0 1rem 1.2rem;
    list-style: disc;
}

.ot-legal-content ul li {
    margin-bottom: 0.4rem;
}

.ot-legal-content strong {
    color: #fff;
}

.ot-legal-content a {
    color: var(--accent-gold);
}

.ot-legal-content a:hover {
    text-decoration: underline;
}

.ot-legal-box {
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
}

/* ============================================
   PAGE LOADER
   ============================================ */
.ot-page-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}

.ot-page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ot-loader-inner {
    text-align: center;
}

.ot-loader-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 24px;
    animation: loaderPulse 1.5s ease-in-out infinite alternate;
}

.ot-loader-logo .logo-accent {
    color: var(--accent-gold);
}

.ot-loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
    margin: 0 auto;
}

.ot-loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-amber));
    border-radius: 99px;
    animation: loaderFill .8s ease forwards;
}

@keyframes loaderPulse {
    from {
        opacity: .6;
        transform: scale(.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loaderFill {
    to {
        width: 100%;
    }
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .15;
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-gold);
    top: -10%;
    left: -5%;
    animation: orbFloat1 20s ease-in-out infinite alternate;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-amber);
    bottom: -10%;
    right: -5%;
    animation: orbFloat2 25s ease-in-out infinite alternate;
}

.bg-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(242, 183, 5, 0.3);
    top: 50%;
    left: 40%;
    animation: orbFloat3 18s ease-in-out infinite alternate;
}

.bg-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: .3;
}

.bg-particle-1 {
    top: 20%;
    left: 15%;
    animation: particleFloat 8s ease-in-out infinite;
}

.bg-particle-2 {
    top: 60%;
    left: 75%;
    animation: particleFloat 12s ease-in-out infinite 2s;
}

.bg-particle-3 {
    top: 40%;
    left: 50%;
    animation: particleFloat 10s ease-in-out infinite 1s;
}

.bg-particle-4 {
    top: 80%;
    left: 25%;
    animation: particleFloat 14s ease-in-out infinite 3s;
}

.bg-particle-5 {
    top: 10%;
    left: 85%;
    animation: particleFloat 9s ease-in-out infinite 4s;
}

.bg-particle-6 {
    top: 35%;
    left: 8%;
    animation: particleFloat 11s ease-in-out infinite 1.5s;
}

.bg-particle-7 {
    top: 70%;
    left: 60%;
    animation: particleFloat 13s ease-in-out infinite 3.5s;
}

.bg-particle-8 {
    top: 15%;
    left: 45%;
    animation: particleFloat 7s ease-in-out infinite 0.5s;
}

.bg-particle-9 {
    top: 55%;
    left: 30%;
    animation: particleFloat 15s ease-in-out infinite 2.5s;
}

.bg-particle-10 {
    top: 85%;
    left: 70%;
    animation: particleFloat 10s ease-in-out infinite 4.5s;
}

.bg-particle-11 {
    top: 25%;
    left: 90%;
    animation: particleFloat 9s ease-in-out infinite 1s;
}

.bg-particle-12 {
    top: 45%;
    left: 5%;
    animation: particleFloat 12s ease-in-out infinite 3s;
}

@keyframes orbFloat1 {
    to {
        transform: translate(80px, 60px) scale(1.1);
    }
}

@keyframes orbFloat2 {
    to {
        transform: translate(-60px, -40px) scale(.9);
    }
}

@keyframes orbFloat3 {
    to {
        transform: translate(50px, -30px) scale(1.15);
    }
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: .3;
    }

    50% {
        transform: translateY(-40px) translateX(20px);
        opacity: .7;
    }
}

/* ============================================
   HEADER ANIMATION EFFECTS
   ============================================ */
/* Logo shimmer effect */
.ot-text-shimmer {
    display: inline-block;
    background: linear-gradient(110deg, #fff 30%, var(--accent-gold) 50%, #fff 70%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s ease-in-out infinite;
}

@keyframes textShimmer {

    0%,
    100% {
        background-position: 200% center;
    }

    50% {
        background-position: -200% center;
    }
}

/* Logo glow constant pulse */
.ot-text-glow {
    display: inline-block;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 8px rgba(242, 183, 5, 0.3);
    }

    to {
        text-shadow: 0 0 20px rgba(242, 183, 5, 0.6), 0 0 40px rgba(242, 183, 5, 0.2);
    }
}

/* Nav links slide-in */
.ot-nav-slide {
    position: relative;
    overflow: hidden;
}

.ot-nav-slide::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width .3s ease, left .3s ease;
}

.ot-nav-slide:hover::after,
.ot-nav-slide.active::after {
    width: 100%;
    left: 0;
}

/* Cart bounce */
.ot-cart-bounce {
    transition: transform .3s ease;
}

.ot-cart-bounce:hover {
    animation: cartBounce .5s ease;
}

@keyframes cartBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Account fade */
.ot-account-fade {
    transition: opacity .3s ease, transform .3s ease;
}

.ot-account-fade:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 12px rgba(242, 183, 5, 0.4);
}

/* ============================================
   UNIVERSAL HOVER EFFECTS
   ============================================ */
.ot-hover-lift {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.ot-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 20px rgba(242, 183, 5, 0.08);
    border-color: rgba(242, 183, 5, 0.3) !important;
}

.ot-hover-glow {
    transition: box-shadow .3s ease;
}

.ot-hover-glow:hover {
    box-shadow: 0 0 30px rgba(242, 183, 5, 0.06);
}

/* Reveal on scroll animation base */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SHOP / SERVICES GRID (archive-product)
   ============================================ */
.ot-shop-hero {
    text-align: center;
    padding: 40px 0 20px;
}

.ot-pill {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(242, 183, 5, 0.25);
    background: rgba(242, 183, 5, 0.08);
    margin-bottom: 12px;
}

.ot-shop-title {
    font-size: 2.4rem;
    font-weight: 900;
    margin: 8px 0 12px;
}

.ot-shop-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* Category filter buttons */
.ot-category-filter .button {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(242, 183, 5, 0.12);
    background: rgba(10, 14, 23, 0.6);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    transition: all .25s ease;
}

.ot-category-filter .button:hover,
.ot-category-filter .button.btn-primary {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 20px rgba(242, 183, 5, 0.25);
}

.ot-category-filter .button.btn-secondary {
    background: rgba(10, 14, 23, 0.7);
    color: rgba(255, 255, 255, 0.8);
}

.ot-category-filter .button.btn-secondary:hover {
    background: rgba(242, 183, 5, 0.15);
    color: #fff;
    border-color: rgba(242, 183, 5, 0.4);
}

/* Products grid — 4 per line */
.ot-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 10px;
}

@media (max-width: 1100px) {
    .ot-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .ot-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .ot-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product card */
.ot-product-card {
    background: rgba(15, 25, 40, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.ot-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(242, 183, 5, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(242, 183, 5, 0.1);
}

.ot-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: rgba(10, 14, 23, 0.5);
}

.ot-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.ot-product-card:hover .ot-card-thumb img {
    transform: scale(1.08);
}

/* Fallback icon for no-image products - CENTERED BUILDING */
.ot-card-thumb-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, rgba(242, 183, 5, 0.06) 0%, rgba(10, 14, 23, 0.95) 100%);
    color: var(--accent-gold);
}

.ot-card-thumb-fallback svg {
    width: 56px;
    /* Increased size */
    height: 56px;
}

/* Remove text, keeping only the icon */
.ot-card-thumb-fallback span {
    display: none;
}

.ot-card-content {
    padding: 16px;
}

.ot-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.ot-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color .2s ease;
}

.ot-card-title a:hover {
    color: var(--accent-gold);
}

.ot-card-meta {
    font-size: .85rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
    font-weight: 600;
}

.ot-card-actions .button {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    transition: all .25s ease;
}

.ot-card-actions .btn-primary {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: 1px solid var(--accent-gold);
}

.ot-card-actions .btn-primary:hover {
    background: var(--accent-amber);
    box-shadow: 0 6px 24px rgba(242, 183, 5, 0.3);
    transform: translateY(-2px);
}

.ot-card-actions .btn-secondary {
    background: rgba(10, 14, 23, 0.6);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(242, 183, 5, 0.12);
}

.ot-card-actions .btn-secondary:hover {
    background: rgba(242, 183, 5, 0.12);
    border-color: rgba(242, 183, 5, 0.35);
    color: #fff;
}

/* ============================================
   FOOTER — block style, 4 columns
   ============================================ */
.site-footer {
    position: relative;
    z-index: 5;
    padding: 0 0 30px;
}

.footer-block {
    background: var(--bg-secondary);
    /* Darker, solid background for separation */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px 32px 24px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.footer-4col {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
}

@media (max-width: 900px) {
    .footer-4col {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-4col {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: .88rem;
    color: var(--text-secondary);
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
    transform: translateX(3px);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid rgba(242, 183, 5, 0.1);
    color: var(--text-secondary);
    transition: all .25s ease;
}

.footer-social a:hover {
    background: rgba(242, 183, 5, 0.12);
    border-color: rgba(242, 183, 5, 0.35);
    color: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-legal-logos {
    display: flex !important;
    gap: 10px;
    align-items: center;
}

.footer-legal-logos a {
    display: inline-flex !important;
    align-items: center;
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-legal-logos a:hover {
    opacity: 0.8 !important;
    transform: translateY(-2px);
}

.footer-legal-logos img {
    display: block !important;
    height: 44px !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 8px !important;
    background: #fff !important;
    padding: 4px !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: contain;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: .82rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-payment-logos {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Footer Background Integration */
.site-footer {
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    flex-shrink: 0;
}

.site-content {
    flex: 1 0 auto;
    width: 100%;
}

.footer-stripe-logo {
    display: block !important;
    height: 22px !important;
    width: auto !important;
    max-width: none !important;
    filter: brightness(0) invert(1) !important;
    opacity: .5;
    transition: opacity .3s ease;
}

.footer-stripe-logo:hover {
    opacity: .8;
}

/* Fix for Top Bar PNRR Logo on Shop Page */
/* Fix for PNRR Logo in Top Bar - GLOBAL FORCE */
.top-bar img {
    height: 28px !important;
    width: auto !important;
    max-width: none !important;
    vertical-align: middle;
}

/* Button Fixes for gradient breakdown */
.ot-btn-submit,
.ot-popup-btn,
.ot-btn-gold {
    background-color: var(--accent-gold);
    /* Fallback */
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    color: var(--bg-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.ot-btn-gold:hover,
.ot-btn-submit:hover,
.ot-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(242, 183, 5, 0.35);
    color: var(--bg-primary);
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.ot-contact-wrap {
    position: relative;
    z-index: 5;
    padding: 20px 0 60px;
}

.ot-contact-hero {
    text-align: center;
    margin-bottom: 40px;
}

.ot-contact-hero h1 {
    font-size: 2.4rem;
    font-weight: 900;
    margin: 8px 0 12px;
}

.ot-contact-hero p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.ot-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 800px) {
    .ot-contact-grid {
        grid-template-columns: 1fr;
    }
}

.ot-glass-card {
    background: var(--bg-card);
    border: 1px solid rgba(242, 183, 5, 0.1);
    border-radius: 16px;
    padding: 28px;
}

.ot-glass-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
}

/* Form inputs — dark theme */
.ot-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ot-form-group {
    margin-bottom: 16px;
}

.ot-form-group label {
    display: block;
    font-size: .85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 600;
}

.ot-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(242, 183, 5, 0.12);
    background: rgba(10, 14, 23, 0.8);
    color: #fff;
    font-size: .92rem;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
    font-family: inherit;
}

.ot-input:focus {
    outline: none;
    border-color: rgba(242, 183, 5, 0.5);
    box-shadow: 0 0 0 3px rgba(242, 183, 5, 0.1);
    background: rgba(10, 14, 23, 0.9);
}

.ot-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Select dropdown — dark theme */
.ot-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='3'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding: 0 36px 0 14px !important;
    text-align: center;
    min-height: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    border-radius: 12px !important;
    box-sizing: border-box;
}

.ot-select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Submit button */
.ot-btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    color: var(--bg-primary);
    font-weight: 800;
    font-size: 1rem;
    font-family: inherit;
    transition: transform .25s ease, box-shadow .25s ease;
    margin-top: 8px;
}

.ot-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(242, 183, 5, 0.35);
}

textarea.ot-input {
    resize: vertical;
    min-height: 100px;
}

/* Contact info items */
.ot-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ot-info-item:last-child {
    border-bottom: 0;
}

.ot-info-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-gold);
    margin-top: 2px;
}

.ot-info-item strong {
    color: #fff;
    display: block;
    margin-bottom: 2px;
}

.ot-info-item span {
    color: var(--text-secondary);
    font-size: .88rem;
}

.ot-info-item a {
    color: var(--accent-gold);
    text-decoration: none;
}

.ot-info-item a:hover {
    text-decoration: underline;
}

/* Work Schedule */
.ot-schedule {
    margin-top: 8px;
}

.ot-schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    font-size: .9rem;
}

.ot-schedule-row:last-child {
    border-bottom: 0;
}

.ot-schedule-day {
    color: #fff;
    font-weight: 600;
}

.ot-schedule-hours {
    color: var(--accent-gold);
    font-weight: 700;
}

.ot-schedule-hours.closed {
    color: var(--error-color);
}

/* Map */
.ot-map-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.ot-map-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 23, 0.3);
    pointer-events: none;
    mix-blend-mode: multiply;
}

.ot-map-card iframe {
    width: 100%;
    height: 250px;
    border: 0;
    display: block;
    filter: brightness(0.7) contrast(1.1) saturate(0);
}

/* Success message */
.ot-success-msg {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(80, 255, 160, 0.06);
    border: 1px solid rgba(80, 255, 160, 0.2);
    margin-top: 30px;
    animation: fadeIn .5s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE — SMALL SCREENS
   ============================================ */
@media (max-width: 600px) {
    .ot-form-row {
        grid-template-columns: 1fr;
    }

    .ot-contact-hero h1 {
        font-size: 1.8rem;
    }

    .ot-shop-title {
        font-size: 1.8rem;
    }
}

/* ============================================
   FIXES & TWEAKS (PNRR, Toast, Etc)
   ============================================ */
/* 1. PNRR / Top Bar Fix */
.woocommerce .site-content .container,
.woocommerce-page .site-content .container {
    padding: 40px 24px;
}

/* Specific fix for Shop Archive to pull content up */
.post-type-archive-product .site-content .container {
    padding-top: 0 !important;
    /* Reduced to 0 */
}

body.woocommerce .top-bar .container,
body.woocommerce-page .top-bar .container {
    padding: 0 24px;
    max-width: 1280px;
}

/* 2. Global Toast */
.ot-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--accent-gold);
    border-left: 4px solid var(--accent-gold);
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 320px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.ot-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.ot-toast-icon {
    font-size: 1.5rem;
}

.ot-toast-content h4 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.ot-toast-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.ot-toast-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}


.ot-toast-close:hover {
    color: #fff;
}

/* Strict Checkout Cleanliness - Hide any lingering notices */
/* =========================================
   LUSION-STYLE PAGE LOADER
   ========================================= */
.ot-loader-curtain {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
    /* EaseInOutQuart */
    transform-origin: top;
}

.ot-loader-curtain.loaded {
    transform: translateY(-100%);
}

.ot-loader-content {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 0 20px;
}

/* Percentage Counter */
.ot-loader-percentage {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 20px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -2px;
}

/* Progress Bar */
.ot-loader-progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
}

.ot-loader-progress-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-gold);
    transition: width 0.1s linear;
}

/* Brand Name (Optional) */
.ot-loader-brand {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpBrand 0.8s ease-out forwards 0.2s;
}

.ot-loader-brand .logo-accent {
    color: var(--accent-gold);
}

@keyframes fadeUpBrand {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   REGGDANY TOAST SYSTEM (Themed for Opteam Construct)
   ========================================= */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.rg-toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    min-width: min(620px, calc(100vw - 24px));
    max-width: 760px;
    width: auto;
    background: rgba(10, 14, 23, 0.95);
    /* Matches --bg-secondary */
    border: 1px solid var(--accent-gold);
    border-left: 4px solid var(--accent-gold);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    z-index: 999999;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    opacity: 0;
    animation: slideUpFade 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Ensure they are visible when active */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    opacity: 1;
    /* WooCommerce outputs them statically, so start visible/animated */
    display: flex !important;
    /* Override WOIs default handling if any */
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.woocommerce-message.is-hidden,
.woocommerce-error.is-hidden,
.woocommerce-info.is-hidden {
    display: none !important;
}

.rg-toast.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
}

/* Internal Structure for Custom Template */
.rg-toast-inner,
.ot-notice-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.rg-toast-title {
    margin: 0;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
}

.rg-toast-msg {
    margin: .25rem 0 0;
    color: rgba(255, 255, 255, .72);
    line-height: 1.5;
}

/* Style the "View Cart" button inside the message */
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button,
.rg-btn {
    float: none !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    text-decoration: none;
    border: none !important;
    background: var(--accent-gold) !important;
    color: var(--bg-primary) !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 183, 5, 0.3);
    order: 2;
}

.woocommerce-message .button:hover,
.woocommerce-error .button:hover,
.woocommerce-info .button:hover,
.rg-btn:hover {
    background: var(--accent-gold) !important;
    color: var(--bg-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 183, 5, 0.5);
}

.rg-btn--primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0f172a;
}

/* ============================================
   LUSION SCROLL LINES CANVAS
   ============================================ */
.scroll-lines-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    /* Behind content, but verify vs bg-animation */
    opacity: 0;
    transition: opacity 0.8s ease;
    mix-blend-mode: screen;
    /* Optional: creates better blending with dark bg */
}

body.has-scroll-lines .scroll-lines-canvas {
    opacity: 1;
}

@media (max-width: 768px) {
    .scroll-lines-canvas {
        opacity: 0.6 !important;
        /* Less intrusive on mobile */
    }
}

/* ============================================
   LUSION REVEAL ANIMATIONS
   ============================================ */
.lusion-reveal {
    opacity: 0;
    transform: translate3d(0, 60px, 0);
    filter: blur(10px);
    will-change: transform, opacity, filter;
    /* Initial state */
}

.lusion-reveal.is-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Staggered Children */
.lusion-stagger>* {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    filter: blur(6px);
    will-change: transform, opacity, filter;
}

.lusion-stagger.is-in>* {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 0.08s);
}

/* ============================================
   HOMEPAGE TILT & DESTRUCT CARD EFFECTS
   ============================================ */
.tilt-card {
    position: relative;
    transform-style: preserve-3d;
    perspective: 900px;
    will-change: transform;
    --rx: 0deg;
    --ry: 0deg;
    --mx: 50%;
    --my: 50%;
    /* Ensure content stays within bounds for clean edges, 
       but preserve-3d often needs visible overflow. 
       However, destruct canvas needs to be clipped. 
       Let's use overflow: hidden on the card itself as requested. */
    overflow: hidden;
    border-radius: var(--radius-lg);
}

/* Ensure specific cards adhere to this */
.stat-card.tilt-card,
.benefit-card.tilt-card,
.bento-card.tilt-card {
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Hover State */
.tilt-card.is-tilting {
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
    transition: transform 0.08s linear;
    z-index: 10;
}

.tilt-card:not(.is-tilting) {
    transition: transform 0.35s ease;
    transform: perspective(900px) rotateX(0) rotateY(0) translateZ(0);
}

/* Content Wrapper for Parallax */
.tilt-content {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-card .tilt-content {
    justify-content: space-between;
}

.tilt-card.is-tilting .tilt-content {
    transform: translateZ(30px) rotateX(calc(var(--rx) * 0.35)) rotateY(calc(var(--ry) * 0.35));
    transition: transform 0.08s linear;
}

.tilt-card:not(.is-tilting) .tilt-content {
    transition: transform 0.35s ease;
    transform: translateZ(0);
}

/* Inner Element Parallax */
.tilt-card.is-tilting .bento-title,
.tilt-card.is-tilting .bento-desc,
.tilt-card.is-tilting .benefit-title,
.tilt-card.is-tilting .benefit-desc,
.tilt-card.is-tilting .stat-number,
.tilt-card.is-tilting .stat-label {
    transform: translateZ(15px);
    transition: transform 0.08s linear;
}

.tilt-card .bento-title,
.tilt-card .bento-desc,
.tilt-card .benefit-title,
.tilt-card .benefit-desc,
.tilt-card .stat-number,
.tilt-card .stat-label {
    transition: transform 0.35s ease;
    transform: translateZ(0);
}

/* Glare Effect */
.tilt-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.2s ease;
    background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.14), transparent 45%);
    mix-blend-mode: overlay;
}

.tilt-card:hover::before {
    opacity: 1;
}

/* Destructive Canvas */
.tilt-card .destruct-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.35;
    mix-blend-mode: overlay;
    pointer-events: none;
    border-radius: inherit;
}

/* Disable on Mobile/Reduced Motion */
@media (hover: none) or (pointer: coarse) or (prefers-reduced-motion: reduce) {
    .tilt-card {
        transform: none !important;
        overflow: hidden !important;
        perspective: none !important;
    }

    .tilt-card .tilt-content {
        transform: none !important;
    }

    .tilt-card .destruct-canvas {
        display: none !important;
    }

    .tilt-card::before {
        display: none !important;
    }

    .tilt-card.is-tilting .bento-title,
    .tilt-card.is-tilting .bento-desc {
        transform: none !important;
    }
}

/* ============================================
   LUSION CURTAIN LOADER (NEW)
   ============================================ */
.ot-loader-curtain {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    /* Ease In Out Quart-ish */
}

.ot-loader-curtain.loaded {
    transform: translateY(-100%);
}

.ot-loader-content {
    text-align: center;
    color: #fff;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.ot-loader-curtain.loaded .ot-loader-content {
    opacity: 0;
}

.ot-loader-percentage {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    line-height: 1;
}

.ot-loader-progress-bar {
    width: 240px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.ot-loader-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent-gold);
}

.ot-loader-brand {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================
   LUSION SCROLL REVEAL (INERTIA/SKEW)
   ============================================ */
/* Overwrite initial reveal styles */
.reveal,
.reveal-left,
.reveal-right,
.lusion-reveal {
    opacity: 0;
    transform: translateY(100px) skewY(5deg);
    transform-origin: top left;
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    /* Inertia ease */
    will-change: transform, opacity;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.lusion-reveal.is-in {
    opacity: 1;
    transform: translateY(0) skewY(0);
}

/* Specific Staggers if needed */
.stagger-children>* {
    opacity: 0;
    transform: translateY(60px) skewY(3deg);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0) skewY(0);
}

/* Update transition delays for stagger to be slightly longer for dramatic effect */
.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.15s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.25s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.35s;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 0.45s;
}

/* =========================================
   MEASURED TEXT REVEAL (Masked Slide-Up)
   ========================================= */
.measured-reveal {
    /* Base state handled by children */
    visibility: visible;
}

/* The overflow mask */
.measured-word-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    /* Aligns correctly on line */
    margin-right: 0.25em;
    /* Space between words */
    padding-bottom: 0.1em;
    /* Fix for descenders being cut off */
    margin-bottom: -0.1em;
}

/* The moving element */
.measured-word {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1),
        opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

/* Active State */
.measured-reveal.is-in .measured-word {
    transform: translateY(0);
    opacity: 1;
}

/* Handle Staggering via CSS Variable (set by JS) */
.measured-word {
    transition-delay: calc(var(--i) * 0.03s + 0.1s);
}

/* Fallback for no-JS or older browsers if needed (optional) */
@media (prefers-reduced-motion: reduce) {
    .measured-word {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
}