/**
 * Termo Pian Pro — widgets.css
 * Domyślne style wszystkich widgetów (działają bez konfiguracji w Elementorze).
 *
 * @package termo-pian-pro
 */

/* ============================================================
   ZMIENNE LOKALNE
   ============================================================ */
:root {
    --tpp-primary:       #f97316;
    --tpp-primary-dark:  #ea6c0d;
    --tpp-primary-light: rgba(249,115,22,0.12);
    --tpp-bg:            #ffffff;
    --tpp-fg:            #141921;
    --tpp-card:          #ffffff;
    --tpp-muted:         #f1f2f5;
    --tpp-muted-fg:      #6b7280;
    --tpp-border:        #e4e6ed;
    --tpp-radius:        0.75rem;
    --tpp-font-body:     'Inter', sans-serif;
    --tpp-font-display:  'Playfair Display', serif;
}

/* ============================================================
   POMOCNICZE KLASY GLOBALNE
   ============================================================ */
.tpp-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.tpp-section {
    padding: 6rem 0;
}

.tpp-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tpp-section-label {
    display: inline-block;
    font-family: var(--tpp-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--tpp-primary);
    margin-bottom: 1rem;
}

.tpp-section-title {
    font-family: var(--tpp-font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: var(--tpp-fg);
    margin: 0 0 1.25rem;
    line-height: 1.15;
}

.tpp-section-desc {
    font-family: var(--tpp-font-body);
    font-size: 1.125rem;
    color: var(--tpp-muted-fg);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Reveal animation na elementach */
.tpp-reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.tpp-reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.tpp-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: background 0.4s ease, border-bottom-color 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 1px solid transparent;
}

.tpp-navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(228, 230, 237, 0.5);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.tpp-navbar--blur.is-scrolled {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.tpp-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.tpp-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.tpp-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--tpp-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tpp-logo-icon span {
    font-family: var(--tpp-font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1;
}

.tpp-logo-img {
    height: 40px;
    width: auto;
}

.tpp-logo-text {
    display: flex;
    flex-direction: column;
}

.tpp-logo-name {
    font-family: var(--tpp-font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    color: #fff;
    line-height: 1.2;
    transition: color 0.4s ease;
}

.tpp-navbar.is-scrolled .tpp-logo-name {
    color: var(--tpp-fg);
}

.tpp-logo-tagline {
    font-family: var(--tpp-font-body);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.4s ease;
}

.tpp-navbar.is-scrolled .tpp-logo-tagline {
    color: var(--tpp-muted-fg);
}

/* Desktop nav links */
.tpp-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.tpp-nav-link {
    font-family: var(--tpp-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.tpp-navbar.is-scrolled .tpp-nav-link {
    color: rgba(20, 25, 33, 0.7);
}

.tpp-nav-link:hover {
    color: var(--tpp-primary);
}

/* CTA button */
.tpp-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--tpp-primary);
    color: #fff;
    font-family: var(--tpp-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.tpp-nav-cta:hover {
    background: var(--tpp-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Mobile toggle */
.tpp-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #fff;
    transition: color 0.4s ease;
}

.tpp-navbar.is-scrolled .tpp-mobile-toggle {
    color: var(--tpp-fg);
}

.tpp-mobile-toggle .tpp-icon-close { display: none; }
.tpp-mobile-toggle.is-open .tpp-icon-menu { display: none; }
.tpp-mobile-toggle.is-open .tpp-icon-close { display: block; }

/* Mobile menu */
.tpp-mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--tpp-border);
}

.tpp-mobile-menu.open {
    max-height: 100vh;
}

.tpp-mobile-menu__inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tpp-mobile-link {
    color: rgba(20, 25, 33, 0.7) !important;
    font-size: 1rem !important;
}

.tpp-mobile-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

@media (max-width: 1023px) {
    .tpp-nav-links    { display: none; }
    .tpp-mobile-toggle { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.tpp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.tpp-hero__bg {
    position: absolute;
    inset: 0;
}

.tpp-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpp-hero__overlay {
    position: absolute;
    inset: 0;
}

.tpp-hero__overlay--lr {
    background: linear-gradient(to right, rgba(0,0,0,0.80), rgba(0,0,0,0.50), rgba(0,0,0,0.25));
}

.tpp-hero__overlay--tb {
    background: linear-gradient(to top, rgba(0,0,0,0.45), transparent, transparent);
}

.tpp-hero__content {
    position: relative;
    z-index: 2;
    padding: 8rem 1.5rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* Badge */
.tpp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: var(--tpp-primary);
    font-family: var(--tpp-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.tpp-hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tpp-primary);
}

/* Title */
.tpp-hero__title {
    font-family: var(--tpp-font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    max-width: 760px;
}

.tpp-hero__title-accent {
    display: block;
    color: var(--tpp-primary);
}

/* Description */
.tpp-hero__desc {
    font-family: var(--tpp-font-body);
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.75;
    margin: 0 0 2.5rem;
}

/* Buttons */
.tpp-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.tpp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
    height: 3.5rem;
    background: var(--tpp-primary);
    color: #fff;
    font-family: var(--tpp-font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    border: 2px solid var(--tpp-primary);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.tpp-btn-primary:hover {
    background: var(--tpp-primary-dark);
    border-color: var(--tpp-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.tpp-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    height: 3.5rem;
    background: transparent;
    color: #fff;
    font-family: var(--tpp-font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.tpp-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

/* Stats */
.tpp-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
}

.tpp-hero__stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tpp-hero__stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tpp-hero__stat-icon svg {
    stroke: var(--tpp-primary);
    width: 20px;
    height: 20px;
}

.tpp-hero__stat-value {
    font-family: var(--tpp-font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.tpp-hero__stat-label {
    font-family: var(--tpp-font-body);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Reveal z opóźnieniem via CSS var */
.tpp-reveal {
    animation: tpp-reveal 0.8s ease both;
    animation-delay: var(--delay, 0s);
}

/* ============================================================
   SERVICES (USŁUGI)
   ============================================================ */
.tpp-services {
    background: var(--tpp-bg);
}

.tpp-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tpp-service-card {
    border-radius: var(--tpp-radius);
    overflow: hidden;
    background: var(--tpp-card);
    border: 1px solid var(--tpp-border);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.tpp-service-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.06);
}

.tpp-service-card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--tpp-muted);
}

.tpp-service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    display: block;
}

.tpp-service-card:hover .tpp-service-card__image img {
    transform: scale(1.05);
}

.tpp-service-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tpp-muted-fg);
    font-family: var(--tpp-font-body);
    font-size: 0.875rem;
    aspect-ratio: 16/9;
}

.tpp-service-card__body {
    padding: 2rem;
}

.tpp-service-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.tpp-service-card__title {
    font-family: var(--tpp-font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--tpp-fg);
    margin: 0;
}

.tpp-service-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tpp-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.tpp-service-card__icon svg {
    stroke: var(--tpp-primary);
    transition: stroke 0.3s ease;
}

.tpp-service-card:hover .tpp-service-card__icon {
    background: var(--tpp-primary);
}

.tpp-service-card:hover .tpp-service-card__icon svg {
    stroke: #fff;
}

.tpp-service-card__desc {
    font-family: var(--tpp-font-body);
    color: var(--tpp-muted-fg);
    line-height: 1.7;
    margin: 0;
    font-size: 0.9375rem;
}

@media (max-width: 767px) {
    .tpp-services__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WHYUS (DLACZEGO MY)
   ============================================================ */
.tpp-whyus {
    background: var(--tpp-muted);
}

.tpp-whyus__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tpp-advantage-card {
    padding: 2rem;
    border-radius: var(--tpp-radius);
    background: var(--tpp-card);
    border: 1px solid var(--tpp-border);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.tpp-advantage-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.05);
}

.tpp-advantage-card__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--tpp-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease;
}

.tpp-advantage-card__icon-wrap i,
.tpp-advantage-card__icon-wrap svg {
    color: var(--tpp-primary);
    fill: none;
    stroke: currentColor;
    width: 24px;
    height: 24px;
    font-size: 24px;
    transition: color 0.3s ease;
}

.tpp-advantage-card:hover .tpp-advantage-card__icon-wrap {
    background: var(--tpp-primary);
}

.tpp-advantage-card:hover .tpp-advantage-card__icon-wrap i,
.tpp-advantage-card:hover .tpp-advantage-card__icon-wrap svg {
    color: #fff;
}

.tpp-advantage-card__title {
    font-family: var(--tpp-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tpp-fg);
    margin: 0 0 0.75rem;
}

.tpp-advantage-card__desc {
    font-family: var(--tpp-font-body);
    color: var(--tpp-muted-fg);
    line-height: 1.7;
    margin: 0;
    font-size: 0.9375rem;
}

@media (max-width: 1023px) {
    .tpp-whyus__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
    .tpp-whyus__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PROCESS (PROCES)
   ============================================================ */
.tpp-process {
    background: var(--tpp-muted);
}

.tpp-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tpp-process-step {
    position: relative;
    text-align: center;
}

.tpp-process-step__connector {
    display: none;
    position: absolute;
    top: 40px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, rgba(249,115,22,0.3), rgba(249,115,22,0.1));
}

.tpp-process-step__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: var(--tpp-card);
    border: 2px solid rgba(249, 115, 22, 0.2);
    margin-bottom: 1.5rem;
}

.tpp-process-step__icon-wrap i,
.tpp-process-step__icon-wrap svg {
    color: var(--tpp-primary);
    stroke: currentColor;
    fill: none;
    width: 32px;
    height: 32px;
    font-size: 32px;
}

.tpp-process-step__number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tpp-primary);
    color: #fff;
    font-family: var(--tpp-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tpp-process-step__title {
    font-family: var(--tpp-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tpp-fg);
    margin: 0 0 0.75rem;
}

.tpp-process-step__desc {
    font-family: var(--tpp-font-body);
    font-size: 0.875rem;
    color: var(--tpp-muted-fg);
    line-height: 1.65;
    margin: 0;
}

@media (min-width: 1024px) {
    .tpp-process-step__connector { display: block; }
}

@media (max-width: 1023px) {
    .tpp-process__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
    .tpp-process__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GALLERY (REALIZACJE)
   ============================================================ */
.tpp-gallery {
    background: var(--tpp-bg);
}

.tpp-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tpp-gallery-card {
    position: relative;
    border-radius: var(--tpp-radius);
    overflow: hidden;
    cursor: pointer;
}

.tpp-gallery-card__img-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--tpp-muted);
}

.tpp-gallery-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    display: block;
}

.tpp-gallery-card:hover .tpp-gallery-card__img-wrap img {
    transform: scale(1.1);
}

.tpp-gallery-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tpp-muted-fg);
    aspect-ratio: 4/3;
}

.tpp-gallery-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2), transparent);
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tpp-gallery-card:hover .tpp-gallery-card__overlay {
    opacity: 1;
    transform: translateY(0);
}

