/* ItalSecure Custom CSS - vortex.css */
/* Following OOCSS methodology with unique naming */

/* CSS Variables for Industrial Design Theme */
:root {
    --crimson-red: #e63946;
    --soft-crimson: #fdeaeb;
    --deep-crimson: #c8252f;
    --support-accent: #2563eb;
    --support-light: #dbeafe;
    --warning-tone: #f59e0b;
    --warning-soft: #fef3c7;
    --action-blue: #3b82f6;
    --action-light: #eff6ff;
    --border-neutral: #e5e7eb;
    --background-light: #f9fafb;
    --info-shade: #06b6d4;
    --alert-tone: #ef4444;
    --success-green: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --surface-white: #ffffff;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Serif Pro', serif;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 390;
    font-size: 1.05rem;
    background: var(--surface-white);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 720;
    line-height: 1.3;
}

h1 { font-size: 3.8rem; }
h2 { font-size: 2.9rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.7rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.1rem; }

/* Container and Grid System */
.boundary-container {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 19px;
}

.boundary-container-fluid {
    width: 100%;
    padding: 0 19px;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -13px;
}

.no-spacing {
    margin: 0;
}

.grid-unit-3 { flex: 0 0 25%; max-width: 25%; padding: 13px; }
.grid-unit-4 { flex: 0 0 33.33333%; max-width: 33.33333%; padding: 13px; }
.grid-unit-6 { flex: 0 0 50%; max-width: 50%; padding: 13px; }
.grid-unit-12 { flex: 0 0 100%; max-width: 100%; padding: 13px; }

/* Responsive Adjustments */
@media (max-width: 890px) {
    .grid-unit-3,
    .grid-unit-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 640px) {
    .grid-unit-3,
    .grid-unit-4,
    .grid-unit-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    h1 { font-size: 2.7rem; }
    h2 { font-size: 2.1rem; }
    h3 { font-size: 1.8rem; }
}

