/*
Theme Name: Ceylon Legacy Travel
Theme URI: https://ceylonlegacytravel.com
Author: Manoj Thilskahana
Author URI: https://ceylonlegacytravel.com
Description: A premium WordPress theme for Ceylon Legacy Travel Sri Lanka tours
Version: 1.1.1
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ceylonlegacytravel
Tags: travel, tours, responsive, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   TABLE OF CONTENTS
   1. CSS Variables & Reset
   2. Base Typography
   3. Layout & Containers
   4. Buttons
   5. Header & Navigation
   6. Mobile Navigation
   7. Hero Section
   8. Tours Grid
   9. Tour Card
   10. Why Choose Us
   11. About Section
   12. Testimonials
   13. CTA Banner
   14. Footer
   15. Page Template
   16. Single Post / Tour
   17. Archive Templates
   18. Sidebar & Widgets
   19. Forms & Inputs
   20. 404 Page
   21. Utilities
   22. Responsive Media Queries
   ========================================================================== */

/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */

:root {
    --color-primary: #2c5f2e;
    --color-primary-dark: #1e4220;
    --color-primary-light: #3a7a3d;
    --color-secondary: #c8972b;
    --color-secondary-dark: #a87a1f;
    --color-secondary-light: #e0ab3e;
    --color-dark: #1a1a2e;
    --color-light: #f8f5f0;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-text-light: #999999;
    --color-white: #ffffff;
    --color-border: #e0dbd3;
    --color-overlay: rgba(26, 26, 46, 0.65);

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', Helvetica, Arial, sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.22);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    --container-max: 1280px;
    --container-narrow: 900px;
    --header-height: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover,
a:focus {
    color: var(--color-secondary);
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* ==========================================================================
   2. Base Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

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

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

blockquote {
    border-left: 4px solid var(--color-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    margin: var(--spacing-lg) 0;
    background: var(--color-light);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

blockquote cite {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    color: var(--color-primary);
}

hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--spacing-lg) 0;
}

code, pre {
    font-family: 'Courier New', monospace;
    background: var(--color-light);
    border-radius: var(--border-radius-sm);
}

code {
    padding: 0.2em 0.4em;
    font-size: 0.875em;
}

pre {
    padding: var(--spacing-sm);
    overflow-x: auto;
    margin-bottom: var(--spacing-sm);
}

/* Accessible focus styles */
:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
}

/* ==========================================================================
   3. Layout & Containers
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container--narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section--light {
    background-color: var(--color-light);
}

.section--dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header .section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.section--dark .section-header p,
.section--primary .section-header p {
    color: rgba(255,255,255,0.8);
}

.section--dark .section-header h2,
.section--primary .section-header h2 {
    color: var(--color-white);
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

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

.flex {
    display: flex;
    gap: var(--spacing-md);
}

.flex--center {
    align-items: center;
    justify-content: center;
}

.flex--between {
    align-items: center;
    justify-content: space-between;
}

.site-main {
    min-height: 60vh;
}

.content-area {
    padding: var(--spacing-xl) 0;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--spacing-xl);
    align-items: start;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.925rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--border-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
}

.btn--primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn--primary:hover {
    background-color: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--outline-gold {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn--outline-gold:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn--whatsapp {
    background-color: #25d366;
    color: #fff;
    border-color: #25d366;
}

.btn--whatsapp:hover {
    background-color: #1ebe5d;
    border-color: #1ebe5d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
}

.btn--lg {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

/* Play / Video Button */
.btn--play {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--color-white);
    font-family: var(--font-body);
    text-align: left;
}

.btn--play__circle {
    position: relative;
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.btn--play:hover .btn--play__circle,
.btn--play:focus-visible .btn--play__circle {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.1);
}

.btn--play__ripple {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: playRipple 2.2s ease-out infinite;
    pointer-events: none;
}

@keyframes playRipple {
    0%   { opacity: 0.7; transform: scale(1); }
    100% { opacity: 0;   transform: scale(1.6); }
}

.btn--play__icon {
    margin-left: 4px; /* optical centering for the triangle */
    transition: transform var(--transition-fast);
}

.btn--play:hover .btn--play__icon {
    transform: scale(1.15);
}

.btn--play__text {
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    transition: color var(--transition-fast);
}

.btn--play:hover .btn--play__text,
.btn--play:focus-visible .btn--play__text {
    color: var(--color-white);
}

.btn--play:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal__inner {
    position: relative;
    z-index: 1;
    width: min(90vw, 960px);
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.is-open .video-modal__inner {
    transform: scale(1);
}

.video-modal__close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    opacity: 0.75;
    padding: 0.5rem;
    line-height: 1;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.video-modal__close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.video-modal__close:focus-visible {
    outline: 2px solid var(--color-secondary);
    border-radius: 4px;
}

.video-modal__frame {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}

.video-modal__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   5. Header & Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.site-header.is-transparent {
    background: transparent;
}

.site-header.is-scrolled,
.site-header.is-solid {
    background-color: var(--color-dark);
    box-shadow: var(--shadow-md);
}

.top-bar {
    background-color: var(--color-primary);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    transition: all var(--transition-base);
}

.site-header.is-scrolled .top-bar {
    display: none;
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
}

.top-bar__contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.top-bar__contact a {
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    transition: color var(--transition-fast);
}

.top-bar__contact a:hover {
    color: var(--color-secondary);
}

.top-bar__contact .dashicons,
.top-bar__contact .top-icon {
    font-size: 0.9rem;
}

.top-bar__social {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.top-bar__social a {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    padding: 0.2rem 0.4rem;
    transition: color var(--transition-fast);
}

.top-bar__social a:hover {
    color: var(--color-secondary);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: var(--spacing-md);
}

.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.custom-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin: 0;
}

.site-title span {
    display: block;
    font-size: 0.7rem;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-top: 2px;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.9);
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
    color: var(--color-secondary);
}

/* Dropdown */
.main-navigation .sub-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 230px;
    background: #fff;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 9999;
    border-top: 3px solid var(--color-secondary);
    list-style: none;
    /* override the top-level flex so items stack vertically */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    position: static;
    width: 100%;
}

