/* Color Palette Variables */
:root {
    /* Main Color Palette */
    --cream: #f1ddbc;
    --yellow: #e19d1f;
    --dark-brown: #533003;
    --brown: #88510f;
    
    /* Extended Palette for Better UX */
    --cream-light: #f8f0e0;
    --cream-dark: #e8d0a8;
    --yellow-light: #f2b847;
    --yellow-dark: #c8891b;
    --brown-light: #a66313;
    --brown-medium: #7a4d0e;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #fefefe;
    --light-gray: #f5f5f5;
    --gray: #666666;
    --dark-gray: #333333;
    --black: #1a1a1a;
    
    /* Status Colors */
    --success: #2d5a27;
    --warning: #e19d1f;
    --error: #8b2635;
    --info: #2c5282;
    
    /* Shadow and Border Colors */
    --shadow-light: rgba(83, 48, 3, 0.1);
    --shadow-medium: rgba(83, 48, 3, 0.15);
    --shadow-dark: rgba(83, 48, 3, 0.25);
    --border-light: rgba(83, 48, 3, 0.15);
    --border-medium: rgba(83, 48, 3, 0.25);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark-brown);
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: var(--dark-brown);
}

h2 {
    font-size: 2.5rem;
    color: var(--dark-brown);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--dark-brown);
}

h6.section-subtitle {
    font-size: 0.875rem;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--yellow);
    color: var(--dark-brown);
    font-weight: 600;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.btn-primary:hover {
    background-color: var(--yellow-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 15px var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--cream);
}

.navbar {
    padding: 0.75rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-brand .logo img {
    height: 130px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand .logo img:hover {
    transform: scale(1.05);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-nav a {
    text-decoration: none;
    color: var(--brown);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: var(--yellow);
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brown-light);
    font-size: 0.9rem;
}

.phone-btn {
    background-color: var(--success);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.phone-btn:hover {
    background-color: #245022;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.schedule-btn {
    background-color: var(--yellow);
    color: var(--dark-brown) !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--shadow-light);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.schedule-btn:hover {
    background-color: var(--yellow-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.schedule-btn svg {
    transition: transform 0.3s ease;
}

.schedule-btn:hover svg {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--brown) 0%, var(--dark-brown) 50%, var(--brown-medium) 100%);
    color: var(--cream-light);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(241, 221, 188, 0.05);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: var(--cream-light);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--cream);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-note {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
    color: var(--cream);
}

/* Sections */
section {
    padding: 80px 0;
}

.what-we-do {
    background: linear-gradient(to bottom, var(--cream-light) 0%, var(--cream) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark-brown);
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--cream-dark);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow-medium);
    color: var(--dark-brown);
    text-decoration: none;
    border-color: var(--yellow);
}

.service-item .service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background: linear-gradient(135deg, var(--yellow-light) 0%, var(--yellow) 100%);
    transform: scale(1.1);
}

.service-item .service-icon svg {
    color: var(--brown);
    transition: color 0.3s ease;
}

.service-item:hover .service-icon svg {
    color: var(--dark-brown);
}