/* Navigation Styles */
.cybersec-header {
    position: relative;
    background: var(--surface-white);
    box-shadow: 0 2px 11px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.nav-structure {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 0;
    position: relative;
}

.brand-identity img {
    height: 47px;
    width: auto;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.hamburger {
    width: 29px;
    height: 3px;
    background: var(--text-primary);
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger:before,
.hamburger:after {
    content: '';
    position: absolute;
    width: 29px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger:before { top: -9px; }
.hamburger:after { top: 9px; }

.navigation-list {
    display: flex;
    gap: 34px;
    list-style: none;
    margin: 0;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 520;
    transition: color 0.27s ease;
}

.nav-link:hover {
    color: var(--crimson-red);
}

/* Mobile Navigation */
@media screen and (max-width: 890px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 17px;
        z-index: 2;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--surface-white);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 89px;
        flex-direction: column;
        align-items: center;
    }

    .navigation-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        margin: 17px 0;
    }

    .nav-link {
        display: inline-block;
        padding: 12px 23px;
        font-size: 1.15rem;
    }

    .nav-toggle:checked ~ .nav-wrapper {
        left: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label .hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }
}

/* Hero Section Styles */
.cybersec-showcase {
    position: relative;
}

.showcase-panel {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 89vh;
    min-height: 670px;
    display: flex;
    align-items: center;
}

.showcase-panel:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: var(--text-primary);
    opacity: 0.67;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-alignment {
    position: relative;
    z-index: 2;
    height: 100%;
    align-items: center;
}

.showcase-content {
    color: var(--surface-white);
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.showcase-content h1 {
    font-size: 4.3rem;
    font-weight: 790;
    color: var(--surface-white);
    margin-bottom: 23px;
    line-height: 1.15;
}

.showcase-content p {
    font-size: 1.23rem;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.89);
    max-width: 590px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.primary-action-btn {
    display: inline-block;
    background: var(--crimson-red);
    color: var(--surface-white);
    padding: 14px 28px;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 620;
    font-size: 1.05rem;
    transition: all 0.31s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.primary-action-btn:hover {
    background: var(--deep-crimson);
    transform: translateY(-2px);
    box-shadow: 0 7px 21px rgba(230, 57, 70, 0.34);
}

.primary-action-btn.active {
    background: var(--deep-crimson);
    color: var(--surface-white);
}

/* About Section */
.workspace-section-80-0 {
    padding-top: 89px;
    padding-bottom: 0;
}

.content-header {
    position: relative;
    z-index: 1;
    margin-bottom: 56px;
}

.content-header h2 {
    font-size: 3.2rem;
    margin-bottom: 12px;
    display: block;
    line-height: 1.25;
    color: var(--text-primary);
}

.content-header p {
    font-size: 1.08rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.content-header span {
    position: absolute;
    top: 50%;
    font-size: 7.8rem;
    color: #f1f5f8;
    transform: translateY(-50%);
    z-index: -1;
    left: -56px;
    line-height: 1;
    font-weight: 890;
}

.company-visual {
    box-shadow: 0 0 23px 0 rgba(0, 0, 0, 0.12);
    border-radius: 11px;
    overflow: hidden;
}

.company-narrative h3 {
    font-size: 2.1rem;
    margin-bottom: 34px;
    color: var(--text-primary);
}

/* Services Section */
.workspace-padding-5 {
    padding: 0;
}

.services-display {
    transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 47px 31px;
    background: var(--surface-white);
    border-radius: 13px;
    height: 100%;
}

.service-icon {
    line-height: 1.4;
    position: relative;
    margin-bottom: 23px;
}

.svg-icon {
    width: 56px;
    height: 56px;
    fill: var(--crimson-red);
}

.service-content h3 {
    font-size: 1.45rem;
    font-weight: 720;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 17px;
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-display.active {
    background: var(--crimson-red);
    color: var(--surface-white);
    transform: translateY(-7px);
    box-shadow: 0 13px 34px rgba(230, 57, 70, 0.23);
}

.services-display.active .svg-icon {
    fill: var(--surface-white);
}

.services-display.active h3,
.services-display.active p {
    color: var(--surface-white);
}

.services-display:hover {
    background: var(--crimson-red);
    color: var(--surface-white);
    transform: translateY(-5px);
    box-shadow: 0 11px 29px rgba(230, 57, 70, 0.21);
}

.services-display:hover .svg-icon {
    fill: var(--surface-white);
}

.services-display:hover h3,
.services-display:hover p {
    color: var(--surface-white);
}

/* Features Section */
.workspace-section {
    padding: 3.1em 0;
}

@media (min-width: 890px) {
    .workspace-section {
        padding: 6.7em 0;
    }
}

.underlined-title {
    color: var(--text-primary);
    font-size: 2.9rem;
}

.underlined-title span {
    display: inline-block;
    border-bottom: 5.2px solid var(--crimson-red);
    padding-bottom: 7px;
}

.feature-component-1 .icon-wrapper {
    position: relative;
    width: 87px;
    height: 51px;
    margin: 0 auto;
    z-index: 1;
    margin-top: -31px;
    background: var(--crimson-red);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 43px;
    height: 43px;
    fill: var(--surface-white);
}

.feature-component-content {
    padding: 47px 23px 23px 23px;
    text-align: center;
    background: var(--surface-white);
    border-radius: 13px;
    border: 1px solid var(--border-neutral);
}

.feature-component-content h2 {
    font-size: 1.37rem;
    color: var(--text-primary);
    margin-bottom: 19px;
}

/* Content Showcase Section */
.content-showcase-section {
    padding: 3.4em 0;
}

@media (min-width: 890px) {
    .content-showcase-section {
        padding: 6.1em 0;
    }
}

.font-weight-heavy {
    font-weight: 790 !important;
    color: var(--text-primary);
    font-size: 2.7rem;
    margin-bottom: 21px;
}

.lead-text {
    font-size: 1.34rem;
    font-weight: 410;
    color: var(--text-secondary);
    margin-bottom: 23px;
}

.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: 13px;
    box-shadow: 0 7px 23px rgba(0, 0, 0, 0.09);
}

/* Statistics Counter Section */
.workspace-metrics {
    padding: 8.1em 0;
    position: relative;
}

#counter-section {
    position: relative;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

#counter-section .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    opacity: 0.47;
    background: var(--action-blue);
    width: 100%;
}

.metrics-wrapper {
    width: 100%;
    position: relative;
    z-index: 2;
}

.metrics-component {
    display: block;
    width: 100%;
}

.metric-details strong.counter-value {
    font-weight: 720;
    font-size: 4.7rem;
    color: var(--surface-white);
    display: block;
    position: relative;
    font-family: "Oswald", Arial, sans-serif;
    line-height: 1.1;
}

.metric-details span {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.87);
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 680;
    margin-top: 11px;
}

/* Testimonials Section */
.client-testimonial {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--deep-crimson) 100%);
    padding: 8.9em 0 8.3em 0;
    position: relative;
}