.main-navigation .sub-menu a {
    color: var(--color-text);
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.main-navigation .sub-menu a:hover {
    background: var(--color-light);
    color: var(--color-primary);
}

/* Down-arrow indicator on parent links */
.main-navigation .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.main-navigation .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.nav-book-btn {
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

/* ==========================================================================
   6. Mobile Navigation
   ========================================================================== */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    gap: 5px;
    transition: border-color var(--transition-fast);
    padding: 0;
}

.hamburger:hover {
    border-color: var(--color-secondary);
}

.hamburger__line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-white);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.is-active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 90vw;
    background: var(--color-dark);
    z-index: 2000;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
}

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

.mobile-nav__close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    transition: background var(--transition-fast);
}

.mobile-nav__close:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li a {
    display: block;
    padding: 0.875rem 0;
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color var(--transition-fast);
}

.mobile-nav li a:hover {
    color: var(--color-secondary);
}

.mobile-nav .sub-menu {
    padding-left: var(--spacing-sm);
}

.mobile-nav .sub-menu a {
    font-size: 0.925rem;
    font-weight: 400;
    padding: 0.625rem 0;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
    backdrop-filter: blur(2px);
}

.mobile-overlay.is-visible {
    display: block;
}

/* ==========================================================================
   7. Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-dark);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero__bg.loaded {
    transform: scale(1);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.75) 0%,
        rgba(44, 95, 46, 0.55) 60%,
        rgba(200, 151, 43, 0.25) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 900px;
}

.hero__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(200, 151, 43, 0.5);
    border-radius: 50px;
    backdrop-filter: blur(4px);
    background: rgba(200, 151, 43, 0.1);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__title em {
    font-style: italic;
    color: var(--color-secondary);
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid rgba(255,255,255,0.6);
    border-bottom: 2px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================================================
   7a. Hero — Split Layout (video-inspired)
   ========================================================================== */

.hero--split {
    align-items: stretch;
}

/* Override overlay for split: stronger on left for text legibility */
.hero--split .hero__overlay {
    background: linear-gradient(
        105deg,
        rgba(26, 26, 46, 0.82) 0%,
        rgba(26, 26, 46, 0.65) 55%,
        rgba(26, 26, 46, 0.30) 100%
    );
}

.hero__split-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    width: 100%;
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 4rem;
    min-height: 100vh;
}

/* Override: left-align content in split hero */
.hero--split .hero__content {
    text-align: left;
    padding: 0;
    max-width: 540px;
    flex: 1 1 0;
    min-width: 0;
}

.hero--split .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 480px;
}

.hero--split .hero__actions {
    justify-content: flex-start;
}

.hero--split .hero__title {
    font-size: clamp(3rem, 6.5vw, 6rem);
}

/* Vertical Social Bar */
.hero__social-bar {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero__social-link {
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
    text-decoration: none;
    flex-shrink: 0;
}

.hero__social-link:hover {
    color: var(--color-white);
    border-color: var(--color-secondary);
    background: rgba(200, 151, 43, 0.18);
    transform: translateY(-2px);
}

.hero__social-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
    margin-top: 0.25rem;
}

/* Destination Card Widget */
.hero__dest-widget {
    flex: 0 0 320px;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero__dest-track {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.08);
}

.hero__dest-slide {
    display: none;
    flex-direction: column;
}

.hero__dest-slide.is-active {
    display: flex;
}

.hero__dest-img {
    height: 195px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__dest-icon {
    font-size: 4rem;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    user-select: none;
}

.hero__dest-info {
    background: rgba(16, 20, 40, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 1.35rem 1.5rem 1.5rem;
}

.hero__dest-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 0.65rem;
}

.hero__dest-name em {
    display: block;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.15rem;
}

.hero__dest-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin-bottom: 0.9rem;
}

.hero__dest-cta {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.hero__dest-cta:hover {
    color: var(--color-secondary-light);
}

/* Destination footer: dots + arrows */
.hero__dest-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.25rem;
}

.hero__dest-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero__dest-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition-fast), width var(--transition-fast), border-radius var(--transition-fast);
    flex-shrink: 0;
}

.hero__dest-dot.is-active {
    width: 26px;
    border-radius: 4px;
    background: var(--color-secondary);
}

.hero__dest-dot:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.6);
}

.hero__dest-arrows {
    display: flex;
    gap: 0.5rem;
}

.hero__dest-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), border-color var(--transition-fast);
    flex-shrink: 0;
}

.hero__dest-arrow:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* ==========================================================================
   8. Tours Grid (Archive & Featured)
   ========================================================================== */

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.tours-filter {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.tours-filter__label {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-right: var(--spacing-xs);
}

.filter-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-link:hover,
.filter-link.active,
.filter-link.current-cat {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================================================
   9. Tour Card
   ========================================================================== */

.tour-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.tour-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
    flex-shrink: 0;
}

.tour-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.tour-card:hover .tour-card__image img {
    transform: scale(1.08);
}

.tour-card__badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.tour-card__wishlist {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    backdrop-filter: blur(4px);
}

.tour-card__wishlist:hover {
    background: var(--color-white);
    color: #e74c3c;
}

.tour-card__body {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-card__category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.tour-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.tour-card__title a {
    color: inherit;
    transition: color var(--transition-fast);
}

.tour-card__title a:hover {
    color: var(--color-primary);
}

.tour-card__excerpt {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card__meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.tour-card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.tour-card__meta-item .meta-icon {
    font-size: 0.875rem;
    color: var(--color-primary);
}

.tour-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-light);
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
}

.tour-card__price {
    display: flex;
    flex-direction: column;
}

.tour-card__price-label {
    font-size: 0.7rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tour-card__price-amount {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.tour-card__price-amount span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-muted);
    font-family: var(--font-body);
}

.tour-card__no-image {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 3rem;
}

/* ==========================================================================
   10. Why Choose Us
   ========================================================================== */

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

.feature-box {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border-bottom: 4px solid transparent;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--color-secondary);
}

.feature-box__icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    font-size: 1.75rem;
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(44, 95, 46, 0.35);
}

