/* ==========================================================================
   Mai Thai – Main Stylesheet
   Net-Factory / v1.0.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Brand colors */
    --mt-green: #2D5A1B;
    --mt-green-hover: #234614;
    --mt-green-mid: #3D7A25;
    --mt-green-light: #EAF2E3;
    --mt-green-dark: #1A3509;
    --mt-cream: #F5EDD5;
    --mt-cream-light: #FBF7EE;
    --mt-tan: #C8A870;
    --mt-tan-light: #F0E6CC;
    --mt-gold: #e9d7ad;
    --mt-gold-hover: #d4c298;
    --mt-white: #FFFFFF;
    --mt-text: #1C1C1C;
    --mt-text-body: #4A4A4A;
    --mt-text-light: #777777;
    --mt-border: rgba(0, 0, 0, .08);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', Helvetica, Arial, sans-serif;

    /* Layout */
    --wrap: 1680px;
    --wrap-mid: 1280px;
    --pad: clamp(20px, 3vw, 60px);

    /* Misc */
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, .08);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, .14);
    --trans: .3s ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--mt-text-body);
    background: var(--mt-white);
    -webkit-font-smoothing: antialiased;
}

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

/* FontAwesome SVG fix – zapobiega chowaniu ikon przez CSS reset */
svg:not(.hero-bg svg):not([width]) {
    overflow: visible;
}

.fa-icon,
i[class*="fa-"] {
    display: inline-block;
}

i[class*="fa-"] svg,
i[class*="fa-"]+svg {
    display: inline-block !important;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}

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

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--mt-text);
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 3.4vw, 2.2rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.2rem);
}

h4 {
    font-size: 1.15rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. Utilities
   -------------------------------------------------------------------------- */
.container-big {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--pad);
}

.container-mid {
    width: 100%;
    max-width: var(--wrap-mid);
    margin-inline: auto;
    padding-inline: var(--pad);
}

/* Section head */
.section-head {
    margin-bottom: 48px;
}

.section-head.text-center {
    text-align: center;
}

.section-pretitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mt-green);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--mt-text);
    line-height: 1.18;
}

.section-desc {
    margin-top: 14px;
    font-size: 1rem;
    color: var(--mt-text-light);
    max-width: 580px;
    line-height: 1.7;
}

.text-center .section-desc {
    margin-inline: auto;
}

.text-center {
    text-align: center;
}

/* Pretitle (about widget alias) */
.pretitle {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mt-green);
    margin-bottom: 14px;
}

/* Przyciski na podstronach (Gutenberg bloki) */
.zamow-na-wynos-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 3rem;
}

.btn-main,
.btn-second {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1;
    transition: var(--trans);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn-main {
    background: var(--mt-green);
    color: var(--mt-white) !important;
    border: 2px solid var(--mt-green);
}

.btn-main::before {
    content: '\f095';
    font-family: 'Font Awesome 7 Duotone';
    font-weight: 300;
    font-style: normal;
    font-size: .95em;
}

.btn-main:hover {
    background: var(--mt-green-hover);
    border-color: var(--mt-green-hover);
    color: var(--mt-white) !important;
}

.btn-second {
    background: transparent;
    color: var(--mt-text);
    border: 2px solid var(--mt-gold);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Ikona */
.btn-second::before {
    content: '\f2e7';
    font-family: 'Font Awesome 7 Duotone';
    font-weight: 300;
    font-style: normal;
    font-size: .95em;
    position: relative;
    z-index: 1;
}

/* Fill animacja */
.btn-second::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--mt-gold);
    transform: translateX(-100%);
    transition: transform var(--trans);
    z-index: -1;
}

.btn-second:hover {
    color: var(--mt-text);
    border-color: var(--mt-gold);
}

.btn-second:hover::after {
    transform: translateX(0);
}

.btn-main-dark,
.btn-outline,
.btn-solid,
.btn-outline-white,
.btn-solid-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1;
    transition: var(--trans);
    white-space: nowrap;
    cursor: pointer;
}

.btn-solid,
.btn-main-dark {
    background: var(--mt-green);
    color: var(--mt-white) !important;
    border: 2px solid var(--mt-green);
}

.btn-solid:hover,
.btn-main-dark:hover {
    background: var(--mt-green-hover);
    border-color: var(--mt-green-hover);
    color: var(--mt-white);
}

.btn-outline {
    position: relative;
    overflow: hidden;
    background: transparent;
    color: var(--mt-text);
    border: 2px solid var(--mt-gold);
    z-index: 0;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--mt-gold);
    transform: translateX(-100%);
    transition: transform var(--trans);
    z-index: -1;
}

.btn-outline:hover {
    border-color: var(--mt-gold);
    color: var(--mt-text);
}

.btn-outline:hover i {
    color: var(--mt-green);
}

.btn-outline:hover::before {
    transform: translateX(0);
}

.btn-outline-white {
    background: transparent;
    color: var(--mt-white);
    border: 2px solid rgba(255, 255, 255, .5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .12);
    border-color: var(--mt-white);
    color: var(--mt-white);
}

.btn-solid-white {
    background: var(--mt-white);
    color: var(--mt-green);
    border: 2px solid var(--mt-white);
}

.btn-solid-white:hover {
    background: var(--mt-cream);
    border-color: var(--mt-cream);
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    transition: box-shadow var(--trans);
    padding-top: 1rem;
}

.site-header.scrolled {
    background: var(--mt-green-hover);
    border-bottom-color: transparent;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .22);
    padding-top: 0;
}

/* Logo – mniejsze, bez tła */
.site-header.scrolled .header-inner {
    height: 72px;
}

