/*
Theme Name: Falcon Copper Corp
Theme URI: https://falconcopper.com
Description: Корпоративная тема с поддержкой Gutenberg для Falcon Copper Corp.
Version: 1.0.0
Author: Falcon Copper
Author URI: https://falconcopper.com
Text Domain: falcon-theme
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
*/

@import url('assets/css/fonts.css');

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Colors */
    --white: #fff;
    --coal: #303030;
    --coal-light: #6E6E6E;
    --copper: #B54F2C;
    --copper-light: #E1B9AB;
    --denim: #0A3161;
    --denim-light: #536E90;
    --sky: #4974B0;
    --sky-light: #B6C7DF;
    --sky-dark: #3E6396;
    --zink: #EAEAEA;
    
    /* Typography */
    --font-primary: 'Open Sans', sans-serif;
    --font-heading: 'Avenir Next', sans-serif;

    --font-1: 14px;
    --font-2: 16px;
    --font-3: 18px;
    --font-4: 20px;
    --font-5: 22px;
    --font-6: 28px;
    --font-7: 36px;
    --font-8: 40px;
    --font-9: 42px;
    --font-10: 46px;
    --font-11: 76px;
    
    /* Spacing */
    --space-1: 8px;
    --space-2: 12px;
    --space-3: 14px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 38px;
    --space-8: 48px;
    --space-9: 54px;
    --space-10: 64px;
    --space-11: 80px;
    --space-12: 96px;
    
    /* Transitions */
    --transition-default: all 0.3s ease;
    --transition-fast: all 0.25s ease-in-out;
    
    /* Border Radius */
    --radius-sm: 6px;
    
    /* Layout */
    --container-max: 1512px;
    --header-height: 140px;
    --top-line-height: 48px;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    font-size: var(--font-5);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 200px;
}

body {
    background: var(--white);
    color: var(--coal);
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    padding: 0;
    position: relative;
}

strong {
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

h1 {
    font-size: var(--font-10);
}

h2 {
    font-size: var(--font-8);
    color: var(--sky);
}

h3 {
    font-size: var(--font-6);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--coal-light);
}

a {
    color: var(--denim);
    transition: var(--transition-default);
    text-underline-offset: 10%;
    text-underline-position: from-font;
    text-decoration-thickness: 5%;
}

a:hover {
    color: var(--copper);
}

/* ==========================================================================
   Utility / Third-party
   ========================================================================== */
.grecaptcha-badge { 
    visibility: hidden !important; 
    right: 0 !important; 
}

.rounded,
.rounded img {
    border-radius: var(--radius-sm)!important;
}

.group-spacer {
    margin-left: 40px;
}

.full-width {
    margin-left: calc(-1 * var(--space-12))!important;
    margin-right: calc(-1 * var(--space-12))!important;
}

.spec-link a {
    color: var(--coal);
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: 5%;
    text-underline-offset: 10%;
    text-underline-position: from-font;
}

.wp-block-gallery {
    --wp--style--unstable-gallery-gap: 28px!important;
    gap: 28px!important;
}

.wp-block-columns .wp-block-column > * {
    margin-block-start: 0;
}

h2.slogan {
    font-size: var(--font-9);
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    text-transform: none;
}
.map-container {
    border-radius: var(--radius-sm);
    border: 6px solid var(--sky);
    line-height: 0;
}
.map {
    width: 100%;
    height: 678px;
    filter: grayscale(100%) sepia(35%) hue-rotate(
            175deg) saturate(180%) contrast(100%);
}

/* SVG map magnifier — add class "map-zoom" to wp-block-image */
.map-zoom {
    position: relative;
    overflow: hidden;
    cursor: none;
}
.map-zoom img {
    display: block;
    width: 100%;
    height: auto;
}
.map-magnifier {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 3px solid var(--sky);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3),
                0 8px 32px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
    background-color: #fff;
    background-repeat: no-repeat;
}
.map-magnifier.active {
    opacity: 1;
}

h4.coal {
    color: var(--coal);
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
}

h4.copper {
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--copper);
    line-height: 121.429%;
}

h4.denim {
    font-size: var(--font-6);
    font-style: normal;
    font-weight: 600;
    text-transform: none;
    color: var(--denim-light);
    line-height: 140%;
}

.sticky {
    position: sticky!important;
    top: 0!important;
    background-color: var(--white);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 0.3);
    z-index: 999!important;
}

/* ==========================================================================
   Header - Top Line
   ========================================================================== */
header {
    position: relative;
}

.top-line {
    background-color: var(--denim);
    height: var(--top-line-height);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    gap: var(--space-8);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.top-line-content {
    width: 100%;
    max-width: var(--container-max);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-8);
}