.feature-box__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-dark);
    margin-bottom: 0.625rem;
}

.feature-box__text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   11. About Section
   ========================================================================== */

.about-section {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image__main {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    max-height: 560px;
}

.about-image__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image__accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 200px;
    height: 200px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 6px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

.about-image__accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image__badge {
    position: absolute;
    top: 2rem;
    left: -1.5rem;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-image__badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-image__badge-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.about-content .section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
}

.about-content h2 {
    margin-bottom: var(--spacing-sm);
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.about-stat__number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    display: block;
}

.about-stat__label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-top: 0.25rem;
}

/* ==========================================================================
   12. Testimonials
   ========================================================================== */

.testimonials-section {
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '\201C';
    position: absolute;
    top: -1rem;
    left: 2rem;
    font-family: var(--font-heading);
    font-size: 20rem;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-slider__viewport {
    overflow: hidden;
}

.testimonials-slider__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonials-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 0.5rem 5rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.75rem 3.5rem 2.25rem;
    box-shadow: 0 12px 50px rgba(0,0,0,0.22);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}

.testimonial-card__quote-mark {
    display: block;
    font-size: 5rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--color-secondary);
    opacity: 0.22;
    margin-bottom: 0.25rem;
}

.testimonial-card__stars {
    display: flex;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
    color: var(--color-secondary);
    font-size: 1.15rem;
}

.testimonial-card__quote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: #1a1a2e;
    line-height: 1.85;
    margin: 0 auto 2rem;
    max-width: 640px;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.testimonial-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    border: 3px solid rgba(44,95,46,0.18);
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__name {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    text-align: left;
}

.testimonial-card__location {
    font-size: 0.8rem;
    color: #888888;
    text-align: left;
}

.testimonials-slider__btn {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(0,0,0,0.14);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    z-index: 3;
}

.testimonials-slider__btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(200,151,43,0.4);
}

.testimonials-slider__prev { left: 0.5rem; }
.testimonials-slider__next { right: 0.5rem; }

.testimonials-slider__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 2.25rem;
}

.testimonials-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.28);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, width 0.3s ease;
}

.testimonials-slider__dot.is-active {
    background: var(--color-secondary);
    width: 28px;
}

.testimonials-slider__dot:hover:not(.is-active) {
    background: rgba(255,255,255,0.55);
}

/* ==========================================================================
   13. CTA Banner
   ========================================================================== */

.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(200, 151, 43, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta-banner h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-lg);
    transition: color var(--transition-fast);
}

.cta-banner__phone:hover {
    color: var(--color-secondary-light);
}

.cta-banner__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* ==========================================================================
   13b. Contact Section Fix
   ========================================================================== */

.contact-main-section {
    background: linear-gradient(160deg, #0f2318 0%, #1a3822 40%, #122b1e 100%);
    position: relative;
}

.contact-main-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 80%, rgba(200,151,43,0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 20%, rgba(44,95,46,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.contact-main-section .container {
    position: relative;
    z-index: 1;
}

/* ── Left info column: force white text on dark bg ─────────────────────────
   Use !important to beat later same-specificity rules (.tp-intro h2, .tp-intro p)
   that appear further down the stylesheet.
   ───────────────────────────────────────────────────────────────────────── */
.contact-main-section .tp-intro .section-label {
    color: var(--color-secondary) !important;
    letter-spacing: 0.18em;
}

.contact-main-section .tp-intro h2 {
    color: #fff !important;
    font-size: 2.1rem;
    line-height: 1.2;
}

.contact-main-section .tp-intro > p {
    color: rgba(255,255,255,0.78) !important;
    line-height: 1.75;
}

.contact-main-section .tp-intro a {
    color: var(--color-secondary);
    text-decoration: none;
}

.contact-main-section .tp-intro a:hover {
    color: #e8c46a;
}

/* Contact info items */
.contact-info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff !important;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.contact-info-value {
    font-size: 0.975rem;
    font-weight: 600;
    color: #fff !important;
    margin: 0;
    line-height: 1.5;
}

.contact-info-value a {
    color: var(--color-secondary) !important;
    transition: color var(--transition-fast);
}

.contact-info-value a:hover {
    color: #e8c46a !important;
}

/* Hours box */
.contact-hours-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 12px;
    padding: 1.4rem 1.5rem;
    margin-top: 2.25rem;
}

.contact-hours-box h4 {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #fff;
    margin-bottom: 0.9rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.contact-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.contact-hours-row:last-child {
    border-bottom: none;
}

.contact-hours-row span:first-child { color: rgba(255,255,255,0.6); }
.contact-hours-row span:last-child  { font-weight: 700; color: #fff; }
.contact-hours-row--closed span:last-child { color: var(--color-secondary); font-weight: 600; }

/* ==========================================================================
   13c. Blog Styles
   ========================================================================== */

/* Blog Hero */
.blog-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blog-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.blog-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,22,15,0.55) 0%, rgba(10,22,15,0.75) 100%);
    z-index: 1;
}

.blog-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: calc(var(--header-height) + 3.5rem) var(--spacing-md) 4rem;
    max-width: 760px;
    margin-inline: auto;
}

.blog-hero__inner h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.blog-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 560px;
    margin-inline: auto;
}

/* Featured Post */
.blog-featured {
    background: var(--color-white);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.blog-featured__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.blog-featured__image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--color-light);
}

.blog-featured__image a,
.blog-featured__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-featured__image:hover img {
    transform: scale(1.04);
}

.blog-featured__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.blog-featured__badge {
    display: inline-block;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.875rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.blog-featured__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin: 0.5rem 0 0.875rem;
}

.blog-featured__title a {
    color: inherit;
    transition: color var(--transition-fast);
}

.blog-featured__title a:hover { color: var(--color-primary); }

.blog-featured__meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.blog-featured__excerpt {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Category filter */
.blog-grid-section { padding-top: var(--spacing-xl); }

.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-xl);
}

.blog-filter__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.125rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.blog-filter__btn:hover,
.blog-filter__btn.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.blog-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: rgba(0,0,0,0.1);
    border-radius: 50px;
    font-size: 0.7rem;
}

