/*
Theme Name: Alfa TAX Könyvelőiroda
Theme URI: https://alfatax.hu
Author: Webgrow Digital Agency
Author URI: https://webgrow.hu
Description: Modern, professzionális WordPress téma az Alfa TAX Könyvelőiroda számára. Digitális, papírmentes könyvelés cégeknek, egyéni vállalkozóknak és civil szervezeteknek.
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alfatax
Tags: one-column, custom-menu, custom-logo, featured-images, translation-ready, footer-widgets
*/

/* ==========================================================================
   Google Fonts
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@800&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ==========================================================================
   CSS Variables / Színek
   ========================================================================== */
:root {
    --color-primary: #003454;
    --color-primary-dark: #002a44;
    --color-primary-light: #004d7a;
    --color-accent: #e30613;
    --color-accent-dark: #c00510;
    --color-accent-light: #ff4d57;
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gold: #c9a961;
    --font-heading: 'Merriweather Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-3xl: 1.5rem;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-gray-300 { color: var(--color-gray-300); }
.text-gray-400 { color: var(--color-gray-400); }
.text-gray-500 { color: var(--color-gray-500); }
.text-gray-600 { color: var(--color-gray-600); }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.min-h-screen {
    min-height: 100vh;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

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

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.grid {
    display: grid;
}

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

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:block { display: block; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .lg\:block { display: block; }
    .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
}

/* ==========================================================================
   Spacing
   ========================================================================== */
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }

.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: var(--color-gray-200);
}

.top-bar svg {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 767px) {
    .top-bar {
        display: none;
    }
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header.header-scrolled {
    box-shadow: var(--shadow-lg);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;
}

.site-logo img {
    display: block;
    height: auto;
}

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

.main-navigation {
    display: flex;
    align-items: center;
}

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

.main-navigation > ul > li {
    position: relative;
    display: flex;
    align-items: center;
}

.main-navigation > ul > li > a {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: var(--color-gray-700);
    transition: color 0.2s;
    padding: 0.5rem 0;
}

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

/* Remove focus outline (piros keret) - GLOBAL */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

*:active {
    outline: none !important;
    box-shadow: none !important;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
.main-navigation a:focus,
.main-navigation button:focus,
.submenu-toggle:focus,
.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Dropdown menu item with children */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
}

.submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-500);
    transition: transform 0.3s, color 0.2s;
    margin-left: 0.25rem;
    flex-shrink: 0;
}

.submenu-toggle:hover {
    color: var(--color-accent);
}

.submenu-toggle svg {
    width: 1rem;
    height: 1rem;
}

.menu-item-has-children:hover .submenu-toggle,
.menu-item-has-children.open .submenu-toggle {
    transform: rotate(180deg);
}

/* Sub-menu (Dropdown) - VERTICAL layout */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    list-style: none;
    margin: 0;
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children.open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.sub-menu li + li {
    margin-top: 0.25rem;
}

.sub-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--color-gray-700);
    transition: all 0.2s;
    white-space: nowrap;
}

.sub-menu li a:hover {
    background: var(--color-gray-50);
    color: var(--color-accent);
}

