/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette — dopasowana do logo PROFIINSTAL (#00A0E3 + czarny) */
    --primary-teal: #00A0E3;          /* Kolor rury z logo (cyan/sky blue) */
    --primary-teal-hover: #0089C4;
    --primary-teal-soft: #E8F6FC;
    --accent-orange: #E85D04;         /* Akcent CTA / ogrzewanie */
    --accent-orange-hover: #C44D03;
    --accent-orange-soft: #FFF4EB;
    --blue-water: #00A0E3;            /* Spójny z logo */
    --blue-water-soft: #E8F6FC;
    
    /* Neutrals */
    --dark-slate: #1A1A1A;            /* Czarny z logo / nagłówki */
    --text-main: #333333;             /* Body text */
    --text-muted: #6B7280;            /* Secondary text */
    --bg-light: #F5F8FA;              /* Alternate sections bg */
    --bg-white: #ffffff;              /* Standard cards bg */
    --border-light: #E2E8F0;          /* Lines, borders */
    --border-focus: #CBD5E1;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing & Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

/* ==========================================================================
   REUSABLE UTILITIES & BUTTONS
   ========================================================================== */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.max-w-lg { max-width: 800px; }
.max-w-md { max-width: 600px; }
.text-center { text-align: center; }

/* Subtitle for sections */
.section-subtitle {
    display: inline-block;
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-intro {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0.75rem auto 3rem auto;
}

/* Section Header standard spacing */
.section-header {
    margin-bottom: 3.5rem;
}

/* Badges */
.badge-headline {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-teal-soft);
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(13, 148, 136, 0.15);
    margin-bottom: 1.5rem;
}

.badge-pane {
    display: inline-block;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}
.bg-orange-soft { background-color: var(--accent-orange-soft); color: var(--accent-orange); }
.bg-blue-soft { background-color: var(--blue-water-soft); color: var(--blue-water); }
.bg-teal-soft { background-color: var(--primary-teal-soft); color: var(--primary-teal); }

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--bg-white);
    border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    border-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--dark-slate);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--border-focus);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Pulsing effect for main conversion button */
.btn-pulse {
    position: relative;
    overflow: hidden;
    animation: buttonGlow 3s infinite;
}

@keyframes buttonGlow {
    0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(234, 88, 12, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

/* ==========================================================================
   HEADER / NAVIGATION (STIKY GLASSMORPHISM)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Area */
.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: auto;
    height: 56px;
    max-width: 200px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: 0.5px;
    color: var(--dark-slate);
}

.logo-owner {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-top: 0.15rem;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

@media (max-width: 640px) {
    .logo-img {
        height: 44px;
        max-width: 150px;
    }

    .logo-text .logo-subtitle {
        display: none;
    }
}

/* Desktop Navigation */
.nav-desktop ul {
    display: flex;
    gap: 1.5rem;
}

.nav-desktop a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0.5rem 0.25rem;
    position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--primary-teal);
}

/* Underline effect */
.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-teal);
    transition: var(--transition-fast);
}

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

.nav-desktop a.highlight-link {
    color: var(--accent-orange);
}
.nav-desktop a.highlight-link::after {
    background-color: var(--accent-orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
}

.hamburger-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark-slate);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

/* Hamburger active transform */
.hamburger-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-menu-panel {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-white);
    z-index: 999;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-panel.open {
    height: calc(100vh - 78px);
    overflow-y: auto;
}

.nav-mobile {
    padding: 2rem 1.5rem;
}

.nav-mobile ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-mobile a {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-slate);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bg-light);
}

.nav-mobile a:hover {
    color: var(--primary-teal);
    padding-left: 0.5rem;
}

.phone-li {
    margin-top: 1rem;
}

.btn-phone-mobile {
    background-color: var(--primary-teal);
    color: var(--bg-white) !important;
    text-align: center;
    border-radius: var(--radius-md);
    padding: 1rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700 !important;
    border-bottom: none !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    background-color: var(--dark-slate);
    color: var(--bg-white);
    padding-top: 9rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

/* Geometric visual layout in background */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.15) 0%, transparent 40%),
                      radial-gradient(circle at 20% 80%, rgba(234, 88, 12, 0.1) 0%, transparent 35%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--border-light);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.7;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.icon-check {
    width: 20px;
    height: 20px;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.hero-actions-btns {
    display: flex;
    gap: 1.25rem;
}

/* Hero Right Side - Interactive Launcher Card */
.quick-inquiry-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(13, 148, 136, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.quick-inquiry-card h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.quick-inquiry-card p {
    color: var(--border-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Steps preview bar */
.card-steps-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--border-light);
}

.step-dot.active {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--bg-white);
    box-shadow: 0 0 10px rgba(13, 148, 136, 0.5);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 0.5rem;
}

/* ==========================================================================
   TRUST FACTS RIBBON
   ========================================================================== */
.trust-bar {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 2.5rem 0;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-fact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    min-width: 250px;
}

.fact-icon {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fact-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark-slate);
}

