:root {
    --primary-color: #ff6b35; /* naranja mediterráneo */
    --secondary-color: #f7931e; /* amarillo cálido */
    --accent-color: #e74c3c; /* rojo vibrante */
    --blue-color: #3498db; /* azul mediterráneo */
    --text-color: #2c3e50; /* gris oscuro */
    --background-color: #fdf2e9; /* beige cálido */
    --success-color: #27ae60; /* verde validación */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lato', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden; /* Prevent horizontal scroll on desktop */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e65c2e; /* Darker shade of primary */
    border-color: #e65c2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    font-family: var(--font-primary);
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Header & Navbar */
.header {
    background-color: rgba(253, 242, 233, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand .fa-sun {
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 10px;
    color: var(--text-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: url('../img/hero-background.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 200px 0;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin: 20px 0 30px;
    color: #f0f0f0;
}

.btn-outline-light {
    border-width: 2px;
}

/* Services Section */
.services-section {
    background-color: #fff;
}

.service-card {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease-in-out;
    border-bottom: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.service-icon {
    margin: 0 auto 30px auto;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-icon i {
    color: #fff;
    font-size: 36px;
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    transform: rotate(15deg);
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-content p {
    color: #6c757d;
    margin-bottom: 25px;
}

.service-features {
    text-align: left;
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-item i {
    color: var(--success-color);
    margin-right: 10px;
}

.service-price {
    margin-bottom: 25px;
}

.service-price .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--background-color);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Why Us Section */
.why-us-section {
    background-color: var(--background-color);
}

.why-us-section .img-fluid {
    border: 10px solid #fff;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    margin-top: 40px;
}

.why-us-item .icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
}

.why-us-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.why-us-item p {
    font-size: 1rem;
    color: #6c757d;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #fff;
}

.testimonial-card {
    text-align: center;
    padding: 30px;
    margin: 0 15%;
}

.testimonial-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 6px solid var(--background-color);
    margin: 0 auto 15px auto;
    object-fit: cover;
}

.testimonial-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.testimonial-card h4 {
    font-size: 1rem;
    color: #999;
    font-weight: 400;
    margin-bottom: 15px;
}

.testimonial-card .stars {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: #6c757d;
}

.testimonial-card .fa-quote-left, .testimonial-card .fa-quote-right {
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.7;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 20px;
}

/* Stats Section */
.stats-section {
    background: url('../img/stats-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    padding: 100px 0;
    position: relative;
    color: #fff;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stat-item {
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.stat-item .counter {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
}

.stat-item p {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* CTA & Contact Form Section */
.contact-form-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

.cta-text h3 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cta-text p {
    font-family: var(--font-secondary);
    color: #444;
    font-size: 1.1rem;
    margin-top: 15px;
}

.contact-info-cta {
    margin-top: 30px;
}

.contact-info-cta p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-info-cta i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.php-email-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.08);
}

.php-email-form .form-control, .php-email-form .form-select {
    border-radius: 5px;
    border-color: #ddd;
    padding: 12px 15px;
}

.php-email-form .form-control:focus, .php-email-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.php-email-form button[type="submit"] {
    background: var(--primary-color);
    border: 0;
    padding: 12px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
}

.php-email-form button[type="submit"]:hover {
    background: var(--secondary-color);
}

.php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.php-email-form .error-message {
    display: none;
    color: #fff;
    background: #df1529;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #fff;
    background: var(--primary-color);
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

/*--------------------------------------------------------------
# Services Page
--------------------------------------------------------------*/
.hero-servicios {
    width: 100%;
    height: 60vh;
    background: url('../img/hero-servicios-bg.jpg') top center;
    background-size: cover;
    position: relative;
    padding: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-servicios::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-servicios h1 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: #fff;
}

.hero-servicios p {
    font-family: var(--font-secondary);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.services-list {
    padding: 80px 0;
}

.service-card-detailed {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease-in-out;
    border-top: 4px solid #fff;
    border-bottom: 4px solid var(--primary-color);
}

.service-card-detailed:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-card-detailed .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card-detailed h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card-detailed p {
    color: #6c757d;
    margin-bottom: 20px;
}

.service-card-detailed .checklist {
    list-style: none;
    padding-left: 0;
}

.service-card-detailed .checklist li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
    color: #444;
}

.service-card-detailed .checklist li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Tariffs Page
--------------------------------------------------------------*/
.hero-tarifas {
    background-image: url('../img/hero-servicios-bg.jpg'); /* Reusing the same hero image */
}

.pricing {
    padding: 60px 0;
    background-color: var(--background-color);
}

.pricing .pricing-item {
    padding: 40px;
    background: #fff;
    height: 100%;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 5px solid #eee;
    transition: all 0.3s ease-in-out;
}

.pricing .pricing-item:hover, .pricing .featured {
    border-bottom-color: var(--primary-color);
    transform: translateY(-5px);
}

.pricing h3 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.pricing .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing .price span {
    font-size: 1rem;
    font-weight: 400;
    color: #999;
}

.pricing ul {
    padding: 0;
    list-style: none;
    color: #444;
    text-align: center;
    line-height: 20px;
    font-size: 1rem;
}

.pricing ul li {
    padding-bottom: 15px;
}

.pricing ul .na {
    color: #ccc;
    text-decoration: line-through;
}

.pricing .buy-btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    color: var(--primary-color);
    transition: none;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-primary);
    transition: 0.3s;
    border: 2px solid var(--primary-color);
    background: #fff;
    margin-top: 20px;
}

.pricing .buy-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.calculator-section {
    padding: 80px 0;
}

.price-calculator {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.calculator-form .form-label {
    font-weight: 600;
    margin-bottom: 10px;
}

.calculator-form .form-range::-webkit-slider-thumb {
    background: var(--primary-color);
}

.calculator-form .form-range::-moz-range-thumb {
    background: var(--primary-color);
}

.calculator-form .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.price-display {
    margin-top: 30px;
    padding: 30px;
    background-color: var(--background-color);
    border-radius: 10px;
    text-align: center;
}

.price-display h4 {
    font-weight: 400;
    color: #555;
}

.price-display #calculated-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    background-color: #333;
    color: #fff;
    padding: 70px 0 30px;
    position: relative;
    font-family: var(--font-secondary);
}

.footer h4 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.footer h4::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    padding: 8px 0;
}

.footer ul li:first-child {
    padding-top: 0;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
    display: inline-block;
    line-height: 1.5;
    text-decoration: none;
}

.footer ul a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer .social-links {
    margin-top: 20px;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    color: #fff;
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/
.hero-contacto {
    background-image: url('../img/hero-contacto-bg.jpg');
}

.contact {
    padding: 80px 0;
}

.info-item {
    background: #fff;
    padding: 30px;
    height: 100%;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.info-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    background: var(--background-color);
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact .php-email-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.business-hours {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.hours-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.hours-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.hours-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 700;
}

.hours-item p {
    color: #444;
    font-size: 1.1rem;
    margin: 0;
}

/*--------------------------------------------------------------
# About Us Page
--------------------------------------------------------------*/
.hero-nosotros {
    background-image: url('../img/hero-nosotros-bg.jpg');
}

.about {
    padding: 80px 0;
}

.about-img {
    margin-bottom: 30px;
}

.vision-mission {
    padding: 80px 0;
}

.vision-card, .mission-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
}

.vision-card .icon, .mission-card .icon {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--primary-color);
    background: var(--background-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-card h3, .mission-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.values {
    padding: 80px 0;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.value-card .icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.team {
    padding: 80px 0;
}

.member {
    text-align: center;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

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

.member .member-info {
    padding: 25px 15px;
}

.member h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 18px;
    color: var(--text-color);
}

.member span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #aaa;
    margin-bottom: 15px;
}

.member p {
    font-style: italic;
    font-size: 14px;
    line-height: 26px;
    color: #777;
}

.certifications {
    padding: 80px 0;
}

.certification-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.certification-card .icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.certification-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

/*--------------------------------------------------------------
# Reservas Page
--------------------------------------------------------------*/
.hero-reservas {
    background-image: url('../img/hero-reservas-bg.jpg');
}

.booking {
    padding: 80px 0;
}

.process-card {
    text-align: center;
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.process-card .icon {
    position: relative;
    margin-bottom: 25px;
}

.process-card .icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.process-card .icon .number {
    position: absolute;
    top: -10px;
    right: 35%;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
}

.booking-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.booking-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.faq {
    padding: 80px 0;
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.accordion-button {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    background-color: #fff;
    padding: 20px 25px;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #ddd;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff6b35'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 25px;
    font-family: var(--font-secondary);
    color: #555;
    background: #fff;
}

/* Contact map */
.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    height: 100%;
}