.blog-filter__btn.is-active .blog-filter__count,
.blog-filter__btn:hover .blog-filter__count {
    background: rgba(255,255,255,0.2);
}

/* Blog grid (3 cols) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: var(--spacing-xl);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-muted);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    text-decoration: none;
    transition: all var(--transition-fast);
}

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

/* Single Post Hero */
.single-post-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.single-post-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.single-post-hero__bg--gradient {
    background: linear-gradient(135deg, #0f2318 0%, #1e4220 50%, #122b1e 100%);
}

.single-post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,20,14,0.95) 0%, rgba(10,20,14,0.55) 55%, rgba(10,20,14,0.2) 100%);
    z-index: 1;
}

.single-post-hero__inner {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
    max-width: 800px;
}

.single-post-hero__cat {
    display: inline-block;
    background: var(--color-secondary);
    color: var(--color-white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.875rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-decoration: none;
}

.single-post-hero__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.single-post-hero__meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    flex-wrap: wrap;
}

.single-post-hero__avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
}

.single-post-hero__dot {
    opacity: 0.4;
}

/* Single post layout */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--spacing-xl);
    align-items: start;
    padding: var(--spacing-xl) 0;
}

.single-post-article { min-width: 0; }

.single-post-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--color-text);
    margin-bottom: 2.5rem;
}

.single-post-body h2,
.single-post-body h3,
.single-post-body h4 {
    margin-top: 2rem;
    margin-bottom: 0.875rem;
}

.single-post-body p { margin-bottom: 1.25rem; }

.single-post-body ul,
.single-post-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.single-post-body ul { list-style: disc; }
.single-post-body ol { list-style: decimal; }
.single-post-body li { margin-bottom: 0.4rem; }

.single-post-body img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    margin: 1.5rem 0;
}

.single-post-body blockquote {
    border-left: 4px solid var(--color-secondary);
    background: var(--color-light);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    font-style: italic;
    margin: 2rem 0;
    color: var(--color-text-muted);
}

/* Tags */
.single-post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.single-post-tags__label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-right: 0.25rem;
}

.single-post-tags__item {
    display: inline-block;
    padding: 0.3rem 0.875rem;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.single-post-tags__item:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Author bio */
.single-post-author {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--color-light);
    border-radius: var(--border-radius-md);
    margin-bottom: 2.5rem;
}

.single-post-author__avatar { flex-shrink: 0; }

.single-post-author__name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.35rem;
}

.single-post-author__bio {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Post nav */
.single-post-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.single-post-nav__item {
    flex: 1;
    min-width: 200px;
    padding: 1.125rem 1.25rem;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.single-post-nav__item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.single-post-nav__item--next { text-align: right; }

.single-post-nav__dir {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.single-post-nav__item--next .single-post-nav__dir { justify-content: flex-end; }

.single-post-nav__title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-dark);
    line-height: 1.3;
}

/* Related posts */
.related-posts { }

/* ==========================================================================
   14. Footer
   ========================================================================== */

.site-footer {
    background-color: var(--color-dark);
    color: rgba(255,255,255,0.75);
}

.footer-widgets {
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widgets__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
}

.footer-widget-area h3,
.footer-widget-area .widget-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--color-secondary);
    display: inline-block;
}

.footer-brand .site-logo {
    margin-bottom: var(--spacing-sm);
    max-width: 160px;
}

.footer-brand .site-title-footer {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    display: block;
    margin-bottom: 0.3rem;
}

.footer-brand .site-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-secondary);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--spacing-md);
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact-list .contact-icon {
    color: var(--color-secondary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

.footer-contact-list a:hover {
    color: var(--color-secondary);
}

.footer-social {
    display: flex;
    gap: 0.625rem;
    margin-top: var(--spacing-md);
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

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

.footer-nav-list li {
    margin-bottom: 0.625rem;
}

.footer-nav-list a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--transition-fast);
}

.footer-nav-list a::before {
    content: '›';
    color: var(--color-secondary);
    font-size: 1rem;
    line-height: 1;
}

.footer-nav-list a:hover {
    color: var(--color-secondary);
}

/* Default WordPress widget styling inside footer */
.footer-widget-area .widget {
    margin-bottom: var(--spacing-md);
}

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

.footer-widget-area .widget ul li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
}

.footer-widget-area .widget ul li a {
    color: rgba(255,255,255,0.65);
    transition: color var(--transition-fast);
}

.footer-widget-area .widget ul li a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    padding: var(--spacing-md) 0;
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--color-secondary);
}

.footer-bottom__links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-bottom__links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}

/* ==========================================================================
   15. Page Template
   ========================================================================== */

.page-hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    padding: calc(var(--header-height) + var(--spacing-xl)) 0 var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-hero__content {
    position: relative;
    z-index: 1;
}

/* Background-image variant used by About & Contact heroes */
.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 15, 0.62);
    z-index: 1;
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
    padding: calc(var(--header-height) + 3rem) var(--spacing-md) 4rem;
}

.page-hero__inner .hero__label {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.page-hero__inner h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.page-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 580px;
    margin-inline: auto;
    margin-bottom: 0;
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.825rem;
    color: rgba(255,255,255,0.6);
}

.page-hero__breadcrumb a {
    color: rgba(255,255,255,0.65);
    transition: color var(--transition-fast);
}

.page-hero__breadcrumb a:hover,
.page-hero__breadcrumb .current {
    color: var(--color-secondary);
}

.page-hero__breadcrumb .separator {
    color: rgba(255,255,255,0.3);
}

.page-hero h1 {
    color: var(--color-white);
    margin-bottom: 0;
}

.page-content {
    padding: var(--spacing-xl) 0;
}

