* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    font-size: 16px;

    scroll-behavior: smooth;

}



body {

    font-family: 'Montserrat', sans-serif;

    line-height: 1.6;

    color: #000000;

    background-color: #FFFFFF;

    overflow-x: hidden;

}



img {

    max-width: 100%;

    height: auto;

    display: block;

}



a {

    text-decoration: none;

    color: inherit;

    transition: 0.3s ease;

}



ul, ol {

    list-style: none;

}



button {

    font-family: inherit;

    cursor: pointer;

    border: none;

    background: none;

}



.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 2rem;

}



.text-center {

    text-align: center;

}



.section {

    padding: 6rem 0;

}



.section-light {

    background-color: #FFFFFF;

    color: #000000;

}



.section-dark {

    background-color: #000000;

    color: #FFFFFF;

}



.section-title {

    font-family: 'Playfair Display', serif;

    font-size: 3rem;

    font-weight: 700;

    margin-bottom: 2rem;

    letter-spacing: 0.02em;

}



.section-intro {

    font-size: 1.2rem;

    line-height: 1.8;

    margin-bottom: 4rem;

    opacity: 0.9;

}



.section-subtitle-highlight {

    font-family: 'Montserrat', sans-serif;

    text-align: center;

    margin: 2rem 0;

}



.navbar {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    background-color: rgba(0, 0, 0, 0.95);

    backdrop-filter: blur(10px);

    z-index: 1000;

    transition: 0.3s ease;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

}



.navbar.transparent {

    background-color: rgba(0, 0, 0, 0.7);

}



.nav-container {

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 1rem 2rem;

}



.nav-menu {

    display: flex;

    gap: 2rem;

    align-items: center;

}



.nav-link {

    color: #FFFFFF;

    font-family: 'Montserrat', sans-serif;

    font-size: 0.75rem;

    font-weight: 500;

    padding: 0.5rem 1rem;

    position: relative;

    transition: 0.3s ease;

    letter-spacing: 0.05em;

    text-transform: uppercase;

}



.nav-link::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 50%;

    transform: translateX(-50%);

    width: 0;

    height: 2px;

    background-color: #FFFFFF;

    transition: 0.3s ease;

}



.nav-link:hover::after,

.nav-link.active::after {

    width: 80%;

}



.nav-link:hover {

    color: rgba(255, 255, 255, 0.8);

}



.mobile-menu-toggle {

    display: none;

    flex-direction: column;

    gap: 4px;

    padding: 0.5rem;

    cursor: pointer;

}



.mobile-menu-toggle span {

    width: 25px;

    height: 2px;

    background-color: #FFFFFF;

    transition: 0.3s ease;

}



.section-inicio {

    background-color: #FFFFFF;

}



.hero {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    position: relative;

    background: #FFFFFF;

    padding-top: 80px;

}



.hero-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 100%);

    z-index: 1;

}



.hero-content {

    position: relative;

    z-index: 2;

    text-align: center;

    max-width: 900px;

    padding: 2rem;

}



.hero-logo {

    max-width: 400px;

    width: 100%;

    margin: 0 auto 2rem;

    /*filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));*/

}



.hero-title {

    font-family: 'Playfair Display', serif;

    font-size: 4rem;

    font-weight: 700;

    color: #000000;

    margin-bottom: 1rem;

    letter-spacing: 0.02em;

}



.hero-subtitle {

    font-family: 'Montserrat', sans-serif;

    font-size: 1.5rem;

    font-weight: 400;

    color: #666666;

    margin-bottom: 1rem;

    letter-spacing: 0.05em;

}



.hero-claim {

    font-family: 'Montserrat', sans-serif;

    font-size: 1.2rem;

    color: #666666;

    margin-bottom: 4rem;

}



.hero-buttons {

    display: flex;

    gap: 2rem;

    justify-content: center;

    flex-wrap: wrap;

}