.single-testimonial p {
    color: var(--surface-white);
    font-weight: 410;
    font-size: 1.34rem;
    line-height: 1.89;
    margin: 37px 0;
    font-style: italic;
    max-width: 890px;
    margin-left: auto;
    margin-right: auto;
}

.single-testimonial p::before {
    content: """;
    font-size: 4.7rem;
    color: var(--crimson-red);
    position: relative;
    top: 17px;
    margin-right: 13px;
    line-height: 1;
}

.single-testimonial p::after {
    content: """;
    font-size: 4.7rem;
    color: var(--crimson-red);
    position: relative;
    top: 17px;
    margin-left: 13px;
    line-height: 1;
}

.testimonial-author {
    margin-top: 43px;
}

.author-thumb {
    width: 47px;
    height: 47px;
    border-radius: 50%;
    margin: auto auto 17px auto;
    overflow: hidden;
}

.author-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-author h3 {
    color: var(--surface-white);
    font-size: 1.08rem;
    font-weight: 560;
    margin-bottom: 7px;
}

.testimonial-author span {
    font-size: 0.95rem;
    font-weight: 410;
    color: var(--surface-white);
    opacity: 0.79;
}

/* FAQ Section */
.section-title {
    color: var(--crimson-red);
    font-size: 2.9rem;
    font-weight: 790;
    margin-bottom: 31px;
    text-align: center;
}

.text-black {
    color: var(--text-primary) !important;
}

.h4 {
    font-size: 1.43rem;
    font-weight: 670;
}

/* Footer Styles */
.site-footer {
    background: var(--background-light);
    margin-top: 67px;
}

.footer-primary {
    padding-top: 89px;
    padding-bottom: 78px;
}

.footer-heading {
    font-size: 1.45rem;
    font-weight: 680;
    color: var(--text-primary);
    text-transform: capitalize;
    margin-bottom: 37px;
}

.footer-component p {
    color: var(--text-secondary);
    font-size: 1.03rem;
    font-weight: 410;
    line-height: 1.78;
}

.footer-component ul {
    list-style: none;
}

.footer-component ul li {
    margin-bottom: 11px;
}

.footer-component ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 420;
    transition: color 0.27s ease;
}

.footer-component ul li a:hover {
    color: var(--crimson-red);
}

.social-connections {
    margin-top: 25px;
}

.social-connections ul {
    display: flex;
    gap: 13px;
}

.social-connections ul li a {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-white);
    border-radius: 50%;
    border: 1px dashed var(--crimson-red);
    transition: all 0.31s ease;
}

.social-icon {
    width: 19px;
    height: 19px;
    fill: var(--crimson-red);
}

.social-connections ul li a:hover {
    background: var(--crimson-red);
    border-color: transparent;
}

.social-connections ul li a:hover .social-icon {
    fill: var(--surface-white);
}

.footer-copyright {
    padding-bottom: 34px;
}

.footer-divider {
    border-top: 1px solid var(--border-neutral);
    padding-bottom: 34px;
}

.copyright-text {
    font-size: 1.01rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 490;
}

/* Utility Classes */
.margin-bottom-3 { margin-bottom: 1.34rem !important; }
.margin-bottom-4 { margin-bottom: 2.67rem !important; }
.margin-bottom-5 { margin-bottom: 3.45rem !important; }
.margin-80 { margin-bottom: 89px; }
.margin-top-30 { margin-top: 34px; }
.margin-lg-0 { margin-bottom: 0 !important; }

.padding-left-4 { padding-left: 2.67rem; }
.padding-left-md-4 { padding-left: 2.67rem; }
.px-4 { padding-left: 1.67rem !important; padding-right: 1.67rem !important; }

.centered-text { text-align: center; }
.justify-center { justify-content: center; }
.alignment-center { align-items: center; }
.flex-display { display: flex; }
.flex-md-display { display: flex; }
.flex-stretch { align-self: stretch; }
.flex-justify-center { justify-content: center; }
.block-display { display: block; }

.rounded-0 { border-radius: 0 !important; }
.bordered { border: 1px solid var(--border-neutral); }

.bg-primary { background: var(--crimson-red) !important; }

.visual-bg { background-size: cover; background-position: center; }

.primary-focus { z-index: 2; position: relative; }

/* Responsive Utilities */
@media (max-width: 890px) {
    .margin-md-0 { margin-bottom: 0 !important; }
    .padding-left-md-4 { padding-left: 2.67rem !important; }

    .showcase-content h1 { font-size: 3.1rem; }
    .content-header h2 { font-size: 2.5rem; }
    .font-weight-heavy { font-size: 2.1rem; }
    .section-title { font-size: 2.1rem; }
    .underlined-title { font-size: 2.3rem; }
}