.site-header.scrolled .logo-box {
    background: transparent;
    border-radius: 0;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.site-header.scrolled .logo-box:hover {
    background: rgba(255, 255, 255, .08);
}

.site-header.scrolled .logo-box .logo-main img,
.site-header.scrolled .logo-box .custom-logo {
    height: 48px;
}

/* Nav – białe litery na zieleni */
.site-header.scrolled .header-nav .main-menu li a {
    color: rgba(255, 255, 255, .82);
}

.site-header.scrolled .header-nav .main-menu li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.site-header.scrolled .header-nav .main-menu li.current-menu-item>a,
.site-header.scrolled .header-nav .main-menu li.current_page_item>a,
.site-header.scrolled .header-nav .main-menu li.current-menu-ancestor>a {
    color: #fff !important;
    background: #2d5a1b5c !important;
}

/* Phone */
.site-header.scrolled .header-phone {
    color: rgba(255, 255, 255, .82);
}

.site-header.scrolled .header-phone i {
    color: var(--mt-gold);
    opacity: 1;
}

.site-header.scrolled .header-phone:hover {
    color: #fff;
}

/* Social */
.site-header.scrolled .header-social a[href*="facebook"] {
    color: #1877F2;
}

.site-header.scrolled .header-social a[href*="instagram"] {
    color: #E1306C;
}

.site-header.scrolled .header-social__label {
    color: var(--mt-gold);
}

/* Btn solid (Zamów) na zielonej belce – ciemniejszy hover */
.site-header.scrolled .btn-solid:hover,
.site-header.scrolled .btn-main-dark:hover {
    background: var(--mt-green-dark);
    border-color: var(--mt-green-dark);
}

/* Btn reservation (outline) na zielonej belce */
.site-header.scrolled .btn-outline {
    color: #fff;
    border-color: var(--mt-gold);
    background: transparent;
}

.site-header.scrolled .btn-outline::before {
    background: var(--mt-gold);
}

.site-header.scrolled .btn-outline i {
    color: rgba(255, 255, 255, .8);
}

.site-header.scrolled .btn-outline:hover {
    color: var(--mt-green);
    border-color: var(--mt-gold);
}

.site-header.scrolled .btn-outline:hover i {
    color: var(--mt-green);
}

.site-header .container-big {
    max-width: 100%;
    padding-inline: 48px;
}

.header-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 130px;
    transition: height var(--trans);
}

/* --- Logo Box ------------------------------------------------------------ */
.header-logo {
    flex-shrink: 0;
    margin-right: 32px;
}

.logo-box {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    padding: 0;
    transition: background var(--trans);
    overflow: hidden;
}

.logo-box:hover {
    background: var(--mt-green-hover);
}

.logo-box .logo-main,
.logo-box .custom-logo-link {
    display: flex;
}

.logo-box .logo-main img,
.logo-box .custom-logo {
    height: 126px;
    width: auto;
    transition: height var(--trans);
}

.logo-box .logo-secondary img {
    height: 38px;
    width: auto;
    margin-top: 4px;
}

.logo-box .site-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mt-white);
    text-decoration: none;
}

/* --- Navigation --------------------------------------------------------- */
.header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5rem;
}

.header-nav .main-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-nav .main-menu li {
    position: relative;
}

/* Reset z WP/WooCommerce – czyści wszelkie globalne style na li a */
.header-nav .main-menu li a,
.header-nav .main-menu li a:link,
.header-nav .main-menu li a:visited {
    box-shadow: none !important;
    text-decoration: none !important;
    outline: none !important;
}

.header-nav .main-menu li a {
    display: block;
    padding: 9px 20px;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--mt-text);
    border-radius: 50px;
    border: none;
    background: transparent;
    transition: background .2s ease, color .2s ease;
    position: relative;
}

.header-nav .main-menu li a::after {
    display: none;
}

/* Solid header – hover i aktywny */
.header-nav .main-menu li a:hover {
    color: var(--mt-green);
    background: var(--mt-green-light);
}

.header-nav .main-menu li.current-menu-item>a,
.header-nav .main-menu li.current_page_item>a,
.header-nav .main-menu li.current-menu-ancestor>a,
.header-nav .main-menu li.current-page-ancestor>a {
    color: var(--mt-green) !important;
    background: var(--mt-green-light) !important;
    font-weight: 600;
    border: none !important;
    box-shadow: none !important;
}

/* Sub-menu */
.header-nav .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--mt-white);
    border: 1px solid var(--mt-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px 0;
    z-index: 99;
}

.header-nav .main-menu li:hover>.sub-menu {
    display: block;
}

.header-nav .sub-menu li a {
    padding: 10px 20px;
    font-size: .86rem;
    letter-spacing: 0;
}

.header-nav .sub-menu li a::after {
    display: none;
}

.header-nav .sub-menu li a:hover {
    background: var(--mt-cream);
    color: var(--mt-green);
}

/* --- CTA area ----------------------------------------------------------- */
.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 0 0 0 8px;
}

/* Phone */
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--mt-text);
    white-space: nowrap;
    padding: 0 4px;
    margin-right: 36px;
    transition: color var(--trans);
}

.header-phone i {
    font-size: 1rem;
    color: var(--mt-gold);
    opacity: 1;
}

.header-phone:hover {
    color: var(--mt-green);
}

/* Social icons in header */
.header-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 48px;
}

.header-social a {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    color: var(--mt-gold);
    font-size: .95rem;
    transition: var(--trans);
    white-space: nowrap;
}

.header-social a:hover {
    opacity: .75;
}

/* Facebook – brand blue */
.header-social a[href*="facebook"] {
    color: #1877F2;
}

.header-social a[href*="facebook"]:hover {
    color: #1877F2;
}

/* Instagram – amarant */
.header-social a[href*="instagram"] {
    color: #E1306C;
}

.header-social a[href*="instagram"]:hover {
    color: #E1306C;
}

.header-social__label {
    font-size: .92rem;
    font-weight: 600;
    color: inherit;
}

/* Primary CTA */
.header-cta .btn-solid {
    padding: 13px 26px;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .01em;
}


/* Transparent header – aktywny gdy strona ma sekcję .hero i nie scrollowano */
body.has-hero .site-header:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}

body.has-hero .site-header:not(.scrolled) .logo-box {
    background: transparent;
}

