/* 
   Pactum Finance - Brand Stylesheet
   Modern, trustworthy, and high-performance financial-themed stylesheet.
*/

:root {
    --primary: #00a896;
    /* Deep Emerald Green - money, growth, wealth */
    --hover-primary: #028090;
    /* Teal Hover state */
    --accent: #f0f3f7;
    /* Light slate grey background */
    --text-dark: #1e293b;
    /* Slate 800 - professional dark text */
    --text-muted: #64748b;
    /* Slate 500 - secondary sub-texts */
    --bg-white: #ffffff;
    --navy-dark: #0f172a;
    /* Slate 900 - dark navigation and footers */
    --border-color: #e2e8f0;
    /* Slate 200 - subtle borders */
    --error: #ef4444;
    /* Soft red for validations */
    --success: #10b981;
    /* Bright green for success states */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-neon: 0 0 15px rgba(0, 168, 150, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--accent);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography styles */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utility classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Header & Navigation */
header {
    background-color: var(--navy-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 9rem;
}

.logo {
    display: flex;
    align-items: center;
    height: 8rem;
    overflow: hidden;
}

.logo-img {
    height: 24rem;
    width: auto;
    margin-left: -4rem;
    /* Niwelowanie wbudowanego lewego marginesu w oryginalnym pliku PNG */
    display: block;
    mix-blend-mode: screen;
    filter: grayscale(1) invert(1) brightness(200%);
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 4px rgba(0, 168, 150, 0.4));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--hover-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1rem;
}

.btn-phone:hover {
    color: var(--primary);
}

/* Mobile Nav Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 1.75rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 10% 20%, rgb(15, 23, 42) 0%, rgb(30, 41, 59) 90.1%);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60rem;
    height: 60rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 168, 150, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3rem;
    color: var(--bg-white);
    line-height: 1.15;
}

.hero-title span {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, #02c39a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 90%;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg), 0 0 25px rgba(0, 168, 150, 0.15);
    border: 2px solid rgba(0, 168, 150, 0.4);
    transition: var(--transition);
}

.hero-image:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 35px rgba(0, 168, 150, 0.25);
}

.hero-badge {
    position: absolute;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    top: -1rem;
    right: 2rem;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.05em;
    z-index: 20;
}

/* Callback Bar po lewej */
.hero-callback-box {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.hero-callback-form {
    display: flex;
    gap: 0.75rem;
}

.callback-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    color: var(--bg-white);
    outline: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.callback-input:focus {
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 0 2px rgba(0, 168, 150, 0.2);
}

.callback-btn {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
}

/* Diagnostic Section */
.diagnostic {
    background-color: var(--bg-light);
}

.diagnostic-card {
    background-color: var(--bg-white);
    padding: 2.25rem 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: var(--transition);
}

.diagnostic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--hover-primary);
}

.diagnostic-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--navy-dark);
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.6;
}

.diagnostic-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.diagnostic-link:hover {
    color: var(--hover-primary);
}

/* Blog & Baza Wiedzy Section */
.blog-section {
    background-color: var(--bg-white);
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.blog-thumbnail {
    height: 180px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.blog-thumbnail svg {
    width: 60px;
    height: 60px;
    opacity: 0.7;
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-category {
    background-color: rgba(0, 168, 150, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 700;
}

.blog-date {
    color: var(--text-muted);
}

.blog-content h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--navy-dark);
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Services Section */
.service-header {
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
}

.service-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.service-header p {
    color: var(--text-muted);
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 0.75rem;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    background-color: rgba(0, 168, 150, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-icon-box svg {
    width: 1.75rem;
    height: 1.75rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card>p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-desc {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-card-desc p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-card-desc p:last-of-type {
    margin-bottom: 0.75rem;
}

.service-list {
    padding-left: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li strong {
    color: var(--navy-dark);
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--hover-primary);
}

/* Call To Action Banner */
.cta-banner {
    background-color: var(--navy-dark);
    color: var(--bg-white);
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.cta-banner h2 {
    color: var(--bg-white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-banner p {
    color: #94a3b8;
    max-width: 600px;
}

/* Interactive Calculator Section */
.calc-section {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.calc-box {
    background: var(--accent);
    border-radius: 1rem;
    padding: 3rem;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.slider-header span:first-child {
    color: var(--navy-dark);
}

.slider-header span:last-child {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--primary);
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 168, 150, 0.4);
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    background: var(--hover-primary);
    transform: scale(1.15);
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-label {
    font-weight: 600;
    color: var(--navy-dark);
}

.tax-options-radio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.radio-tile-group {
    position: relative;
}

.radio-tile-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    background-color: var(--bg-white);
    transition: var(--transition);
    text-align: center;
}

.radio-tile-label strong {
    font-size: 0.85rem;
    color: var(--navy-dark);
    margin-bottom: 0.25rem;
}

.radio-tile-label span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tax-options-radio input[type="radio"] {
    display: none;
}

.tax-options-radio input[type="radio"]:checked+.radio-tile-label {
    border-color: var(--primary);
    background-color: rgba(0, 168, 150, 0.04);
}

.calc-sidebar {
    background-color: var(--navy-dark);
    color: var(--bg-white);
    border-radius: 0.75rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-results-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.calc-result-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.calc-result-row span {
    color: #94a3b8;
    font-size: 0.9rem;
}

.calc-result-row strong {
    color: var(--bg-white);
    font-family: monospace;
    font-size: 1.05rem;
}

.calc-result-row.highlight span {
    color: var(--bg-white);
    font-weight: 700;
}

.calc-result-row.highlight strong {
    color: var(--primary);
    font-size: 1.4rem;
}

/* Trust Section & Counter */
.trust-stats {
    background-image: linear-gradient(180deg, var(--bg-white) 0%, var(--accent) 100%);
}

.stats-grid {
    margin-bottom: 4rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-num {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-quote {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: 700;
    font-size: 0.9rem;
}

.author-info h4 {
    font-size: 0.95rem;
    color: var(--navy-dark);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 2.5rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-dark);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 168, 150, 0.02);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    max-height: 200px;
}

/* Contact Area */
.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-text p,
.contact-info-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    border-radius: 0.75rem;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.form-checkbox input {
    margin-top: 0.25rem;
    accent-color: var(--primary);
}

.form-checkbox label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.feedback-msg {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
    padding: 0.75rem;
    border-radius: 0.375rem;
}

.feedback-msg.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.feedback-msg.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

/* Footer Section */
footer {
    background-color: var(--navy-dark);
    color: #e2e8f0;
    padding: 4rem 0 2rem 0;
    border-top: 2px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.22fr repeat(3, 0.92fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links-col h4 {
    color: var(--bg-white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2rem;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.8rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2rem;
    height: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e8f0;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .calc-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 9rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 9rem);
        background-color: var(--navy-dark);
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        align-items: flex-start;
        gap: 1.5rem;
        transition: var(--transition);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-actions {
        display: none;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-callback-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .callback-input {
        width: 100%;
    }

    .callback-btn {
        width: 100%;
    }

    .cta-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .calc-box {
        padding: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}