.sub-menu li a svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.sub-menu li a:hover svg {
    color: var(--color-accent);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:focus {
    outline: none;
    box-shadow: none;
}

.mobile-menu-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 101;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        box-shadow: var(--shadow-lg);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.3s ease,
                    visibility 0.3s ease,
                    padding 0.3s ease;
    }
    
    .main-navigation.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 1rem;
    }
    
    .main-navigation > ul {
        flex-direction: column;
        gap: 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    }
    
    .main-navigation.active > ul {
        opacity: 1;
        transform: translateY(0);
    }
    
    .main-navigation > ul > li {
        border-bottom: 1px solid var(--color-gray-100);
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .main-navigation.active > ul > li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .main-navigation.active > ul > li:nth-child(1) { transition-delay: 0.05s; }
    .main-navigation.active > ul > li:nth-child(2) { transition-delay: 0.1s; }
    .main-navigation.active > ul > li:nth-child(3) { transition-delay: 0.15s; }
    .main-navigation.active > ul > li:nth-child(4) { transition-delay: 0.2s; }
    .main-navigation.active > ul > li:nth-child(5) { transition-delay: 0.25s; }
    .main-navigation.active > ul > li:nth-child(6) { transition-delay: 0.3s; }
    
    .main-navigation > ul > li:last-child {
        border-bottom: none;
    }
    
    .menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .menu-item-has-children > a {
        flex: 1;
    }
    
    .submenu-toggle {
        padding: 1rem;
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        width: 100%;
        padding: 0;
        padding-left: 1rem;
        max-height: 0;
        overflow: hidden;
        border-radius: 0;
        flex-direction: column;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .menu-item-has-children.open .sub-menu {
        max-height: 300px;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .sub-menu li {
        opacity: 0;
        transform: translateX(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    
    .menu-item-has-children.open .sub-menu li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .menu-item-has-children.open .sub-menu li:nth-child(1) { transition-delay: 0.05s; }
    .menu-item-has-children.open .sub-menu li:nth-child(2) { transition-delay: 0.1s; }
    .menu-item-has-children.open .sub-menu li:nth-child(3) { transition-delay: 0.15s; }
    .menu-item-has-children.open .sub-menu li:nth-child(4) { transition-delay: 0.2s; }
    
    .sub-menu a {
        padding: 0.75rem 1rem;
    }
    
    .main-navigation a {
        display: flex;
        padding: 0.75rem 0;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    box-shadow: 0 20px 25px -5px rgba(227, 6, 19, 0.2);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

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

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

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary), var(--color-primary-dark));
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 5rem;
    right: 5rem;
    width: 24rem;
    height: 24rem;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 5rem;
    left: 5rem;
    width: 20rem;
    height: 20rem;
    background: var(--color-white);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-300);
}

.hero-feature svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-accent);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -1rem;
    background: linear-gradient(to right, rgba(227, 6, 19, 0.2), transparent);
    border-radius: var(--radius-3xl);
    filter: blur(30px);
}

.hero-image {
    position: relative;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    width: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: var(--shadow-xl);
}

.hero-badge-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hero-badge-text {
    color: var(--color-gray-600);
}

@media (max-width: 1023px) {
    .hero-image-wrapper {
        display: none;
    }
}

/* ==========================================================================
   Section Styles
   ========================================================================== */
.section {
    padding: 5rem 0;
}

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

.section-dark {
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 52, 84, 0.05);
    color: var(--color-primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-badge svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.section-badge-accent {
    background-color: rgba(227, 6, 19, 0.1);
    color: var(--color-accent);
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    border-top: 3px solid var(--color-accent);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-top-color: var(--color-primary);
}

.card-lg {
    padding: 2rem;
    border-top: 1px solid var(--color-gray-200);
}

.card-lg:hover {
    border-top-color: var(--color-gray-200);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon-red {
    background-color: rgba(227, 6, 19, 0.1);
}

.card-icon-red svg {
    color: var(--color-accent);
}

.card-icon-primary {
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-light));
}

.card-icon-primary svg {
    color: var(--color-white);
}

.card-icon-accent {
    background: linear-gradient(to bottom right, var(--color-accent), var(--color-accent-light));
}

.card-icon-accent svg {
    color: var(--color-white);
}

.card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.card-icon-lg {
    width: 3.5rem;
    height: 3.5rem;
}

.card-icon-lg svg {
    width: 1.75rem;
    height: 1.75rem;
}

/* Service Cards */
.service-card {
    display: block;
    background: var(--color-white);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    transition: all 0.3s;
    height: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
}

.service-card-bar {
    height: 0.5rem;
}

.service-card-bar-primary {
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
}

.service-card-bar-accent {
    background: linear-gradient(to right, var(--color-accent), var(--color-accent-light));
}

.service-card-content {
    padding: 2rem;
}

.service-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.service-card:hover .service-card-title {
    color: var(--color-accent);
}

.service-card-subtitle {
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-card-description {
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
}

.service-card-features {
    margin-bottom: 1.5rem;
}

.service-card-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gray-700);
    margin-bottom: 0.75rem;
}

.service-card-features svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.service-card-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    transition: all 0.3s;
}

.service-card:hover .service-card-link {
    color: var(--color-accent);
}

.service-card:hover .service-card-link svg {
    transform: translateX(0.25rem);
}

.service-card-link svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s;
}

/* ==========================================================================
   Feature Grid
   ========================================================================== */
.feature-item {
    text-align: center;
}

.feature-item .card-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s;
}

.feature-item:hover .card-icon {
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--color-gray-600);
    margin-bottom: 0;
}

/* ==========================================================================
   Why Us Section
   ========================================================================== */
.why-us-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--color-gray-50);
    border-radius: var(--radius-xl);
}