body.has-hero .site-header:not(.scrolled) .header-nav .main-menu li a {
    color: rgba(255, 255, 255, .82);
    background: transparent;
}

body.has-hero .site-header:not(.scrolled) .header-nav .main-menu li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

body.has-hero .site-header:not(.scrolled) .header-nav .main-menu li.current-menu-item>a,
body.has-hero .site-header:not(.scrolled) .header-nav .main-menu li.current_page_item>a,
body.has-hero .site-header:not(.scrolled) .header-nav .main-menu li.current-menu-ancestor>a {
    color: #fff !important;
    background: #2d5a1b5c !important;
}

body.has-hero .site-header:not(.scrolled) .header-phone {
    color: rgba(255, 255, 255, .82);
}

body.has-hero .site-header:not(.scrolled) .header-phone i {
    color: var(--mt-gold);
    opacity: 1;
}

body.has-hero .site-header:not(.scrolled) .header-phone:hover {
    color: #fff;
}

body.has-hero .site-header:not(.scrolled) .header-social a {
    background: none;
    color: var(--mt-gold);
}

body.has-hero .site-header:not(.scrolled) .header-social a:hover {
    background: none;
    color: var(--mt-gold-hover);
}

body.has-hero .site-header:not(.scrolled) .btn-outline {
    color: #fff;
    border-color: var(--mt-gold);
    background: transparent;
}

body.has-hero .site-header:not(.scrolled) .btn-outline i {
    color: rgba(255, 255, 255, .8);
}

body.has-hero .site-header:not(.scrolled) .btn-outline::before {
    background: var(--mt-gold);
}

body.has-hero .site-header:not(.scrolled) .btn-outline:hover {
    color: var(--mt-green);
    border-color: var(--mt-gold);
}

body.has-hero .site-header:not(.scrolled) .btn-outline:hover i {
    color: var(--mt-green);
}

body.has-hero .site-header:not(.scrolled) .nav-open {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .5);
}

body.has-hero .site-header:not(.scrolled) .nav-open span {
    background: #fff;
}

/* Hamburger */
.nav-open {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid var(--mt-green);
    background: var(--mt-green);
    margin-left: auto;
    cursor: pointer;
}

.nav-open span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--trans);
}

/* Mobile nav – full-screen overlay */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.mobile-nav__inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--mt-green-dark);
    overflow: hidden;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.is-open .mobile-nav__inner {
    transform: translateX(0);
}

/* Górny pasek: logo + przycisk zamknięcia */
.mnav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    flex-shrink: 0;
}

.mnav-logo a { display: block; }

.mnav-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mnav-logo .site-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* Przycisk zamknięcia */
.nav-close {
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--trans);
}

.nav-close:hover { background: rgba(255, 255, 255, .2); }

.nav-close::before,
.nav-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.nav-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* Menu */
.mnav-menu {
    flex: 1;
    padding: 40px 28px 24px;
    overflow-y: auto;
}

.mnav-menu .main-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.mnav-menu .main-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.mnav-menu .main-menu > li:first-child {
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.mnav-menu .main-menu > li > a {
    display: block;
    padding: 15px 4px;
    font-size: clamp(1.05rem, 3.5vw, 1.3rem);
    font-family: var(--font-heading);
    font-weight: 400;
    color: #fff;
    letter-spacing: .02em;
    transition: color var(--trans), padding-left var(--trans);
}

.mnav-menu .main-menu > li > a:hover,
.mnav-menu .main-menu .current-menu-item > a,
.mnav-menu .main-menu .current-page-ancestor > a {
    color: var(--mt-tan);
    padding-left: 6px;
}

/* Sub-menu */
.mnav-menu .sub-menu {
    flex-direction: column;
    gap: 0;
    padding: 0 0 8px 16px;
    border-left: 2px solid rgba(255, 255, 255, .12);
}

.mnav-menu .sub-menu li a {
    display: block;
    padding: 9px 4px;
    font-size: .95rem;
    color: rgba(255, 255, 255, .65);
    transition: color var(--trans);
}

.mnav-menu .sub-menu li a:hover { color: var(--mt-tan); }

/* Dolna belka: telefon + social + CTA */
.mnav-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    flex-shrink: 0;
}

.mnav-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: .95rem;
    font-weight: 500;
    transition: color var(--trans);
}

.mnav-phone i { color: var(--mt-tan); }
.mnav-phone:hover { color: var(--mt-tan); }

.mnav-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.mnav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 1rem;
    transition: background var(--trans), color var(--trans);
}

.mnav-social a:hover {
    background: var(--mt-tan);
    color: var(--mt-text);
}

.mnav-btn {
    width: 100%;
    justify-content: center;
}

body.nav-locked {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   6. Hero Slider
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--mt-cream);
}

.hero-slider,
.hero-slider .swiper-wrapper,
.hero-slide {
    height: 100svh;
    min-height: 640px;
}

.hero-slider {
    position: relative;
    z-index: 2;
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.09) translate(-1.8%, -1.2%);
    }
}

/* Wideo tło hero */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom,
            rgba(10, 28, 4, .92) 0%,
            rgba(10, 28, 4, .28) 30%,
            transparent 56%),
        linear-gradient(to right,
            rgba(0, 0, 0, .75) 0%,
            rgba(0, 0, 0, .52) 32%,
            rgba(0, 0, 0, .14) 58%,
            transparent 80%),
        linear-gradient(to top,
            rgba(0, 0, 0, .30) 0%,
            transparent 38%);
}

/* Slajdy obrazkowe – ukryte gdy aktywne jest wideo; odkomentuj dla karuzeli */
.hero-bg {
    display: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform-origin: center;
    will-change: transform;
}

