/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0f172a;
    --primary: #1e293b;
    --secondary: #334155;
    --accent: #1D4E3B;
    --accent-hover: #16402f;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: 'Montserrat', 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-white);
    font-size: 16px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10001;
    padding: 0.75rem 1.25rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--accent);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 45px;
    width: auto;
    margin-right: 12px;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(27%) sepia(47%) saturate(1234%) hue-rotate(120deg) brightness(95%) contrast(85%);
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(27%) sepia(47%) saturate(1234%) hue-rotate(120deg) brightness(95%) contrast(85%);
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
}

.hamburger:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

body.nav-open {
    overflow: hidden;
}

.hamburger:hover {
    background: var(--bg-light);
}

.bar {
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: var(--accent);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--accent);
}

/* Hero Section */
.hero {
    padding-top: 80px;
    background:
        linear-gradient(125deg, rgba(15, 23, 42, 0.97) 0%, rgba(22, 35, 52, 0.94) 42%, rgba(22, 64, 47, 0.96) 100%),
        radial-gradient(ellipse 90% 70% at 88% 18%, rgba(45, 120, 90, 0.35), transparent 58%),
        radial-gradient(ellipse 55% 45% at 8% 88%, rgba(15, 23, 42, 0.65), transparent 52%),
        linear-gradient(165deg, #0f172a 0%, #1a2740 45%, #123828 100%);
    color: white;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -8%;
    width: min(52vw, 620px);
    height: min(52vw, 620px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 78, 59, 0.28) 0%, transparent 68%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black 20%, transparent 75%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.45;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 2.5rem 3.5rem;
    align-items: center;
    padding: 4.5rem 0 5rem;
}

.hero-kicker {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(167, 243, 208, 0.9);
    margin-bottom: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(29, 78, 59, 0.55);
    border: 1px solid rgba(167, 243, 208, 0.35);
    color: #ecfdf5;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-badge i {
    color: #86efac;
}

.hero-text {
    text-align: left;
    max-width: 38rem;
}

.hero-title {
    font-size: clamp(2.35rem, 4.8vw, 3.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.08;
    color: white;
    letter-spacing: -1.5px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hero-title-accent {
    display: block;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.5px;
    color: rgba(226, 232, 240, 0.92);
    -webkit-text-fill-color: rgba(226, 232, 240, 0.92);
}

.hero-subtitle {
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
    margin-bottom: 2rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    max-width: 36rem;
}

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

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 430px;
    justify-self: end;
}

.hero-portrait-card {
    position: relative;
    width: 100%;
    max-width: 360px;
}

.hero-portrait-glow {
    position: absolute;
    inset: 8% -8% -8%;
    background: radial-gradient(circle at 50% 40%, rgba(45, 160, 110, 0.35), transparent 68%);
    filter: blur(18px);
    z-index: 0;
}

.hero-portrait-frame {
    position: relative;
    z-index: 1;
    padding: 5px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.45), rgba(29, 78, 59, 0.85));
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.hero-portrait {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 23px;
}

.hero-portrait-badge {
    position: absolute;
    left: 50%;
    bottom: -0.85rem;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-portrait-badge i {
    color: #86efac;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.hero-stats--inline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    padding: 1.15rem 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.hero-stat:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(167, 243, 208, 0.35);
}

.hero-stat--text {
    padding: 1.75rem 1.5rem;
}

.hero-stat--text .stat-label {
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 14rem;
    margin: 0 auto;
}

.stat-text-main {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 0.35rem;
}

.stat-text-main i {
    color: #bbf7d0;
}

.stat-number {
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.35rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    line-height: 1.35;
}

.btn {
    padding: 16px 36px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(29, 78, 59, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px 0 rgba(29, 78, 59, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 2rem auto 0;
    line-height: 1.7;
}

/* Practice Areas / Services */
.practice-areas,
.practice-areas-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.practice-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.practice-card:hover::before {
    transform: scaleX(1);
}

.practice-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.practice-card:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.practice-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bg-light), #f1f5f9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border);
}

.practice-card:hover .practice-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-color: var(--accent);
    transform: scale(1.1) rotate(5deg);
}

.practice-icon i {
    font-size: 2rem;
    color: var(--primary-dark);
    transition: all 0.4s ease;
}

.practice-card:hover .practice-icon i {
    color: white;
    transform: scale(1.1);
}

.practice-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

.practice-card:hover h3 {
    color: var(--accent);
}

.practice-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.practice-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    cursor: pointer;
}