.scroll-indicator {

    position: absolute;

    bottom: 2rem;

    left: 50%;

    transform: translateX(-50%);

    animation: bounce 2s infinite;

    color: #000000;

    font-size: 1.5rem;

    opacity: 0.5;

}



@keyframes bounce {

    0%, 20%, 50%, 80%, 100% {

        transform: translateX(-50%) translateY(0);

    }

    40% {

        transform: translateX(-50%) translateY(-10px);

    }

    60% {

        transform: translateX(-50%) translateY(-5px);

    }

}



.castle-section {

    padding: 6rem 0;

    background-color: #FFFFFF;

}



.castle-content {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 4rem;

}



.castle-image-wrapper {

    width: 100%;

    max-width: 400px;

}



.castle-image {

    width: 50%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: grayscale(20%);
    transition: 0.5s ease;

}



.castle-image:hover {

    filter: grayscale(0%);

}



.castle-text {

    text-align: center;

}



.castle-text .section-title {

    font-family: 'Playfair Display', serif;

    font-size: 3rem;

    color: #000000;

    font-style: italic;

    letter-spacing: 0.05em;

}



.process-phase {

    background: rgba(255, 255, 255, 0.05);

    padding: 2rem;

    margin: 4rem 0;

    border-left: 4px solid #FFFFFF;

}



.phase-header {

    display: flex;

    align-items: center;

    gap: 2rem;

    margin-bottom: 1rem;

}



.phase-number {

    font-family: 'Playfair Display', serif;

    font-size: 2.5rem;

    font-weight: 700;

    color: #FFFFFF;

    min-width: 80px;

}



.phase-title {

    font-family: 'Playfair Display', serif;

    font-size: 1.8rem;

    font-weight: 600;

    color: #FFFFFF;

}



.phase-description {

    font-size: 1.1rem;

    line-height: 1.8;

    margin-left: 96px;

}



.process-arrow {

    display: flex;

    justify-content: center;

    margin: 2rem 0;

}



.arrow-line {

    width: 2px;

    height: 60px;

    background: linear-gradient(180deg, #FFFFFF 0%, transparent 100%);

}



.process-routes {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 2rem;

    margin-top: 4rem;

}



.route-column {

    background: rgba(255, 255, 255, 0.03);

    padding: 2rem;

    border: 1px solid rgba(255, 255, 255, 0.1);

    transition: 0.3s ease;

}



.route-column:hover {

    background: rgba(255, 255, 255, 0.05);

    border-color: rgba(255, 255, 255, 0.2);

}



.route-header {

    margin-bottom: 2rem;

    padding-bottom: 1rem;

    border-bottom: 2px solid #FFFFFF;

}



.route-title {

    font-family: 'Playfair Display', serif;

    font-size: 1.3rem;

    font-weight: 600;

    color: #FFFFFF;

    text-align: center;

}



.route-step {

    display: flex;

    gap: 1rem;

    margin-bottom: 2rem;

}



.step-number {

    font-family: 'Playfair Display', serif;

    font-size: 1.5rem;

    font-weight: 700;

    color: #FFFFFF;

    min-width: 40px;

}



.step-content {

    flex: 1;

}



.step-title {

    font-family: 'Montserrat', sans-serif;

    font-size: 1rem;

    font-weight: 600;

    color: #FFFFFF;

    margin-bottom: 0.3rem;

}



.step-text {

    font-size: 0.9rem;

    line-height: 1.6;

    color: rgba(255, 255, 255, 0.8);

}



.route-connector {

    width: 2px;

    height: 20px;

    background: rgba(255, 255, 255, 0.3);

    margin: 0 auto 2rem 20px;

}



.core-footer {

    text-align: center;

    padding: 4rem 0;

    background: rgba(255, 255, 255, 0.05);

    border-left: 4px solid #FFFFFF;

    margin-top: 4rem;

}



.core-footer p {

    font-size: 1.2rem;

    line-height: 1.8;

}



.core-footer .highlight {

    color: #FFFFFF;

    font-weight: 700;

}



.content-block {

    margin-bottom: 6rem;

}



.content-title {

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    font-weight: 600;

    margin-bottom: 2rem;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 1rem;

}



.content-title i {

    font-size: 1.5rem;

    opacity: 0.8;

}



.content-text-centered {

    max-width: 900px;

    margin: 0 auto;

}



.content-description {

    font-size: 1.1rem;

    line-height: 1.8;

    margin-bottom: 2rem;

    text-align: justify;

}



.differences-container {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

    gap: 4rem;

    margin-top: 4rem;

}



.difference-item {

    display: flex;

    gap: 2rem;

    padding: 2rem;

    background: rgba(255, 255, 255, 0.03);

    border-left: 3px solid #FFFFFF;

    transition: 0.3s ease;

}



.difference-item:hover {

    background: rgba(255, 255, 255, 0.05);

    transform: translateX(5px);

}



.difference-number {

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    font-weight: 700;

    color: #FFFFFF;

    min-width: 60px;

    text-align: center;

}



.difference-content {

    flex: 1;

}



.difference-title {

    font-family: 'Montserrat', sans-serif;

    font-size: 1.2rem;

    font-weight: 600;

    margin-bottom: 1rem;

    color: #FFFFFF;

}



.difference-description {

    font-size: 1rem;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.9);

    text-align: justify;

}