.swiper-slide-active .hero-bg {
    animation: heroKenBurns 10s ease-out forwards;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(10, 28, 4, .92) 0%,
            rgba(10, 28, 4, .28) 30%,
            transparent 56%),
        linear-gradient(to right,
            rgba(0, 0, 0, .75) 0%,
            rgba(0, 0, 0, .52) 32%,
            rgba(0, 0, 0, .14) 58%,
            transparent 80%),
        linear-gradient(to top,
            rgba(0, 0, 0, .30) 0%,
            transparent 38%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-box {
    max-width: 820px;
    padding-top: 80px;
    text-align: center;
    margin-inline: auto;
}

.hero-box>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s ease, transform .65s ease;
}

.hero-box.is-visible>* {
    opacity: 1;
    transform: none;
}

.hero-box.is-visible> :nth-child(1) {
    transition-delay: .1s;
}

.hero-box.is-visible> :nth-child(2) {
    transition-delay: .25s;
}

.hero-box.is-visible> :nth-child(3) {
    transition-delay: .4s;
}

.hero-box.is-visible> :nth-child(4) {
    transition-delay: .55s;
}

.hero-box.is-visible> :nth-child(5) {
    transition-delay: .7s;
}

.hero-pretitle {
    display: inline-block;
    background: var(--mt-green);
    color: var(--mt-white);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.07;
    color: var(--mt-white);
    margin-bottom: 28px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}

.hero-text {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, .82);
    line-height: 1.78;
    max-width: 560px;
    margin-inline: auto;
    margin-bottom: 40px;
}

.hero-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
    justify-content: center;
}

/* Hero buttons – override dla ciemnego tła */
.hero .btn-outline {
    border-color: var(--mt-gold);
    color: #fff;
    background: transparent;
}

.hero .btn-outline::before {
    background: var(--mt-gold);
}

.hero .btn-outline:hover {
    color: var(--mt-green);
    border-color: var(--mt-gold);
}

.hero .btn-outline:hover::before {
    transform: translateX(0);
}

/* Social proof */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .84rem;
    color: var(--mt-text-body);
}

.hero-proof-avatars {
    display: flex;
}

.hero-proof-avatars img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--mt-white);
    margin-left: -10px;
    object-fit: cover;
}

.hero-proof-avatars img:first-child {
    margin-left: 0;
}

.hero-proof-stars {
    color: #E8B84B;
}

.hero-proof-text {
    font-size: .82rem;
}

/* Pagination */
.hero .swiper-pagination {
    bottom: 28px;
}

.hero .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, .5);
    opacity: 1;
}

.hero .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 4px;
    background: var(--mt-green);
}

/* Side social */
.hero-social {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    color: var(--mt-green);
    font-size: .9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    transition: var(--trans);
}

.hero-social a:hover {
    background: var(--mt-green);
    color: var(--mt-white);
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   7. Features Strip
   -------------------------------------------------------------------------- */
.features {
    background: var(--mt-white);
    border-top: 1px solid var(--mt-border);
    border-bottom: 1px solid var(--mt-border);
    padding: 24px 0;
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 32px;
    position: relative;
}

.feature-item+.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--mt-border);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--mt-cream);
    color: var(--mt-green);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-title {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    color: var(--mt-text);
    margin-bottom: 2px;
    line-height: 1.3;
}

.feature-desc {
    font-size: .78rem;
    color: var(--mt-text-light);
    margin: 0;
}

/* --------------------------------------------------------------------------
   8. About
   -------------------------------------------------------------------------- */
.about {
    background: var(--mt-cream);
    padding: 100px 0;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    margin-bottom: 24px;
}

.about-content {
    font-size: .98rem;
    color: var(--mt-text-body);
    line-height: 1.78;
    margin-bottom: 36px;
}

.about-content p+p {
    margin-top: .4rem;
}

.about-counters {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--mt-green);
    line-height: 1;
    margin-bottom: 4px;
}

.counter-label {
    font-size: .8rem;
    color: var(--mt-text-light);
}

/* Photo collage */
.about-gallery-collage {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 12px;
}

.gcollage-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
}

.gcollage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gcollage-item:hover img {
    transform: scale(1.04);
}

.gcollage-item--wide {
    grid-column: 1 / -1;
    aspect-ratio: 16/8;
}

/* --------------------------------------------------------------------------
   9. Styles / Services (4 boxy)
   -------------------------------------------------------------------------- */
.styles-section {
    background-color: var(--mt-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' opacity='0.15'%3E%3Cpath d='M32 3L61 32L32 61L3 32Z' fill='none' stroke='%23C8A870' stroke-width='0.8'/%3E%3Ccircle cx='32' cy='32' r='2' fill='%23C8A870'/%3E%3Ccircle cx='0' cy='0' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='64' cy='0' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='0' cy='64' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='64' cy='64' r='1.4' fill='%23C8A870'/%3E%3C/svg%3E");
    background-size: 64px 64px;
    padding: 100px 0;
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.style-item {
    background: var(--mt-cream-light);
    border: 1px solid var(--mt-tan-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1),
        box-shadow .45s cubic-bezier(.22, .61, .36, 1),
        border-color .45s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.style-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--mt-tan);
}

.style-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--mt-green-light);
    color: var(--mt-green);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background .45s cubic-bezier(.22, .61, .36, 1),
        color .45s cubic-bezier(.22, .61, .36, 1);
}

.style-item:hover .style-icon {
    background: var(--mt-green);
    color: var(--mt-white);
}

.style-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mt-text);
    margin-bottom: 10px;
}

.style-desc {
    font-size: .88rem;
    color: var(--mt-text-body);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
}

.style-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--mt-green);
    margin-top: auto;
    transition: color .45s cubic-bezier(.22, .61, .36, 1);
}

.style-link i {
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

.style-link:hover {
    color: var(--mt-green-hover);
}

.style-item:hover .style-link i {
    transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   10. Menu Restauracji
   -------------------------------------------------------------------------- */
.menu-section {
    background-color: var(--mt-cream);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' opacity='0.15'%3E%3Cpath d='M32 3L61 32L32 61L3 32Z' fill='none' stroke='%23C8A870' stroke-width='0.8'/%3E%3Ccircle cx='32' cy='32' r='2' fill='%23C8A870'/%3E%3Ccircle cx='0' cy='0' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='64' cy='0' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='0' cy='64' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='64' cy='64' r='1.4' fill='%23C8A870'/%3E%3C/svg%3E");
    background-size: 64px 64px;
    padding: 100px 0;
}

body.home .menu-section {
    background-image: none;
    background-color: var(--mt-cream);
}

.menu-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 auto 48px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--mt-tan-light);
    border-radius: 50px;
    padding: 6px;
    width: fit-content;
}