.stocks {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.stocks span {
    color: var(--copper);
    font-size: var(--font-1);
}

.top-right {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

/* ==========================================================================
   Social Media Links (shared styles)
   ========================================================================== */
.social,
.social-media {
    display: flex;
    gap: var(--space-5);
}

.social a,
.social-media a {
    height: 24px;
    transition: var(--transition-default);
}

.social a:hover,
.social-media a:hover {
    opacity: 1;
}

.social-media a {
    opacity: 0.75;
}

/* ==========================================================================
   Language Selector
   ========================================================================== */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-selector--en-only .selected-flag {
    cursor: default;
}

.selected-flag {
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
    padding: 0;
}

.selected-flag img,
.flag-option img {
    width: 32px;
    height: 24px;
}

.selected-flag .arrow-icon {
    width: 24px;
    height: 24px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 64px;
    padding-top: var(--space-1);
    z-index: 3;
}

.flag-option {
    display: flex;
    align-items: center;
    padding: var(--space-1) 0;
    cursor: pointer;
    background: none;
    border: none;
}

.flag-option img {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.flag-option:hover img {
    border-radius: 2px;
    outline: 2px solid var(--zink);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navigation {
    width: 100vw;
    height: var(--header-height);
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(#AEC1DC, var(--white));
}

.background {
    position: absolute;
    width: 100%;
    height: 51px;
    bottom: 0;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
}

.menu-background {
    position: absolute;
    top: 1px;
    right: 0;    
    width: 890px;
    height: 50px;
    background: url('assets/img/menu-background.png');
}

.nav-content {
    display: flex;
    justify-content: space-between;
    padding: var(--space-6) var(--space-12) 0;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Logo */
.logo {
    text-decoration: none;
    margin-right: 40px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* ==========================================================================
   Menu Styles
   ========================================================================== */
.top-menu {
    display: flex;
    flex-direction: column;
    width: 818px;
    filter: drop-shadow(0px 2.5px 5.5px rgba(0, 0, 0, 0.225));
}

.active-item,
.footer-active-item {
    display: none;
}

.menu-items {    
    display: flex;
    justify-content: space-between;
    height: 108px;
    gap: 5px;
    list-style: none;
}

.menu-items.sub {
    height: 56px;
}

.menu-item {
    cursor: pointer;
    position: relative;
    padding: 14px 0;
    transition: var(--transition-default);
    text-decoration: none;
    color: var(--denim);
}

.menu-item .item-name,
.menu-item a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--font-3);
    line-height: 28px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.menu-item:hover .item-name,
.menu-item:hover > a {
    color: var(--copper);
}

.menu-items .menu-item.active,
.menu-items .menu-item.current-menu-item,
.menu-items .menu-item.current-page-ancestor {
    background-color: var(--sky);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    z-index: 1;
}

.menu-items .menu-item.active .item-name,
.menu-items .menu-item.active > a,
.menu-items .menu-item.current-menu-item > a,
.menu-items .menu-item.current-page-ancestor > a {
    color: var(--white);
}

/* Hide default WordPress sub-menu */
.menu-items .sub-menu,
.menu-item .sub-menu {
    display: none !important;
}

/* ==========================================================================
   Submenu
   ========================================================================== */
.submenu-container {
    height: 52px;
}

.submenu {
    display: flex;
    background-color: var(--sky-dark);
    align-items: center;
    padding: 0 var(--space-2);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    width: 100%;
    height: 52px;
    list-style: none;
}

.submenu-item {
    cursor: pointer;
    padding: var(--space-2) var(--space-5);
    z-index: 2;
    text-decoration: none;
}

.submenu-item .submenu-name,
.submenu-item a {
    color: var(--sky-light);
    font-size: var(--font-4);
    font-family: var(--font-heading);
    font-weight: 700;
    transition: color 0.3s ease;
    text-decoration: none;
}

.submenu-item:hover .submenu-name,
.submenu-item:hover a {
    color: var(--copper-light);
}

.submenu-item.active .submenu-name,
.submenu-item.active a,
.submenu-item.current-menu-item a {
    color: var(--white);
}

/* ==========================================================================
   Mobile Menu (base - hidden on desktop)
   ========================================================================== */
.burger-menu,
.submenu-mobile {
    display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    width: 100%;
    height: 600px;
    min-height: 600px;
    position: relative;
    background: url('assets/img/home-hero.jpg') center / cover no-repeat;
    overflow: hidden;
    z-index: 1;
}

/* Hero as Cover Block pattern */
.is-style-falcon-hero.wp-block-cover {
    min-height: 450px !important;
    height: 450px;
}

.hero-content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 76px 83px;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 124px;
    animation: fadeInUp 1.2s ease-out forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 76px;
    line-height: 120%;
    color: var(--zink);
    text-align: right;
    position: absolute;
    right: 61px;
    top: 54px;
    white-space: nowrap;
}

.hero-bottom-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 76px;
    line-height: 120%;
    color: var(--zink);
    text-align: left;
    position: absolute;
    left: 70px;
    bottom: 68px;
    white-space: nowrap;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Gutenberg Content Styles
   ========================================================================== */

/* Content Section Block */
.content-section {
    padding: var(--space-10) var(--space-12);
    max-width: var(--container-max);
    margin: 0 auto;
}

.content-section > div {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
    width: 100%;
}

.content-section > .alignwide {
    width: 100%;
}

.content-section > .alignfull {
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section ul,
.content-section ol {
    margin-bottom: var(--space-5);
    padding-left: var(--space-6);
}

.content-section li {
    margin-bottom: var(--space-1);
}

.bg-logo {
    background: url('assets/img/bg-logo.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: contain;
    position: absolute;
    width: min(570px, 50vw);
    aspect-ratio: 570 / 520;
    bottom: 0;
    left: 0;
    z-index: -1;
}

/* Two Column With Button Pattern */
.two-column-button-block {
    width: 100%;
    gap: var(--space-10);
}

.two-column-button-block p {
    line-height: 180%;
    margin-bottom: var(--space-5);
}

.two-column-button-block .two-column-button-columns {
    gap: var(--space-10);
    margin-bottom: 0;
}

/* Remove bottom margin when there's no button (empty buttons block) */
.two-column-button-block .two-column-button-columns:last-child {
    margin-bottom: 0;
}

/* When button block is empty or removed */
.two-column-button-block .two-column-button-cta:empty {
    display: none;
    margin-top: 0;
}

/* Title and Text Pattern */
.title-text-block > div {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.title-text-block h1 {
    margin: 0;
}

.title-text-block p {
    margin: 0;
}

/* Falcon Spacer Block */
.falcon-spacer {
    display: block;
    width: 100%;
}

.falcon-spacer--1 { height: var(--space-1); }
.falcon-spacer--2 { height: var(--space-2); }
.falcon-spacer--3 { height: var(--space-3); }
.falcon-spacer--4 { height: var(--space-4); }
.falcon-spacer--5 { height: var(--space-5); }
.falcon-spacer--6 { height: var(--space-6); }
.falcon-spacer--7 { height: var(--space-7); }
.falcon-spacer--8 { height: var(--space-8); }
.falcon-spacer--9 { height: var(--space-9); }
.falcon-spacer--10 { height: var(--space-10); }
.falcon-spacer--11 { height: var(--space-11); }
.falcon-spacer--12 { height: var(--space-12); }

/* Falcon Core Value Pattern */
.falcon-core-value > div {
    display: flex;
    padding: 24px 32px 32px 32px;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    background: var(--sky);
    border-radius: 16px;
}

.falcon-core-value__title {
    font-family: var(--font-heading);
    font-size: var(--font-7);
    font-style: normal;
    font-weight: 700;
    color: var(--white);
    line-height: 160%;
    text-transform: uppercase;
}

.falcon-core-value__text {
    text-align: center;
    font-size: var(--font-6);
    font-style: normal;
    font-weight: 600;
    color: var(--zink);
    line-height: 140%;
}

/* ==========================================================================
   Contact Form 7 Styles
   ========================================================================== */
.wpcf7-form {
    width: 100%;
    max-width: 964px;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* Remove default p margins */
.wpcf7-form p {
    margin: 0;
}

/* Form rows - 2 columns grid */
.wpcf7-form .cf7-row {
    display: contents;
}

.wpcf7-form .cf7-row > h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: var(--sky);
    margin: 0 0 var(--space-4) 0;
}

.wpcf7-form .cf7-row > p {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

/* Individual field wrapper */
.wpcf7-form .cf7-row label {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Label text (title) */
.wpcf7-form .cf7-label-text {
    display: inline-flex;
    color: var(--white);
    font-size: var(--font-3);
    align-items: center;
    gap: 6px;
    background-color: var(--sky-dark);
    padding: 6px 18px;
    border-top-left-radius: var(--radius-sm);
    border-top-right-radius: var(--radius-sm);
    width: fit-content;
    min-width: 100px;
    position: relative;
    z-index: 2;
}

/* Input wrapper */
.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    background-color: var(--white);
    border: 3px solid var(--sky-dark);
    border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
    width: 100%;
    position: relative;
    transition: border-color 0.3s ease;
    z-index: 1;
}

/* Input fields */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    height: 52px;
    border: none;
    background: var(--white);
    padding: 0 18px;
    font-size: var(--font-2);
    color: var(--coal);
    outline: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
    transition: background-color 0.3s ease;
    font-family: var(--font-primary);
}

.wpcf7-form textarea {
    height: 120px;
    padding: 14px 18px;
    resize: vertical;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #999;
}

/* Focus state */
.wpcf7-form .wpcf7-form-control-wrap:focus-within {
    border-color: var(--copper);
}

/* Submit button - Falcon Secondary style */
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
    display: flex;
    padding: var(--space-4) var(--space-6);
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-sm);
    background: var(--copper);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: var(--font-3);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
    width: auto;
    align-self: flex-start;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
    background: var(--denim);
}

/* Disabled submit button (when acceptance not checked) */
.wpcf7-form.submitting .wpcf7-submit,
.wpcf7-form .wpcf7-submit:disabled,
.wpcf7-form input[type="submit"]:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.wpcf7-form .wpcf7-submit:disabled:hover,
.wpcf7-form input[type="submit"]:disabled:hover {
    background: var(--copper);
}

/* Acceptance checkbox (agreement) */
.wpcf7-form .cf7-acceptance {
    margin: 0;
}

/* Hidden acceptance (synced with MC4WP checkbox) */
.wpcf7-form .cf7-acceptance--hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wpcf7-form .cf7-acceptance > p {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: 0;
}

/* Reset input wrapper styles for acceptance */
.wpcf7-form .cf7-acceptance .wpcf7-form-control-wrap {
    display: inline-flex;
    background: none;
    border: none;
    border-radius: 0;
    width: auto;
}

.wpcf7-form .cf7-acceptance .wpcf7-acceptance {
    display: inline-flex;
}

.wpcf7-form .cf7-acceptance .wpcf7-list-item {
    margin: 0;
    display: inline-flex;
}

.wpcf7-form .cf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background-color: var(--white);
    border: 2px solid var(--sky);
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
}

.wpcf7-form .cf7-acceptance input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    display: block;
    left: 7px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid var(--sky);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.wpcf7-form .cf7-acceptance-text,
.mc4wp-checkbox span {
    color: var(--sky-dark);
    font-size: var(--font-1);
    line-height: 1.4;
}

/* Form action row - checkbox + button on same line */
.wpcf7-form .cf7-action-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-5);
}

.wpcf7-form .cf7-action-row > p {
    margin: 0;
}

/* Reset acceptance styles inside action row */
.wpcf7-form .cf7-action-row .cf7-acceptance {
    flex: 1;
    margin-top: var(--space-4);
}

.wpcf7-form .cf7-action-row .cf7-acceptance > p label {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Validation errors */
.wpcf7-form .wpcf7-not-valid-tip {
    color: var(--copper);
    font-size: var(--font-1);
    margin-top: 4px;
}

.wpcf7-form .wpcf7-not-valid {
    border-color: var(--copper);
}

/* Response messages */
.wpcf7-form .wpcf7-response-output {
    margin: var(--space-5) 0 0;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-sm);
    font-size: var(--font-2);
}

.wpcf7-form.sent .wpcf7-response-output {
    border-color: #46b450;
    background-color: #ecf7ed;
    color: #1e4620;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
    border-color: var(--copper);
    background-color: #fef1f0;
    color: var(--copper);
}

/* Responsive - Mobile */
@media screen and (max-width: 835px) {
    .wpcf7-form .cf7-row > p {
        grid-template-columns: 1fr;
    }
    
    .wpcf7-form input[type="submit"],
    .wpcf7-form .wpcf7-submit {
        width: 100%;
    }
}

.wp-block-button__link {
    background-color: var(--copper);
    border-radius: var(--radius-sm);
    padding: var(--space-2) var(--space-5);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition-default);
}

.wp-block-button__link:hover {
    background-color: var(--denim);
    color: var(--white);
}

/* Button - Falcon Primary Style */
.is-style-falcon-primary .wp-block-button__link {
    display: flex;
    padding: var(--space-4) var(--space-6);
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-sm);
    background: var(--denim);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: var(--font-3);
    font-weight: 700;
    text-transform: uppercase;
}

.is-style-falcon-primary .wp-block-button__link:hover {
    background: var(--denim-light);
}

/* Button - Falcon Secondary Style */
.is-style-falcon-secondary .wp-block-button__link {
    display: flex;
    padding: var(--space-4) var(--space-6);
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-sm);
    background: var(--copper);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: var(--font-3);
    font-weight: 700;
    text-transform: uppercase;
}