@media (max-width: 640px) {
    .workspace-metrics { padding: 5.7em 0; }
    .client-testimonial { padding: 5.4em 0; }
    .footer-primary { padding-top: 56px; padding-bottom: 34px; }

    .showcase-content h1 { font-size: 2.4rem; }
    .metric-details strong.counter-value { font-size: 3.4rem; }
    .single-testimonial p { font-size: 1.15rem; }

    .footer-section { margin-bottom: 34px; }
}

/* Animation and Interaction Enhancements */
.animated-element {
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-element:hover {
    transform: translateY(-3px);
}

/* Focus States for Accessibility */
.nav-link:focus,
.primary-action-btn:focus,
.footer-component a:focus {
    outline: 2px solid var(--crimson-red);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .cybersec-header,
    .site-footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
}

/* Services Page Specific Styles */
.services-hero-workspace {
    background: linear-gradient(135deg, var(--deep-crimson) 0%, var(--crimson-red) 100%);
    padding: 7.8em 0 4.3em 0;
    position: relative;
}

.services-hero-workspace::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../agora/bg.png') center/cover;
    opacity: 0.15;
    z-index: 1;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--surface-white);
}

.services-hero-content h1 {
    font-size: 3.8rem;
    color: var(--surface-white);
    margin-bottom: 21px;
    font-weight: 780;
}

.services-hero-content p {
    font-size: 1.24rem;
    margin-bottom: 0;
    opacity: 0.91;
    max-width: 670px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Cards */
.pricing-showcase {
    padding: 6.7em 0;
    background: var(--background-light);
}

.pricing-card-container {
    background: var(--surface-white);
    border-radius: 17px;
    box-shadow: 0 11px 43px rgba(0, 0, 0, 0.08);
    padding: 42px 31px;
    margin-bottom: 34px;
    transition: all 0.37s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
}

.pricing-card-container:hover {
    transform: translateY(-7px);
    box-shadow: 0 19px 67px rgba(230, 57, 70, 0.15);
}

.pricing-card-container.featured-plan {
    border: 3px solid var(--crimson-red);
    transform: scale(1.03);
}

.featured-plan::before {
    content: 'Più Popolare';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--crimson-red);
    color: var(--surface-white);
    padding: 7px 23px;
    border-radius: 23px;
    font-size: 0.89rem;
    font-weight: 620;
}

.pricing-header-section {
    text-align: center;
    margin-bottom: 37px;
    padding-bottom: 31px;
    border-bottom: 1px solid var(--border-neutral);
}

.plan-title {
    font-size: 1.67rem;
    color: var(--text-primary);
    margin-bottom: 11px;
    font-weight: 720;
}

.plan-subtitle {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 23px;
}

.price-display {
    font-size: 3.2rem;
    color: var(--crimson-red);
    font-weight: 780;
    line-height: 1;
}

.price-period {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 420;
}

.geo-pricing {
    font-size: 0.91rem;
    color: var(--warning-tone);
    margin-top: 7px;
    font-style: italic;
}

.features-listing {
    list-style: none;
    margin-bottom: 37px;
}

.features-listing li {
    padding: 11px 0;
    position: relative;
    padding-left: 31px;
    color: var(--text-secondary);
    font-size: 1.01rem;
    line-height: 1.6;
}

.features-listing li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 17px;
    width: 17px;
    height: 17px;
    background: url('../cosmic/check-circle.svg') no-repeat center;
    background-size: contain;
    filter: invert(27%) sepia(91%) saturate(2498%) hue-rotate(346deg) brightness(94%) contrast(89%);
}

.pricing-action-btn {
    width: 100%;
    background: var(--crimson-red);
    color: var(--surface-white);
    padding: 15px 23px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 620;
    text-align: center;
    display: block;
    transition: all 0.29s ease;
    border: 2px solid var(--crimson-red);
}

.pricing-action-btn:hover {
    background: var(--deep-crimson);
    border-color: var(--deep-crimson);
    transform: translateY(-2px);
}

.pricing-action-btn.secondary-btn {
    background: transparent;
    color: var(--crimson-red);
    border: 2px solid var(--crimson-red);
}

.pricing-action-btn.secondary-btn:hover {
    background: var(--crimson-red);
    color: var(--surface-white);
}

/* Service Details Section */
.service-details-workspace {
    padding: 5.9em 0;
}