.menu-filter {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--mt-text-light);
    background: transparent;
    transition: var(--trans);
}

.menu-filter:hover {
    color: var(--mt-text);
}

.menu-filter.is-active {
    background: var(--mt-green);
    color: var(--mt-white);
    box-shadow: 0 2px 12px rgba(45, 90, 27, .3);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.menu-grid .menu-item {
    background: var(--mt-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--trans);
    display: flex;
    flex-direction: column;
}

.menu-grid .menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.menu-item-img-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.menu-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.menu-grid .menu-item:hover .menu-item-img {
    transform: scale(1.06);
}

.menu-item-body {
    padding: 20px;
    padding-right: 52px;
    /* miejsce na ikonkę */
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

/* Ikonka kategorii — kółeczko top-right */
.menu-item-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--mt-cream);
    border: 1px solid var(--mt-tan-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.menu-item-category {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mt-green-mid);
    margin-bottom: 6px;
}

.menu-item-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mt-text);
    margin-bottom: 8px;
}

.menu-item-ingredients {
    font-size: .82rem;
    color: var(--mt-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.menu-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--mt-border);
    margin-top: auto;
}

/* Ceny — badge */
.menu-item-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.menu-item-prices .price {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--mt-green-light);
    color: var(--mt-green);
    padding: 4px 10px 4px 8px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 600;
}

.menu-item-prices .price .price-icon {
    font-size: .75rem;
    opacity: .85;
}

.menu-item-prices .price+.price {
    border-left: none;
    padding-left: 0;
}

.menu-item-prices .price .currency {
    font-size: .82rem;
    font-weight: 600;
    color: var(--mt-green-hover);
    margin-left: 1px;
}

.menu-item-order {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--mt-green);
    color: var(--mt-white);
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    transition: var(--trans);
}

.menu-item-order:hover {
    background: var(--mt-green-hover);
    color: var(--mt-white);
}

.menu-item-order::before {
    content: '+';
    font-size: 1rem;
    font-weight: 700;
}

.menu-cta {
    text-align: center;
}

/* --------------------------------------------------------------------------
   11. Gallery
   -------------------------------------------------------------------------- */
.gallery-section {
    background: var(--mt-green-dark);
    padding: 100px 0;
    overflow: hidden;
}

.gallery-section .section-pretitle {
    color: var(--mt-green-mid);
}

.gallery-section .section-title {
    color: var(--mt-white);
}

.gallery-grid {
    columns: 4;
    column-gap: 14px;
    margin-top: 48px;
    padding-inline: var(--pad);
    max-width: var(--wrap);
    margin-inline: auto;
}

.gallery-item {
    break-inside: avoid;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px;
}

.gallery-item a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.gallery-item a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 28, 4, .55) 0%,
            transparent 55%);
    opacity: 0;
    transition: opacity .45s cubic-bezier(.22, .61, .36, 1);
}

.gallery-item a:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}

.gallery-item a:hover img {
    transform: scale(1.07);
}

/* --------------------------------------------------------------------------
   12. Reviews
   -------------------------------------------------------------------------- */
.reviews-section {
    background-color: var(--mt-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' opacity='0.15'%3E%3Cpath d='M32 3L61 32L32 61L3 32Z' fill='none' stroke='%23C8A870' stroke-width='0.8'/%3E%3Ccircle cx='32' cy='32' r='2' fill='%23C8A870'/%3E%3Ccircle cx='0' cy='0' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='64' cy='0' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='0' cy='64' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='64' cy='64' r='1.4' fill='%23C8A870'/%3E%3C/svg%3E");
    background-size: 64px 64px;
    padding: 100px 0;
}

.reviews-cta-box {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-top: 64px;
    padding: 72px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
    background-image: url('https://www.maithai.in/wp-content/uploads/2026/04/MT-128-z-183-1.jpg');
    background-size: cover;
    background-position: center;
}

.reviews-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(10, 28, 4, .88) 0%,
            rgba(26, 53, 9, .75) 50%,
            rgba(45, 90, 27, .60) 100%);
    z-index: 0;
}

.reviews-cta-box>* {
    position: relative;
    z-index: 1;
}

.reviews-cta-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--mt-white);
    margin-bottom: 10px;
}

.reviews-cta-text p {
    font-size: .95rem;
    color: rgba(255, 255, 255, .78);
    line-height: 1.6;
}

.reviews-cta-action {
    flex-shrink: 0;
}

.reviews-google-widget {
    margin: 48px 0 40px;
}

/* Fallback cards */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.review-card {
    background: var(--mt-cream-light);
    border: 1px solid var(--mt-tan-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
}

.review-stars {
    color: #E8B84B;
    font-size: 1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.review-text {
    font-size: .94rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--mt-text-body);
    margin-bottom: 22px;
    position: relative;
    padding-left: 18px;
}

.review-text::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -6px;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--mt-tan);
    line-height: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author-name {
    font-weight: 600;
    font-size: .88rem;
    color: var(--mt-text);
    margin-bottom: 2px;
}

.review-author-role {
    font-size: .76rem;
    color: var(--mt-text-light);
}

/* Reviews CTA box (dark green) */
.reviews-cta-box {
    border-radius: var(--radius-lg);
    padding: 112px var(--pad);
    text-align: center;
    margin-top: 48px;
}

.reviews-cta-box h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--mt-white);
    margin-bottom: 12px;
}

.reviews-cta-box p {
    color: rgba(255, 255, 255, .78);
    max-width: 520px;
    margin: 0 auto 28px;
}

