/* CSS Variables for colors, fonts, spacing */
:root {
    --primary-color: #F15A24;   /* Maravillas Orange */
    --secondary-color: #0054A6; /* Maravillas Blue */
    --accent-color: #FFC220;    /* Maravillas Yellow */
    --bg-color: #F8F9FA;
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
    
    /* Maravillas stripes pattern */
    --striped-bg: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.1) 10px,
      rgba(0, 0, 0, 0.1) 10px,
      rgba(0, 0, 0, 0.1) 20px
    );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Adding fallback background for broken image links */
    background-color: #e0e0e0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Base App Layout */
#app {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ================= HEADER ================= */
#main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-color);
    background-image: var(--striped-bg);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--white);
    margin-right: 15px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

.btn-top {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.btn-top:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.main-nav {
    padding: 15px 0;
    position: relative;
    /* Red jagged shape effect typically seen on their site */
    border-bottom: 5px solid var(--primary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: var(--secondary-color);
    line-height: 1;
    font-size: 2rem;
    margin: 0;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* Dropdown styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    top: 100%;
    left: 0;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-color) !important;
    padding: 12px 16px !important;
    text-decoration: none;
    display: block;
    font-size: 1rem !important;
    text-transform: none !important;
    font-family: var(--font-body) !important;
}

.dropdown-content a::after {
    display: none !important;
}

.dropdown-content a:hover {
    background-color: var(--bg-color);
    color: var(--primary-color) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* ================= FOOTER ================= */
.site-footer {
    background-color: var(--secondary-color);
    background-image: var(--striped-bg);
    color: var(--white);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: #ccc;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links li,
.horario-list li,
.contact-info li {
    margin-bottom: 15px;
    color: #ccc;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.horario-list span {
    color: var(--white);
    font-weight: 700;
    display: block;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-info a {
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.legal-links a {
    color: #aaa;
    margin: 0 10px;
}

.legal-links a:hover {
    color: var(--white);
}

/* ================= INICIO VIEW ================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    max-width: 600px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-subtitle {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.text-center {
    text-align: center;
}

.title-divider {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px 0 25px;
}

.title-divider.center {
    margin: 15px auto 35px;
}

.welcome-section {
    padding: 60px 0;
    background-color: var(--white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.welcome-text h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    text-transform: uppercase;
}

.welcome-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.welcome-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.welcome-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.welcome-images img:hover {
    transform: scale(1.05);
}

.features-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.features-section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
}

/* ================= COMERCIOS VIEW ================= */
.page-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    margin-bottom: 40px;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.search-section {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    text-align: center;
}

.search-question {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.search-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.btn-category {
    background-color: var(--bg-color);
    border: 2px solid #ddd;
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-category:hover,
.btn-category.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(230,57,70,0.2);
}

.search-bar i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

.search-bar .fa-times {
    position: absolute;
    left: auto;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    color: #999;
}

.comercios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.comercio-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.comercio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.comercio-header {
    position: relative;
    height: 200px;
}

.comercio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comercio-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.comercio-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.comercio-title {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.comercio-horario {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.comercio-horario i {
    color: var(--primary-color);
    margin-right: 5px;
}

.comercio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background-color: #f0f0f0;
    color: #666;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    text-transform: capitalize;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.comercio-badge:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.oferta-comercio:hover {
    color: var(--secondary-color) !important;
}

.btn-toggle-details {
    margin-top: auto;
    background: none;
    border: none;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    text-align: left;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
}

.btn-toggle-details i {
    transition: transform 0.3s ease;
}

.comercio-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.comercio-details.show {
    max-height: 350px; /* Increased to accommodate extra content */
}

.comercio-details.show + .btn-toggle-details i {
    transform: rotate(180deg);
}

.details-actions {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

.comercio-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.comercio-socials a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.comercio-socials a:hover {
    color: var(--primary-color);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background-color: var(--white);
    border-radius: 8px;
    color: var(--text-light);
}

/* ================= MAPA VIEW ================= */
.map-container {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.map-bg {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
}

.map-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through if needed, or target specific elements */
}

.pin {
    cursor: pointer;
    pointer-events: auto;
}

.animated-path {
    stroke-dashoffset: 1000;
    animation: dash 3s linear forwards;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        fill: rgba(255, 194, 32, 0.5);
        stroke: rgba(255, 194, 32, 0.5);
        stroke-width: 5;
    }
    
    50% {
        fill: rgba(255, 194, 32, 0.8);
        stroke: rgba(255, 194, 32, 1);
        stroke-width: 15;
    }
    
    100% {
        fill: rgba(255, 194, 32, 0.5);
        stroke: rgba(255, 194, 32, 0);
        stroke-width: 20;
    }
}

.map-pins text, .map-pins circle, .map-pins rect {
    pointer-events: auto;
}

.map-controls {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.map-controls h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.route-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.form-select {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
    min-width: 250px;
}

.route-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ================= OFERTAS VIEW ================= */
.ofertas-container {
    margin-bottom: 60px;
}

.ofertas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.oferta-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.oferta-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(230,57,70,0.15);
}

.oferta-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transform: rotate(15deg);
}

.oferta-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.oferta-body {
    padding: 20px;
}

.oferta-body h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.oferta-comercio {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.oferta-comercio i {
    color: var(--accent-color);
    margin-right: 5px;
}

.oferta-precios {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

.precio-old {
    color: #999;
    text-decoration: line-through;
    font-size: 1.1rem;
}

.precio-new {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    font-family: var(--font-heading);
}

.oferta-validez {
    color: #d9534f;
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.oferta-validez i {
    margin-right: 5px;
}

.promo-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a4d7d 100%);
    border-radius: 10px;
    padding: 40px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.promo-content {
    max-width: 600px;
    margin: 0 auto;
}

.promo-content h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.promo-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* ================= NOVEDADES VIEW ================= */
.novedades-container {
    margin-bottom: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-card:hover .read-more {
    color: var(--primary-color);
}

.blog-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-category {
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: max-content;
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.blog-category:hover {
    background-color: var(--secondary-color);
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--accent-color);
}

.blog-title {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-page {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 5px;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
}

.btn-page:hover,
.btn-page.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ================= CONTACTO VIEW ================= */
.contacto-container {
    margin-bottom: 60px;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contacto-info-card,
.contacto-form-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contacto-info-card h3,
.contacto-form-card h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.info-item h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
}

.info-item small {
    display: block;
    color: #999;
    font-size: 0.8rem;
    margin-top: 5px;
}

.interactive-link {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.interactive-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.whatsapp-card {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.whatsapp-card h4 {
    color: #166534;
    margin-bottom: 10px;
}

.whatsapp-card p {
    color: #15803d;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.lg-btn {
    font-size: 1.1rem;
    padding: 12px 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(230,57,70,0.2);
}

textarea.form-control {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
}

.google-map-wrapper {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.google-map-wrapper h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

/* ================= MODAL / POPUP ================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--white);
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-close:hover {
    background: var(--secondary-color);
}

/* ================= SLIDER ================= */
.hero-slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-images {
        grid-template-columns: 1fr 1fr;
    }
    
    .welcome-images img {
        height: 150px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        text-align: center;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
    }
}