* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #c92d2d;
    --dark-red: #a82525;
    --light-gray: #f9f8f9;
    --medium-gray: #999999;
    --dark-gray: #45383d;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--medium-gray);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-red);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    margin-top: 90px;
    background: var(--light-gray);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.hero-left {
    background: linear-gradient(135deg, rgba(201, 45, 45, 0.9) 0%, rgba(168, 37, 37, 0.9) 100%),
                url('https://ext.same-assets.com/2882073073/1508133448.png');
    background-size: cover;
    background-position: center;
    padding: 80px 60px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 50px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    align-self: flex-start;
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.hero-right {
    position: relative;
    overflow: hidden;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Protect Future Section */
.protect-future {
    background: var(--white);
    padding: 80px 0;
}

.protect-title {
    font-size: 72px;
    text-align: right;
    font-weight: 700;
    color: var(--medium-gray);
}

.red-text {
    color: var(--primary-red);
}

/* Services Section */
.services {
    background: var(--light-gray);
    padding: 80px 0 100px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--white);
    background: var(--primary-red);
    padding: 30px;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;

}

.section-title::before {
    left: 100px;
}

.section-title::after {
    right: 100px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: -40px;
}

.service-card {
    background: var(--primary-red);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: auto;
    
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    min-height: 60px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    min-height: 100px;
}

.service-link {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    opacity: 0.8;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
}

.about-left {
    position: relative;
    overflow: hidden;
}

.about-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(201, 45, 45, 0.95) 0%, rgba(201, 45, 45, 0.7) 100%);
    color: var(--white);
    padding: 60px 50px;
}

.about-overlay h2 {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
}

.about-right {
    padding: 60px 50px;
    background: var(--light-gray);
}

.about-item {
    margin-bottom: 50px;
}

.about-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.about-icon img {
    width: 100%;
    height: auto;
}

.about-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-red);
    font-weight: 700;
}

.about-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark-gray);
}

/* Locations Section */
.locations {
    background: var(--white);
    padding: 100px 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--primary-red);
}

.location-card {
    background: var(--white);
    padding: 60px 40px;
    text-align: center;
    border: 3px solid var(--primary-red);
}

.location-card:nth-child(1),
.location-card:nth-child(3) {
    border-left: none;
    border-right: none;
}

.location-card h2 {
    font-size: 36px;
    color: var(--primary-red);
    margin-bottom: 20px;
    font-weight: 700;
}

.location-card p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark-gray);
    text-transform: uppercase;
}

/* Footer */
.footer {
    background: var(--light-gray);
    padding: 40px 0;
    border-top: 3px solid var(--primary-red);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
}

.footer-left,
.footer-center,
.footer-right {
    text-align: center;
}

.footer-left p,
.footer-center p {
    font-size: 14px;
    color: var(--dark-gray);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-red);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .protect-title {
        font-size: 56px;
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .location-card {
        border: 3px solid var(--primary-red);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 60px 30px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .protect-title {
        font-size: 40px;
        text-align: center;
    }

    .section-title {
        font-size: 24px;
    }

    .about-overlay h2 {
        font-size: 20px;
    }

    .about-right {
        padding: 40px 30px;
    }

    .location-card h2 {
        font-size: 28px;
    }

    .location-card p {
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Page Banner */
.page-banner {
    margin-top: 90px;
    height: 240px;
    background: linear-gradient(135deg, rgba(201, 45, 45, 0.9) 0%, rgba(168, 37, 37, 0.9) 100%),
                url('https://ext.same-assets.com/2882073073/2312810341.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay h1 {
    color: var(--white);
    font-size: 48px;
    text-align: center;
    font-weight: 700;
}

/* Services Options (Seguros/Fianzas Pages) */
.services-options {
    padding: 80px 0;
    background: var(--white);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.option-card {
    text-align: center;
}

.option-title {
    background: var(--primary-red);
    color: var(--white);
    padding: 20px;
    font-size: 32px;
    margin-bottom: 0;
    font-weight: 700;
}

.option-image {
    position: relative;
    overflow: hidden;
}

.option-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.option-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-red);
    color: var(--white);
    padding: 15px 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border: 3px solid var(--white);
    transition: all 0.3s ease;
    z-index: 2;
}

.option-btn:hover {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--primary-red);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Services Detail Pages */
.services-detail {
    padding: 80px 0;
    background: var(--white);
}

.detail-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.detail-row-2col {
    grid-template-columns: repeat(2, 1fr);
}

.detail-card {
    background: var(--light-gray);
    padding: 0;
    overflow: hidden;
}

.detail-title {
    background: var(--primary-red);
    color: var(--white);
    padding: 20px;
    margin: 0;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-list {
    list-style: none;
    padding: 30px;
}

.detail-list li {
    padding: 8px 0;
    color: var(--dark-gray);
    font-size: 15px;
    position: relative;
    padding-left: 20px;
}

.detail-list li:before {
    content: "■";
    color: var(--primary-red);
    position: absolute;
    left: 0;
    font-size: 12px;
}

.detail-description {
    padding: 30px;
    color: var(--dark-gray);
    font-size: 16px;
    line-height: 1.8;
}

.detail-subtext {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 10px;
    color: var(--medium-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-left > * {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.hero-text {
    animation-delay: 0.6s;
}

.btn-primary {
    animation-delay: 0.8s;
}

/* Responsive for new pages */
@media (max-width: 768px) {
    .banner-overlay h1 {
        font-size: 32px;
        padding: 0 20px;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .option-image img {
        height: 300px;
    }

    .detail-row,
    .detail-row-2col {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detail-title {
        font-size: 18px;
        min-height: 60px;
    }
}
