:root {
    --primary-color: #1a3a5f;
    --secondary-color: #B30000;
    --accent-color: #B30000;
    --light-color: #ecf0f1;
    --dark-color: #1a3a5f;
    --text-color: #333;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --base-font-size: 18px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    font-size: var(--base-font-size)
}

body {
    font-family: Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    font-size: 1.1rem;
    overflow-x: hidden
}

body.menu-open {
    overflow: hidden
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px
}

h1,
h2,
h3 {
    margin-bottom: 26px;
    color: var(--primary-color)
}

h2 {
    font-size: 2.6rem
}

h3 {
    font-size: 1.7rem
}

p {
    margin-bottom: 20px;
    font-size: 1.2rem
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: color .3s ease
}



a:hover {
    color: var(--secondary-color)
}

section {
    padding: 55px 0
}

header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all .3s ease
}

header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .15);
    padding: 10px 0
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto
}

.logo {
    display: flex;
    align-items: center;
    padding: 0
}

.logo a {
    display: block
}

.logo img {
    max-height: 40px;
    width: auto;
    transition: all .4s ease;
    display: block
}

header.scrolled .logo img {
    max-height: 50px
}

nav {
    transition: all .3s ease
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0
}

nav ul li {
    margin-left: 30px
}

nav ul li a {
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    text-shadow: none;
    transition: all .3s ease;
    padding: 6px 0;
    font-size: 1.1rem;
    text-decoration: none
}

header.scrolled nav ul li a {
    color: var(--primary-color);
    text-shadow: none
}

nav ul li a:hover {
    color: var(--accent-color)
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -2px;
    left: 0;
    transition: width .3s ease
}

nav ul li a:hover::after {
    width: 100%
}

.sos-button .sos {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: all .3s ease;
    box-shadow: 0 4px 6px rgba(243, 156, 18, .3);
    border: 2px solid var(--secondary-color);
    white-space: nowrap;
    font-size: 1rem;
    text-decoration: none
}

.sos-button .sos:hover {
    background-color: #fff;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(243, 156, 18, .4);
    border: 2px solid var(--secondary-color)
}

header.scrolled .sos-button .sos:hover {
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color)
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 5px
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all .3s ease
}

header.scrolled .mobile-menu-btn span {
    background-color: var(--primary-color)
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px)
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px)
}

.hero {
    background: linear-gradient(rgba(88, 88, 88, .3), rgba(88, 88, 88, .3));
    background-size: cover;
    background-position: center;
    color: var(--primary-color);
    text-align: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 70px
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.hero-logo {
    max-width: 650px;
    height: auto;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .1));
    transition: transform .3s ease
}

.hero-logo:hover {
    transform: scale(1.05)
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .1)
}

.hero-content a {
    text-align: center
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color)
}

.cta-button {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all .3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    border: 2px solid var(--secondary-color);
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    margin: 0 auto
}

.cta-button:hover {
    background-color: #fff;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15)
}

.about {
    padding: 80px 0;
    background-color: #fff
}

.about h2 {
    text-align: center;
    margin-bottom: 50px
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 40px;
    margin: 0 auto;
    max-width: 1200px
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 20px
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    aspect-ratio: 4/3;
    margin: 0 auto
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform .5s ease
}

.about-image:hover img {
    transform: scale(1.05)
}

.placeholder-image {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
    min-height: 390px
}

.services {
    background-color: #f5f5f5;
    padding: 80px 0;
    position: relative;
    overflow: hidden
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 95, .05) 0, rgba(243, 156, 18, .05) 100%);
    z-index: 0
}

.services .container {
    position: relative;
    z-index: 1
}

.services h2 {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    display: inline-block
}

.services h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    justify-items: center
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all .3s ease;
    text-align: center;
    max-width: 350px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(0);
    opacity: 1
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1)
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all .3s ease;
    color: var(--secondary-color);
    font-size: 2.5rem
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
    color: #fff
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all .3s ease
}

.service-card:hover h3 {
    color: var(--accent-color)
}

.service-card p {
    margin-bottom: 25px;
    color: #666;
    font-size: 1.1rem;
    flex-grow: 1
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all .3s ease;
    position: relative;
    padding: 5px 0;
    font-size: 1.1rem;
    margin-top: auto
}

.service-link svg {
    transition: transform .3s ease;
    font-size: .9rem
}

.service-link:hover {
    color: var(--accent-color);
    text-decoration: none
}

.service-link:hover svg {
    transform: translateX(5px)
}

.contact {
    padding: 80px 0
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px
}

.highlight-title {
    animation: title-highlight 1.5s ease-in-out
}

@keyframes title-highlight {
    0% {
        color: var(--primary-color);
        transform: scale(1)
    }

    20% {
        color: var(--accent-color);
        transform: scale(1.05)
    }

    40% {
        color: var(--primary-color);
        transform: scale(1)
    }

    60% {
        color: var(--accent-color);
        transform: scale(1.03)
    }

    80% {
        color: var(--primary-color);
        transform: scale(1)
    }

    100% {
        color: var(--primary-color);
        transform: scale(1)
    }
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow)
}

.contact-info h3 {
    margin-bottom: 20px
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: all .3s ease;
    background-color: #f9f9f9
}

.info-item:hover {
    background-color: #f0f0f0;
    transform: translateX(5px)
}

.info-item svg {
    color: var(--secondary-color)
}

.info-item p,
.info-item p a {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem
}