.page-content .entry-content h2,
.page-content .entry-content h3,
.page-content .entry-content h4 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.page-content .entry-content ul,
.page-content .entry-content ol {
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.page-content .entry-content ul { list-style: disc; }
.page-content .entry-content ol { list-style: decimal; }

.page-content .entry-content li {
    margin-bottom: 0.4rem;
}

/* ==========================================================================
   15a. Destinations Hero Slider
   ========================================================================== */

/* Slider wrapper */
.dest-slider {
    position: relative;
    width: 100%;
    height: 78vh;
    min-height: 520px;
    max-height: 860px;
    overflow: hidden;
    margin-top: var(--header-height);
}

/* Breadcrumb overlay */
.dest-slider__breadcrumb {
    position: absolute;
    top: 1.25rem;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}

.dest-slider__breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: auto;
}

.dest-slider__breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.dest-slider__breadcrumb a:hover,
.dest-slider__breadcrumb span[aria-current] {
    color: rgba(255, 255, 255, 0.95);
}

/* Track — slides stack on top of each other */
.dest-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual slide */
.dest-slider__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    will-change: opacity, transform;
    transition: none;
}

.dest-slider__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Decorative large emoji — background accent */
.dest-slider__deco {
    position: absolute;
    right: -1rem;
    bottom: -2rem;
    font-size: clamp(12rem, 30vw, 22rem);
    line-height: 1;
    opacity: 0.07;
    pointer-events: none;
    user-select: none;
    filter: grayscale(30%);
    z-index: 0;
}

/* Slide content container */
.dest-slider__inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.dest-slider__content {
    max-width: 680px;
    padding: 0;
}

/* "Explore Sri Lanka" pre-label */
.dest-slider__pre {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

/* Category emoji icon */
.dest-slider__icon {
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 0.6rem;
    display: block;
}

/* Main slide heading */
.dest-slider__title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

/* Description */
.dest-slider__desc {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2rem;
}

/* Actions row */
.dest-slider__actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Destination count badge */
.dest-slider__count {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.45rem 1rem;
    border: 1.5px solid;
    border-radius: 50px;
    opacity: 0.9;
}

/* Explore CTA button */
.dest-slider__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-dark);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.dest-slider__cta:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    color: var(--color-dark);
}

/* Controls bar */
.dest-slider__bar {
    position: absolute;
    bottom: 3.5rem;
    left: 0;
    right: 0;
    z-index: 10;
}

.dest-slider__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Slide counter */
.dest-slider__counter {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06em;
    min-width: 52px;
}

.dest-slider__counter strong {
    font-size: 1rem;
    color: var(--color-white);
}

/* Dots */
.dest-slider__dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dest-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width var(--transition-base), border-radius var(--transition-base), background var(--transition-base);
    flex-shrink: 0;
}

.dest-slider__dot.is-active {
    width: 28px;
    border-radius: 4px;
    background: var(--dot-color, var(--color-secondary));
}

.dest-slider__dot:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.6);
}

/* Arrow buttons */
.dest-slider__arrows {
    display: flex;
    gap: 0.5rem;
}

.dest-slider__arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.dest-slider__arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Progress bar */
.dest-slider__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 10;
}

.dest-slider__progress-fill {
    height: 100%;
    width: 0%;
    background: rgba(255, 255, 255, 0.7);
    transition: background var(--transition-fast);
}

@keyframes destSliderProgress {
    from { width: 0%; }
    to   { width: 100%; }
}

.dest-slider__progress-fill.is-running {
    animation: destSliderProgress 6s linear forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .dest-slider {
        height: 82vh;
        min-height: 480px;
    }

    .dest-slider__deco {
        font-size: 6rem;
        right: -0.25rem;
        bottom: 3rem;
    }

    .dest-slider__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .dest-slider__bar-inner {
        gap: 0.75rem;
    }

    .dest-slider__counter {
        display: none;
    }
}

@media (max-width: 480px) {
    .dest-slider {
        min-height: 400px;
        height: 85vh;
    }

    .dest-slider__dots {
        gap: 0.4rem;
    }

    .dest-slider__deco {
        font-size: 4.5rem;
    }
}

/* ==========================================================================
   15b. Destinations Page (category list sections)
   ========================================================================== */

/* Page hero subtitle */
.page-hero--destinations .page-hero__subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0.75rem auto 0;
    line-height: 1.7;
}

/* Category Quick Nav */
.dest-nav-wrap {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: var(--header-height);
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.dest-nav {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dest-nav::-webkit-scrollbar {
    display: none;
}

.dest-nav__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    flex-shrink: 0;
}

.dest-nav__item:hover {
    color: var(--cat-color, var(--color-primary));
    border-bottom-color: var(--cat-color, var(--color-primary));
}

.dest-nav__icon {
    font-size: 1.1rem;
    line-height: 1;
}

/* Category Section Header */
.dest-category {
    scroll-margin-top: calc(var(--header-height) + 56px);
}

.dest-category__header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.dest-category__icon-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--border-radius-lg);
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.4rem;
}

.dest-category__icon {
    font-size: 2rem;
    line-height: 1;
}

.dest-category__meta .section-label {
    display: inline-block;
    margin-bottom: 0.35rem;
}

.dest-category__meta h2 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.dest-category__meta p {
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0;
}

/* Destination Grid */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

/* Destination Card */
.dest-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.dest-card__visual {
    height: 150px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    background-size: cover;
    background-position: center;
}