.is-style-falcon-secondary .wp-block-button__link:hover {
    background: var(--denim);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer,
.site-footer {
    background: linear-gradient(#9EB5D5, var(--white));
    height: auto;
    min-height: 306px;
    position: relative;
    padding: 0 var(--space-10) 36px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85px;
    background: url('assets/img/footer-background.svg') center bottom / contain no-repeat;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    align-items: flex-end;
}

/* Footer Grid Blocks */
.footer-block-1 {
    width: 10%;
    order: 1;
    height: 80px;
    display: flex;
    align-items: center;
}

.footer-block-2 {
    width: 80%;
    order: 2;
}

.footer-block-3 {
    width: 10%;
    order: 3;
    height: 80px;
    display: flex;
    justify-content: flex-end;    
}

.footer-block-4 {
    width: 33%;
    order: 4;
}

.footer-block-5 {
    width: 33%;
    order: 5;
}

.footer-block-6 {
    width: 33%;
    order: 6;
    display: flex;
    justify-content: flex-end;    
    padding-top: 24px;
}

/* Scroll to Top */
.scroll-to-top {
    position: absolute;
    top: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scroll-to-top span {
    text-decoration: underline;
    color: var(--denim);
    font-size: var(--font-2);
    text-decoration-thickness: 5%;
    text-underline-offset: 10%;
    text-underline-position: from-font;
}

/* Footer Menu */
.footer-menu-container {
    display: flex;
    justify-content: center;
}

.footer-menu {
    display: flex;
    gap: 36px;
    height: 80px;
    position: relative;
    list-style: none;
}

.footer-menu li {
    padding: 0;
}

.footer-menu-item,
.footer-menu li a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--denim);
    text-transform: uppercase;
    transition: var(--transition-default);
    padding: 14px 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    text-decoration: none;
}

.footer-menu-item:hover,
.footer-menu li a:hover {
    color: var(--copper);
}

.footer-menu-item.active,
.footer-menu li.current-menu-item a,
.footer-menu li.current-menu-ancestor > a,
.footer-menu li.current-menu-parent > a {
    color: var(--white);
    background-color: var(--sky);
    padding: var(--space-3) var(--space-5);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Social & Copyright */
.social-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.important-notices {
    opacity: 0.9;
}

.important-notices a {
    font-size: var(--font-2);
    line-height: 24px;
    text-decoration-thickness: 5%;
    text-underline-offset: 10%;
    text-underline-position: from-font;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 8px;    
    color: var(--denim);
    padding-top: 4px;
}

.copyright span {
    font-size: var(--font-1);
}

/* Contacts */
.contacts {
    display: flex;
    flex-direction: column;    
    gap: 18px;
    align-items: flex-start;
    order: 4;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration-thickness: 5%;
    text-underline-offset: 10%;
    text-underline-position: from-font;
}

.contact-link img {
    transition: var(--transition-default);
}

.contact-link span,
.contact-link a {
    font-size: var(--font-2);
    transition: var(--transition-default);
    line-height: 24px;    
}

.contact-link:hover a,
.contact-link:hover svg,
.contact-link:hover span {
    opacity: 1;
}

/* Footer Language Selector */
.footer-language-selector {
    position: absolute;
    top: 40px;
    z-index: 10;
}

.footer-language-selector .selected-flag {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition-default);
}

.footer-language-selector .selected-flag:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

.footer-language-selector .dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 100;
}