.tpp-gallery-card__title {
    font-family: var(--tpp-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem;
}

.tpp-gallery-card__location {
    font-family: var(--tpp-font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (max-width: 1023px) {
    .tpp-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
    .tpp-gallery__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS (OPINIE)
   ============================================================ */
.tpp-testimonials {
    background: var(--tpp-bg);
}

.tpp-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tpp-review-card {
    padding: 2rem;
    border-radius: var(--tpp-radius);
    background: var(--tpp-card);
    border: 1px solid var(--tpp-border);
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tpp-review-card:hover {
    border-color: rgba(249, 115, 22, 0.2);
}

.tpp-review-card__quote {
    margin-bottom: 1rem;
}

.tpp-review-card__quote svg {
    fill: rgba(249, 115, 22, 0.2);
    width: 40px;
    height: 40px;
}

.tpp-review-card__text {
    font-family: var(--tpp-font-body);
    color: rgba(20, 25, 33, 0.8);
    line-height: 1.75;
    font-size: 0.9375rem;
    margin: 0 0 1.5rem;
    flex: 1;
}

.tpp-review-card__stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.tpp-star {
    fill: var(--tpp-primary);
    color: var(--tpp-primary);
    width: 16px;
    height: 16px;
}

.tpp-star--empty {
    fill: var(--tpp-border);
    color: var(--tpp-border);
}

.tpp-review-card__name {
    font-family: var(--tpp-font-body);
    font-weight: 600;
    color: var(--tpp-fg);
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
}

.tpp-review-card__role {
    font-family: var(--tpp-font-body);
    font-size: 0.8125rem;
    color: var(--tpp-muted-fg);
    margin: 0;
}

@media (max-width: 1023px) {
    .tpp-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
    .tpp-testimonials__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT (KONTAKT)
   ============================================================ */
.tpp-contact {
    background: var(--tpp-muted);
}

.tpp-contact__grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    align-items: start;
}

/* Info column */
.tpp-contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tpp-contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tpp-contact-info-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--tpp-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tpp-contact-info-item__icon svg {
    stroke: var(--tpp-primary);
}

.tpp-contact-info-item__label {
    font-family: var(--tpp-font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tpp-muted-fg);
    margin: 0 0 0.25rem;
}

.tpp-contact-info-item__value {
    font-family: var(--tpp-font-body);
    font-weight: 600;
    color: var(--tpp-fg);
    margin: 0;
    font-size: 0.9375rem;
}

.tpp-contact-info-item__value--link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.tpp-contact-info-item__value--link:hover {
    color: var(--tpp-primary);
}

.tpp-contact-promo {
    padding: 1.5rem;
    border-radius: var(--tpp-radius);
    background: rgba(249, 115, 22, 0.05);
    border: 1px solid rgba(249, 115, 22, 0.1);
    margin-top: 0.5rem;
}

.tpp-contact-promo__title {
    font-family: var(--tpp-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tpp-fg);
    margin: 0 0 0.5rem;
}

.tpp-contact-promo__desc {
    font-family: var(--tpp-font-body);
    font-size: 0.875rem;
    color: var(--tpp-muted-fg);
    line-height: 1.65;
    margin: 0;
}

/* Form */
.tpp-contact-form {
    padding: 2rem;
    border-radius: var(--tpp-radius);
    background: var(--tpp-card);
    border: 1px solid var(--tpp-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.tpp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tpp-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tpp-form-field:last-child { margin-bottom: 0; }

.tpp-form-field label {
    font-family: var(--tpp-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--tpp-fg);
}

.tpp-form-field label span {
    color: var(--tpp-primary);
}

.tpp-contact-form input,
.tpp-contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--tpp-border);
    border-radius: calc(var(--tpp-radius) - 0.125rem);
    background: var(--tpp-bg);
    color: var(--tpp-fg);
    font-family: var(--tpp-font-body);
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.tpp-contact-form input:focus,
.tpp-contact-form textarea:focus {
    border-color: var(--tpp-primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.tpp-contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.tpp-form-status {
    margin-bottom: 1rem;
    font-family: var(--tpp-font-body);
    font-size: 0.9rem;
    padding: 0;
    border-radius: var(--tpp-radius);
}

.tpp-form-status.is-success {
    padding: 0.75rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.tpp-form-status.is-error {
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.tpp-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 3.5rem;
    background: var(--tpp-primary);
    color: #fff;
    font-family: var(--tpp-font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--tpp-radius);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    position: relative;
}

.tpp-submit-btn:hover:not(:disabled) {
    background: var(--tpp-primary-dark);
    transform: translateY(-1px);
}

.tpp-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.tpp-submit-btn__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
}

.tpp-submit-btn.is-loading .tpp-submit-btn__text { display: none; }
.tpp-submit-btn.is-loading .tpp-submit-btn__spinner { display: block; }
.tpp-submit-btn.is-loading svg:first-child { display: none; }

@media (max-width: 1023px) {
    .tpp-contact__grid { grid-template-columns: 1fr; }
    .tpp-form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.tpp-footer {
    background: var(--tpp-fg);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 0;
}

.tpp-footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tpp-footer a:hover {
    color: var(--tpp-primary);
}

.tpp-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand */
.tpp-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
    color: #fff !important;
}

.tpp-footer-logo:hover {
    color: #fff !important;
}

.tpp-footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--tpp-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tpp-footer-logo-icon span {
    font-family: var(--tpp-font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.tpp-footer-brand-name {
    font-family: var(--tpp-font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    display: block;
}

.tpp-footer-brand-tagline {
    font-family: var(--tpp-font-body);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    display: block;
}

.tpp-footer__brand-desc {
    font-family: var(--tpp-font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    margin: 0;
}

/* Columns */
.tpp-footer__col-title {
    font-family: var(--tpp-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1rem;
    text-transform: none;
}

.tpp-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tpp-footer__links li {
    font-family: var(--tpp-font-body);
    font-size: 0.875rem;
}

/* Bottom bar */
.tpp-footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.tpp-footer__bottom p {
    font-family: var(--tpp-font-body);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

@media (max-width: 1023px) {
    .tpp-footer__grid { grid-template-columns: 1fr 1fr; }
    .tpp-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 599px) {
    .tpp-footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SEKCJA — padding responsywny
   ============================================================ */
@media (max-width: 767px) {
    .tpp-section { padding: 4rem 0; }
    .tpp-section-header { margin-bottom: 2.5rem; }
}
