/*
Theme Name: KRIOTHERMAL
Description: Tema personalizado para KRIOTHERMAL - Tecnología avanzada en crioterapia y tratamientos térmicos. Optimizado para SEO y rendimiento.
Version: 1.0.0
Author: KRIOTHERMAL Team
Text Domain: kriothermal
Domain Path: /languages
Tags: landing-page, medical, health, cryotherapy, responsive, seo-optimized
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section .container {
    width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1.6rem;
}

.btn-primary {
    background: #3B53A6;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 83, 166, 0.3);
}

.btn-primary:hover {
    background: #29296A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 83, 166, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00D4FF;
    border: 2px solid #00D4FF;
}

.btn-secondary:hover {
    background: #00D4FF;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #3B53A6;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 0;
    min-height: 60px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Logo / Brand */
.nav-brand {
    flex-shrink: 0;
    padding: 0 1rem 0 1.5rem;
    display: flex;
    align-items: center;
}

.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-link img,
.brand-image {
    max-height: 45px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-icon {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    font-style: italic;
}

.brand-icon-accent {
    color: #fff;
    opacity: 0.75;
}

.brand-name {
    font-size: 0.55rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Nav center (links) */
.nav-center {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-center .main-navigation {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-navigation ul.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 1rem 1.5rem;
    display: block;
    transition: background-color 0.3s ease;
}

.main-navigation a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-right {
    display: flex;
    align-items: stretch;
    margin-left: auto;
}

.phone-number {
    background: #29296A;
    color: white;
    padding: 0 5.5rem;
    border-radius: 50px 0 0 16px;
    font-weight: 600;
    font-size: 1.9rem;
    display: flex;
    align-items: center;
    min-width: 300px;
    justify-content: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 1rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero-section {
    padding: 100px 0 80px;
    background: #f5f5f5;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    color: #1a1a1a;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    color: #666;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
    order: 2;
}

.hero-text {
    order: 1;
}

.hero-img {
    max-width: 110%;
    height: auto;
    border-radius: 10px;
}

/* Section Divider / Cintillo */
.section-divider {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

/* Section Styles */
.content-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
}

.section-subtitle {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.divider-image-container {
    width: 100%;
    display: block;
    line-height: 0;
}

.divider-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Quienes Somos Section */
.quienes-somos-section {
    background: #fff;
}

.quienes-somos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quienes-somos-text .section-title {
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 2rem;
    text-align: left;
}

.quienes-somos-description {
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.quienes-somos-image {
    text-align: center;
}

.quienes-somos-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00D4FF, #0099CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* New Services Section Styles */
.services-header {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.services-title {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: bold;
    margin: 0;
    margin-right: 30px;
    white-space: nowrap;
}

.services-title-decoration {
    position: relative;
    flex: 1;
    height: 55px;
    margin-left: 30px;
}

.decoration-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3B53A6;
    border-radius: 30px 30px 30px 0;
}

.decoration-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-color: #29296A;
    border-radius: 30px 30px 30px 0;
}

.services-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid-new .service-card {
    background: #29296A;
    padding: 0;
    border-radius: 0;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.services-grid-new .service-card.card-1 {
    border-top-left-radius: 20px;
}

.services-grid-new .service-card.card-2 {
    border-top-right-radius: 20px;
}

.services-grid-new .service-card.card-3 {
    border-top-left-radius: 20px;
}

.services-grid-new .service-card.card-4 {
    border-top-right-radius: 20px;
}

.services-grid-new .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-image-placeholder {
    width: 100%;
    height: 200px;
    background: #fff;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.card-title-section {
    background: #fff;
    padding: 15px 20px;
    margin: 0;
}

.card-title {
    color: #29296A;
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
}

.card-description {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
}

.card-description p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.ver-mas-btn {
    background: transparent;
    border: 2px solid #3B53A6;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: auto;
    font-size: 1.2rem;
}

.ver-mas-btn:hover {
    background: #fff;
    color: #29296A;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h3 {
    color: #29296A;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.modal-content p {
    line-height: 1.6;
    color: #333;
}

/* Products Section Styles */
.products-section {
    background: #fff;
    padding: 0;
    overflow: hidden;
    width: 100%;
}

.products-section .container {
    max-width: 100%;
    padding: 0;
}

.products-title-bar {
    background: #3B53A6;
    padding: 20px 0;
    margin-bottom: 0;
    width: 100%;
}

.products-main-title {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    font-style: italic;
    margin: 0;
    letter-spacing: 1px;
}

.products-content {
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 60px;
    gap: 50px;
    width: 100%;
}

.gelpack-item {
    background: #29296A;
    min-height: 500px;
    z-index: 1;
    position: relative;
}

.fundas-item {
    background: #3B53A6;
    border-top-left-radius: 90px;
    position: relative;
    z-index: 2;
    margin-top: -40px;
    padding-bottom: 70px;
    padding-left: 10%;
    padding-right: 10%;
}

.product-text {
    flex: 0 1 400px;
    color: #fff;
    padding-right: 0;
}

.fundas-item .product-text {
    padding-left: 0;
    order: 1;
}

.product-title {
    font-size: 5.2rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 0.5px;
}

.product-description {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #fff;
    text-align: justify;
}

.cotizacion-btn {
    background: #3B53A6;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.95rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.cotizacion-btn:hover {
    background: #29296A;
    transform: translateY(-2px);
}

.fundas-item .cotizacion-btn {
    background: #29296A;
}

.fundas-item .cotizacion-btn:hover {
    background: #1e1e50;
}

.product-image {
    flex: 0 1 600px;
    min-height: 380px;
    background: #fff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fundas-item .product-image {
    order: 0;
}

.product-img {
    width: 100%;
    object-fit: contain;
}

/* Responsive Design for Products Section */
@media (max-width: 768px) {
    .products-main-title {
        font-size: 2rem;
    }

    .product-item {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        min-height: auto;
    }

    .gelpack-item {
        min-height: auto;
    }

    .fundas-item {
        margin-top: 0;
        padding-top: 40px;
    }

    .product-text {
        padding-right: 0;
        margin-bottom: 30px;
        order: 2;
    }

    .fundas-item .product-text {
        padding-left: 0;
        order: 2;
    }

    .product-image {
        width: 100%;
        min-height: 200px;
        order: 1;
        margin-bottom: 20px;
    }

    .product-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .product-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .fundas-item {
        border-top-left-radius: 30px;
    }
}

@media (max-width: 480px) {
    .products-main-title {
        font-size: 1.6rem;
        padding: 0 20px;
    }

    .product-item {
        padding: 30px 15px;
    }

    .product-image {
        width: 200px;
        height: 150px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .cotizacion-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Industry Section Styles */
.industry-section {
    background: #fff;
    padding: 80px 0;
}

.industry-cards {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 900px;
    margin: 0 auto;
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 0;
    border-radius: 20px;
    background-color: #f5f5f5;
    /* Placeholder bg if image is missing */
}

.industry-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.image-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #3B53A6;
    padding: 15px 40px;
    border-radius: 30px;
    width: auto;
    min-width: 50%;
    text-align: center;
}

.overlay-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    margin: 0;
    text-align: center;
    letter-spacing: 1px;
}

.card-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #a0a0a0;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    width: 92%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-text {
    color: #333;
    line-height: 1.6;
    font-size: 1.5rem;
    text-align: justify;
}

.cotizacion-btn-industry {
    background: #3B53A6;
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.cotizacion-btn-industry:hover {
    background: #29296A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 41, 106, 0.3);
}

/* Responsive Design for Industry Section */
@media (max-width: 768px) {
    .industry-section {
        padding: 60px 0;
    }

    .industry-cards {
        gap: 60px;
        padding: 0 20px;
    }

    .card-image-container {
        height: 300px;
    }

    .image-title-overlay {
        padding: 12px 30px;
        width: 80%;
    }

    .overlay-title {
        font-size: 1.2rem;
    }

    .card-content {
        padding: 30px 25px;
        margin-top: -20px;
        width: 95%;
    }

    .card-text {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .cotizacion-btn-industry {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .industry-cards {
        gap: 50px;
        padding: 0 15px;
    }

    .card-image-container {
        height: 200px;
    }

    .image-title-overlay {
        padding: 10px 20px;
        width: 95%;
    }

    .overlay-title {
        font-size: 1rem;
    }

    .card-content {
        padding: 25px 20px;
        margin-top: -15px;
        width: 100%;
        border-radius: 15px;
    }

    .card-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .cotizacion-btn-industry {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Contact Footer Section Styles */
.contact-footer-section {
    background: #29296A;
    margin: 0;
    padding: 0;
}

.contact-pattern-header {
    background: #3B53A6;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 1px;
    overflow: hidden;
}

.pattern-item {
    white-space: nowrap;
}

.pattern-arrow {
    font-size: 1.2rem;
    font-weight: bold;
}

.contact-main-content {
    padding: 40px 0 50px 0;
    min-height: 400px;
    display: block !important;
    visibility: visible !important;
}

.contact-title {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-style: italic;
}

.contact-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container {
    flex: 1;
    display: block !important;
    visibility: visible !important;
}

.contact-form-new {
    background: transparent;
    display: block !important;
    visibility: visible !important;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    visibility: visible !important;
}

.form-group {
    display: block !important;
    visibility: visible !important;
}

.form-group.half-width {
    flex: 1;
    margin-bottom: 0;
}

.contact-form-new label {
    display: block;
    color: #fff;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.contact-form-new input[type="text"],
.contact-form-new input[type="email"],
.contact-form-new select,
.contact-form-new textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: #f5f5f5;
    color: #333;
    box-sizing: border-box;
}

.contact-form-new input[type="text"]:focus,
.contact-form-new input[type="email"]:focus,
.contact-form-new select:focus,
.contact-form-new textarea:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.contact-form-new textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    display: block !important;
    visibility: visible !important;
}

.submit-btn:hover {
    background: #fff;
    color: #29296A;
    transform: translateY(-2px);
}

.contact-image-container {
    width: 300px;
    height: 400px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 15px;
}

/* Contact Form 7 Custom Styles */
.contact-footer-section .wpcf7-form {
    background: transparent;
}

.contact-footer-section .wpcf7-form label {
    color: #fff;
    font-weight: bold;
    display: block;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.contact-footer-section .wpcf7-form input[type="text"],
.contact-footer-section .wpcf7-form input[type="email"],
.contact-footer-section .wpcf7-form select,
.contact-footer-section .wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: #f5f5f5;
    color: #333;
    margin-bottom: -10px;
}

.contact-footer-section .wpcf7-form input[type="submit"] {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.contact-footer-section .wpcf7-form input[type="submit"]:hover {
    background: #fff;
    color: #29296A;
    transform: translateY(-2px);
}

/* Responsive Design for Contact Footer */
@media (max-width: 768px) {
    .contact-pattern-header {
        font-size: 0.9rem;
        gap: 15px;
        padding: 12px 0;
    }

    .contact-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .contact-layout {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .contact-main-content {
        padding: 40px 20px 60px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.half-width {
        margin-bottom: 25px;
    }

    .contact-image-container {
        width: 250px;
        height: 300px;
        order: -1;
    }
}

@media (max-width: 480px) {
    .contact-pattern-header {
        font-size: 0.8rem;
        gap: 10px;
        padding: 10px 0;
    }

    .contact-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .contact-main-content {
        padding: 30px 15px 50px 15px;
    }

    .contact-image-container {
        width: 200px;
        height: 250px;
    }

    .submit-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* Contact Form Styles */
.contact-section {
    background: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: #f8fbff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Form 7 Specific Styles */
.wpcf7-form p {
    margin-bottom: 1.5rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #00D4FF;
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 100px;
}

.wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, #00D4FF, #0099CC);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-description {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #00D4FF;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00D4FF;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #ccc;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        position: relative;
        padding: 0 20px;
    }

    .nav-brand {
        display: none;
    }

    /* Section Divider Responsive */
    .section-divider {
        height: 40px;
    }

    .divider-image-container {
        padding: 0;
        height: 100%;
    }

    .divider-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Services Section Responsive */
    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .services-title {
        margin-right: 0;
        white-space: normal;
        font-size: 2rem;
    }

    .services-grid-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid-new .service-card.card-1,
    .services-grid-new .service-card.card-3 {
        border-top-right-radius: 20px;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 20px;
    }

    .nav-left {
        width: 100%;
        order: 2;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
        order: 1;
        padding: 0.5rem 0;
    }

    .main-navigation ul.nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #3B53A6;
        position: absolute;
        top: 100%;
        left: 0;
        gap: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .main-navigation ul.nav-menu.show {
        display: flex;
    }

    .main-navigation a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu-toggle {
        display: flex;
    }

    .phone-number {
        border-radius: 20px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .divider-img {
        height: 30px;
    }

    .divider-logo {
        padding: 0 1rem;
    }

    .hero-content,
    .quienes-somos-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        order: 2;
        text-align: center;
    }

    .hero-image {
        order: 1;
    }

    .quienes-somos-text {
        order: 2;
        text-align: center;
    }

    .quienes-somos-image {
        order: 1;
    }

    .quienes-somos-text .section-title {
        text-align: center;
    }

    .quienes-somos-description {
        text-align: left;
    }

    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 80px 0 40px;
    }

    .content-section {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* WordPress Specific Classes */
.alignleft {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-style: italic;
    text-align: center;
    margin-top: 0.5rem;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/*--------------------------------------------------------------
# Modal Styles (Services Section)
--------------------------------------------------------------*/
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 100000;
}

.modal-content h3 {
    color: #29296A;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-content p {
    color: #444;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
}

/* The Close Button */
.close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}


.close:hover,
.close:focus {
    color: #d94b4b;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-button {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    display: flex;
    /* Centra el icono */
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128c7e;
    /* Un verde más oscuro al pasar el mouse */
    transform: scale(1.1);
    /* Crece un poquito */
}