.service-detail-card {
    background: var(--surface-white);
    border-radius: 13px;
    padding: 37px 29px;
    margin-bottom: 31px;
    border-left: 5px solid var(--crimson-red);
    box-shadow: 0 7px 23px rgba(0, 0, 0, 0.06);
}

.service-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 21px;
}

.service-detail-icon {
    width: 47px;
    height: 47px;
    margin-right: 19px;
    fill: var(--crimson-red);
}

.service-detail-title {
    font-size: 1.45rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 670;
}

.service-detail-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 19px;
}

.service-features-list {
    list-style: none;
    margin: 0;
}

.service-features-list li {
    padding: 7px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 23px;
}

.service-features-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--crimson-red);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact CTA Section */
.contact-cta-workspace {
    background: var(--text-primary);
    padding: 6.1em 0;
    text-align: center;
}

.contact-cta-content h2 {
    color: var(--surface-white);
    font-size: 2.8rem;
    margin-bottom: 23px;
    font-weight: 750;
}

.contact-cta-content p {
    color: rgba(255, 255, 255, 0.87);
    font-size: 1.19rem;
    margin-bottom: 37px;
    max-width: 590px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons-group {
    display: flex;
    gap: 19px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    background: var(--crimson-red);
    color: var(--surface-white);
    padding: 15px 31px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 620;
    transition: all 0.27s ease;
}

.cta-btn-secondary {
    background: transparent;
    color: var(--surface-white);
    padding: 15px 31px;
    border: 2px solid var(--surface-white);
    border-radius: 9px;
    text-decoration: none;
    font-weight: 620;
    transition: all 0.27s ease;
}

.cta-btn-primary:hover {
    background: var(--deep-crimson);
    transform: translateY(-2px);
}

.cta-btn-secondary:hover {
    background: var(--surface-white);
    color: var(--text-primary);
}

/* Section Titles */
.section-title-center {
    text-align: center;
    margin-bottom: 4.7em;
}

.section-title-center h2 {
    font-size: 2.9rem;
    color: var(--text-primary);
    margin-bottom: 17px;
    font-weight: 760;
}

.section-title-center p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 890px) {
    .services-hero-content h1 { font-size: 2.9rem; }
    .pricing-card-container.featured-plan { transform: scale(1); }
    .cta-buttons-group { flex-direction: column; align-items: center; }
    .service-detail-header { flex-direction: column; text-align: center; }
    .service-detail-icon { margin-right: 0; margin-bottom: 15px; }
}

@media (max-width: 640px) {
    .services-hero-content h1 { font-size: 2.4rem; }
    .price-display { font-size: 2.7rem; }
    .pricing-showcase { padding: 4.3em 0; }
    .service-details-workspace { padding: 4.1em 0; }
    .contact-cta-workspace { padding: 4.5em 0; }
}

/* Contact Page Specific Styles */
.contact-hero-workspace {
    background: linear-gradient(127deg, var(--text-primary) 0%, var(--deep-crimson) 100%);
    padding: 7.1em 0 4.8em 0;
    position: relative;
    overflow: hidden;
}

.contact-hero-workspace::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -23%;
    width: 450px;
    height: 450px;
    background: var(--crimson-red);
    border-radius: 50%;
    opacity: 0.12;
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--surface-white);
}

.contact-hero-content h1 {
    font-size: 3.9rem;
    color: var(--surface-white);
    margin-bottom: 19px;
    font-weight: 760;
    line-height: 1.2;
}

