/* Especialidades Pages Specific Styles - Colorimetría */
:root {
    --primary-color: #b76e79; /* Color principal rosa */
    --secondary-color: #f2e6e8; /* Color secundario rosa claro */
    --accent-color: #946f74; /* Color acento rosa oscuro/malva */
    --dark-primary: #9d5a65; /* Versión más oscura del primario */
    --dark-accent: #7a585d; /* Versión más oscura del acento */
    --light-primary: #c88c95; /* Versión más clara del primario */
    --text-color: #333333;
    --background-color: #f9f7f8;
    --white-color: #ffffff;
    --grey-color: #f0f0f0;
    --border-color: #e0e0e0;
    --shadow-color: rgba(183, 110, 121, 0.1);
    --transition-slow: 0.5s ease;
    --transition-medium: 0.3s ease;
    --transition-fast: 0.2s ease;
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Main Content Padding (to account for fixed header) */
main {
    padding-top: 80px; /* Height of the header */
}

/* Button Styles */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-medium);
    letter-spacing: 0.5px;
}

.btn--block {
    display: block;
    width: 100%;
}

.btn--sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.btn--primary:hover {
    background-color: var(--dark-primary);
    border-color: var(--dark-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(183, 110, 121, 0.3);
}

.btn--secondary {
    background-color: var(--accent-color);
    color: var(--white-color);
    border: 2px solid var(--accent-color);
}

.btn--secondary:hover {
    background-color: var(--dark-accent);
    border-color: var(--dark-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(148, 111, 116, 0.3);
}

.btn--light {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn--light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 255, 255, 0.2);
}

.btn--whatsapp svg {
    color: #25D366;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Page Header - Beauty Version */
.page-header--beauty {
    background-color: var(--primary-color);
    color: var(--white-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-header--beauty::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/heroa.jpg') center/cover no-repeat;
    opacity: 0.08;
    z-index: 1;
}

.page-header--beauty .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header__title {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-body);
    font-size: 14px;
}

.breadcrumbs__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
    color: var(--white-color);
}

.breadcrumbs__separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs__current {
    color: var(--white-color);
}

/* Specialty Hero Section */
.specialty-hero {
    padding: 80px 0;
    background-color: var(--white-color);
}

.specialty-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.specialty-title {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.specialty-hero__intro {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.specialty-hero__content p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
}

.specialty-hero__cta {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.specialty-hero__image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.specialty-hero__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.specialty-hero__badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(148, 111, 116, 0.3);
}

/* What Is Section */
.what-is-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.what-is-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: center;
}

.what-is-intro {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 30px;
}

.what-is-conclusion {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--primary-color);
    margin-top: 30px;
}

.what-is-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.what-is-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Specialty Services Section */
.specialty-services {
    padding: 100px 0;
    background-color: var(--white-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card__icon {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.service-card__title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.service-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card__list li {
    position: relative;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    padding-left: 28px;
    margin-bottom: 15px;
}

.service-card__list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background-color: var(--accent-color);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 15.172l9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 15.172l9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.products-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.products-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.products-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(148, 111, 116, 0.3);
}

/* Feature List */
.feature-list {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-item__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: rgba(183, 110, 121, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.feature-item__content p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.why-choose-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
    height: 80%;
}

.why-choose-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.certification-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(148, 111, 116, 0.3);
}

/* Techniques Section */
.techniques-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.technique-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform var(--transition-medium);
}

.technique-card:hover {
    transform: translateY(-10px);
}

.technique-card__image {
    height: 200px;
    overflow: hidden;
}

.technique-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.technique-card:hover .technique-card__image img {
    transform: scale(1.1);
}

.technique-card__content {
    padding: 25px;
}

.technique-card__content h3 {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.technique-card__content p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--background-color);
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 15px;
    padding: 60px;
    color: var(--white-color);
    box-shadow: 0 20px 40px var(--shadow-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/heroa.jpg') center/cover no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.contact-card__content {
    position: relative;
    z-index: 2;
}

.contact-card__title {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-card__text {
    font-family: var(--font-body);
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-card__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-card__note {
    font-family: var(--font-body);
    font-size: 15px;
    font-style: italic;
    opacity: 0.8;
}

/* CTA Section - Beauty Version */
.cta-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.cta-card--beauty {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    color: var(--white-color);
    box-shadow: 0 20px 40px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.cta-card--beauty::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/heroa.jpg') center/cover no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.cta-card__title {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-card__text {
    font-family: var(--font-body);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.cta-card__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Media Queries */
@media (max-width: 1200px) {
    .specialty-hero__grid,
    .what-is-grid,
    .products-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .specialty-title,
    .cta-card__title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .specialty-hero,
    .what-is-section,
    .specialty-services,
    .products-section,
    .why-choose-section,
    .techniques-section,
    .contact-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .specialty-title,
    .cta-card__title {
        font-size: 28px;
    }
    
    .specialty-hero__intro {
        font-size: 16px;
    }
    
    .specialty-hero__cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .specialty-hero__cta .btn {
        width: 100%;
    }
    
    .services-grid,
    .techniques-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 40px 30px;
    }
    
    .contact-card__actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-card__buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header__title {
        font-size: 32px;
    }
    
    .specialty-hero,
    .what-is-section,
    .specialty-services,
    .products-section,
    .why-choose-section,
    .techniques-section,
    .contact-section,
    .cta-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .specialty-title,
    .cta-card__title,
    .contact-card__title {
        font-size: 26px;
    }
    
    .cta-card--beauty {
        padding: 40px 30px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-card__title {
        font-size: 20px;
    }
    
    .feature-item {
        flex-direction: column;
    }
    
    .feature-item__icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .technique-card__image {
        height: 180px;
    }
}

/* Animation Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.specialty-hero__badge,
.certification-badge,
.products-badge {
    animation: pulse 3s infinite;
}

.service-card,
.feature-item,
.technique-card {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(1),
.feature-item:nth-child(1),
.technique-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2),
.feature-item:nth-child(2),
.technique-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3),
.feature-item:nth-child(3),
.technique-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4),
.feature-item:nth-child(4),
.technique-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5),
.feature-item:nth-child(5) {
    animation-delay: 0.5s;
}

/* Accessibility Styles */
:focus {
    outline: 3px solid rgba(183, 110, 121, 0.5);
    outline-offset: 2px;
}

.btn:focus {
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.3);
    outline: none;
}

/* Print Styles */
@media print {
    .contact-section,
    .cta-section {
        display: none !important;
    }
    
    .page-header,
    .specialty-hero,
    .what-is-section,
    .specialty-services,
    .products-section,
    .why-choose-section,
    .techniques-section {
        padding: 20px 0 !important;
    }
    
    body {
        font-size: 12pt !important;
        color: #000 !important;
    }
    
    .specialty-hero__image,
    .what-is-image,
    .products-image,
    .why-choose-image {
        display: none !important;
    }
    
    .specialty-hero__grid,
    .what-is-grid,
    .products-grid,
    .why-choose-grid {
        grid-template-columns: 1fr !important;
    }
    
    .services-grid,
    .techniques-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .service-card,
    .technique-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    a {
        text-decoration: none !important;
        color: #000 !important;
    }
    
    .section-title::after,
    .specialty-title::after,
    .service-card__title::after {
        display: none !important;
    }
    
    .service-card__icon,
    .feature-item__icon {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}