/* ============================================================
   KANCELARIA ADWOKACKA MARTA KINAL — STYLE
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    --beige-lightest: #faf7f3;
    --beige-light:    #f2ece5;
    --beige:          #e8dfd5;
    --beige-dark:     #d4c8b8;
    --gold:           #8b7355;
    --gold-light:     #a6906f;
    --gold-dark:      #6d5a43;
    --text-dark:      #2c2418;
    --text-medium:    #5a4e3e;
    --text-light:     #8a7d6d;
    --white:          #ffffff;
    --shadow-soft:    0 4px 30px rgba(107, 85, 59, 0.08);
    --shadow-medium:  0 8px 40px rgba(107, 85, 59, 0.12);
    --shadow-strong:  0 16px 60px rgba(107, 85, 59, 0.18);
    --font-heading:   'Playfair Display', Georgia, serif;
    --font-body:      'Raleway', 'Segoe UI', sans-serif;
    --transition:     0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.25s ease;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--beige-lightest);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- NAWIGACJA ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 247, 243, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 247, 243, 0.95);
    border-bottom-color: var(--beige);
    box-shadow: var(--shadow-soft);
}

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

.nav-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-fast);
}

.nav-logo:hover img {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-medium);
    padding: 8px 14px;
    border-radius: 4px;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition);
}

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

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

/* Social icon in nav */
.nav-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--gold);
    transition: var(--transition-fast);
    flex-shrink: 0;
    order: 3;
}

.nav-social:hover {
    color: var(--gold-dark);
    background: var(--beige-light);
}

.nav-menu {
    order: 1;
}

.nav-toggle {
    order: 4;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--beige-lightest) 0%, var(--beige-light) 50%, var(--beige) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(139, 115, 85, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 115, 85, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(139, 115, 85, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Content - Left side */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-light);
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title-line {
    display: block;
}

.hero-title-line:first-child {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.hero-title-line:last-child {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: var(--gold);
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 24px 0;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 440px;
    margin-bottom: 36px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 115, 85, 0.3);
}

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

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

/* Hero Image - Right side */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateX(40px);
    animation: fadeInRight 1s ease 0.6s forwards;
}

.hero-image-frame {
    position: relative;
    width: 380px;
    height: 480px;
    border-radius: 14px;
    padding: 4px;
    border: 2px solid rgba(139, 115, 85, 0.25);
    box-shadow: 0 12px 50px rgba(107, 85, 59, 0.18);
    z-index: 2;
    overflow: hidden;
    background: var(--beige-light);
    transition: var(--transition);
}

.hero-image-frame:hover {
    border-color: rgba(139, 115, 85, 0.4);
    box-shadow: 0 16px 60px rgba(107, 85, 59, 0.25);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 10px;
    transition: transform 0.6s ease;
}

.hero-image-frame:hover .hero-image {
    transform: scale(1.03);
}

.hero-image-accent {
    display: none;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 1.5px solid var(--gold-light);
    border-bottom: 1.5px solid var(--gold-light);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease infinite;
}

/* ---------- SEKCJE (baza) ---------- */
.section {
    padding: 100px 0;
    position: relative;
}

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

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

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0 auto;
}

.placeholder-content {
    text-align: center;
    padding: 60px;
    border: 2px dashed var(--beige-dark);
    border-radius: 8px;
    color: var(--text-light);
    font-style: italic;
}

/* ---------- O MNIE ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
}

.about-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.03);
}

.about-image-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(139, 115, 85, 0.15);
    border-radius: 8px;
    pointer-events: none;
}

.about-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 24px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

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

.about-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.about-stat-number::after {
    content: '+';
    font-size: 1.4rem;
}

.about-stat-number.no-plus::after {
    content: '';
}

.about-stat-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 4px;
}

.about-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--beige-dark);
}

.about-text-col {
    padding-top: 8px;
}

.about-text-col p {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-lead {
    font-size: 1.05rem !important;
    color: var(--text-dark) !important;
    font-weight: 400;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 28px 0;
}

.about-highlight {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.about-highlight:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-medium);
}

.about-highlight-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

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

.about-highlight strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.about-highlight span {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.about-motto {
    margin-top: 28px;
    padding: 24px 28px;
    border-left: 3px solid var(--gold-light);
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.04), transparent);
    border-radius: 0 8px 8px 0;
}

.about-motto blockquote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-medium);
    line-height: 1.7;
}

/* About scroll animations */
.about-grid .about-image-col,
.about-grid .about-text-col,
.about-grid .about-highlight {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-grid .about-image-col.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-grid .about-text-col.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.about-grid .about-highlight.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- ZAKRES USŁUG ---------- */
.section-intro {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 20px auto 0;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    align-items: start;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(139, 115, 85, 0.06);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(25px);
    display: flex;
    flex-direction: column;
    min-height: 310px;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
    border-color: rgba(139, 115, 85, 0.15);
}

.service-card.visible:hover {
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--beige-light), var(--beige));
    border-radius: 10px;
    color: var(--gold);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--white);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    min-height: 2.8em;
}

