/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #484848;
    background-color: #fff;
}

.mt-2{
    margin-top:10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo-img {
    height: 32px;
    width: auto;
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav .nav-link {
    text-decoration: none;
    color: #484848;
    transition: color 0.3s;
}

.desktop-nav .nav-link:hover {
    color: #174b96;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-link {
    color: #767676;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: #0d367f;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 18px;
    color: #484848;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 16px 20px;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav .nav-link {
    text-decoration: none;
    color: #484848;
    padding: 8px 0;
    transition: color 0.3s;
}

.mobile-nav .nav-link:hover {
    color: #0d367f;
}

/* Hero Section */
.hero {
    margin-top: 64px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.story-section {
    padding: 64px 20px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.story-text {
    font-size: 1.125rem;
    line-height: 1.7;
}

.story-conclusion {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.7;
}

.welcome-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: #174b96;
    margin-bottom: 30px;
    text-align:center;
}

a{
    color: #174b96;
}

a:hover {
    color: #0d367f;
    
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: #174b96;
    color: white;
}

.btn-primary:hover {
    background-color: #0d367f;
    color: white;
}

.btn-secondary {
    background-color: white;
    color: #484848;
}

.btn-secondary:hover {
    background-color: #f7f7f7;
}

.btn-outline {
    background-color: transparent;
    color: #174b96;
    border-color: #174b96;
}

.btn-outline:hover {
    background-color: #0d367f;
    color: white;
}

.btn-full {
    width: 100%;
    margin-top: 12px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #22c55e;
    color:white;
}

.btn-email {
    background-color: #174b96;
    color: white;
}

.btn-email:hover {
    background-color: #174b96;
    color:white;
}

.btn-phone {
    background-color: #174b96;
    color: white;
}

.btn-phone:hover {
    background-color: #0d367f;
    color:white;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: #767676;
}

/* Installations */
.installations {
    padding: 64px 0;
    background-color: #f7f7f7;
}

.property-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.property-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}

.property-content {
    padding: 32px;
}

.property-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.property-content p {
    color: #767676;
    margin-bottom: 24px;
    line-height: 1.6;
}

.property-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature i {
    color: #174b96;
    width: 16px;
}

/* Gallery */
.gallery {
    padding: 64px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s;
}

.gallery-item:hover img {
    filter: brightness(0.9);
}

.main-item {
    grid-row: span 2;
}

.show-more {
    position: relative;
}

.show-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

/* Location */
.location {
    padding: 64px 0;
    background-color: #f7f7f7;
}

.location-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.location-content {
    padding: 32px;
}

.location-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.location-content p {
    color: #767676;
    margin-bottom: 24px;
    line-height: 1.6;
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}

/* Rates */
.rates {
    padding: 64px 0;
}

.rates-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.rates-header {
    text-align: center;
    margin-bottom: 32px;
}

.rates-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.rates-header p {
    color: #767676;
}

.rates-list {
    margin-bottom: 32px;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

.rate-item:last-child {
    border-bottom: none;
}

.rate-season {
    font-weight: 600;
}

.rate-price {
    color: #174b96;
    font-weight: bold;
}

/* Contact */
.contact {
    padding: 64px 0;
    background-color: #f7f7f7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.whatsapp-icon {
    background-color: #dcfce7;
    color: #16a34a;
}

.email-icon {
    background-color: #dbeafe;
    color: #0d367f;
}

.phone-icon {
    background-color: #dbeafe;
    color: #0d367f;
}

.contact-card h3 {
    font-weight: bold;
    margin-bottom: 8px;
}

.contact-card p {
    color: #767676;
    margin-bottom: 16px;
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 32px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    height: 48px;
    margin-bottom: 16px;
}

.footer-content p {
    color: #767676;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.social-links .social-link {
    font-size: 20px;
}

.copyright {
    font-size: 14px;
    color: #767676;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s;
}

.whatsapp-float:hover {
    background-color: #22c55e;
    color:white;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    padding: 2px;
    border-radius: 50%;
    background: white;
    width: 30px;
    height: 30px;
    margin: 10px;
}

.modal-close:hover {
    color: #484848;
}

/* Gallery Modal */
.gallery-modal-content {
    background: black;
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

.gallery-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 80px;
}

.gallery-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 16px;
    width: 40px;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
    height: 40px;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-nav.prev {
    left: 24px;
}

.gallery-nav.next {
    right: 24px;
}

.gallery-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
}

/* Services Modal */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 24px;
}

.service-category h3 {
    font-size: 1.125rem;
    font-weight: bold;
    color: #174b96;
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.service-list i {
    color: #174b96;
    width: 16px;
}

/* Contact Modal */
.contact-modal-content {
    max-width: 500px;
}

.quick-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.form-divider {
    text-align: center;
    padding: 16px;
    color: #767676;
    border-bottom: 1px solid #e0e0e0;
}

.contact-form {
    padding: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #484848;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #174b96;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-nav.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .property-image img {
        min-height: 250px;
    }
    
    .property-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
        height: auto;
    }
    
    .main-item {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .gallery-image-container {
        padding: 40px 20px;
    }
}



.rates { padding: 64px 0; }

.rates-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  padding: 32px;
  max-width: 570px;
  margin: 0 auto;
}

.rates-header { text-align: center; margin-bottom: 24px; }
.rates-header h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.rates-header p { color: #767676; }

.rates-list { display: grid; gap: 24px; margin-bottom: 24px; }

/* Grupo (mes/temporada) */
.rate-group { padding: 16px 0; border-top: 1px solid #ececec; }
.rate-group:first-child { border-top: 0; }

.rate-group-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Badge “Promo” */
.rate-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #ffefd9;
  color: #b55600;
  border: 1px solid #ffd8a7;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Nota dentro del grupo (texto libre tipo fin de semana) */
.rate-note {
  background: #f7f7f7;
  border-left: 3px solid #174b96;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 8px 0 12px;
  color: #444;
}

/* Ítems de tarifa */
.rate-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #e5e5e5;
}
.rate-item:last-child { border-bottom: none; }

.rate-price {
  font-weight: 800;
  color: #174b96;
  white-space: nowrap;
}
.rate-desc { color: #333; }

/* Pie de aclaraciones */
.rates-footnote {
  padding-top: 8px;
  border-top: 1px solid #ececec;
  color: #6f6f6f;
  font-size: .9rem;
}

/* Responsive */
@media (max-width: 520px) {
  .rates-card { padding: 24px; }
  .rate-item { grid-template-columns: 1fr; }
  .rate-price { font-size: 1.05rem; }
}