.dest-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.95);
    padding: 0.3rem 0.65rem;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.dest-card__body {
    padding: 1.25rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dest-card__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.dest-card__desc {
    font-size: 0.855rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}

.dest-card__link {
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: opacity var(--transition-fast);
    margin-top: auto;
    align-self: flex-start;
}

.dest-card__link:hover {
    opacity: 0.7;
}

/* CTA section at the bottom of destinations page */
.dest-cta-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.dest-cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.dest-cta-inner h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.dest-cta-inner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.dest-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Responsive: Destinations */
@media (max-width: 1024px) {
    .dest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dest-category__header {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .dest-nav__item span:last-child {
        display: none;
    }

    .dest-nav__item {
        padding: 1rem 0.9rem;
    }

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

@media (max-width: 480px) {
    .dest-cta-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   15b. Destination Sub-Pages (Category detail pages)
   ========================================================================== */

.dest-sub-hero {
    padding-bottom: var(--spacing-xxl);
}

.dest-sub-hero__icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
}

.dest-sub-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--spacing-md);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.dest-sub-hero__back:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
}

.dest-sub-section {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}

.dest-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.dest-sub-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.dest-sub-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.dest-sub-card__visual {
    height: 220px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    background-size: cover;
    background-position: center;
}

.dest-sub-card__cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.95);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.dest-sub-card__body {
    padding: 1.5rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dest-sub-card__province {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.dest-sub-card__name {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.15;
    margin-bottom: 0.25rem;
}

.dest-sub-card__sub {
    display: block;
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.dest-sub-card__desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 1.5rem;
}

.dest-sub-card__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-color: var(--btn-color, var(--color-primary)) !important;
    color: var(--btn-color, var(--color-primary)) !important;
}

.dest-sub-card__cta:hover {
    background: var(--btn-color, var(--color-primary)) !important;
    border-color: var(--btn-color, var(--color-primary)) !important;
    color: var(--color-white) !important;
}

@media (max-width: 900px) {
    .dest-sub-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .dest-sub-card__visual {
        height: 180px;
    }
    .dest-sub-card__name {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   16. Single Post / Tour
   ========================================================================== */

.single-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    padding: calc(var(--header-height) + var(--spacing-lg)) 0 var(--spacing-lg);
    color: var(--color-white);
}

.single-header__meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.single-header__meta a {
    color: rgba(255,255,255,0.7);
}

.single-header__meta a:hover {
    color: var(--color-secondary);
}

.single-header__meta .sep {
    opacity: 0.4;
}

.single-header h1 {
    color: var(--color-white);
    margin-bottom: 0;
    max-width: 800px;
}

.single-tour-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--color-dark);
}

.single-tour-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.single-tour-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.4) 50%, rgba(26,26,46,0.2) 100%);
}

.single-tour-hero__content {
    position: relative;
    z-index: 2;
    padding: calc(var(--header-height) + var(--spacing-md)) 0 var(--spacing-xl);
    width: 100%;
}

.tour-meta-pills {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
}

.tour-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--color-white);
    font-size: 0.8rem;
    padding: 0.35rem 0.875rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.tour-meta-pill .pill-icon {
    color: var(--color-secondary);
}

.single-tour-hero h1 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    max-width: 800px;
}

.tour-price-hero {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.tour-price-hero__from {
    font-size: 0.8rem;
    opacity: 0.85;
}

.tour-price-hero__amount {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
}

.tour-price-hero__per {
    font-size: 0.8rem;
    opacity: 0.85;
}

.tour-content-section {
    padding: var(--spacing-xl) 0;
}

.tour-content-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--spacing-xl);
    align-items: start;
}

.tour-content__body h2,
.tour-content__body h3 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.tour-content__body ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-sm);
}

.tour-content__body ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
}

.tour-content__body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.tour-sidebar-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: sticky;
    top: calc(var(--header-height) + 1rem);
}

.tour-sidebar-card__header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    padding: var(--spacing-md);
    text-align: center;
}

.tour-sidebar-card__header h3 {
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.tour-sidebar-card__header p {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    margin: 0;
}

.tour-sidebar-card__body {
    padding: var(--spacing-md);
}

.booking-form .form-group {
    margin-bottom: var(--spacing-sm);
}

.booking-form label {
    display: block;
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 95, 46, 0.1);
}

.booking-form textarea {
    resize: vertical;
    min-height: 90px;
}

.booking-form .btn {
    margin-top: 0.5rem;
}

/* ==========================================================================
   17. Archive Templates
   ========================================================================== */

.archive-hero {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    padding: calc(var(--header-height) + var(--spacing-xl)) 0 var(--spacing-xl);
    text-align: center;
    color: var(--color-white);
}

.archive-hero h1 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.archive-hero p {
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    margin: 0 auto;
}

/* Blog Post Card */
.post-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.post-card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-card__image img {
    transform: scale(1.07);
}

.post-card__body {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card__category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.post-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.625rem;
    line-height: 1.3;
}

.post-card__title a {
    color: inherit;
    transition: color var(--transition-fast);
}

.post-card__title a:hover {
    color: var(--color-primary);
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.78rem;
    color: var(--color-text-light);
    margin-bottom: 0.625rem;
}

.post-card__excerpt {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card__footer {
    margin-top: auto;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 var(--spacing-sm);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================================
   18. Sidebar & Widgets
   ========================================================================== */

.sidebar .widget {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--color-border);
}

.sidebar .widget-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    padding-bottom: 0.625rem;
    border-bottom: 2px solid var(--color-secondary);
}

.sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .widget ul li {
    border-bottom: 1px solid var(--color-border);
}

.sidebar .widget ul li:last-child {
    border-bottom: none;
}

.sidebar .widget ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.sidebar .widget ul li a:hover {
    color: var(--color-primary);
}

.sidebar .widget_search .search-form {
    display: flex;
    gap: 0;
}

.sidebar .widget_search input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-right: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
}

.sidebar .widget_search button,
.sidebar .widget_search input[type="submit"] {
    padding: 0.75rem 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background var(--transition-fast);
}

.sidebar .widget_search button:hover,
.sidebar .widget_search input[type="submit"]:hover {
    background: var(--color-primary-dark);
}

.sidebar .widget_recent_entries ul li a {
    justify-content: flex-start;
    gap: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
}

.sidebar .widget_recent_entries .post-date {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* Fallback Recent Posts in Sidebar */
.sidebar-recent-posts .recent-post-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-recent-posts .recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-recent-posts .recent-post-thumb {
    width: 70px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--color-light);
}

.sidebar-recent-posts .recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-recent-posts .recent-post-info a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.35;
    display: block;
    margin-bottom: 0.3rem;
}

.sidebar-recent-posts .recent-post-info a:hover {
    color: var(--color-primary);
}

.sidebar-recent-posts .recent-post-date {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   19. Forms & Inputs
   ========================================================================== */

.contact-form .form-group {
    margin-bottom: var(--spacing-sm);
}

.contact-form label,
.wpcf7-form label,
.comment-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 95, 46, 0.12);
}

.contact-form textarea,
.wpcf7-form textarea,
.comment-form textarea {
    min-height: 130px;
    resize: vertical;
}