.service-short {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.service-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 6px 0;
    transition: var(--transition-fast);
}

.service-toggle:hover {
    color: var(--gold-dark);
}

.service-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    opacity: 0;
}

.service-details.open {
    opacity: 1;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--beige);
}

.service-details p {
    font-size: 0.88rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-details-heading {
    font-weight: 500 !important;
    color: var(--text-dark) !important;
    margin-top: 8px;
}

.service-details ul {
    list-style: none;
    margin: 8px 0 12px;
    padding: 0;
}

.service-details ul li {
    position: relative;
    padding-left: 18px;
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 6px;
}

.service-details ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-light);
}

/* ---------- WYNAGRODZENIE / PRICING ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border-radius: 10px;
    padding: 36px 28px 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(139, 115, 85, 0.06);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(25px);
    display: flex;
    flex-direction: column;
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
    border-color: rgba(139, 115, 85, 0.15);
}

.pricing-card.visible:hover {
    transform: translateY(-4px);
}

.pricing-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--beige-light), var(--beige));
    border-radius: 10px;
    color: var(--gold);
    margin-bottom: 20px;
    transition: var(--transition);
}

.pricing-card:hover .pricing-card-icon {
    background: var(--gold);
    color: var(--white);
}

.pricing-card-icon svg {
    width: 24px;
    height: 24px;
}

.pricing-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.pricing-card-price {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--beige);
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.pricing-currency {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 6px;
}

.pricing-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: linear-gradient(135deg, var(--beige-light), var(--beige));
    padding: 8px 16px;
    border-radius: 4px;
}

.pricing-card-text {
    font-size: 0.88rem;
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 12px;
}

.pricing-card-text:last-of-type {
    margin-bottom: 20px;
}

.pricing-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--beige);
}

.pricing-tag {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(139, 115, 85, 0.06);
    padding: 5px 12px;
    border-radius: 20px;
}

/* CTA Banner */
.pricing-cta {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 48px;
    padding: 36px 40px;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.05), rgba(139, 115, 85, 0.02));
    border: 1px solid rgba(139, 115, 85, 0.1);
    border-radius: 10px;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.pricing-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-cta-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
}

.pricing-cta-icon svg {
    width: 26px;
    height: 26px;
}

.pricing-cta-content {
    flex: 1;
}

.pricing-cta-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.pricing-cta p {
    font-size: 0.88rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.pricing-cta .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ---------- OPINIE / CAROUSEL ---------- */
.reviews-google-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 40px;
}

.google-icon {
    flex-shrink: 0;
}

.google-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.google-stars .star {
    color: #FBBC05;
    font-size: 1.2rem;
}

.google-stars strong {
    margin-left: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
}

.google-count {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.reviews-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 24px;
    will-change: transform;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    border-radius: 10px;
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(139, 115, 85, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 260px;
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

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

.review-text {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-style: italic;
    color: var(--text-medium);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--beige);
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.review-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--beige);
}

.google-stars .star.empty {
    opacity: 0.25;
}

.review-author strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
}

.review-author span {
    font-size: 0.72rem;
    color: var(--text-light);
    letter-spacing: 0.03em;
}

/* Carousel buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--beige-dark);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: var(--transition-fast);
    z-index: 10;
    box-shadow: var(--shadow-soft);
}

.carousel-btn:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--gold-light);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

.carousel-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.15);
}

.reviews-google-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 32px auto 0;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--gold);
    padding: 14px 36px;
    border-radius: 50px;
    transition: var(--transition);
    text-align: center;
    width: auto;
    justify-content: center;
}

.reviews-google-link:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(139, 115, 85, 0.3);
}

.reviews-google-link .google-link-icon {
    width: 18px;
    height: 18px;
}

/* Reviews loading state */
.reviews-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px 0;
}