.contact-hero-content p {
    font-size: 1.21rem;
    margin-bottom: 0;
    opacity: 0.89;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-workspace {
    padding: 6.8em 0;
    background: var(--background-light);
}

.contact-form-container {
    background: var(--surface-white);
    border-radius: 15px;
    box-shadow: 0 13px 47px rgba(0, 0, 0, 0.09);
    padding: 43px 39px;
    margin-bottom: 0;
}

.form-section-title {
    font-size: 2.1rem;
    color: var(--text-primary);
    margin-bottom: 13px;
    font-weight: 690;
    text-align: center;
}

.form-section-subtitle {
    color: var(--text-secondary);
    font-size: 1.08rem;
    margin-bottom: 37px;
    text-align: center;
    line-height: 1.5;
}

.contact-form-element {
    width: 100%;
}

.form-input-group {
    margin-bottom: 23px;
    position: relative;
}

.form-input-label {
    display: block;
    color: var(--text-primary);
    font-weight: 560;
    margin-bottom: 9px;
    font-size: 1.02rem;
}

.form-input-field {
    width: 100%;
    padding: 14px 17px;
    border: 2px solid var(--border-neutral);
    border-radius: 8px;
    font-size: 1.01rem;
    color: var(--text-primary);
    background: var(--surface-white);
    transition: all 0.28s ease;
    font-family: inherit;
}

.form-input-field:focus {
    outline: none;
    border-color: var(--crimson-red);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-input-field.error {
    border-color: var(--alert-tone);
    background-color: #fef2f2;
}

.form-input-field.success {
    border-color: var(--success-green);
    background-color: #f0fdf4;
}

.form-textarea-field {
    min-height: 127px;
    resize: vertical;
    font-family: inherit;
}

.form-select-field {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%23666' d='M6 9L1.5 4.5h9z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    cursor: pointer;
}

.error-message {
    color: var(--alert-tone);
    font-size: 0.89rem;
    margin-top: 7px;
    display: none;
    font-weight: 520;
}

.error-message.show {
    display: block;
}

.form-submit-btn {
    width: 100%;
    background: var(--crimson-red);
    color: var(--surface-white);
    padding: 16px 23px;
    border: none;
    border-radius: 9px;
    font-size: 1.07rem;
    font-weight: 630;
    cursor: pointer;
    transition: all 0.31s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 19px;
}

.form-submit-btn:hover {
    background: var(--deep-crimson);
    transform: translateY(-2px);
    box-shadow: 0 7px 23px rgba(230, 57, 70, 0.27);
}

.form-submit-btn:disabled {
    background: var(--border-neutral);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 17px;
}

.form-loading.show {
    display: flex;
}

.loading-spinner {
    width: 21px;
    height: 21px;
    border: 2px solid var(--border-neutral);
    border-top: 2px solid var(--crimson-red);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contact Info Section */
.contact-info-workspace {
    padding: 5.7em 0;
}

.contact-info-card {
    background: var(--surface-white);
    border-radius: 13px;
    padding: 34px 27px;
    text-align: center;
    box-shadow: 0 7px 27px rgba(0, 0, 0, 0.08);
    transition: transform 0.29s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 21px auto;
    fill: var(--crimson-red);
}

.contact-info-title {
    font-size: 1.37rem;
    color: var(--text-primary);
    margin-bottom: 13px;
    font-weight: 660;
}

.contact-info-details {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.02rem;
}

.contact-info-details a {
    color: var(--crimson-red);
    text-decoration: none;
    font-weight: 550;
}

.contact-info-details a:hover {
    text-decoration: underline;
}

/* Map Section */
.map-workspace {
    padding: 0;
    background: var(--border-neutral);
    height: 420px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f3f4f6 25%, transparent 25%),
    linear-gradient(-45deg, #f3f4f6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f3f4f6 75%),
    linear-gradient(-45deg, transparent 75%, #f3f4f6 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.15rem;
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--surface-white);
    padding: 23px 29px;
    border-radius: 11px;
    box-shadow: 0 7px 27px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.map-overlay h3 {
    color: var(--text-primary);
    margin-bottom: 11px;
    font-size: 1.23rem;
}

.map-overlay p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.97rem;
}

/* Form Grid Layout */
.form-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
}

.form-grid-full {
    grid-column: 1 / -1;
}

/* Responsive Design */
@media (max-width: 890px) {
    .contact-hero-content h1 { font-size: 3.1rem; }
    .form-grid-layout { grid-template-columns: 1fr; gap: 0; }
    .contact-form-workspace { padding: 4.7em 0; }
    .contact-info-workspace { padding: 4.3em 0; }
}

@media (max-width: 640px) {
    .contact-hero-content h1 { font-size: 2.6rem; }
    .contact-hero-workspace { padding: 5.1em 0 3.8em 0; }
    .contact-form-container { padding: 31px 23px; }
    .map-workspace { height: 320px; }
}


/* Thank You Page Specific Styles */
.thankyou-hero-workspace {
    background: linear-gradient(142deg, var(--success-green) 0%, var(--crimson-red) 100%);
    padding: 8.3em 0 5.7em 0;
    position: relative;
    overflow: hidden;
}

.thankyou-hero-workspace::before {
    content: '';
    position: absolute;
    top: -12%;
    left: -18%;
    width: 380px;
    height: 380px;
    background: var(--surface-white);
    border-radius: 50%;
    opacity: 0.09;
    z-index: 1;
}

.thankyou-hero-workspace::after {
    content: '';
    position: absolute;
    bottom: -21%;
    right: -15%;
    width: 290px;
    height: 290px;
    background: var(--deep-crimson);
    border-radius: 50%;
    opacity: 0.14;
    z-index: 1;
}

.thankyou-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--surface-white);
}