.services-menu {

    display: flex;

    justify-content: center;

    gap: 2rem;

    margin-bottom: 4rem;

    flex-wrap: wrap;

}



.service-menu-item {

    display: flex;

    align-items: center;

    gap: 1rem;

    padding: 1rem 2rem;

    background-color: transparent;

    border: 2px solid #000000;

    color: #000000;

    font-family: 'Montserrat', sans-serif;

    font-size: 1rem;

    font-weight: 600;

    transition: 0.3s ease;

    cursor: pointer;

}



.service-menu-item:hover {

    background-color: #000000;

    color: #FFFFFF;

}



.service-menu-item.active {

    background-color: #000000;

    color: #FFFFFF;

}



.service-menu-item i {

    font-size: 1.2rem;

}



.services-content-container {

    margin-top: 4rem;

}



.service-page {

    display: none;

}



.service-page.active {

    display: block;

}



.service-page-title {

    font-family: 'Playfair Display', serif;

    font-size: 2.5rem;

    font-weight: 700;

    text-align: center;

    margin-bottom: 1rem;

}



.service-page-subtitle {

    font-size: 1.2rem;

    text-align: center;

    color: #666666;

    margin-bottom: 4rem;

}



.service-submenu {

    display: flex;

    justify-content: center;

    gap: 1rem;

    margin: 4rem 0;

    flex-wrap: wrap;

}



.service-submenu-item {

    padding: 0.8rem 1.5rem;

    background-color: transparent;

    border: 1px solid #000000;

    color: #000000;

    font-family: 'Montserrat', sans-serif;

    font-size: 0.75rem;

    font-weight: 500;

    transition: 0.3s ease;

    cursor: pointer;

}



.service-submenu-item:hover {

    background-color: #f5f5f5;

}



.service-submenu-item.active {

    background-color: #000000;

    color: #FFFFFF;

}



.service-items {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 2rem;

}



.service-item {

    padding: 2rem;

    background: rgba(0, 0, 0, 0.03);

    border-left: 3px solid #000000;

    transition: 0.3s ease;

}



.service-item:hover {

    background: rgba(0, 0, 0, 0.05);

    transform: translateX(5px);

}



.service-item-title {

    font-family: 'Playfair Display', serif;

    font-size: 1.3rem;

    font-weight: 600;

    margin-bottom: 1rem;

    color: #000000;

}



.service-item-description {

    font-size: 1rem;

    line-height: 1.8;

    color: #666666;

}



.service-subitem {

    display: none;

    padding: 4rem;

}