/* Search form */
.searchform {
    display: flex;
    gap: 0;
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: var(--color-white);
}

.searchform input[type="search"] {
    flex: 1;
    padding: 0.875rem 1.125rem;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: transparent;
    outline: none;
}

.searchform button,
.searchform input[type="submit"] {
    padding: 0.875rem 1.25rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background var(--transition-fast);
}

.searchform button:hover,
.searchform input[type="submit"]:hover {
    background: var(--color-primary-dark);
}

/* ==========================================================================
   20. 404 Page
   ========================================================================== */

.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-md);
}

.error-404__content {
    max-width: 600px;
}

.error-404__number {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 700;
    line-height: 0.85;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.error-404 h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.error-404 p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

.error-404__actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   21. Utilities
   ========================================================================== */

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

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: var(--color-white); }

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-dark { background-color: var(--color-dark); }
.bg-light { background-color: var(--color-light); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

/* WordPress alignment classes */
.alignleft {
    float: left;
    margin: 0.5em 1.5em 1em 0;
}

.alignright {
    float: right;
    margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignwide {
    margin-left: calc(-1 * var(--spacing-md));
    margin-right: calc(-1 * var(--spacing-md));
    max-width: none;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
    margin-top: 0.35rem;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* Highlight / selection */
::selection {
    background-color: rgba(44, 95, 46, 0.2);
    color: var(--color-dark);
}

/* Comments */
.comments-area {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-border);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg);
}

.comment {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.comment .avatar {
    border-radius: 50%;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 700;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   22. Responsive Media Queries
   ========================================================================== */

/* Large screens */
@media (max-width: 1200px) {
    .footer-widgets__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: var(--spacing-lg);
    }

    .footer-widgets__grid .footer-widget-area:last-child {
        grid-column: span 3;
    }
}

/* Medium-large */
@media (max-width: 1024px) {
    /* Hero split stacks vertically */
    .hero__split-inner {
        flex-direction: column;
        justify-content: center;
        gap: var(--spacing-lg);
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 5rem;
    }

    .hero--split .hero__content {
        text-align: center;
        max-width: 640px;
        margin: 0 auto;
    }

    .hero--split .hero__subtitle {
        margin: 0 auto var(--spacing-lg);
        max-width: 560px;
    }

    .hero--split .hero__actions {
        justify-content: center;
    }

    .hero__dest-widget {
        flex: 0 0 auto;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .hero__social-bar {
        display: none;
    }

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

    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .tour-content-grid {
        grid-template-columns: 1fr;
    }

    .tour-sidebar-card {
        position: static;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .about-image {
        max-width: 540px;
        margin: 0 auto;
    }

    .about-image__accent {
        bottom: -1rem;
        right: -1rem;
    }

    .nav-book-btn {
        display: none;
    }

    .top-bar__social {
        display: none;
    }
}

/* Tablet */
@media (max-width: 900px) {
    :root {
        --spacing-xxl: 4rem;
        --spacing-xl: 3rem;
    }

    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-widgets__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }

    .footer-widgets__grid .footer-widget-area:first-child {
        grid-column: span 2;
    }

    .footer-widgets__grid .footer-widget-area:last-child {
        grid-column: span 1;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile navigation trigger */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .main-navigation {
        display: none;
    }

    .top-bar__contact .top-bar-email {
        display: none;
    }

    /* Hero split — remove fixed viewport height on mobile */
    .hero--split {
        min-height: auto;
    }

    .hero__split-inner {
        min-height: auto;
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: 3rem;
        gap: var(--spacing-lg);
    }

    /* Destination widget — full width on mobile */
    .hero__dest-widget {
        max-width: 100%;
        width: 100%;
    }

    .hero__title {
        font-size: clamp(1.9rem, 7.5vw, 3rem);
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        text-align: center;
        justify-content: center;
    }

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

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

    .testimonials-slide {
        padding: 0.5rem 1rem;
    }

    .testimonial-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-banner__phone {
        font-size: 1.5rem;
    }

    .cta-banner__actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-widgets__grid {
        grid-template-columns: 1fr;
    }

    .footer-widgets__grid .footer-widget-area:first-child,
    .footer-widgets__grid .footer-widget-area:last-child {
        grid-column: span 1;
    }

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

    .page-hero {
        padding-top: calc(var(--header-height) + var(--spacing-md));
    }

    .single-tour-hero {
        min-height: 50vh;
    }

    .tour-meta-pills {
        gap: 0.5rem;
    }

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

    .error-404__actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-xxl: 3.5rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .hero__label {
        font-size: 0.65rem;
    }

    .hero__split-inner {
        padding-top: calc(var(--header-height) + 1rem);
        padding-bottom: 2.5rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__dest-widget {
        max-width: 100%;
    }

    .cta-banner__phone {
        font-size: 1.2rem;
    }

    .about-image__badge {
        left: -0.5rem;
    }

    .top-bar {
        display: none;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xs);
    }

    .about-stat__number {
        font-size: 1.5rem;
    }

    .tour-card__meta {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   16. Experiences Page
   ========================================================================== */

/* Hero */
.exp-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 3rem) 0 4rem;
    overflow: hidden;
}

.exp-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a2e 50%, #0a1628 100%);
    z-index: 0;
}

.exp-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(200,151,43,0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 30%, rgba(44,95,46,0.15) 0%, transparent 55%);
}

.exp-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 30, 0.45);
    z-index: 1;
}

.exp-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    margin-inline: auto;
}

.exp-hero__inner .section-label {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.exp-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.exp-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.78);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.exp-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.exp-hero__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-secondary);
    display: inline-block;
}

/* Grid */
.exp-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.exp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

/* Card */
.exp-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.exp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}

.exp-card__visual {
    background: var(--exp-color, linear-gradient(135deg,#1a3a2e,#2d6a4f));
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.exp-card__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
}

.exp-card__icon {
    font-size: 3rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
    user-select: none;
}

.exp-card__number {
    position: absolute;
    bottom: 0.6rem;
    right: 0.9rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.12);
    line-height: 1;
    z-index: 1;
    user-select: none;
}

.exp-card__body {
    padding: 1.6rem 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.exp-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.exp-card__desc {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.1rem;
    flex: 1;
}

.exp-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.3rem;
}

.exp-card__tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: var(--color-light);
    color: var(--color-text);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
}

