/* =============================================
   Pages Shared Styles - Royal Masajes
   ============================================= */

/* ── Hero Banner de página interior ── */
.rm-page-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.rm-page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    animation: heroZoom 8s ease-in-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.00); }
}

.rm-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 10, 5, 0.55) 0%,
        rgba(20, 10, 5, 0.40) 60%,
        rgba(20, 10, 5, 0.65) 100%
    );
}

.rm-page-hero__content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.rm-page-hero__tag {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #cc6b8e;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(204,107,142,0.45);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.rm-page-hero__title {
    font-family: 'PT Serif', Georgia, serif;
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.15;
    text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.rm-page-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

.rm-page-hero__breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.rm-page-hero__breadcrumb a:hover { color: #cc6b8e; }
.rm-page-hero__breadcrumb span   { color: #cc6b8e; }

/* ── Decoración línea dorada ── */
.rm-section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.rm-section-label::before,
.rm-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #cc6b8e);
}

.rm-section-label::after {
    background: linear-gradient(to left, transparent, #cc6b8e);
}

.rm-section-label span {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #cc6b8e;
    white-space: nowrap;
}

/* ── Tarjeta de valor/pilar ── */
.rm-pillar-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    border-bottom: 3px solid transparent;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rm-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
    border-bottom-color: #cc6b8e;
}

.rm-pillar-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(204,107,142,0.12), rgba(204,107,142,0.22));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #cc6b8e;
    transition: background 0.3s;
}

.rm-pillar-card:hover .rm-pillar-icon {
    background: linear-gradient(135deg, #cc6b8e, #b8860b);
    color: #fff;
}

.rm-pillar-card h4 {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 1.2rem;
    color: #2c1a0e;
    margin-bottom: 10px;
}

.rm-pillar-card p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
    line-height: 1.6;
}

/* ── Stats / números ── */
.rm-stats-bar {
    background: linear-gradient(135deg, #2c1a0e 0%, #4a2a15 100%);
    padding: 48px 0;
}

.rm-stat-item {
    text-align: center;
    padding: 0 20px;
}

.rm-stat-number {
    font-family: 'PT Serif', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #cc6b8e;
    line-height: 1;
    margin-bottom: 6px;
}

.rm-stat-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.70);
}

/* ── CTA Banner ── */
.rm-cta-banner {
    background: linear-gradient(135deg, #cc6b8e 0%, #a0455e 100%);
    padding: 64px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rm-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255,255,255,0.06);
    transform: rotate(-12deg);
    pointer-events: none;
}

.rm-cta-banner h2 {
    font-family: 'PT Serif', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 12px;
}

.rm-cta-banner p {
    color: rgba(255,255,255,0.88);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto 28px;
}

.rm-cta-banner .btn-cta {
    background: #fff;
    color: #cc6b8e;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 14px 38px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.25s, color 0.25s, transform 0.25s;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.rm-cta-banner .btn-cta:hover {
    background: #2c1a0e;
    color: #fff;
    transform: translateY(-3px);
}

/* ── Servicio card expandido ── */
.rm-service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rm-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}

.rm-service-card__img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.rm-service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rm-service-card:hover .rm-service-card__img img {
    transform: scale(1.07);
}

.rm-service-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #cc6b8e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
}

.rm-service-card__body {
    padding: 24px;
}

.rm-service-card__duration {
    font-size: 12px;
    color: #b8860b;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.rm-service-card__title {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 1.25rem;
    color: #2c1a0e;
    margin-bottom: 10px;
}

.rm-service-card__desc {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 18px;
}

.rm-service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f0e8e8;
}

.rm-service-card__price {
    font-family: 'PT Serif', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #b8860b;
}

/* ── Galería mejorada ── */
.rm-gallery-section {
    background: #ffffff;
}

.rm-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    background: #ffffff;
}

.rm-gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.rm-gallery-item:hover img {
    transform: scale(1.08);
}

.rm-gallery-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 12px;
    pointer-events: none;
}

.rm-gallery-overlay-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    pointer-events: none;
}

.rm-gallery-overlay-inner span {
    font-family: 'PT Serif', serif;
    font-size: 0.95rem;
    color: var(--bs-primary);
    font-weight: 600;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    line-height: 1.3;
}

.rm-gallery-overlay-inner a {
    width: 38px;
    height: 38px;
    background: #cc6b8e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, opacity 0.35s ease;
    opacity: 0;
    pointer-events: none;
    margin-left: auto;
}

.rm-gallery-item:hover .rm-gallery-overlay-inner a {
    opacity: 1;
    pointer-events: auto;
}

.rm-gallery-overlay-inner a:hover { background: #b8860b; }

/* ── Contacto form card ── */
.rm-contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}

.rm-contact-form-card .form-control,
.rm-contact-form-card .form-select {
    border: 1.5px solid #ead5df;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rm-contact-form-card .form-control:focus,
.rm-contact-form-card .form-select:focus {
    border-color: #cc6b8e;
    box-shadow: 0 0 0 3px rgba(204,107,142,0.15);
    outline: none;
}

.rm-contact-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.rm-contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.rm-contact-info-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, rgba(204,107,142,0.12), rgba(204,107,142,0.22));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #cc6b8e;
}

.rm-contact-info-card h5 {
    font-family: 'PT Serif', serif;
    font-size: 1rem;
    color: #2c1a0e;
    margin-bottom: 4px;
}

.rm-contact-info-card p, .rm-contact-info-card a {
    font-size: 0.88rem;
    color: #777;
    margin: 0;
    text-decoration: none;
    line-height: 1.5;
}

.rm-contact-info-card a:hover { color: #cc6b8e; }

/* ── Página legal (Términos / Políticas) ── */
.rm-legal-wrap {
    padding: 72px 0 96px;
    background: #fdf8f5;
}

.rm-legal-card {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 56px 64px;
    box-shadow: 0 8px 40px rgba(44,26,14,0.08);
    border-top: 4px solid #cc6b8e;
}

.rm-legal-card h1,
.rm-legal-card h2,
.rm-legal-card h3 {
    font-family: 'PT Serif', Georgia, serif;
    color: #2c1a0e;
}

.rm-legal-card h1 { font-size: 2rem; margin-bottom: 6px; }
.rm-legal-card h2 { font-size: 1.2rem; color: #a0455e; margin: 32px 0 10px; }
.rm-legal-card p  { color: #555; line-height: 1.8; font-size: 0.95rem; }
.rm-legal-card ul,
.rm-legal-card ol { color: #555; line-height: 1.8; font-size: 0.95rem; padding-left: 22px; }
.rm-legal-card a  { color: #a0455e; }
.rm-legal-card a:hover { color: #cc6b8e; }

@media (max-width: 768px) {
    .rm-legal-card { padding: 32px 24px; }
}