.fact-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-divider {
    width: 1px;
    height: 50px;
    background-color: var(--border-light);
}

@media (max-width: 992px) {
    .trust-divider { display: none; }
}

/* ==========================================================================
   ABOUT / BENEFITS DETAIL
   ========================================================================== */
.about-section {
    background-color: var(--bg-white);
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--text-main);
}

.skills-mini-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.skill-mini-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.bullet-orange {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background-color: var(--accent-orange);
    display: inline-block;
}

/* Graphic stats / photo element */
.about-visual {
    background: radial-gradient(circle at center, var(--primary-teal-soft) 0%, transparent 70%);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.about-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    aspect-ratio: 4 / 3;
    background: var(--dark-slate);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.about-card-stat {
    text-align: center;
    border-right: 1px solid var(--bg-light);
    padding: 0.25rem 0.5rem;
}

.about-card-stat:last-child {
    border-right: none;
}

.about-card-stat h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-teal);
    line-height: 1;
}

.about-card-stat p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 0.35rem;
    line-height: 1.3;
}

/* ==========================================================================
   SERVICES SECTION (TABS DESIGN)
   ========================================================================== */
.services-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* Tab button bar */
.services-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 1rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
    color: var(--primary-teal);
    border-color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tab-btn.active {
    background-color: var(--primary-teal);
    color: var(--bg-white);
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-lg);
}

/* Tab display area */
.services-tabs-content {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pane-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
}

.pane-info {
    padding: 4rem;
}

.pane-info h3 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.pane-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

/* Sub service item rows */
.sub-services-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.sub-service-item {
    display: flex;
    gap: 1.25rem;
}

.sub-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.sub-icon.bg-orange { background-color: var(--accent-orange-soft); }
.sub-icon.bg-blue { background-color: var(--blue-water-soft); }
.sub-icon.bg-teal { background-color: var(--primary-teal-soft); }

.sub-service-item h4 {
    font-size: 1.15rem;
    color: var(--dark-slate);
    margin-bottom: 0.25rem;
}

.sub-service-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.cta-service-btn {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

/* Tab visual display */
.pane-visual {
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border-left: 1px solid var(--border-light);
}

.pane-img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
}

/* ==========================================================================
   QUESTIONNAIRE / CALC FORM SECTION
   ========================================================================== */
.questionnaire-section {
    background-color: var(--bg-white);
}

.questionnaire-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

/* Progress indicator */
.progress-container {
    margin-bottom: 3.5rem;
    position: relative;
}

.progress-bar {
    height: 4px;
    background-color: var(--primary-teal);
    width: 25%;
    position: absolute;
    top: 13px;
    left: 0;
    z-index: 1;
    transition: width 0.4s ease;
    border-radius: var(--radius-full);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.prog-step {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    background-color: var(--border-light);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    border: 3px solid var(--bg-white);
}

.prog-step.active {
    background-color: var(--primary-teal);
    color: var(--bg-white);
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.prog-step.completed {
    background-color: var(--primary-teal);
    color: var(--bg-white);
}

/* Steps pages layout */
.form-step {
    display: none;
    animation: fadeStep 0.4s ease;
}

.form-step.active {
    display: block;
}

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

.form-step h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.step-desc {
    color: var(--text-muted);
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

/* Grid of selection cards for questionnaire steps */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.cards-grid.cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (min-width: 576px) {
    .cards-grid:not(.cols-3) {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card Radio element */
.card-radio {
    cursor: pointer;
}

.card-radio input[type="radio"] {
    display: none;
}

.card-radio-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
    transition: var(--transition-normal);
}

.card-radio:hover .card-radio-content {
    border-color: var(--border-focus);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Radio active selection */
.card-radio input[type="radio"]:checked + .card-radio-content {
    border-color: var(--primary-teal);
    background-color: var(--primary-teal-soft);
    box-shadow: 0 0 0 1px var(--primary-teal);
}

.card-icon {
    font-size: 1.75rem;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-radio input[type="radio"]:checked + .card-radio-content .card-icon {
    background-color: var(--bg-white);
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark-slate);
}

/* Small card variation (without icons) */
.small-card .card-radio-content {
    padding: 1.25rem 1rem;
    justify-content: center;
    text-align: center;
}
.small-card .card-title {
    font-size: 0.95rem;
}

/* Form field elements Step 4 */
.input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .input-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .full-width {
        grid-column: span 2;
    }
}

.label-heading {
    display: block;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 0.75rem;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-field label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-slate);
}

.input-field input[type="text"],
.input-field input[type="tel"],
.input-field input[type="email"],
.input-field textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
    color: var(--dark-slate);
    transition: var(--transition-normal);
    width: 100%;
}

.input-field input:focus,
.input-field textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Validation styling */
.input-field.invalid input,
.input-field.invalid textarea {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.input-field.invalid input:focus,
.input-field.invalid textarea:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-msg {
    display: none;
    font-size: 0.8rem;
    color: #ef4444;
    font-weight: 500;
}

.input-field.invalid .error-msg {
    display: block;
}

/* Checkbox RODO */
.checkbox-field {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.15rem;
    cursor: pointer;
    accent-color: var(--primary-teal);
}

.checkbox-field label {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-muted);
    font-weight: 400;
    cursor: pointer;
}

.checkbox-field.invalid label {
    color: #ef4444;
}

/* Step navigation footer bar */
.form-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

/* Load State & Spinner */
.form-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary-teal);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success display */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-teal-soft);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    font-size: 2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(13, 148, 136, 0.2);
}