.service-subitem.active {

    display: block;

}



.service-detail-list {

    margin: 2rem 0;

    padding-left: 2rem;

}



.service-detail-list li {

    position: relative;

    padding-left: 1.5rem;

    margin-bottom: 1rem;

    line-height: 1.8;

}



.service-detail-list li::before {

    content: '▸';

    position: absolute;

    left: 0;

    color: #000000;

    font-weight: 700;

}



.industry-process {

    margin-top: 4rem;

    padding: 2rem;

    background: rgba(0, 0, 0, 0.03);

    border: 1px solid rgba(0, 0, 0, 0.1);

}



.industry-phase {

    margin-bottom: 2rem;

    padding: 2rem;

    background: rgba(0, 0, 0, 0.05);

}



.industry-phase-title {

    font-family: 'Playfair Display', serif;

    font-size: 1.5rem;

    font-weight: 600;

    margin-bottom: 1rem;

}



.industry-phase-desc {

    font-size: 1rem;

    line-height: 1.8;

    color: #666666;

}



.industry-routes {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

}



.industry-route {

    padding: 2rem;

    background: #FFFFFF;

    border: 1px solid rgba(0, 0, 0, 0.1);

}



.industry-route h6 {

    font-family: 'Playfair Display', serif;

    font-size: 1.1rem;

    font-weight: 600;

    margin-bottom: 1rem;

    text-align: center;

}



.industry-route ul {

    list-style: none;

}



.industry-route li {

    padding: 0.5rem 0;

    font-size: 0.95rem;

    line-height: 1.6;

}



.service-example {

    margin-top: 4rem;

}



.service-example-steps {

    display: flex;

    flex-direction: column;

    gap: 2rem;

}



.example-step {

    display: flex;

    gap: 2rem;

    padding: 2rem;

    background: rgba(0, 0, 0, 0.03);

    border-left: 3px solid #000000;

}



.example-number {

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    font-weight: 700;

    color: #FFFFFF;

    background-color: #000000;

    min-width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

}



.example-content {

    flex: 1;

}



.example-content h6 {

    font-family: 'Montserrat', sans-serif;

    font-size: 1.1rem;

    font-weight: 600;

    margin-bottom: 0.5rem;

    color: #000000;

}



.example-content p {

    font-size: 1rem;

    line-height: 1.8;

    color: #666666;

    text-align: justify;

}



.contact-container {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

    gap: 4rem;

    margin-top: 4rem;

}



.contact-info {

    padding: 2rem;

}



.contact-info-title {

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    font-weight: 600;

    margin-bottom: 2rem;

}



.contact-item {

    display: flex;

    gap: 2rem;

    margin-bottom: 2rem;

    padding: 2rem;

    background: rgba(255, 255, 255, 0.05);

    border-left: 3px solid #FFFFFF;

}



.contact-item i {

    font-size: 1.5rem;

    color: #FFFFFF;

    min-width: 30px;

}



.contact-item strong {

    display: block;

    font-weight: 600;

    margin-bottom: 0.3rem;

}



.contact-item p {

    line-height: 1.6;

}



.contact-item a {

    color: #FFFFFF;

    text-decoration: underline;

}



.contact-item a:hover {

    opacity: 0.8;

}



.contact-form {

    padding: 2rem;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.1);

}



.form-group {

    margin-bottom: 2rem;

}



.form-group label {

    display: block;

    font-weight: 600;

    margin-bottom: 0.5rem;

    color: #FFFFFF;

}



.form-group input,

.form-group textarea {

    width: 100%;

    padding: 0.8rem;

    background-color: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.2);

    color: #FFFFFF;

    font-family: 'Montserrat', sans-serif;

    font-size: 1rem;

    transition: 0.3s ease;

}



.form-group input::placeholder,

.form-group textarea::placeholder {

    color: rgba(255, 255, 255, 0.5);

}



.form-group input:focus,

