/*
Theme Name: Karol Psychoterapia
Theme URI: https://digitalboost.media
Author: digitalboost.media
Author URI: https://digitalboost.media
Description: Motyw WordPress dla Karol Psychoterapia — profesjonalna strona psychoterapeutyczna z nowoczesnym designem.
Version: 1.2.0
Requires at least: 6.0
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: karol-psychoterapia
Tags: psychotherapy, mental-health, one-page, custom-menu
*/

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

:root {
    /* Primary palette – dark green from grafika1 */
    --color-primary: #1B5E3B;
    --color-primary-dark: #14442C;
    --color-primary-light: #2E7D52;
    --color-accent: #A8D5BA;
    --color-accent-light: #E8F5E9;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-off-white: #F7F7F5;
    --color-light-gray: #F0F0EC;
    --color-gray: #888888;
    --color-dark: #1A1A1A;
    --color-text: #333333;
    --color-text-light: #666666;

    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Transitions */
    --transition: all 0.3s ease;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

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

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

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

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

.btn-arrow::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn-arrow:hover::after {
    transform: translateX(4px);
}

/* ========================================
   SECTION LABEL / BADGE
   ======================================== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: var(--color-light-gray);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 24px;
}

.section-badge svg,
.section-badge img {
    width: 18px;
    height: 18px;
}

/* ========================================
   HEADER / NAVIGATION (Wellthy Style)
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-white);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
}

.site-logo .logo-icon {
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Main navigation */
.main-nav {
    display: flex;
    align-items: center;
}

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

.main-nav .nav-menu li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 4px 0;
}

.main-nav .nav-menu li a:hover {
    color: var(--color-primary);
}

.main-nav .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.main-nav .nav-menu li a:hover::after {
    width: 100%;
}

/* Header right (CTA buttons) */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-right .btn {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition);
}

/* ========================================
   HERO BANNER (Wellthy Style)
   ======================================== */
.hero-banner {
    padding: 160px 0 100px;
    background-color: var(--color-white);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.hero-right p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
}

.hero-play-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--color-text);
}

.hero-play-link .play-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-play-link .play-circle svg {
    width: 18px;
    height: 18px;
    fill: var(--color-dark);
}

.hero-play-link span {
    font-size: 0.85rem;
    color: var(--color-gray);
    display: block;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.section-about {
    padding: var(--section-padding);
    background-color: var(--color-primary);
    color: var(--color-white);
    overflow: hidden;
}

.about-heading {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 36px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: left;
}

.about-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: stretch;
}

.about-left {
    display: flex;
    flex-direction: column;
}

/* Kafelki – 2x2 grid, content centered */
.about-tiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    height: 100%;
}

.about-tile {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.about-tile:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.about-tile.active {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--color-accent);
}

.about-tile-front {
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    position: relative;
    flex: 1;
    min-height: 160px;
}

.tile-toggle-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.about-tile:hover .tile-toggle-icon {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
}

.about-tile.active .tile-toggle-icon {
    transform: rotate(45deg);
    color: var(--color-accent);
    background: rgba(168, 213, 186, 0.15);
}

.about-tile-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.about-tile:hover .about-tile-icon {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

.about-tile.active .about-tile-icon {
    background: rgba(168, 213, 186, 0.2);
}

.about-tile-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--color-white);
    fill: none;
    stroke-width: 1.8;
}

.about-tile h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    padding: 0;
    margin: 0;
}

/* Expandable content */
.about-tile-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px;
}

.about-tile.active .about-tile-expand {
    max-height: 300px;
    padding: 0 20px 18px;
}

.about-tile-expand ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 14px;
}

.about-tile-expand ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    line-height: 1.5;
}

.about-tile-expand ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* O mnie tile – expanded overlay for longer content */
.about-tile--omnie.active {
    position: relative;
    z-index: 10;
}

.about-tile-expand--omnie {
    /* More space for the two sections */
}

.about-tile.active .about-tile-expand--omnie {
    max-height: 600px;
}

.omnie-section {
    margin-bottom: 14px;
}

.omnie-section:last-child {
    margin-bottom: 0;
}