.why-us-item .icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-us-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-white);
}

.why-us-item span {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

/* Quote Box */
.quote-box {
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-3xl);
    padding: 2rem 2.5rem;
}

.quote-box h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.quote-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.quote-item:last-child {
    margin-bottom: 0;
}

.quote-item p {
    color: var(--color-white);
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 0;
}

/* ==========================================================================
   Location Section
   ========================================================================== */
.location-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.location-image {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.location-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-primary), transparent);
}

.location-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
}

.location-info-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
}

.location-info svg {
    width: 1.5rem;
    height: 1.5rem;
}

.location-info-title {
    font-weight: 600;
}

.location-info-address {
    color: var(--color-gray-300);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    position: relative;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary), var(--color-primary-dark));
    overflow: hidden;
    padding: 5rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    width: 16rem;
    height: 16rem;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    width: 12rem;
    height: 12rem;
    background: var(--color-white);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    margin-bottom: 1.5rem;
}

.cta-content .highlight {
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.5rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--color-gray-50);
    border-radius: var(--radius-xl);
    transition: background-color 0.3s;
}

a.contact-info-item:hover {
    background-color: var(--color-gray-100);
}

.contact-info-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon-accent {
    background: linear-gradient(to bottom right, var(--color-accent), var(--color-accent-dark));
}

.contact-info-icon-primary {
    background-color: var(--color-primary);
}

.contact-info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-white);
}

.contact-info-label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.contact-info-value {
    font-weight: 600;
    color: var(--color-primary);
}

/* Contact Form */
.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.2s;
    background-color: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 52, 84, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--color-gray-400);
}

.contact-form .form-row {
    margin-bottom: 1.5rem;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .contact-form .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-form .submit-btn {
    width: 100%;
    height: 3.5rem;
    font-size: 1.125rem;
}

.contact-form .form-note {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    text-align: center;
    margin-top: 1rem;
}

/* Contact Form 7 Styling */
.wpcf7-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.2s;
    background-color: transparent;
    height: 3rem;
}

.wpcf7-form textarea {
    height: auto;
    min-height: 8rem;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 52, 84, 0.1);
}

.wpcf7-form .wpcf7-submit {
    width: 100%;
    height: 3.5rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: var(--color-accent-dark);
}

.wpcf7-form p {
    margin-bottom: 1.5rem;
}

.wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    padding: 1.5rem 2rem;
}

.faq-item {
    border-bottom: 1px solid var(--color-gray-100);
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-weight: 500;
    color: var(--color-primary);
    padding-right: 1rem;
}

.faq-question svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-gray-400);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-bottom: 1.25rem;
    color: var(--color-gray-600);
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--color-accent);
}

.footer-description {
    color: var(--color-gray-300);
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-gray-300);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gray-300);
    margin-bottom: 1rem;
}

.footer-contact-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-gray-400);
    font-size: 0.875rem;
}

/* ==========================================================================
   Service Hero Section
   ========================================================================== */
.service-hero {
    position: relative;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary), var(--color-primary-dark));
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .service-hero {
        padding: 6rem 0;
    }
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 5rem;
    right: 5rem;
    width: 20rem;
    height: 20rem;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.service-hero-badge svg {
    width: 1.25rem;
    height: 1.25rem;
}

.service-hero-title {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.service-hero-text {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-hero-image {
    position: relative;
    z-index: 1;
}

.service-hero-image img {
    width: 100%;
    object-fit: cover;
}

@media (max-width: 1023px) {
    .service-hero-image {
        display: none;
    }
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-100);
    color: var(--color-gray-700);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-dark));
    padding: 5rem 0;
    text-align: center;
}

@media (min-width: 1024px) {
    .page-header {
        padding: 7rem 0;
    }
}

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

.page-header p {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    max-width: 42rem;
    margin: 0 auto;
}

/* ==========================================================================
   About Page
   ========================================================================== */
.about-hero {
    position: relative;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-dark));
    padding: 5rem 0;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 5rem;
    right: 5rem;
    width: 24rem;
    height: 24rem;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-title {
    color: var(--color-white);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.125rem;
    color: var(--color-gray-400);
}

.about-image {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

/* Team Card */
.team-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    transition: all 0.3s ease;
}

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

.team-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-image span {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
}

.team-card-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.team-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.team-card-content {
    padding: 1.5rem;
}