.reviews-cta-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.reviews-cta-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: var(--mt-white);
    font-size: 1rem;
    transition: var(--trans);
}

.reviews-cta-social a:hover {
    background: rgba(255, 255, 255, .35);
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
.contact-section {
    background-color: var(--mt-cream);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' opacity='0.15'%3E%3Cpath d='M32 3L61 32L32 61L3 32Z' fill='none' stroke='%23C8A870' stroke-width='0.8'/%3E%3Ccircle cx='32' cy='32' r='2' fill='%23C8A870'/%3E%3Ccircle cx='0' cy='0' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='64' cy='0' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='0' cy='64' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='64' cy='64' r='1.4' fill='%23C8A870'/%3E%3C/svg%3E");
    background-size: 64px 64px;
    padding: 100px 0;
}

body.home .contact-section {
    background-image: none;
    background-color: var(--mt-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    margin-top: 56px;
}

.contact-info {
    background: var(--mt-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 32px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .94rem;
    color: var(--mt-text-body);
    line-height: 1.6;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mt-green-light);
    color: var(--mt-green);
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-list a {
    color: var(--mt-green);
}

.contact-info-list a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-map iframe {
    display: block;
    width: 100%;
    border-radius: var(--radius);
}

.contact-form {
    background: var(--mt-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}

/* CF7 resets */
.contact-form .wpcf7 {
    width: 100%;
}

.contact-form .wpcf7-form p {
    margin-bottom: 18px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--mt-text);
    background: var(--mt-white);
    outline: none;
    transition: border-color var(--trans);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--mt-green);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input[type="submit"],
.contact-form .wpcf7-submit {
    width: 100%;
    padding: 16px;
    background: var(--mt-green);
    color: var(--mt-white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans);
}

.contact-form input[type="submit"]:hover,
.contact-form .wpcf7-submit:hover {
    background: var(--mt-green-hover);
}

/* Komunikaty walidacji */
.contact-form .wpcf7-not-valid-tip {
    font-size: .72rem;
    color: #c0392b;
    margin-top: 4px;
    display: block;
}

/* CF7 – walidacja pól */
.contact-form .wpcf7-form-control.wpcf7-not-valid {
    border-color: #e74c3c !important;
    background: #fff8f7 !important;
}

/* CF7 – response output (komunikaty ogólne) */
.contact-form .wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 14px 18px !important;
    border-radius: var(--radius) !important;
    font-size: .85rem !important;
    font-family: var(--font-body) !important;
    line-height: 1.5;
}

/* Błąd walidacji */
.contact-form .wpcf7-response-output.wpcf7-validation-errors,
.contact-form .wpcf7-response-output.wpcf7-not-valid {
    background: #fdf2f2 !important;
    color: #922b21 !important;
    border-left: 4px solid #e74c3c !important;
}

/* Sukces */
.contact-form .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #f0faf0 !important;
    color: var(--mt-green-dark) !important;
    border-left: 4px solid var(--mt-green) !important;
}

/* Błąd wysyłki (serwer) */
.contact-form .wpcf7-response-output.wpcf7-mail-sent-ng,
.contact-form .wpcf7-response-output.wpcf7-spam-blocked {
    background: #fef9ec !important;
    color: #7d6608 !important;
    border-left: 4px solid #f1c40f !important;
}

/* Zgoda RODO */
.contact-form .wpcf7-acceptance label,
.contact-form .wpcf7-list-item label {
    font-size: .75rem;
    color: var(--mt-text-light);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.contact-form .wpcf7-acceptance input[type="checkbox"],
.contact-form .wpcf7-list-item input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   14. Footer CTA Bar
   -------------------------------------------------------------------------- */
.footer-cta-bar {
    background: url('https://www.maithai.in/wp-content/uploads/2026/04/MT-111-z-183.jpg')center/cover no-repeat;
    padding: 80px 0 64px;
    text-align: center;
    position: relative
}

.footer-cta-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 28, 4, .88) 0%, rgba(26, 53, 9, .75) 50%, rgba(45, 90, 27, .60) 100%);
    z-index: 0;
}

.footer-cta-bar>* {
    position: relative;
    z-index: 1;
}

.fca-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--mt-white);
    margin-bottom: 16px;
}

.fca-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, .76);
    max-width: 500px;
    margin: 0 auto 36px;
}

.fca-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.fca-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.fca-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mt-white);
    line-height: 1;
    margin-bottom: 6px;
}

.fca-stat-label {
    font-size: .82rem;
    color: rgba(255, 255, 255, .68);
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--mt-green-dark);
    color: rgba(245, 237, 213, .75);
    font-size: .9rem;
}

/* Zdjęcie w tle footera – wyłączone na homepage */
body.home .site-footer::after {
    display: none;
}

/* Zdjęcie w tle footera */
.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://www.maithai.in/wp-content/uploads/2026/04/MT-156-z-183.jpg') center / cover no-repeat;
    opacity: .14;
    pointer-events: none;
    z-index: 0;
}

/* Cała zawartość nad obrazkiem */
.site-footer>* {
    position: relative;
    z-index: 1;
}

.site-footer a {
    color: var(--mt-cream);
    transition: var(--trans);
}

.site-footer a:hover {
    color: var(--mt-gold);
}

.footer-widget {
    padding: 72px 0 56px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-widget-grid {
    display: grid;
    grid-template-columns: 52% 18% 18% 12%;
    gap: 0;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-site-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--mt-white);
    display: inline-block;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: .88rem;
    color: rgba(245, 237, 213, .65);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 55%;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .75);
    font-size: .9rem;
    transition: var(--trans);
}

.footer-social-icon:hover {
    background: var(--mt-green);
    color: var(--mt-white);
    transform: scale(1.08);
}

/* Logo */
.footer-logo {
    height: 120px;
    width: auto;
}

/* Nagłówki kolumn */
.site-footer h2,
.site-footer .widgettitle,
.site-footer .widget-title,
.site-footer .wp-block-heading {
    font-family: 'Playfair Display', var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--mt-white);
    margin-bottom: 22px;
}