.info-item p a:hover {
    color: var(--accent-color)
}

.highlight-box {
    position: relative
}

.highlight-sos {
    animation: sos-pulse 2s infinite, smooth-highlight 1s;
    color: #e74c3c;
    font-weight: 700
}

@keyframes smooth-highlight {
    0% {
        background-color: transparent
    }

    50% {
        background-color: rgba(231, 76, 60, .2)
    }

    100% {
        background-color: transparent
    }
}

@keyframes sos-pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }

    100% {
        transform: scale(1)
    }
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0
}

footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0 25px;
    position: relative;
    overflow: hidden
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, transparent 100%);
    opacity: 0.6
}

footer h1,
footer h2,
footer h3 {
    color: #fff
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    margin-bottom: 15px
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-self: start
}

.footer-links a {
    color: #fff;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 10px;
    transition: all .3s ease;
    border-radius: 4px
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform .3s ease
}

.footer-links a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05)
}

.footer-links a:hover::after {
    transform: scaleX(1)
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: center;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    transition: all .3s ease
}

.powered-by:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px)
}

.powered-by span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.5px
}

.powered-by a {
    display: flex;
    align-items: center;
    line-height: 0;
    transition: transform .3s ease
}

.powered-by img {
    height: 22px;
    opacity: 0.85;
    transition: opacity .3s ease
}

.powered-by:hover img {
    opacity: 1
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.75;
    justify-self: end;
    text-align: right;
    font-weight: 300;
    letter-spacing: 0.3px
}

.copyright p {
    margin: 0;
    font-size: 0.9rem
}

.legal-content {
    padding: 120px 0 60px;
    max-width: 900px;
    margin: 0 auto
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color)
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color)
}

.legal-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color)
}

.legal-content address,
.legal-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px
}

.legal-content li {
    margin-bottom: 10px;
    font-size: 1.1rem
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    transition: all .3s ease;
    font-weight: 500;
    text-decoration: none
}

.back-link:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1)
}

@media (max-width:1200px) {
    html {
        font-size: 16px
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .service-card {
        max-width: 100%
    }
}

@media (max-width:960px) {
    html {
        font-size: 15px
    }

    header .container {
        padding: 0 15px
    }

    .logo img {
        max-height: 35px
    }

    .mobile-menu-btn {
        display: flex
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, .1);
        padding: 80px 20px 30px;
        transition: right .3s ease;
        z-index: 999
    }

    nav.active {
        right: 0
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start
    }

    nav ul li {
        margin: 0 0 20px 0;
        width: 100%
    }

    nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 1.2rem
    }

    .sos-button .sos {
        padding: 6px 12px;
        font-size: .9rem
    }

    .about-content {
        flex-direction: column
    }

    .contact-container {
        flex-direction: column
    }

    .contact-info,
    .map-container {
        width: 100%
    }

    .map-container {
        margin-top: 30px;
        height: 350px
    }

    .hero h1 {
        font-size: 2.4rem
    }

    .hero-logo {
        max-width: 380px
    }
}

@media (max-width:768px) {
    html {
        font-size: 14px
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .service-card {
        max-width: 100%
    }

    .hero h1 {
        font-size: 2rem
    }

    .hero-logo {
        max-width: 320px
    }

    .hero p {
        font-size: 1.2rem
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 1rem
    }

    .hero-services span {
        font-size: 1.1rem
    }

    .about-content {
        flex-direction: column;
        gap: 30px
    }

    .about-image {
        width: 100%;
        max-width: 500px;
        aspect-ratio: 16/9
    }

    header {
        padding: 8px 0
    }

    header.scrolled {
        padding: 6px 0
    }

    .logo img {
        max-height: 40px
    }

    header.scrolled .logo img {
        max-height: 40px
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center
    }

    .footer-links {
        justify-content: center;
        justify-self: center
    }

    .powered-by {
        justify-self: center
    }

    .copyright {
        justify-self: center;
        text-align: center
    }
}

@media (max-width:576px) {
    .container {
        width: 95%;
        padding: 0 10px
    }

    h2 {
        font-size: 2rem
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem
    }

    .service-card h3 {
        font-size: 1.3rem
    }

    .info-item {
        padding: 12px
    }

    .info-item p,
    .info-item p a {
        font-size: 1rem
    }

    .legal-content {
        padding: 100px 15px 40px
    }

    .legal-content h1 {
        font-size: 2rem
    }

    .legal-content h2 {
        font-size: 1.5rem
    }

    .hero-logo {
        max-width: 280px
    }

    .hero-services span {
        font-size: .95rem
    }

    .about-image {
        aspect-ratio: 1/1;
        min-width: unset;
        width: 100%
    }

    .about-text {
        min-width: unset;
        width: 100%;
        padding: 15px
    }

    .footer-links a {
        margin: 0 8px
    }
}

@media (max-width:400px) {
    .logo img {
        max-height: 30px
    }

    .sos-button .sos {
        padding: 5px 10px;
        font-size: .8rem
    }

    .mobile-menu-btn {
        padding: 3px
    }

    .mobile-menu-btn span {
        width: 24px;
        height: 2px;
        margin: 2px 0
    }

    .hero h1 {
        font-size: 1.8rem
    }

    .hero-logo {
        max-width: 240px
    }

    .hero-services span {
        font-size: .85rem
    }

    .cta-button {
        padding: 10px 20px;
        font-size: .9rem
    }
}