.reviews-loading p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.reviews-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--beige);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Elfsight widget wrapper */
.elfsight-reviews-wrapper {
    margin: 0 auto 24px;
    max-width: 100%;
    min-height: 200px;
}

/* Responsive carousel */
@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 680px) {
    .reviews-carousel {
        padding: 0 44px;
    }
    .review-card {
        flex: 0 0 100%;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
}

/* Scroll-triggered animations */
.section-header,
.section .placeholder-content {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-header.visible,
.section .placeholder-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- ZAUFALI NAM / LOGOS ---------- */
.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px 36px;
}

.trusted-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    padding: 18px;
    background: var(--beige-light);
    border-radius: 50%;
    border: none;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.trusted-logo.visible {
    opacity: 1;
    transform: translateY(0);
}

.trusted-logo:hover {
    background: var(--beige);
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.15);
}

.trusted-logo.visible:hover {
    transform: scale(1.08);
}

.trusted-logo img {
    max-height: 50px;
    max-width: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.trusted-logo:hover img {
    opacity: 0.8;
}

/* ---------- KONTAKT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-intro {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 28px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(139, 115, 85, 0.06);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: default;
}

a.contact-card {
    cursor: pointer;
}

a.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(139, 115, 85, 0.15);
}

.contact-card-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--beige-light), var(--beige));
    border-radius: 10px;
    color: var(--gold);
    flex-shrink: 0;
    transition: var(--transition);
}

a.contact-card:hover .contact-card-icon {
    background: var(--gold);
    color: var(--white);
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
}

.contact-card strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-card span {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 400;
}

/* Locations */
.contact-locations {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-location {
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
    box-shadow: var(--shadow-soft);
}

.contact-location-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--gold);
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.contact-location-details {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--gold-light);
}

.contact-location-details strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-location-details span {
    font-size: 0.88rem;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Map */
.contact-map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: var(--white);
}

.contact-map-tabs {
    display: flex;
    border-bottom: 1px solid var(--beige);
}

.map-tab {
    flex: 1;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    background: var(--beige-lightest);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.map-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.map-tab.active {
    color: var(--gold-dark);
    background: var(--white);
}

.map-tab.active::after {
    transform: scaleX(1);
}

.map-tab:hover {
    color: var(--gold);
}

.contact-map {
    height: 400px;
}

.contact-map iframe {
    display: block;
}

/* Contact animations */
.contact-info,
.contact-map-wrapper {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-map-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

/* ---------- STOPKA ---------- */
.footer {
    background: var(--text-dark);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: brightness(2) saturate(0.3);
    opacity: 0.6;
}

.footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

/* ---------- ANIMACJE ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%      { transform: rotate(45deg) translateY(6px); }
}

/* ---------- RESPONSYWNOŚĆ ---------- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    .hero-image-frame {
        width: 320px;
        height: 400px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 868px) {
    /* Mobile nav */
    .nav-toggle {
        display: flex;
        order: 4;
    }

    .nav-social {
        order: 3;
        margin-left: auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--beige-lightest);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 4px;
        box-shadow: var(--shadow-strong);
        transition: right var(--transition);
        z-index: 999;
    }

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

    .nav-link {
        font-size: 0.85rem;
        padding: 12px 16px;
    }

    /* Hero stacked */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 20px 24px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image-wrapper {
        order: 0;
    }

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

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

    .hero-image-frame {
        width: 260px;
        height: 330px;
    }

    .hero-divider {
        margin: 24px auto;
    }

    /* About stacked */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .about-image {
        height: 400px;
    }

    /* Services stacked */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Contact stacked */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 300px;
    }

    .pricing-cta {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
    }
}

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

    .nav-container {
        height: 70px;
    }

    .nav-logo img {
        height: 40px;
    }

    .hero {
        min-height: calc(100vh - 70px);
        min-height: calc(100svh - 70px);
        padding-top: 70px;
    }

    .hero-title-line {
        font-size: 2.2rem !important;
    }

    .hero-name {
        font-size: 1.4rem;
    }

    .hero-image-frame {
        width: 220px;
        height: 280px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.75rem;
    }

    .section {
        padding: 70px 0;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .trusted-logos {
        gap: 20px 24px;
    }

    .trusted-logo {
        width: 95px;
        height: 95px;
        padding: 14px;
    }

    .trusted-logo img {
        max-height: 40px;
        max-width: 55px;
    }
}