/* Kolumny 2–4 wyrównane do prawej */
.footer-widget-grid>div:not(.col-first) {
    text-align: right;
}

/* Ostatni widget (Na skróty) — padding od lewej */
.footer-widget-grid>div:last-child {
    padding-left: 32px;
}

/* Paragrafy ogólnie */
.site-footer .widget p,
.site-footer .widget_text p {
    font-size: .9rem;
    color: rgba(245, 237, 213, .8);
    line-height: 1.75;
    margin-bottom: 10px;
}

/* Paragrafy z ikonami w kol. 2–4: inline + text-align right */
#block-3 p,
#block-4 p,
#block-5 p {
    display: block;
    text-align: right;
}

/* Wspólne właściwości ikon ::before */
#block-3 p::before,
#block-4 p::before,
#block-5 p::before {
    font-family: 'Font Awesome 7 Duotone';
    font-weight: 300;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: .82rem;
    color: var(--mt-cream);
    margin-right: 7px;
    display: inline-block;
}

#block-3 p::before {
    content: '\f3c5';
}

/* fa-location-dot */
#block-4 p::before {
    content: '\f095';
}

/* fa-phone        */
#block-5 p::before {
    content: '\f0e0';
}

/* fa-envelope     */

/* Lista "Na skróty" */
.site-footer ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

/* W kol. 2–4: li do prawej — ikona po tekście */
.footer-widget-grid>div:not(.col-first) ul li {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

/* Ikona chevron (FA7 Pro Light) */
.site-footer ul li::before {
    content: '\f054';
    /* fa-chevron-right */
    font-family: 'Font Awesome 7 Duotone';
    font-weight: 300;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: .58rem;
    color: var(--mt-cream);
    flex-shrink: 0;
    transition: transform .2s ease;
    margin-right: 10px;
}

/* W kol. 2–4: chevron po prawej stronie */
.footer-widget-grid>div:not(.col-first) ul li::before {
    margin-right: 0;
    margin-left: 10px;
}

.site-footer ul li:hover::before {
    transform: translateX(3px);
}

.footer-widget-grid>div:not(.col-first) ul li:hover::before {
    transform: translateX(3px);
}

.site-footer ul li a {
    font-size: .95rem;
    color: var(--mt-cream);
    padding: 2px 0;
    transition: color .2s ease;
    flex: 1;
}

.footer-widget-grid>div:not(.col-first) ul li a {
    text-align: right;
}

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

/* Footer bottom */
.footer-bottom {
    padding: 20px 0;
}

.fb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-credits {
    font-size: .8rem;
    color: rgba(245, 237, 213, .45);
}

.footer-credits a {
    color: rgba(245, 237, 213, .65);
}

.footer-author {
    font-size: .8rem;
    color: rgba(245, 237, 213, .4);
}

.footer-author a {
    color: rgba(245, 237, 213, .6);
}

.scroll-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .65);
    font-size: .85rem;
    transition: var(--trans);
}

.scroll-top a:hover {
    background: var(--mt-green);
    color: var(--mt-white);
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   16. Inner pages: banners, content, archive, single, 404, search
   -------------------------------------------------------------------------- */

/* --- Page banner base --- */
.page-banner {
    position: relative;
    background: var(--mt-cream);
    padding: 260px 0 100px;
    text-align: center;
    overflow: hidden;
}

/* Wariant z obrazkiem ACF */
.page-banner--has-img {
    background: var(--mt-green-dark);
    padding-bottom: 120px;
}

.page-banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .6;
    transition: opacity .4s;
}

.page-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 25, 5, .55) 0%,
            rgba(10, 25, 5, .30) 60%,
            rgba(10, 25, 5, .55) 100%);
}

.page-banner__inner {
    position: relative;
    z-index: 2;
}

.page-banner__pretitle {
    display: block;
    margin-bottom: 12px;
    color: var(--mt-tan);
    letter-spacing: .22em;
}

.page-banner--has-img .page-banner__pretitle {
    color: var(--mt-gold);
}

.page-banner__title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--mt-text);
}

.page-banner--has-img .page-banner__title {
    color: var(--mt-white);
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

/* Fala dopasowana do koloru sekcji poniżej (cream) */
.page-template-page-menu .page-banner__wave path,
.page-template-page-contact .page-banner__wave path {
    fill: var(--mt-cream);
}

/* --- Wave --- */
.page-banner__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 3;
}

.page-banner__wave svg {
    display: block;
    width: 100%;
    height: 72px;
}

/* --- Galeria: masonry z bloku Gutenberg --- */

/* --- Galeria: masonry z bloku Gutenberg --- */

/* Reset Gutenberg grid/flex */
.entry-page--gallery .wp-block-gallery,
.entry-page--gallery .wp-block-gallery.has-nested-images {
    display: block !important;
    columns: 4 !important;
    column-gap: 14px !important;
    flex-wrap: unset !important;
    grid-template-columns: unset !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: var(--wrap) !important;
}

/* Padding boczny galerii */
.entry-page--gallery .entry-content {
    max-width: 100% !important;
    padding-inline: var(--pad);
}

/* Każde zdjęcie = jedna cegiełka */
.entry-page--gallery .wp-block-gallery .wp-block-image,
.entry-page--gallery .wp-block-gallery figure.wp-block-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: unset !important;
    break-inside: avoid;
    margin: 0 0 14px !important;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.entry-page--gallery .wp-block-gallery .wp-block-image figure,
.entry-page--gallery .wp-block-gallery .wp-block-image>figure {
    margin: 0 !important;
    width: 100% !important;
}

/* Hover overlay na figure (nie na <a>, żeby działało zawsze) */
.entry-page--gallery .wp-block-gallery .wp-block-image {
    cursor: zoom-in;
}

.entry-page--gallery .wp-block-gallery .wp-block-image::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(10, 28, 4, .6) 0%, transparent 60%) !important;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
    z-index: 2;
    border-radius: var(--radius);
}