.success-icon-container {
    margin: 0 auto 27px auto;
    width: 89px;
    height: 89px;
    background: var(--surface-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 2.1s ease-in-out infinite;
}

.success-icon {
    width: 47px;
    height: 47px;
    fill: var(--success-green);
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 11px rgba(255, 255, 255, 0); }
}

.thankyou-hero-content h1 {
    font-size: 3.7rem;
    color: var(--surface-white);
    margin-bottom: 21px;
    font-weight: 740;
    line-height: 1.2;
}

.thankyou-hero-content p {
    font-size: 1.19rem;
    margin-bottom: 0;
    opacity: 0.91;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Next Steps Section */
.next-steps-workspace {
    padding: 6.4em 0;
    background: var(--background-light);
}

.steps-container {
    background: var(--surface-white);
    border-radius: 17px;
    padding: 43px 37px;
    box-shadow: 0 11px 41px rgba(0, 0, 0, 0.07);
}

.steps-title {
    text-align: center;
    font-size: 2.3rem;
    color: var(--text-primary);
    margin-bottom: 13px;
    font-weight: 680;
}

.steps-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.11rem;
    margin-bottom: 41px;
    line-height: 1.5;
}

.step-timeline {
    position: relative;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 37px;
    position: relative;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-icon-wrapper {
    flex-shrink: 0;
    width: 67px;
    height: 67px;
    background: var(--crimson-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 23px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 31px;
    height: 31px;
    fill: var(--surface-white);
}

.step-content {
    flex: 1;
    padding-top: 9px;
}

.step-title {
    font-size: 1.34rem;
    color: var(--text-primary);
    margin-bottom: 7px;
    font-weight: 650;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.03rem;
}

.step-timeline::before {
    content: '';
    position: absolute;
    left: 33px;
    top: 67px;
    bottom: 37px;
    width: 2px;
    background: var(--border-neutral);
    z-index: 1;
}

/* Contact Info Section */
.emergency-contact-workspace {
    padding: 5.8em 0;
}

.emergency-card {
    background: var(--crimson-red);
    color: var(--surface-white);
    border-radius: 15px;
    padding: 37px 31px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emergency-card::before {
    content: '';
    position: absolute;
    top: -23%;
    right: -19%;
    width: 150px;
    height: 150px;
    background: var(--surface-white);
    border-radius: 50%;
    opacity: 0.08;
}

.emergency-content {
    position: relative;
    z-index: 2;
}

.emergency-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 19px auto;
    fill: var(--surface-white);
}

.emergency-title {
    font-size: 1.67rem;
    color: var(--surface-white);
    margin-bottom: 13px;
    font-weight: 670;
}

.emergency-description {
    font-size: 1.07rem;
    opacity: 0.89;
    margin-bottom: 23px;
    line-height: 1.5;
}

.emergency-phone {
    font-size: 1.45rem;
    color: var(--surface-white);
    text-decoration: none;
    font-weight: 620;
    display: inline-block;
    margin-bottom: 11px;
}

.emergency-phone:hover {
    text-decoration: underline;
}

.emergency-hours {
    font-size: 0.97rem;
    opacity: 0.81;
}

/* Return Navigation */
.return-navigation-workspace {
    padding: 4.3em 0;
    text-align: center;
}

.nav-buttons-group {
    display: flex;
    gap: 21px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btn-primary {
    background: var(--crimson-red);
    color: var(--surface-white);
    padding: 15px 29px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 610;
    transition: all 0.28s ease;
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.nav-btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 15px 29px;
    border: 2px solid var(--border-neutral);
    border-radius: 9px;
    text-decoration: none;
    font-weight: 610;
    transition: all 0.28s ease;
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.nav-btn-primary:hover {
    background: var(--deep-crimson);
    transform: translateY(-2px);
}

.nav-btn-secondary:hover {
    border-color: var(--crimson-red);
    color: var(--crimson-red);
}

.btn-icon {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

/* Responsive Design */
@media (max-width: 890px) {
    .thankyou-hero-content h1 { font-size: 2.9rem; }
    .next-steps-workspace { padding: 4.8em 0; }
    .emergency-contact-workspace { padding: 4.1em 0; }
    .nav-buttons-group { flex-direction: column; align-items: center; }
    .step-item { flex-direction: column; text-align: center; }
    .step-icon-wrapper { margin: 0 auto 19px auto; }
    .step-timeline::before { display: none; }
}

@media (max-width: 640px) {
    .thankyou-hero-content h1 { font-size: 2.4rem; }
    .thankyou-hero-workspace { padding: 6.1em 0 4.3em 0; }
    .steps-container { padding: 31px 23px; }
    .success-icon-container { width: 71px; height: 71px; }
    .success-icon { width: 37px; height: 37px; }
}

/* Animation Delays */
.step-item:nth-child(1) { animation-delay: 0.2s; }
.step-item:nth-child(2) { animation-delay: 0.4s; }
.step-item:nth-child(3) { animation-delay: 0.6s; }

/* Auto-redirect countdown */
.redirect-countdown {
    position: fixed;
    bottom: 23px;
    right: 23px;
    background: var(--text-primary);
    color: var(--surface-white);
    padding: 11px 19px;
    border-radius: 23px;
    font-size: 0.91rem;
    opacity: 0.87;
    z-index: 1000;
    display: none;
}

.redirect-countdown.show {
    display: block;
    animation: slideInUp 0.4s ease;
}

@keyframes slideInUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 0.87; }
}

.legal-content-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 4.3em 2.1em;
    background: var(--surface-white);
    border-radius: 13px;
    box-shadow: 0 7px 29px rgba(0, 0, 0, 0.06);
}

.legal-main-title {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 0.7em;
    font-weight: 730;
    text-align: center;
    line-height: 1.2;
}

.legal-intro-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.3em;
    font-style: italic;
}

.legal-section {
    margin-bottom: 2.7em;
}

.legal-section-title {
    font-size: 1.45rem;
    color: var(--crimson-red);
    margin-bottom: 0.9em;
    font-weight: 650;
    border-left: 4px solid var(--crimson-red);
    padding-left: 1.1em;
}

.legal-paragraph {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.1em;
    text-align: justify;
}

@media (max-width: 890px) {
    .legal-content-container {
        padding: 3.1em 1.7em;
        margin: 1.3em;
    }

    .legal-main-title {
        font-size: 2.3rem;
    }

    .legal-section-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 640px) {
    .legal-main-title {
        font-size: 1.9rem;
    }

    .legal-paragraph {
        text-align: left;
        font-size: 0.98rem;
    }
}

.legal-content-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 4.3em 2.1em;
    background: var(--surface-white);
    border-radius: 13px;
    box-shadow: 0 7px 29px rgba(0, 0, 0, 0.06);
}