.footer-language-selector .dropdown.show {
    display: flex;
}

.footer-language-selector--en-only .selected-flag {
    cursor: default;
}

.footer-language-selector--en-only .selected-flag:hover {
    border-color: inherit;
}

/* ==========================================================================
   Blocks (important: before media queries!)
   ========================================================================== */

/* ==========================================================================
   Falcon Social Contact Block
   ========================================================================== */
.falcon-social-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-1);
}

.falcon-social-contact__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.falcon-social-contact__icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.falcon-social-contact__content {
    display: flex;
    align-items: center;
}

.falcon-social-contact__link,
.falcon-social-contact__name {
    font-size: var(--font-2);
    line-height: 150%;
}

/* Editor-specific styles */
.falcon-social-contact__placeholder {
    font-family: var(--font-primary);
    font-size: var(--font-2);
    color: var(--denim-light);
    font-style: italic;
}

/* ==========================================================================
   Falcon Social Icons Block
   ========================================================================== */
.falcon-social-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.falcon-social-icons__link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.falcon-social-icons__link:hover {
    opacity: 0.7;
}

.falcon-social-icons__link img {
    width: 48px;
    height: 48px;
    display: block;
}

/* Editor-specific placeholder */
.falcon-social-icons__placeholder {
    font-family: var(--font-primary);
    font-size: var(--font-2);
    color: var(--denim-light);
    font-style: italic;
}