.team-card-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-card-role {
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-card-bio {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: 0.75rem;
}

.team-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.team-card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: color 0.3s;
}

.team-card-more svg {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform 0.3s;
}

.team-card-link:hover .team-card-more {
    color: var(--color-accent);
}

.team-card-link:hover .team-card-more svg {
    transform: translateX(3px);
}

/* How We Work - Intro Section */
.hww-intro-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
    align-items: center;
}

@media (min-width: 768px) {
    .hww-intro-layout {
        flex-direction: row;
        gap: 3rem;
        align-items: center;
    }
}

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

@media (min-width: 768px) {
    .hww-intro-text {
        width: 24rem;
        flex-shrink: 0;
        text-align: left;
    }
}

.hww-intro-photo {
    width: 100%;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .hww-intro-photo {
        flex: 1;
        min-width: 0;
    }
}

.hww-intro-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Team Member Single */
.team-single-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 60rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .team-single-layout {
        flex-direction: row;
        gap: 3rem;
        align-items: flex-start;
    }
}

.team-single-sidebar {
    width: 100%;
}

@media (min-width: 768px) {
    .team-single-sidebar {
        width: 22rem;
        flex-shrink: 0;
        position: sticky;
        top: 6rem;
    }
}

.team-single-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .team-single-photo {
        max-width: 22rem;
    }
}

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

.team-single-photo-placeholder {
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-single-photo-placeholder span {
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
}

.team-single-meta {
    margin-top: 1.25rem;
}

.team-single-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.team-single-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0;
}

.team-single-content {
    flex: 1;
    min-width: 0;
}

.team-single-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.team-single-back:hover {
    color: var(--color-accent);
}

.team-single-back svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s;
}

.team-single-back:hover svg {
    transform: translateX(-3px);
}

.team-single-bio {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-gray-700);
}

.team-single-bio p {
    margin-bottom: 1rem;
}

.team-single-bio p:last-child {
    margin-bottom: 0;
}

/* Values */
.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.value-item .icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-xl);
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-item svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-white);
}

.value-item span {
    color: var(--color-primary);
    font-weight: 500;
}

/* ==========================================================================
   Map
   ========================================================================== */
.map-container {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-3xl { border-radius: var(--radius-3xl); }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.hidden { display: none; }

@media (min-width: 768px) {
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:flex { display: flex; }
}

@media (min-width: 1024px) {
    .lg\:hidden { display: none; }
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
}

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }

.transition { transition: all 0.3s; }

.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;
}

/* ==========================================================================
   Blog Card Styles
   ========================================================================== */
.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    transition: all 0.3s ease;
}

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

.blog-card-image {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-light));
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.blog-card-placeholder svg {
    width: 4rem;
    height: 4rem;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-card-date,
.blog-card-category {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.blog-card-date svg,
.blog-card-category svg {
    width: 1rem;
    height: 1rem;
}

.blog-card-category a {
    color: var(--color-accent);
    transition: color 0.2s;
}

.blog-card-category a:hover {
    color: var(--color-accent-dark);
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--color-primary);
    transition: color 0.2s;
}

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

.blog-card-excerpt {
    color: var(--color-gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    transition: all 0.2s;
}

.blog-card-link:hover {
    color: var(--color-accent);
}

.blog-card-link svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s;
}

.blog-card-link:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */
.single-header {
    position: relative;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-dark));
    padding: 6rem 0;
    overflow: hidden;
}

.single-header-image {
    position: absolute;
    inset: 0;
}

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

.single-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-primary), transparent);
}

.single-header-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-dark));
}

.single-header-content {
    position: relative;
    z-index: 1;
    max-width: 48rem;
}

.single-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.single-category {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.single-title {
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.single-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-300);
    font-size: 0.875rem;
}

.single-meta-item svg {
    width: 1rem;
    height: 1rem;
}

/* Single Content */
.single-content-section {
    padding: 4rem 0;
}

.single-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .single-content-wrapper {
        grid-template-columns: 1fr 320px;
    }
}

.single-content {
    max-width: 100%;
}

.single-content > p,
.single-content > ul,
.single-content > ol,
.single-content > blockquote {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.single-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.single-content ul,
.single-content ol {
    padding-left: 1.5rem;
}

.single-content li {
    margin-bottom: 0.5rem;
}

.single-content img {
    border-radius: var(--radius-xl);
    margin: 2rem 0;
}

.single-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

.single-content a:hover {
    color: var(--color-accent-dark);
}

/* Tags */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
}