.practice-card:hover .practice-link {
    gap: 12px;
}

/* Service modal */
.service-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.service-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.service-modal-box {
    position: relative;
    background: var(--bg-white);
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: min(90vh, 100dvh - 2rem);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    margin: auto;
    align-self: center;
}

.service-modal.is-open .service-modal-box {
    transform: scale(1);
}

.service-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-light);
    color: var(--secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: background 0.2s, color 0.2s;
}

.service-modal-close:hover {
    background: var(--accent);
    color: white;
}

.service-modal-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-modal-icon {
    font-size: 1.75rem;
}

.service-modal-title {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-modal-short {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.service-modal-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.service-modal-body ul {
    margin: 0 0 1rem 1.25rem;
}

.service-modal-body li {
    margin-bottom: 0.5rem;
}

.service-modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p strong {
    color: var(--accent);
    font-weight: 700;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.feature i {
    color: #10b981;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature span {
    font-weight: 600;
    color: var(--primary-dark);
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-office-figure {
    margin: 0;
    width: 100%;
    max-width: 450px;
}

.about-office {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.about-office-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
}

.about-office-caption i {
    color: var(--accent);
}

.about-portrait {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    max-width: 450px;
    height: 550px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(29, 78, 59, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
}

.image-placeholder p {
    position: relative;
    z-index: 1;
    font-weight: 600;
}

/* Why Choose Us */
.why-choose {
    background: var(--bg-white);
    padding: 100px 0;
}

.why-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.why-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: var(--primary-dark);
    line-height: 1.2;
    letter-spacing: -1px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.why-feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.why-feature i {
    color: var(--accent);
    font-size: 1.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.why-feature h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

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

.contact-box {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.contact-box h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.contact-box--compact h3 {
    margin-bottom: 0.75rem;
}

.contact-box-lead {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.contact-box--compact .contact-info-item {
    margin-bottom: 1rem;
}

.contact-box--compact .contact-info-item:last-of-type {
    margin-bottom: 1.5rem;
}

/* Tel / email — ista boja kao okolni tekst, klik ostaje (nije podrazumevano plavo) */
.contact-details a[href^="tel:"],
.contact-details a[href^="mailto:"],
.contact-box--compact .contact-info-item a[href^="tel:"],
.contact-box--compact .contact-info-item a[href^="mailto:"] {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-details a[href^="tel:"]:hover,
.contact-details a[href^="mailto:"]:hover,
.contact-details a[href^="tel:"]:focus-visible,
.contact-details a[href^="mailto:"]:focus-visible,
.contact-box--compact .contact-info-item a[href^="tel:"]:hover,
.contact-box--compact .contact-info-item a[href^="mailto:"]:hover,
.contact-box--compact .contact-info-item a[href^="tel:"]:focus-visible,
.contact-box--compact .contact-info-item a[href^="mailto:"]:focus-visible {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-details a[href^="tel:"]:visited,
.contact-details a[href^="mailto:"]:visited,
.contact-box--compact .contact-info-item a[href^="tel:"]:visited,
.contact-box--compact .contact-info-item a[href^="mailto:"]:visited {
    color: var(--text-light);
}

.contact-box-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    color: #fff;
}

.contact-box--compact .contact-box-cta:hover {
    color: #fff;
    text-decoration: none;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: var(--bg-light);
    transform: translateX(4px);
}

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

.contact-info-item i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: var(--bg-light);
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.experience-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-lead {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text);
    margin: 0;
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent);
}

.experience-lead strong {
    color: var(--primary-dark);
}

.experience-role-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26, 35, 50, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .experience-role-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
}

.experience-role-card__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 2px solid var(--accent);
}

.experience-role-card h3 {
    color: var(--primary-dark);
    margin: 0 0 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.35;
}

.experience-role-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.qualifications h3 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 800;
}

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

.qualification-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.qualification-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.qualification-item i {
    color: var(--accent);
    font-size: 1.75rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.qualification-item h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.qualification-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.certificates-block {
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(26, 35, 50, 0.08);
}

.certificates-block__title {
    color: var(--primary-dark);
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    text-align: center;
}

.certificates-block__lead {
    color: var(--text-light);
    text-align: center;
    margin: 0 0 2rem;
    font-size: 1rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.certificate-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26, 35, 50, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 100%;
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 162, 39, 0.35);
}

.certificate-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(201, 162, 39, 0.12);
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.certificate-card h4 {
    color: var(--primary-dark);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.certificate-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1rem;
    flex-grow: 1;
}

.certificate-card__action {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.certificate-card__action i {
    font-size: 0.75rem;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    line-height: 1.75;
    margin: 0;
}

.faq-item p a {
    color: var(--accent);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-map-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.contact-map-link:hover,
.contact-map-link:focus-visible {
    text-decoration: underline;
    color: var(--accent-hover);
}

.contact-map-embed {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 16 / 10;
    max-height: 300px;
    width: 100%;
}

.contact-map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 220px;
    border: 0;
    display: block;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    border: 3px solid var(--accent);
    box-shadow: var(--shadow-md);
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-details h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.7;
}

.section-lead-contact {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-light);
}

.section-lead-contact strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.contact-inline-tel {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.contact-inline-tel:hover {
    text-decoration: underline;
}

.contact .booking-form-wrapper.consultation-form-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.consultation-form-title {
    font-size: 1.35rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.consultation-form-intro {
    font-size: 0.98rem;
    color: var(--text-light);
    margin: 0 0 1.5rem;
    line-height: 1.55;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Samo obična polja — ne checkbox saglasnost (inače se stilovi mešaju) */
.form-group:not(.checkbox-group) > label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-white);
    font-family: inherit;
    color: var(--text-dark);
}

.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(29, 78, 59, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.booking-form-wrapper {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.booking-form {
    width: 100%;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    min-width: 0;
}

.booking-form .form-row--datetime {
    overflow: visible;
}

.booking-form .form-group:not(.checkbox-group) label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.booking-form .form-group {
    margin-bottom: 0;
    min-width: 0;
}

.booking-form .form-group input,
.booking-form .form-group select,
.booking-form .form-group textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-light);
    font-family: inherit;
    color: var(--text-dark);
}

.booking-form .form-group input:focus,
.booking-form .form-group select:focus,
.booking-form .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(29, 78, 59, 0.1);
    background: var(--bg-white);
}

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

.booking-date-wrap {
    position: relative;
}

.booking-date-wrap::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f073';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    pointer-events: none;
    font-size: 1rem;
}

.booking-date-input {
    cursor: pointer;
    padding-right: 2.75rem !important;
}

/* Flatpickr kalendar — usklađeno sa temom */
.flatpickr-calendar {
    font-family: 'Montserrat', 'Raleway', sans-serif;
    box-shadow: var(--shadow-xl);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.flatpickr-day:hover:not(.flatpickr-disabled) {
    background: rgba(29, 78, 59, 0.12);
    border-color: var(--accent);
}

.flatpickr-day.today:not(.selected) {
    border-color: var(--accent);
}

.flatpickr-day.flatpickr-disabled {
    color: #cbd5e1;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    min-width: 1.125rem;
    min-height: 1.125rem;
    margin: 0.15rem 0 0;
    cursor: pointer;
    accent-color: var(--accent);
    align-self: flex-start;
}

.checkbox-group label {
    flex: 1;
    min-width: 0;
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
    padding-top: 0;
    font-weight: 400;
}

.booking-form .checkbox-group {
    margin-bottom: 2.5rem;
}

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

.privacy-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    text-decoration: underline;
    color: var(--accent-hover);
}

.btn-submit {
    width: 100%;
    padding: 18px 36px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-submit i {
    font-size: 1.2rem;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.booking-form .form-group input.error,
.booking-form .form-group select.error,
.booking-form .form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.field-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

/* Strelica na vrh */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.back-to-top:hover {
    background: var(--accent-hover);
    color: white;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    font-size: 1.25rem;
}

@media (max-width: 480px) {
    .back-to-top {
        width: 46px;
        height: 46px;
        bottom: 20px;
        right: 20px;
    }
    .back-to-top i {
        font-size: 1.1rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), #1D4E3B);
    color: white;
    padding: 4rem 0 1.5rem;
    border-top: 3px solid var(--accent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 12px;
    color: var(--accent);
    font-size: 1.8rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-ids {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-section p a[href^="tel:"],
.footer-section p a[href^="mailto:"] {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-section p a[href^="tel:"]:hover,
.footer-section p a[href^="mailto:"]:hover,
.footer-section p a[href^="tel:"]:focus-visible,
.footer-section p a[href^="mailto:"]:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-section p a[href^="tel:"]:visited,
.footer-section p a[href^="mailto:"]:visited {
    color: rgba(255, 255, 255, 0.88);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(29, 78, 59, 0.4);
    border-color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.powered-by {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.relja-name {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.relja-name:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: underline;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
        justify-self: center;
    }

    .hero-text {
        max-width: none;
        text-align: center;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }
    
    .about-content,
    .why-content,
    .experience-content,
    .contact-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        border-top: 2px solid var(--accent);
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-link {
        padding: 15px 20px;
        display: block;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 92px 0 56px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 0 3rem;
        text-align: center;
    }

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

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

    .hero-visual {
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-portrait-card {
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-stats--inline {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .hero-stat {
        padding: 1rem 0.85rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .why-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-box {
        position: static;
    }

    .experience-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .experience-role-card {
        padding: 1.5rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.35rem 1.25rem;
        margin-bottom: 1.75rem;
        text-align: left;
        align-items: start;
    }

    .footer-section:nth-child(1) {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-section:nth-child(4) {
        grid-column: 1 / -1;
    }

    .footer-section:first-child .social-links {
        justify-content: center;
    }

    .footer {
        padding: 2.25rem 0 1.1rem;
    }

    .footer-section h3 {
        margin-bottom: 0.85rem;
    }

    .footer-section ul li {
        margin-bottom: 0.45rem;
    }

    .footer-bottom {
        padding-top: 1.35rem;
    }

    /* Modal na tabletu/mobilnom */
    .service-modal {
        padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom)) 1rem;
        min-height: 100dvh;
        align-items: center;
        justify-content: center;
    }

    .service-modal-box {
        padding: 2rem 1.5rem;
        max-height: min(85vh, 90dvh);
        align-self: center;
    }

    .service-modal-title {
        font-size: 1.5rem;
    }

    .service-modal-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 70px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
        height: 70px;
    }

    .nav-logo span {
        font-size: 0.9rem;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .logo-img {
        height: 38px;
        margin-right: 8px;
    }

    .nav-menu {
        top: 70px;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-title-accent {
        font-size: 1.15rem;
    }

    .hero-stats--inline {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-stat {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .practice-areas-section,
    .about,
    .why-choose,
    .experience,
    .contact {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
        margin-top: 1rem;
    }

    .practice-card {
        padding: 1.5rem;
    }

    .practice-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .practice-card h3 {
        font-size: 1.2rem;
    }

    .practice-card p {
        font-size: 0.95rem;
    }

    .about-text h3 {
        font-size: 1.4rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .why-choose h2 {
        font-size: 1.4rem;
    }

    .contact-box {
        padding: 1.5rem;
    }

    .contact-box h3 {
        font-size: 1.35rem;
    }

    .contact-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .booking-form input:not([type="checkbox"]):not([type="radio"]),
    .booking-form select,
    .booking-form textarea {
        font-size: 16px; /* sprečava zum u iOS */
    }

    .contact .booking-form-wrapper.consultation-form-card {
        padding: 1.5rem;
    }

    .section-lead-contact {
        font-size: 1rem;
        padding: 0 0.25rem;
    }

    .consultation-form-title {
        font-size: 1.2rem;
    }

    .consultation-form-intro {
        font-size: 0.92rem;
        margin-bottom: 1.25rem;
    }

    .booking-form .form-group:not(.checkbox-group) label {
        font-size: 1rem;
    }

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

    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .btn-submit {
        width: 100%;
    }

    /* Saglasnost privatnošću: manji kvadrat, tekst u visini sredine checkboxa */
    .checkbox-group {
        align-items: center;
        gap: 0.6rem;
    }

    .checkbox-group input[type="checkbox"] {
        width: 1rem;
        height: 1rem;
        min-width: 1rem;
        min-height: 1rem;
        margin: 0;
        align-self: center;
    }

    .checkbox-group label {
        font-size: 0.875rem;
        line-height: 1.45;
        padding-top: 0;
    }

    /* Modal na telefonu — centriran na ekranu */
    .service-modal {
        padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .service-modal-box {
        padding: 1.5rem 1.25rem;
        border-radius: 20px;
        max-height: min(88vh, 92dvh);
        width: 100%;
        max-width: min(100%, 520px);
        align-self: center;
    }

    .service-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .service-modal-icon-wrap {
        width: 52px;
        height: 52px;
        margin-bottom: 1rem;
    }

    .service-modal-icon {
        font-size: 1.4rem;
    }

    .service-modal-title {
        font-size: 1.35rem;
    }

    .service-modal-short {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .service-modal-body {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .service-modal-cta {
        width: 100%;
        justify-content: center;
    }

    /* Footer na telefonu — manje visine, zbijenije */
    .footer {
        padding: 1.5rem 0 0.85rem;
    }

    .footer-content {
        gap: 1rem 0.85rem;
        margin-bottom: 1.15rem;
    }

    .footer-logo {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-logo-img {
        height: 34px;
    }

    .footer-section:first-child p {
        font-size: 0.82rem;
        line-height: 1.45;
        margin-bottom: 0.65rem;
    }

    .footer-section h3 {
        font-size: 0.95rem;
        margin-bottom: 0.55rem;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 0.82rem;
    }

    .footer-section p {
        margin-bottom: 0.45rem;
        line-height: 1.45;
    }

    .footer-section ul li {
        margin-bottom: 0.3rem;
    }

    .social-links {
        margin-top: 0.65rem;
        gap: 0.5rem;
        justify-content: center;
    }

    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .footer-bottom {
        flex-direction: column;
        padding-top: 0.9rem;
        font-size: 0.78rem;
        gap: 0.35rem;
    }

    .powered-by {
        font-size: 0.78rem;
    }

    .experience-lead {
        font-size: 1rem;
        padding: 1rem 1.15rem;
    }

    .experience-role-card h3 {
        font-size: 1.1rem;
    }

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

    .certificates-block {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }

    .qualification-item h4 {
        font-size: 1rem;
    }
}

/* Veoma mali ekrani (npr. iPhone SE) */
@media (max-width: 360px) {
    .nav-logo span {
        display: none;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.35rem;
    }

    .container {
        padding: 0 12px;
    }

    /* Footer: jedna kolona da linkovi ne budu preuski */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }

    .footer-section:nth-child(2),
    .footer-section:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