/* ==========================================================================
   Falcon Project Nav Block
   ========================================================================== */
.falcon-project-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.falcon-project-nav__container {
    width: 100%;
    overflow: hidden;
}

.falcon-project-nav__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    width: 100%;
}

.falcon-project-nav__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: var(--space-3) var(--space-5);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-default);
}

.falcon-project-nav__text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--font-3);
    line-height: 130%;
    text-transform: uppercase;
    text-align: center;
    color: var(--denim);
    transition: var(--transition-default);
}

.falcon-project-nav__item:hover .falcon-project-nav__text {
    color: var(--copper);
}

.falcon-project-nav__item--active {
    background-color: var(--sky);
    border-radius: var(--radius-sm);
}

.falcon-project-nav__item--active .falcon-project-nav__text {
    color: var(--white);
}

.falcon-project-nav__item--active:hover .falcon-project-nav__text {
    color: var(--white);
}

/* Navigation arrows - hidden on desktop */
.falcon-project-nav__arrow {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sky);
    transition: var(--transition-default);
    padding: 0;
}

.falcon-project-nav__arrow:hover {
    color: var(--copper);
}

.falcon-project-nav__arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Editor placeholder (for style.css on frontend - not used) */
.falcon-project-nav__placeholder {
    font-family: var(--font-primary);
    font-size: var(--font-2);
    color: var(--denim-light);
    font-style: italic;
    text-align: center;
    padding: var(--space-8) var(--space-5);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* --------------------------------------------------------------------------
   Breakpoint: 1240px (Large tablets / Small desktops)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1240px) {
    :root {        
        --space-10: 56px;
        --space-12: 60px;
    }

    .nav-content {
        padding: 32px 48px;
    }

    .logo {
        height: 50px;
    }

    .logo img {
        height: 38px;
    }

    .stocks span:nth-child(4) {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Breakpoint for map: 1095px (Tablets)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1095px) {    
    .map-container {
        display: flex;
        height: 100%;
    }

    .map {
        height: 100%;;
    }
}

/* --------------------------------------------------------------------------
   Breakpoint: 1095px (Tablets)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1095px) {
    :root {
        --font-5: 20px;
        --font-6: 26px;
        --font-9: 38px;
        --font-10: 42px;

        --space-6: 26px;
        --space-7: 32px;
        --space-8: 42px;
    }

    html {
        scroll-padding-top: 380px;
    }

    .container {
        max-width: 1095px;
    }

    .top-line {
        padding: 0 20px;
    } 

    .navigation {
        height: auto;
    }

    .nav-content {
        flex-direction: column;
        align-items: center;
        padding: 24px 32px 0;
    }

    .logo {
        margin-bottom: 22px;
        margin-right: 0;
    }

    .logo img {
        height: 46px;
        margin: 0;
    }

    .top-menu {
        width: 100%;
    }

    footer,
    .site-footer {
        height: auto;
    }

    .footer-background {
        background-size: cover;
        height: 62px;
    }

    .footer-menu {
        width: 100%;
        margin: 0 auto;
        justify-content: space-between;
        gap: 14px;
    }

    .footer-menu-item,
    .footer-menu li a {
        font-size: var(--font-3);
    }

    .contacts {
        margin-top: 0;
        order: 3;
        align-items: flex-start;
    }

    .social-copyright {
        align-items: center;
    }

    .hero {
        height: 420px;
        min-height: 420px;
    }

    .is-style-falcon-hero.wp-block-cover {
        min-height: 360px !important;
        height: 360px;
    }

    .hero-content {
        padding: 49px 51px;
        gap: 80px;
    }

    .hero-title {
        font-size: 46px;
        top: 27px;
        right: 29px;
    }

    .hero-bottom-title {
        font-size: 46px;
        left: 35px;
        bottom: 38px;
    }
    
    /* Two Column With Button Pattern - Tablet */
    .two-column-button-block {
        gap: var(--space-8);
    }

    .two-column-button-block .two-column-button-columns {
        gap: var(--space-8);
        flex-direction: column;
    }
    
    /* Falcon Project Nav - Tablet: 2 columns */
    .falcon-project-nav__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wp-block-column.photo {
        flex-basis: 38%!important;
    }

    .mobile-center{
        align-items: center!important;
        text-align: center!important;
    }

    .stack-tablet {
        flex-direction: column;
      }
    
      .stack-tablet > .wp-block-column {
        width: 100% !important;
        margin-left: 0;
      }
}