.entry-page--gallery .wp-block-gallery .wp-block-image:hover::after {
    opacity: 1 !important;
}

/* Link */
.entry-page--gallery .wp-block-gallery .wp-block-image a {
    display: block !important;
    overflow: hidden !important;
    border-radius: var(--radius) !important;
}

/* Obrazek */
.entry-page--gallery .wp-block-gallery .wp-block-image img,
.entry-page--gallery .wp-block-gallery .wp-block-image a img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    transition: transform .55s cubic-bezier(.22, .61, .36, 1) !important;
    border-radius: var(--radius) !important;
    margin: 0 !important;
}

.entry-page--gallery .wp-block-gallery .wp-block-image:hover img {
    transform: scale(1.07) !important;
}

/* Stary format galerii (ul > li) */
.entry-page--gallery .wp-block-gallery ul.blocks-gallery-grid {
    display: block !important;
    columns: 4 !important;
    column-gap: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.entry-page--gallery .wp-block-gallery .blocks-gallery-item {
    break-inside: avoid;
    width: 100% !important;
    margin: 0 0 14px !important;
    display: block !important;
    border-radius: var(--radius);
    overflow: hidden;
}

.entry-page--gallery .wp-block-gallery .blocks-gallery-item figure,
.entry-page--gallery .wp-block-gallery .blocks-gallery-item a,
.entry-page--gallery .wp-block-gallery .blocks-gallery-item img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
}

/* --- Entry page (content below banner) --- */
.entry-page {
    padding: 64px 0 96px;
    position: relative;
    background-color: var(--mt-white);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' opacity='0.15'%3E%3Cpath d='M32 3L61 32L32 61L3 32Z' fill='none' stroke='%23C8A870' stroke-width='0.8'/%3E%3Ccircle cx='32' cy='32' r='2' fill='%23C8A870'/%3E%3Ccircle cx='0' cy='0' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='64' cy='0' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='0' cy='64' r='1.4' fill='%23C8A870'/%3E%3Ccircle cx='64' cy='64' r='1.4' fill='%23C8A870'/%3E%3C/svg%3E");
    background-size: 64px 64px;
    background-repeat: repeat;
    background-position: center top;
}

/* Dekoracyjny separator na wejściu sekcji */
.entry-page .container-big::before {
    content: '';
    display: block;
    height: 1px;
    width: 120px;
    background: linear-gradient(to right, transparent, var(--mt-tan), transparent);
    margin: 0 auto 52px;
}

.content-area {
    padding: 80px 0;
}

.entry-content {
    max-width: 1200px;
    margin-inline: auto;
    font-size: 1rem;
    line-height: 1.82;
    color: var(--mt-text-body);
}

.entry-content h2,
.entry-content h3 {
    margin: 2rem 0 .9rem;
}

.entry-content p {
    margin-bottom: 1.2rem;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.2rem;
}

.entry-content ul li {
    list-style: disc;
    margin-bottom: .3rem;
}

.entry-content ol li {
    list-style: decimal;
    margin-bottom: .3rem;
}

.entry-content img {
    border-radius: var(--radius);
    margin: 2rem auto;
}

.entry-content blockquote {
    border-left: 4px solid var(--mt-green);
    margin: 1.5rem 0;
    padding: 12px 24px;
    background: var(--mt-cream);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--mt-text-light);
}

/* Archive grid */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 72px 0;
}

.archive-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--mt-white);
    box-shadow: var(--shadow);
    transition: var(--trans);
}

.archive-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.archive-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.archive-card:hover .archive-card-img img {
    transform: scale(1.05);
}

.archive-card-body {
    padding: 24px;
}

.archive-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--mt-text);
    margin-bottom: 8px;
}

.archive-card-title a:hover {
    color: var(--mt-green);
}

.archive-card-excerpt {
    font-size: .86rem;
    color: var(--mt-text-light);
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 0;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--mt-border);
    font-size: .9rem;
    color: var(--mt-text-body);
    transition: var(--trans);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--mt-green);
    border-color: var(--mt-green);
    color: var(--mt-white);
}

/* Single */
.single-header {
    background: var(--mt-cream);
    padding: 130px 0 60px;
    text-align: center;
}

.single-header .post-categories a {
    display: inline-block;
    padding: 4px 14px;
    background: var(--mt-green-light);
    color: var(--mt-green);
    border-radius: 50px;
    font-size: .73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
}

.single-header h1 {
    max-width: 760px;
    margin: 0 auto 20px;
}

.single-featured-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 520px;
    margin: 48px 0;
}

.single-featured-img img {
    width: 100%;
    object-fit: cover;
}

/* 404 */
.error-404 {
    padding: 140px 0;
    text-align: center;
}

.error-404-number {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 18vw, 12rem);
    color: var(--mt-cream);
    line-height: 1;
    font-weight: 700;
}

.error-404 h2 {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.error-404 p {
    color: var(--mt-text-light);
    margin-bottom: 32px;
}

/* Search */
.search-hero {
    background: var(--mt-cream);
    padding: 100px 0 60px;
    text-align: center;
}

.search-form-wrap {
    max-width: 560px;
    margin: 24px auto 0;
}

.search-form-wrap .search-form {
    display: flex;
    gap: 10px;
}

.search-form-wrap input[type="search"] {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid var(--mt-border);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: .95rem;
    outline: none;
    transition: border-color var(--trans);
}

.search-form-wrap input[type="search"]:focus {
    border-color: var(--mt-green);
}

.search-form-wrap input[type="submit"] {
    padding: 14px 28px;
    background: var(--mt-green);
    color: var(--mt-white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--trans);
}

.search-form-wrap input[type="submit"]:hover {
    background: var(--mt-green-hover);
}

/* WP Admin bar */
.admin-bar .site-header {
    top: 32px;
}

/* --------------------------------------------------------------------------
   17. Animations / scroll-reveal
   -------------------------------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: none;
}