.form-group textarea:focus {

    outline: none;

    border-color: #FFFFFF;

    background-color: rgba(255, 255, 255, 0.15);

}



.btn {

    display: inline-block;

    padding: 1rem 2rem;

    font-family: 'Montserrat', sans-serif;

    font-size: 1rem;

    font-weight: 600;

    text-align: center;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    transition: 0.3s ease;

    cursor: pointer;

    border: 2px solid transparent;

}



.btn-primary {

    background-color: #000000;

    color: #FFFFFF;

    border-color: #000000;

}



.btn-primary:hover {

    background-color: transparent;

    color: #000000;

    border-color: #000000;

}



.btn-secondary {

    background-color: transparent;

    color: #000000;

    border-color: #000000;

}



.btn-secondary:hover {

    background-color: #000000;

    color: #FFFFFF;

}



.btn-full {

    width: 100%;

}



.footer {

    background-color: #000000;

    color: #FFFFFF;

    padding: 6rem 0 2rem;

}



.footer-content {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 4rem;

    margin-bottom: 4rem;

}



.footer-logo {

    text-align: center;

}



.footer-logo-container {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 2rem;

    margin-bottom: 2rem;

}



.footer-castle-img {

    max-width: 100px;

    height: auto;

}



.footer-m-img {

    max-width: 80px;

    height: auto;

}



.footer-claim {

    font-family: 'Playfair Display', serif;

    font-size: 1.2rem;

    font-style: italic;

    color: #FFFFFF;

}



.footer-links {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));

    gap: 2rem;

}



.footer-column h4 {

    font-family: 'Montserrat', sans-serif;

    font-size: 1.1rem;

    font-weight: 600;

    margin-bottom: 1rem;

    color: #FFFFFF;

}



.footer-column ul li {

    margin-bottom: 0.5rem;

}



.footer-column ul li a {

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.95rem;

    transition: 0.3s ease;

}



.footer-column ul li a:hover {

    color: #FFFFFF;

}



.footer-bottom {

    text-align: center;

    padding-top: 2rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

}



.footer-bottom p {

    font-size: 0.9rem;

    color: rgba(255, 255, 255, 0.6);

}



.scroll-to-top {

    position: fixed;

    bottom: 2rem;

    right: 2rem;

    width: 50px;

    height: 50px;

    background-color: #000000;

    color: #FFFFFF;

    border: 2px solid #FFFFFF;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.2rem;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s ease;

    z-index: 999;

}



.scroll-to-top.visible {

    opacity: 1;

    visibility: visible;

}



.scroll-to-top:hover {

    background-color: #FFFFFF;

    color: #000000;

}