.omnie-section h5 {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.omnie-section ul {
    border-top: none !important;
    padding-top: 0 !important;
}

/* About right – person silhouette */
.about-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.about-person-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
}

.about-person-img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.about-person-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-person-placeholder {
    width: 100%;
    flex: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-person-placeholder .silhouette {
    width: 60%;
    opacity: 0.3;
}

/* ========================================
   SERVICE SUBPAGE
   ======================================== */
.service-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    padding: 160px 24px 80px;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
    z-index: 0;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.service-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 800;
}

.service-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Service description */
.service-description {
    padding: var(--section-padding);
}

.service-description .container {
    max-width: 900px;
}

.service-description h2 {
    margin-bottom: 20px;
}

.service-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Therapy process infographics */
.service-process {
    padding: var(--section-padding);
    background-color: var(--color-off-white);
}

.service-process h2 {
    text-align: center;
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-step h4 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--color-text-light);
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    right: -18px;
    width: 36px;
    height: 2px;
    background: var(--color-accent);
}

/* Pricing section */
.service-pricing {
    padding: var(--section-padding);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.pricing-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    background: var(--color-accent-light);
}

.pricing-card h3 {
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 16px 0;
}

.pricing-card .price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-light);
}

.pricing-card ul {
    text-align: left;
    margin: 20px 0;
}

.pricing-card ul li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
    position: relative;
    padding-left: 24px;
}

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

/* ========================================
   SERVICES SECTION
   ======================================== */
.section-services {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.services-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.services-header p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

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

a.service-card {
    color: inherit;
    text-decoration: none;
}

.service-card {
    background-color: var(--color-off-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-card-body {
    padding: 28px;
}

.service-card-body h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.service-card-body p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ========================================
   MENTAL ISSUES SECTION
   ======================================== */
.section-mental-issues {
    padding: var(--section-padding);
    background-color: var(--color-off-white);
}

.mental-header {
    text-align: center;
    margin-bottom: 60px;
}

.mental-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
}

.mental-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mental-list {
    display: flex;
    flex-direction: column;
}

.mental-item {
    padding: 22px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mental-item:first-child {
    border-top: 1px solid #ddd;
}

.mental-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
}

.mental-item .mental-progress {
    width: 60px;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.mental-item .mental-progress-bar {
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.mental-item:hover h4 {
    color: var(--color-primary);
}

.mental-item.active h4 {
    color: var(--color-primary);
    font-weight: 600;
}

.mental-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.mental-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.section-faq {
    padding: var(--section-padding);
    background-color: var(--color-dark);
    color: var(--color-white);
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header .section-badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.faq-header h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.faq-header p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    font-size: 1rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
}

.faq-question span.faq-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question span.faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 28px 22px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-question .q-label {
    color: var(--color-primary-light);
    margin-right: 10px;
    font-weight: 600;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.section-contact {
    padding: var(--section-padding);
    background-color: var(--color-off-white);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-left h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.contact-form-wrapper {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-form-wrapper .form-subtitle {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background-color: var(--color-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27, 94, 59, 0.1);
}

.form-group input::placeholder {
    color: var(--color-gray);
}

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

.form-submit {
    text-align: right;
    margin-top: 24px;
}

.form-submit .btn {
    min-width: 160px;
    justify-content: center;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background-color: var(--color-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .site-logo {
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-brand .site-logo .logo-icon {
    background-color: var(--color-primary);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 18px;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-inner,
    .about-inner,
    .mental-inner,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .process-step:not(:last-child)::after {
        display: none;
    }

    .services-header {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .header-inner {
        height: 70px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        padding: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        flex-direction: column;
    }

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

    .main-nav .nav-menu {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .main-nav .nav-menu li a {
        font-size: 1.1rem;
        padding: 8px 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-banner {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .about-right {
        order: -1;
    }

    .about-tiles-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-tile-front {
        min-height: 130px;
        padding: 22px 18px 18px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .about-tiles-grid {
        grid-template-columns: 1fr;
    }

    .about-tile-front {
        flex-direction: row;
        text-align: left;
        min-height: auto;
        padding: 18px 16px;
        gap: 12px;
    }

    .about-tile-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .about-tile-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}