.service-item span {
    font-weight: 600;
    text-align: center;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon img {
    width: 60px;
    height: 60px;
}

.feature-icon svg {
    width: 60px;
    height: 60px;
    color: var(--brown);
    transition: color 0.3s ease;
}

.feature-item:hover .feature-icon svg {
    color: var(--dark-brown);
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

.feature-item p {
    color: var(--brown);
    line-height: 1.6;
}

.feature-images {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
}

.feature-img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 6px 25px var(--shadow-light);
    border: 3px solid var(--cream);
}

/* Reviews Section */
.reviews {
    background: linear-gradient(to bottom, var(--cream-light) 0%, var(--cream) 100%);
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.review-item {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 6px 30px var(--shadow-light);
    text-align: center;
    border: 2px solid var(--cream-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-medium);
}

.review-rating img {
    width: 120px;
    margin-bottom: 1.5rem;
}

.review-quote {
    margin: 2rem 0;
}

.review-quote img {
    width: 30px;
    margin-bottom: 1rem;
}

.review-quote blockquote {
    font-style: italic;
    color: var(--brown);
    line-height: 1.6;
    font-size: 1.1rem;
}

.review-author strong {
    display: block;
    color: var(--dark-brown);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: var(--brown-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.faq-question img {
    width: 20px;
    transition: transform 0.3s ease;
}

.faq-question:hover {
    color: #ff6b35;
}

.faq-answer {
    padding: 0 0 1.5rem 3rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    color: var(--brown);
    line-height: 1.6;
    font-size: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 50%, var(--brown) 100%);
    color: var(--dark-brown);
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(241, 221, 188, 0.1);
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--dark-brown);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.cta .section-subtitle {
    color: var(--brown);
    margin-bottom: 2rem;
}

.cta .btn {
    background-color: var(--white);
    color: var(--dark-brown);
    font-size: 1.1rem;
    padding: 15px 30px;
    border: 2px solid var(--dark-brown);
    font-weight: 600;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.cta .btn:hover {
    background-color: var(--dark-brown);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--cream-light) 0%, var(--white) 100%);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.location-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.location-item:hover {
    transform: translateX(5px);
    color: var(--brown);
}

.location-pin {
    font-size: 1.2rem;
    color: var(--yellow);
    min-width: 20px;
}

.location-item span:last-child {
    font-weight: 500;
    color: var(--dark-brown);
}

.location-item.special {
    font-weight: 600;
    color: var(--brown);
}

.location-item.special .location-pin {
    color: var(--brown);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--brown-medium) 100%);
    color: var(--cream-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 120px;
}

.footer-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.contact-item h4 {
    color: var(--yellow);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item a {
    color: var(--cream-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid var(--brown);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a img {
    width: 30px;
    height: 30px;
}

/* Floating Buttons */
.floating-call,
.floating-book {
    position: fixed;
    bottom: 20px;
    z-index: 999;
}

.floating-call {
    right: 20px;
}

.floating-book {
    right: 80px;
}

.floating-call-btn,
.floating-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp green */
    border-radius: 50%;
    box-shadow: 0 6px 20px var(--shadow-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--white);
    text-decoration: none;
}

.floating-book-btn {
    background-color: var(--yellow);
}

.floating-call-btn:hover,
.floating-book-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px var(--shadow-dark);
}

.floating-call-btn:hover {
    background-color: #128C7E; /* Darker WhatsApp green on hover */
}

.floating-call-btn img,
.floating-book-btn img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.floating-call-btn svg,
.floating-book-btn svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .navbar-nav {
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .navbar-brand {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .location {
        order: 2;
        align-self: flex-start;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
        text-align: right;
    }
    
    .schedule-btn {
        justify-content: flex-end;
        order: 1;
    }
    
    .phone-btn {
        justify-content: flex-end;
        order: 2;
    }
    
    .hero {
        padding: 100px 0 60px;
        margin-top: 120px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-images {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-img {
        width: 100%;
        max-width: 400px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-contact {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .floating-book {
        right: 20px;
        bottom: 90px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        position: relative;
        margin-bottom: 0;
    }
    
    .hero {
        margin-top: 0;
        padding: 80px 0 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .service-item {
        padding: 1rem;
    }
    
    .service-item .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-icon img {
        width: 50px;
        height: 50px;
    }
    
    .review-item {
        padding: 2rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem 0;
    }
    
    .faq-answer {
        padding: 0 0 1rem 2rem;
    }
    
    .floating-call-btn,
    .floating-book-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-call-btn img,
    .floating-book-btn img {
        width: 25px;
        height: 25px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .location-item {
        padding: 10px 0;
    }
    
    .location-section {
        padding: 60px 0;
    }
}

/* Estilos para la imagen de oferta en el título */
.highlight img {
    height: 120px;
    width: auto;
    vertical-align: middle;
    margin-left: 8px;
    margin-right: 4px;
    filter: drop-shadow(2px 2px 4px rgba(83, 48, 3, 0.3));
    position: relative;
    top: -2px;
}

/* Responsive para la imagen de oferta */
@media (max-width: 768px) {
    .highlight img {
        height: 110px;
        margin-left: 6px;
        top: -1px;
    }
}

@media (max-width: 480px) {
    .highlight {
        display: block;
        text-align: center;
        margin: 10px 0;
    }
    
    .highlight img {
        height: 100px;
        margin: 0;
        top: 0;
    }
    
    .cta h2 {
        line-height: 1.4;
        text-align: center;
    }
}