.exp-card__tag--more {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
}

.exp-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
    margin-top: auto;
}

.exp-card__cta:hover {
    color: var(--color-secondary);
    gap: 0.65rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .exp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .exp-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .exp-hero {
        min-height: 44vh;
        padding-top: calc(var(--header-height) + 2rem);
    }
}

/* ==========================================================================
   17. Tour Packages Page
   ========================================================================== */

/* Hero */
.tp-hero {
    position: relative;
    min-height: 48vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 3rem) 0 4rem;
    overflow: hidden;
}

.tp-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2e1e 55%, #0d1b2a 100%);
    z-index: 0;
}

.tp-hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 60%, rgba(200,151,43,0.15) 0%, transparent 55%),
        radial-gradient(circle at 85% 25%, rgba(44,95,46,0.18) 0%, transparent 50%);
}

.tp-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8,16,28,0.5);
    z-index: 1;
}

.tp-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
}

.tp-hero__inner .section-label {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.tp-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 1rem;
}

.tp-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 550px;
    margin-inline: auto;
}

/* Layout */
.tp-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: #f7f5f2;
}

.tp-container {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* Intro sidebar */
.tp-intro h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tp-intro p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.tp-trust {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tp-trust__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
}

.tp-trust__item svg {
    flex-shrink: 0;
    color: var(--color-secondary);
}

/* Form card */
.tp-form-wrap {
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tp-form {
    padding: 0;
}

/* Form sections */
.tp-form__section {
    padding: 2.2rem 2.4rem;
    border-bottom: 1px solid var(--color-border);
}

.tp-form__section:last-of-type {
    border-bottom: none;
}

.tp-form__section-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.3rem;
}

.tp-form__section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tp-form__section-note {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin-bottom: 1.4rem;
    margin-left: 2.75rem;
}

/* Checkbox grid */
.tp-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.tp-checkbox {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    padding: 0.65rem 0.85rem;
    border-radius: var(--border-radius-sm);
    border: 1.5px solid var(--color-border);
    background: #fafafa;
    transition: border-color 0.2s ease, background 0.2s ease;
    user-select: none;
}

.tp-checkbox:hover {
    border-color: var(--color-primary);
    background: #f0f7f0;
}

.tp-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tp-checkbox__box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #ccc;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    position: relative;
}

.tp-checkbox__box::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) scale(0);
    transition: transform 0.15s ease;
    position: absolute;
    top: 3px;
    left: 2px;
}

.tp-checkbox input:checked ~ .tp-checkbox__box {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.tp-checkbox input:checked ~ .tp-checkbox__box::after {
    transform: rotate(-45deg) scale(1);
}

.tp-checkbox input:checked ~ .tp-checkbox__label {
    color: var(--color-primary);
    font-weight: 600;
}

.tp-checkbox:has(input:checked) {
    border-color: var(--color-primary);
    background: #f0f7f0;
}

.tp-checkbox__label {
    font-size: 0.875rem;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.3;
}

/* Other field */
.tp-other-field {
    display: none;
    margin-top: 1rem;
}

.tp-other-field.is-visible {
    display: block;
}

/* Fields grid */
.tp-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.tp-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tp-field--full {
    grid-column: 1 / -1;
}

.tp-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tp-required {
    color: #e74c3c;
    margin-left: 2px;
}

.tp-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.925rem;
    font-family: var(--font-body);
    color: var(--color-text);
    background: #fafafa;
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}

.tp-input:focus {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(44,95,46,0.12);
}

.tp-textarea {
    resize: vertical;
    min-height: 110px;
}

/* Submit row */
.tp-form__submit {
    padding: 2rem 2.4rem 2.4rem;
    background: #fafaf8;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.tp-submit-btn {
    width: 100%;
    justify-content: center;
    gap: 0.65rem;
    font-size: 1.05rem;
    padding: 1rem 2rem;
}

.tp-form__privacy {
    margin-top: 0.85rem;
    font-size: 0.78rem;
    color: var(--color-text-light);
}

/* Error */
.tp-form-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.5rem;
    margin: 1.5rem 2.4rem 0;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Success */
.tp-success {
    padding: 4rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.tp-success svg {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.tp-success h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-dark);
}

.tp-success p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .tp-container {
        grid-template-columns: 1fr;
    }

    .tp-intro {
        max-width: 680px;
    }
}

@media (max-width: 640px) {
    .tp-checkboxes {
        grid-template-columns: 1fr;
    }

    .tp-fields-grid {
        grid-template-columns: 1fr;
    }

    .tp-field--full {
        grid-column: 1;
    }

    .tp-form__section {
        padding: 1.4rem 1.2rem;
    }

    .tp-form__section-note {
        margin-left: 0;
    }

    .tp-form__section-title {
        font-size: 1rem;
    }

    .tp-form__submit {
        padding: 1.25rem 1.2rem 1.6rem;
    }

    .tp-submit-btn {
        font-size: 0.95rem;
        padding: 0.9rem 1.5rem;
    }

    .tp-form-error {
        margin: 1rem 1.2rem 0;
    }

    .tp-hero__title {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
    }
}

/* Blog & Single Post Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-featured__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .single-post-layout {
        grid-template-columns: 1fr;
    }

    .single-post-layout .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-hero { min-height: 60vw; }

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

    .blog-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .blog-filter__btn { white-space: nowrap; }

    .single-post-hero { min-height: 80vw; }

    .single-post-hero__inner { padding-bottom: 2.5rem; }

    .single-post-nav { flex-direction: column; }

    .single-post-nav__item--next { text-align: left; }
    .single-post-nav__item--next .single-post-nav__dir { justify-content: flex-start; }

    .contact-main-section .tp-container {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .hamburger,
    .mobile-nav,
    .mobile-overlay {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .page-content {
        padding-top: 0;
    }
}