.success-icon svg {
    width: 36px;
    height: 36px;
}

.form-success h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark-slate);
}

.form-success p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   REALIZATIONS GALLERY SECTION
   ========================================================================== */
.realizations-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.realizations-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.filter-btn:hover {
    border-color: var(--border-focus);
    color: var(--primary-teal);
}

.filter-btn.active {
    background-color: var(--dark-slate);
    border-color: var(--dark-slate);
    color: var(--bg-white);
}

/* Realization Grid Card list */
.realizations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.realization-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--border-light);
    opacity: 1;
    transform: scale(1);
}

.realization-card.hide {
    display: none;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background-color: var(--dark-slate);
}

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

/* Card Hover overlay effect */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.25rem;
    transform: translateY(0);
    transition: var(--transition-normal);
}

.category-tag {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.card-overlay h3 {
    color: var(--bg-white);
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.realization-desc {
    color: var(--border-light);
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.85;
}

/* Hover scales image */
.realization-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.realization-card:hover .realization-img {
    transform: scale(1.08);
}

/* ==========================================================================
   GOOGLE REVIEWS SECTION & WIDGET
   ========================================================================== */
.reviews-section {
    background-color: var(--bg-white);
}

.reviews-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: flex-start;
}

/* Rating score column style */
.reviews-info-left h2 {
    margin-bottom: 1.25rem;
}

.reviews-info-left p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.google-rating-score-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.google-logo-mock {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark-slate);
    margin-bottom: 1rem;
}

.score-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-slate);
    line-height: 1;
}

.score-max {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stars-row {
    font-size: 1.75rem;
    letter-spacing: 2px;
    margin: 0.5rem 0;
}

.star-gold {
    color: #f59e0b; /* Golden stars */
}

.review-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Reviews List Stack (Right Column) */
.reviews-list-right {
    display: flex;
    flex-direction: column;
}

.reviews-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Review Card item style */
.review-card-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    animation: itemSlideIn 0.5s ease;
}

@keyframes itemSlideIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background-color: var(--primary-teal-soft);
    color: var(--primary-teal);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.reviewer-info {
    flex-grow: 1;
}

.reviewer-info h4 {
    font-size: 1.05rem;
    color: var(--dark-slate);
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.reviewer-stars {
    color: #f59e0b;
    letter-spacing: 1px;
    font-weight: 700;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
}

.google-badge-card {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.google-badge-card::before {
    content: '✓';
    color: #10b981;
}

/* ==========================================================================
   MODAL DIALOG BACKDROP (REVIEWS FORM & PRIVACY)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-backdrop.open {
    display: flex;
}

.modal-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScaleIn {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--dark-slate);
}

.modal-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.modal-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Star rating selector widget inside modal */
.rating-select-container {
    margin-bottom: 1.5rem;
}

.rating-select-container label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-slate);
    margin-bottom: 0.5rem;
}

.rating-stars-select {
    display: flex;
    gap: 0.5rem;
    font-size: 2.25rem;
}

.star-select {
    cursor: pointer;
    color: var(--border-light);
    transition: var(--transition-fast);
}

.star-select:hover,
.star-select.active {
    color: #f59e0b;
}

/* Privacy Scrollable content */
.privacy-content-scroll {
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    background-color: var(--bg-light);
}

.privacy-content-scroll h4 {
    margin: 1.25rem 0 0.5rem 0;
    font-size: 1rem;
}

.privacy-content-scroll h4:first-of-type {
    margin-top: 0;
}

