/* Service Detail Pages */
:root {
    --primary: #0891b2;
    --primary-light: #22d3ee;
    --primary-dark: #0e7490;
    --primary-gradient: linear-gradient(135deg, #0891b2 0%, #22d3ee 50%, #06b6d4 100%);
    --secondary: #164e63;
    --accent: #f0fdfa;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --purple: #4a1a8a;
    --purple-light: #6b3fa0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Top Bar */
.top-bar {
    background: var(--secondary);
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}

.top-bar a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-bar svg {
    width: 14px;
    height: 14px;
    fill: var(--primary-light);
}

/* Header */
header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span:first-child {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

.logo-text span:last-child {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary-gradient);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Hero Service Section */
.service-hero {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.service-hero-inner {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.service-hero-img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-img svg {
    width: 120px;
    height: 120px;
    opacity: 0.3;
}

.service-hero-content {
    padding: 3rem;
}

.service-hero-content h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-hero-content p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 1.5rem;
}

.btn-cita {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-cita:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-cita svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Info Sections */
.info-section {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.info-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.info-card.reversed {
    direction: rtl;
}

.info-card.reversed > * {
    direction: ltr;
}

.info-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-img svg {
    width: 100px;
    height: 100px;
    opacity: 0.25;
}

.info-content {
    padding: 2.5rem;
}

.info-content h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.info-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-content ul li {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify;
}

.info-content ul li strong {
    color: var(--gray-800);
}

/* Back Button */
.back-link {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding: 0 2rem;
    display: block;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.back-link a:hover {
    color: var(--secondary);
}

.back-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-simple {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-simple p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.footer-simple a {
    color: var(--primary-light);
    text-decoration: none;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
}

/* Responsive */
@media (max-width: 768px) {
    .service-hero-inner,
    .info-card {
        grid-template-columns: 1fr;
    }

    .info-card.reversed {
        direction: ltr;
    }

    .service-hero-img,
    .info-img {
        min-height: 220px;
    }

    .service-hero-content {
        padding: 2rem;
    }

    .service-hero-content h1 {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 1rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .top-bar {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem 1rem;
    }
}