.legal-main-title {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 0.7em;
    font-weight: 730;
    text-align: center;
    line-height: 1.2;
}

.legal-intro-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.3em;
    font-style: italic;
}

.legal-section {
    margin-bottom: 2.7em;
}

.legal-section-title {
    font-size: 1.45rem;
    color: var(--crimson-red);
    margin-bottom: 0.9em;
    font-weight: 650;
    border-left: 4px solid var(--crimson-red);
    padding-left: 1.1em;
}

.legal-paragraph {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.1em;
    text-align: justify;
}

@media (max-width: 890px) {
    .legal-content-container {
        padding: 3.1em 1.7em;
        margin: 1.3em;
    }

    .legal-main-title {
        font-size: 2.3rem;
    }

    .legal-section-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 640px) {
    .legal-main-title {
        font-size: 1.9rem;
    }

    .legal-paragraph {
        text-align: left;
        font-size: 0.98rem;
    }
}

.legal-content-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 4.3em 2.1em;
    background: var(--surface-white);
    border-radius: 13px;
    box-shadow: 0 7px 29px rgba(0, 0, 0, 0.06);
}

.legal-main-title {
    font-size: 2.8rem;
    color: var(--text-primary);
    margin-bottom: 0.7em;
    font-weight: 730;
    text-align: center;
    line-height: 1.2;
}

.legal-intro-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.3em;
    font-style: italic;
}

.legal-section {
    margin-bottom: 2.7em;
}

.legal-section-title {
    font-size: 1.45rem;
    color: var(--crimson-red);
    margin-bottom: 0.9em;
    font-weight: 650;
    border-left: 4px solid var(--crimson-red);
    padding-left: 1.1em;
}

.legal-paragraph {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.1em;
    text-align: justify;
}

@media (max-width: 890px) {
    .legal-content-container {
        padding: 3.1em 1.7em;
        margin: 1.3em;
    }

    .legal-main-title {
        font-size: 2.3rem;
    }

    .legal-section-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 640px) {
    .legal-main-title {
        font-size: 1.9rem;
    }

    .legal-paragraph {
        text-align: left;
        font-size: 0.98rem;
    }
}