.privacy-content-scroll p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* ==========================================================================
   CONTACT SECTION & OPERATION RANGE
   ========================================================================== */
.contact-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.contact-info-col h2 {
    margin-bottom: 1.25rem;
}

.contact-info-col p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

/* List of quick contacts */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
}

a.contact-detail-card:hover {
    border-color: var(--primary-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: var(--primary-teal-soft);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

a.contact-detail-card:hover .detail-icon {
    background-color: var(--primary-teal);
    color: var(--bg-white);
}

.detail-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.detail-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--dark-slate);
    line-height: 1.3;
}

.badge-emergency {
    display: inline-block;
    background-color: #fef2f2;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-top: 0.35rem;
}

/* Service Map card right side */
.map-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.map-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 0.5rem;
    margin-bottom: 2.5rem;
}

.city-item {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-slate);
}

/* Styled radial vector range map placeholder */
.vector-map-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.vector-map {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--dark-slate);
    color: var(--bg-light);
    border-top: 2px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem 2.5rem 1.5rem;
}

.footer-row-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 4rem;
    margin-bottom: 2.5rem;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-logo {
    width: auto;
    height: 52px;
    max-width: 180px;
    object-fit: contain;
}

.footer-logo-legacy {
    width: 40px;
    height: 40px;
}

.brand-title {
    display: flex;
    flex-direction: column;
}

.brand-title span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1;
}

.brand-title small {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.15rem;
}

.footer-about-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links-col h4 {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links-col a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links-col a:hover {
    color: var(--primary-teal);
    padding-left: 0.35rem;
}

/* Footer bottom bar styles */
.footer-row-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

/* ==========================================================================
   MEDIA QUERIES - RESPONSIVE DESIGN (RWD)
   ========================================================================== */

/* Breakpoint 1024px: Large Screen adjustments */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-benefits {
        align-items: center;
    }
    
    .hero-actions-btns {
        justify-content: center;
    }
    
    .quick-inquiry-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-visual {
        order: -1;
    }
    
    .pane-grid {
        grid-template-columns: 1fr;
    }
    
    .pane-visual {
        border-left: none;
        border-top: 1px solid var(--border-light);
        padding: 4rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Breakpoint 768px: Mobile layouts */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section-container {
        padding: 4.5rem 1.25rem;
    }
    
    /* Header menu mobile button show */
    .nav-desktop {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .services-tabs-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        justify-content: center;
    }
    
    .pane-info {
        padding: 2rem;
    }
    
    .pane-visual {
        padding: 2rem;
    }
    
    .questionnaire-card {
        padding: 2rem;
    }
    
    .reviews-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-row-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-row-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Breakpoint 480px: Small devices */
@media (max-width: 480px) {
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-actions-btns {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cards-grid.cols-3 {
        grid-template-columns: 1fr;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .about-card-box {
        padding: 1.25rem 0.75rem;
        gap: 0.5rem;
    }

    .about-card-stat h3 {
        font-size: 1.35rem;
    }

    .about-card-stat p {
        font-size: 0.72rem;
    }
}

/* ==========================================================================
   FLOATING PHONE WIDGET (bottom-right)
   ========================================================================== */
.floating-phone {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.floating-phone-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-teal);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 160, 227, 0.45);
    transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-phone-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary-teal);
    animation: phone-pulse 2.2s ease-out infinite;
    z-index: -1;
}

.floating-phone-btn:hover {
    background-color: var(--primary-teal-hover);
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(0, 160, 227, 0.55);
}

.floating-phone-btn:focus-visible {
    outline: 3px solid var(--accent-orange);
    outline-offset: 3px;
}

.floating-phone-icon-close {
    display: none;
}

.floating-phone.open .floating-phone-icon-call {
    display: none;
}

.floating-phone.open .floating-phone-icon-close {
    display: block;
}

.floating-phone.open .floating-phone-btn::before {
    animation: none;
    opacity: 0;
}

.floating-phone-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1rem 1.15rem;
    box-shadow: var(--shadow-xl);
    min-width: 240px;
    max-width: min(280px, calc(100vw - 2.5rem));
    transform-origin: bottom right;
    animation: phone-panel-in 0.22s ease-out;
}

.floating-phone-panel[hidden] {
    display: none;
}

.floating-phone-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.floating-phone-number {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--primary-teal);
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.floating-phone-number:hover {
    background-color: var(--primary-teal-hover);
    transform: translateY(-1px);
}

.floating-phone-hint {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@keyframes phone-pulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    70% {
        transform: scale(1.55);
        opacity: 0;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

@keyframes phone-panel-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .floating-phone {
        right: 1rem;
        bottom: 1rem;
    }

    .floating-phone-btn {
        width: 56px;
        height: 56px;
    }
}