.single-tags-label {
    font-weight: 600;
    color: var(--color-primary);
}

.single-tags a {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--color-gray-100);
    color: var(--color-gray-700);
    border-radius: var(--radius);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

.single-tags a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Share */
.single-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--color-gray-200);
}

.single-share-label {
    font-weight: 600;
    color: var(--color-primary);
}

.single-share-buttons {
    display: flex;
    gap: 0.5rem;
}

.single-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.single-share-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.share-facebook {
    background: #1877f2;
    color: white;
}

.share-facebook:hover {
    background: #166fe5;
}

.share-twitter {
    background: #000;
    color: white;
}

.share-twitter:hover {
    background: #333;
}

.share-linkedin {
    background: #0a66c2;
    color: white;
}

.share-linkedin:hover {
    background: #095196;
}

.share-email {
    background: var(--color-gray-600);
    color: white;
}

.share-email:hover {
    background: var(--color-gray-700);
}

/* Sidebar */
.single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.author-box {
    background: var(--color-gray-50);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.author-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.author-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-500);
}

.author-name {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.author-bio {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: 0;
}

/* Related Posts */
.related-posts {
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.related-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    transition: background 0.2s;
}

.related-item:hover {
    background: var(--color-gray-50);
}

.related-item-image {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.related-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.related-item-date {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    color: var(--color-white);
}

.sidebar-cta h4 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.sidebar-cta p {
    color: var(--color-gray-300);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.sidebar-cta .btn {
    background: var(--color-accent);
}

.sidebar-cta .btn:hover {
    background: var(--color-accent-dark);
}

/* Post Navigation */
.single-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
}

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

.single-nav-link {
    display: block;
    padding: 1.5rem;
    background: var(--color-gray-50);
    border-radius: var(--radius-xl);
    transition: all 0.2s;
}

.single-nav-link:hover {
    background: var(--color-gray-100);
}

.single-nav-prev .single-nav-label svg {
    transform: rotate(180deg);
}

.single-nav-next {
    text-align: right;
}

.single-nav-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: 0.5rem;
}

.single-nav-next .single-nav-label {
    justify-content: flex-end;
}

.single-nav-label svg {
    width: 1rem;
    height: 1rem;
}

.single-nav-title {
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
}

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

/* ==========================================================================
   Process Steps (How We Work page)
   ========================================================================== */
.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.process-step:last-child {
    border-bottom: none;
}

.process-step-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    min-width: 80px;
}

.process-step-content {
    flex: 1;
}

.process-step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.process-step-subtitle {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.process-step-text {
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .process-step {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .process-step-number {
        font-size: 2rem;
        min-width: auto;
    }
}

/* ==========================================================================
   Footer Widget Styles
   ========================================================================== */
.widget {
    margin-bottom: 1.5rem;
}

.widget:last-child {
    margin-bottom: 0;
}

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

.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li a {
    color: var(--color-gray-300);
    transition: color 0.2s;
}

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

.widget p {
    color: var(--color-gray-300);
    margin-bottom: 0.75rem;
}

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

/* Text Widget in Footer */
.site-footer .widget_text .footer-logo,
.site-footer .textwidget .footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.site-footer .widget_text .footer-logo span,
.site-footer .textwidget .footer-logo span {
    color: var(--color-accent);
}

/* Nav Menu Widget in Footer */
.site-footer .widget_nav_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .widget_nav_menu ul li {
    margin-bottom: 0.75rem;
}

.site-footer .widget_nav_menu ul li a {
    color: var(--color-gray-300);
    transition: color 0.2s;
}

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

/* ==========================================================================
   Logo Size Customization
   ========================================================================== */
.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img,
.custom-logo {
    display: block;
    max-height: 50px;
    width: auto;
    height: auto;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* ==========================================================================
   Service Card as Link
   ========================================================================== */
a.service-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* ==========================================================================
   Company Legal Block (Kapcsolat oldal – cégadatok)
   ========================================================================== */
.company-legal-block {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-200);
    color: var(--color-gray-600);
    font-size: 0.875rem; /* diszkrét */
}

.company-legal-title {
    font-weight: 600;
    color: #c32d2591;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.company-legal-dl {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
}

.company-legal-dl dt {
    font-weight: 600;
    color: #4b55639e;
}

.company-legal-dl dd {
    margin: 0;
    color: #4b55639e;
}

@media (min-width: 768px) {
    .company-legal-dl {
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
}