@keyframes fadeIn {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.animate-fade-in {

    animation: fadeIn 0.8s ease-out;

}



.animate-fade-in-delay-1 {

    animation: fadeIn 0.8s ease-out 0.2s both;

}



.animate-fade-in-delay-2 {

    animation: fadeIn 0.8s ease-out 0.4s both;

}



.animate-fade-in-delay-3 {

    animation: fadeIn 0.8s ease-out 0.6s both;

}



.animate-in {

    animation: fadeIn 0.6s ease-out;

}



@media (max-width: 768px) {

    html {

        font-size: 14px;

    }

    .mobile-menu-toggle {

        display: flex;

    }

    .nav-menu {

        position: fixed;

        top: 60px;

        left: -100%;

        width: 100%;

        max-width: 300px;

        height: calc(100vh - 60px);

        background-color: rgba(0, 0, 0, 0.98);

        flex-direction: column;

        padding: 2rem;

        transition: 0.3s ease;

        overflow-y: auto;

    }

    .nav-menu.active {

        left: 0;

    }

    .section-title {

        font-size: 2rem;

    }

    .hero-title {

        font-size: 2.5rem;

    }

    .hero-subtitle {

        font-size: 1.2rem;

    }

    .hero-buttons {

        flex-direction: column;

        width: 100%;

    }

    .hero-buttons .btn {

        width: 100%;

    }

    .process-routes {

        grid-template-columns: 1fr;

    }

    .differences-container {

        grid-template-columns: 1fr;

    }

    .service-items {

        grid-template-columns: 1fr;

    }

    .industry-routes {

        grid-template-columns: 1fr;

    }

    .contact-container {

        grid-template-columns: 1fr;

    }

    .footer-content {

        grid-template-columns: 1fr;

        text-align: center;

    }

    .footer-links {

        grid-template-columns: 1fr;

    }

}



@media (max-width: 480px) {

    .hero-logo {

        max-width: 250px;

    }

    .phase-description {

        margin-left: 0;

    }

    .phase-header {

        flex-direction: column;

        align-items: flex-start;

    }

    .phase-number {

        min-width: auto;

    }

}

/* Hero Logo */

.hero-logo {

    max-width: 400px;

    width: 100%;

    height: auto;

    margin: 0 auto 2rem auto;

    display: block;

}



/* ============================================

   HERO LOGO & CASTLE SECTION

   ============================================ */



/* Hero Logo - FORZADO */

.hero .hero-logo,

.hero-content .hero-logo,

.hero-text .hero-logo,

img.hero-logo {

    max-width: 400px !important;

    width: 100% !important;

    height: auto !important;

    margin: 0 auto 2rem auto !important;

    display: block !important;

    opacity: 1 !important;

    visibility: visible !important;

    position: relative !important;

    z-index: 10 !important;

}



/* Castle Section */

.castle-section {

    padding: 6rem 0;

    background: #FFFFFF;

}



.castle-content {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3rem;

}



.castle-image-wrapper {

    width: 100%;

    max-width: 800px;

    margin: 0 auto;

}



.castle-image {

    width: 100%;

    height: auto;

    display: block;

    border-radius: 8px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

}



.castle-text {

    text-align: center;

}



/* ============================================

   MALPICA DEFENSA CARDS

   ============================================ */



.defense-cards {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;

    margin-top: 3rem;

}



.defense-card {

    background: #f5f5f5;

    padding: 2rem;

    border-left: 4px solid #000000;

    transition: all 0.3s ease;

}



.defense-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);

}



.defense-card h4 {

    font-family: 'Playfair Display', serif;

    font-size: 1.5rem;

    margin-bottom: 1rem;

    color: #000000;

}



.defense-card p {

    line-height: 1.8;

    color: #333333;

}



/* ============================================

   RESPONSIVE - MOBILE FIRST

   ============================================ */



@media (max-width: 768px) {

    .hero-logo {

        max-width: 250px;

    }

    

    .defense-cards {

        grid-template-columns: 1fr;

    }

    

    .castle-image-wrapper {

        max-width: 100%;

    }

}
/* Malpica Defensa - nuevos bloques */
.service-items-defense {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-item-defense {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.service-item-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
}

.btn-service-cta,
.btn-service-link {
    width: 100%;
}

.btn-service-link {
    text-transform: none;
    letter-spacing: 0.02em;
}

/* Modal formularios */
.service-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 9999;
}

.service-modal-overlay.active {
    display: flex;
}

.service-modal {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.service-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #000000;
    cursor: pointer;
}

.service-modal-intro {
    margin-bottom: 1.5rem;
    color: #666666;
    line-height: 1.7;
}

.service-modal-form {
    display: grid;
    gap: 1rem;
}

.form-group-modal {
    margin-bottom: 0;
}

.form-group-modal label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000000;
}

.form-group-modal input,
.form-group-modal textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.18);
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: 0.3s ease;
}

.form-group-modal input::placeholder,
.form-group-modal textarea::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

.form-group-modal input:focus,
.form-group-modal textarea:focus {
    outline: none;
    border-color: #000000;
    background: #ffffff;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .service-modal {
        padding: 2rem 1.25rem;
    }
}