/* --------------------------------------------------------------------------
   Breakpoint: 835px (Small tablets)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 835px) {
    :root {        
        --space-10: 48px;
        --space-12: 32px;
    }

    .stocks span:nth-child(3) {
        display: none;
    }

    footer,
    .site-footer {
        padding: 0 var(--space-6) 60px;
    }

    .footer-content {
        align-items: flex-start;
    }

    .footer-language-selector,
    .scroll-to-top {
        position: relative;
        top: 0;
    }

    .footer-block-1 {
        width: 50%;
        order: 2;
        height: 60px;
    }

    .footer-block-2 {
        width: 100%;
        order: 1;
    }

    .footer-block-3 {
        width: 50%;
        order: 3;
        height: 60px;
    }

    .footer-block-4 {
        width: 50%;
        order: 4;
        display: flex;
        justify-content: center;
        padding-top: 32px;
    }

    .footer-block-5 {
        width: 100%;
        order: 6;
        padding-top: var(--space-5);
    }

    .footer-block-6 {
        width: 50%;
        order: 5;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Breakpoint: 782px (Mobile) for WP
   -------------------------------------------------------------------------- */
@media screen and (max-width: 782px) {
    .group-center {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .falcon-social-icons {
        justify-content: center;
    }

    /* column with image - always first (except for two-column-button-columns) */
    .wp-block-columns:not(.two-column-button-columns) > .wp-block-column:has(figure) {
        order: 1;
    }

    /* column with content - always second (except for two-column-button-columns) */
    .wp-block-columns:not(.two-column-button-columns) > .wp-block-column:not(:has(figure)) {
        order: 2;
    }    

    .map {
        height: 537px;
    }
}

/* --------------------------------------------------------------------------
   Breakpoint: 661px (Mobile)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 661px) {
    :root {
        --font-5: 18px;
        --font-6: 24px;
        --font-9: 28px;
        --font-10: 38px;

        --space-5: 16px;
        --space-6: 20px;
        --space-7: 26px;
        --space-8: 36px;
    }

    html {
        scroll-padding-top: 240px;
    }

    .container {
        max-width: 661px;
    }

    .top-line {
        padding: 12px 16px;
        gap: 32px;
    }

    .stocks span:nth-child(2) {
        display: none;
    }

    .social {
        gap: 12px;
    }

    .top-right {
        justify-content: flex-end;
        gap: 32px;
    }

    .navigation {
        position: relative;
    }

    .background {
        display: none;
    }

    /* Burger Menu */
    .burger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        cursor: pointer;
        top: 6px;
        order: 2;
        margin-left: auto;
        margin-top: 12px;
        position: relative;
        z-index: 10;
        background: none;
        border: none;
    }

    .burger-icon {
        width: 18px;
        height: 12px;
        position: relative;
    }

    .burger-icon span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: var(--sky);
        border-radius: 1px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: var(--transition-fast);
    }

    .burger-icon span:nth-child(1) { top: 0; }
    .burger-icon span:nth-child(2) { top: 5px; }
    .burger-icon span:nth-child(3) { top: 10px; }

    .burger-menu.open .burger-icon span:nth-child(1) {
        top: 5px;
        transform: rotate(135deg);
    }

    .burger-menu.open .burger-icon span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }

    .burger-menu.open .burger-icon span:nth-child(3) {
        top: 5px;
        transform: rotate(-135deg);
    }

    .mobile-menu-background {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 37px;
        background: url('assets/img/menu-background.png') bottom no-repeat;
    }

    /* Content Layout */
    .nav-content {
        align-items: flex-start;
        flex-direction: row;
        padding: 16px 24px 0;
        height: 76px;
        gap: 16px;
    }

    .logo {
        margin-bottom: 0;
        margin-top: 12px;
        height: 32px;
        order: 1;
        width: 100%;
    }

    .logo img {
        width: 185px;
        height: 24px;
    }

    /* Active Menu Item (Mobile) */
    .active-item {
        display: flex;
        order: 1;
        padding: var(--space-2) var(--space-5);
        align-items: flex-start;
        position: relative;
        gap: 10px;
        align-self: flex-end;
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
        background: var(--sky);
        box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px 0px rgba(0, 0, 0, 0.30);
        height: 60px;
    }

    .active-item.round {
        border-radius: var(--radius-sm);
    }

    .active-item span {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: var(--font-1);
        color: var(--white);
        text-transform: uppercase;
        white-space: nowrap;
    }

    /* Mobile Submenu */
    .submenu-mobile {
        display: flex;
        position: relative;
        background: var(--sky-dark);
        padding: 0 var(--space-2);
        height: 42px;
        z-index: 3;
        list-style: none;
    }

    .submenu-mobile-item,
    .submenu-mobile li a {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0 8px;
        text-decoration: none;
        color: var(--sky-light);
    }

    .submenu-mobile-item-name,
    .submenu-mobile li a {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: var(--font-3);
        color: var(--sky-light);
        transition: color 0.3s ease;
    }

    .submenu-mobile-item:hover .submenu-mobile-item-name,
    .submenu-mobile li a:hover {
        color: var(--copper-light);
    }

    .submenu-mobile-item.active .submenu-mobile-item-name,
    .submenu-mobile li.current-menu-item a {
        color: var(--white);
    }

    /* Mobile Slide Menu */
    .top-menu {
        position: fixed;
        top: 48px;
        right: -183px;
        width: 183px;
        background: linear-gradient(#9EB5D5, var(--white));
        z-index: 9;
        transition: right 0.3s ease;
        padding: 100px 0 24px 24px;
        overflow-y: auto;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15), 0px 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .top-menu.open {
        right: 0;
        border-radius: 0 0 0 12px;
    }
    
    .menu-items {
        flex-direction: column;
        height: auto;
        gap: 24px;
        align-items: flex-start;
    }

    .menu-items.sub {
        height: auto;
    }

    .menu-item {
        width: 100%;
        padding: 14px 24px;
    }

    .menu-items .menu-item.active,
    .menu-items .menu-item.current-menu-item,
    .menu-items .menu-item.current-page-ancestor {
        border-radius: var(--radius-sm) 0 0 var(--radius-sm);
        padding: 16px 24px;
    }

    .submenu-container {
        display: none;
    }

    /* Menu Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.2);
        z-index: 1;
        display: none;
    }
    
    .menu-overlay.open {
        display: block;
    }

    /* Footer Mobile */
    .footer-menu-container {
        display: none;
    }

    .footer-active-item {
        display: flex;
        order: 1;        
        justify-content: flex-end;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .footer-active-item span {
        display: flex;
        align-items: flex-end;
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: var(--font-1);
        color: var(--white);
        text-transform: uppercase;
        padding: var(--space-2) var(--space-5);
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        background: var(--sky);
        height: 60px;
    }

    .footer-block-1 {
        width: 20%;
        order: 1;
    }

    .footer-block-2 {
        width: 60%;
        order: 2;
    }

    .footer-block-3 {
        width: 20%;
        order: 3;
    }

    .footer-block-4 {
        width: 100%;
        order: 4;
        display: flex;
        justify-content: center;
    }

    .footer-block-5 {
        width: 100%;
        order: 6;
        padding-top: 32px;
    }

    .footer-block-6 {
        width: 100%;
        order: 5;
    }

    /* Hero Mobile */
    .hero {
        height: 320px;
        min-height: 320px;
        background-position: left;
    }

    .is-style-falcon-hero.wp-block-cover {
        min-height: 300px !important;
        height: 300px;
    }

    .hero-content {
        padding: 28px 27px;
        gap: 40px;
    }

    .hero-title {
        font-size: 28px;
        width: 275px;
        top: 6px;
        right: 5px;
        white-space: normal;
    }

    .hero-bottom-title {
        font-size: 28px;
        left: 9px;
        bottom: 31px;
    }

    .bg-logo {
        width: min(300px, 80vw);
    }
    
    /* Falcon Project Nav - Mobile: vertical carousel */
    .falcon-project-nav {
        position: sticky;
        top: 0;
        background-color: var(--white);
        box-shadow: 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px 0 rgba(0, 0, 0, 0.30);
        margin-left: calc(-1 * var(--space-12));
        margin-right: calc(-1 * var(--space-12));
        height: 220px;
        width: 100vw;
    }
    
    .falcon-project-nav__arrow {
        display: flex;
    }
    
    .falcon-project-nav__container {
        height: 200px;
        overflow: hidden;
        position: relative;
    }
    
    .falcon-project-nav__grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        transition: transform 0.3s ease;
    }
    
    .falcon-project-nav__item {
        min-height: 52px;
        flex-shrink: 0;
    }

    .is-layout-flex.is-vertical {
        flex-wrap: nowrap !important;
    }
}

/* --------------------------------------------------------------------------
   Breakpoint: 431px (Small mobile)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 431px) {
    .container {
        max-width: 431px;
    }

    .top-right {
        gap: 16px;
    }

    .top-line-content {
        gap: 16px;
    }

    footer,
    .site-footer {
        padding: 0 var(--space-5) 60px;
    }

    .footer-menu-item,
    .footer-menu li a {
        font-size: 16px;
        padding: 8px 12px;
    }    

    .copyright {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .hero-title {
        font-size: 28px;
    }
}

/* ==========================================================================
   Accessibility - Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero {
        background-position: center;
        background-size: cover;
    }
    
    .hero-content,
    .hero-title {
        opacity: 1;
        transform: none;
    }
}
