body {
    margin: 0;
    background: #f6f1f0;
    font-family: 'Poppins', sans-serif;
    color: #4b3b3f;
}

/* HERO */
.contacto-hero {
    background: linear-gradient(#926971, #926971);
    padding: 70px 8% 55px;
}

.contacto-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.contacto-hero-texto {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacto-label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 14px;
}

.contacto-hero-texto h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 58px;
    line-height: 1;
    margin: 0 0 18px;
    color: #fff;
}

.contacto-desc {
    font-size: 15px;
    line-height: 1.9;
    max-width: 520px;
    color: rgba(255,255,255,0.88);
}

.contacto-hero-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-hero-img img {
    width: 100%;
    max-width: 420px;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 18px 35px rgba(0,0,0,0.16);
}

/* MAIN */
.contacto-main {
    padding: 45px 8% 80px;
    background: #f6f1f0;
}

.contacto-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* CARDS */
.contacto-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: -30px;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: #fffdfc;
    border-radius: 20px;
    padding: 26px 22px;
    box-shadow: 0 10px 24px rgba(81, 60, 66, 0.07);
    border: 1px solid #ede2e4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(81, 60, 66, 0.1);
}

.contact-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #3f3135;
}

.contact-card p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.7;
    color: #756469;
}

.contact-card a {
    font-size: 14px;
    color: #7b546c;
    text-decoration: none;
    word-break: break-word;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* BLOQUE INFERIOR */
.contacto-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contacto-info-box {
    background: #fffdfc;
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(81, 60, 66, 0.07);
    border: 1px solid #ede2e4;
    padding: 30px 26px;
    height: 100%;
    box-sizing: border-box;
}

.contacto-info-box h2,
.map-card h2,
.social-card h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    margin: 0 0 10px;
    color: #3f3135;
}

.contacto-info-box p,
.map-card p,
.social-card p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.8;
    color: #756469;
}

.contacto-mini-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mini-item {
    padding: 14px 16px;
    background: #f8f4f3;
    border-radius: 16px;
}

.mini-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: #4b3b3f;
}

.mini-item span {
    font-size: 13px;
    color: #7d6b70;
    line-height: 1.7;
}

.contacto-map-social {
    display: flex;
    height: 100%;
}

.map-card {
    background: #fffdfc;
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(81, 60, 66, 0.07);
    border: 1px solid #ede2e4;
    padding: 26px 22px 22px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.map-box {
    width: 100%;
    height: 420px;
    border-radius: 18px;
    overflow: hidden !important;
    position: relative;
    border: 1px solid #eadfe1;
}

#map {
    width: 100%;
    height: 100%;
    min-height: unset;
    position: relative;
    z-index: 1;
}

.map-box .leaflet-container {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden !important;
}

.map-box .leaflet-control-container,
.map-box .leaflet-top,
.map-box .leaflet-bottom,
.map-box .leaflet-pane,
.map-box .leaflet-map-pane {
    z-index: 1 !important;
}

.social-card {
    padding: 24px 22px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #b76e79;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: #886983;
    transform: translateY(-2px);
}

/* CARDS ELEGANTES CONTACTO */
.contact-card.elegant {
    background: #f9f5f4;
    border-radius: 26px;
    padding: 38px 28px;
    text-align: center;
    border: 1px solid #f0e4e6;
    box-shadow: 0 10px 25px rgba(191, 154, 162, 0.08);
    transition: all 0.35s ease;
}

.contact-card.elegant:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(191, 154, 162, 0.15);
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #efe6e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.contact-card.elegant h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    color: #b76e79;
    margin-bottom: 12px;
}

.contact-card.elegant p {
    font-size: 14px;
    color: #7d676d;
    line-height: 1.7;
    margin-bottom: 12px;
}

.contact-card.elegant a {
    font-size: 14px;
    color: #4b3b3f;
    text-decoration: none;
    font-weight: 500;
}

.contact-card.elegant a:hover {
    color: #b76e79;
}

/* FOOTER THE QUEENS */
.footer-the-queens {
    background: url('/images/footer-flores.jpg') center/cover no-repeat;
    margin-top: 80px;
    border-radius: 40px 40px 0 0;
    overflow: hidden;
}

.footer-overlay {
    background: #926971;
    padding: 55px 8% 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand h2,
.footer-links h3,
.footer-hours h3 {
    margin: 0 0 16px;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
}

.footer-brand h2 {
    font-size: 34px;
    letter-spacing: 2px;
}

.footer-links h3,
.footer-hours h3 {
    font-size: 24px;
}

.footer-brand p,
.footer-links a,
.footer-hours p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #f3d9df;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-2px);
}

.footer-social img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: #d8a5af;
    color: #fff !important;
    text-decoration: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
}

.footer-btn:hover {
    background: #c58f9a;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.72);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .contacto-hero-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contacto-hero-img img {
        max-width: 100%;
        min-height: 260px;
        border-radius: 28px;
    }

    .contacto-cards {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .contacto-bottom {
        grid-template-columns: 1fr;
    }

    .contacto-hero-texto h1 {
        font-size: 46px;
    }

    #map {
        min-height: 280px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .contacto-hero {
        padding: 50px 6% 40px;
    }

    .contacto-main {
        padding: 35px 6% 65px;
    }

    .contacto-hero-texto h1 {
        font-size: 38px;
    }

    .contacto-desc {
        font-size: 14px;
    }

    .contact-card,
    .contacto-info-box,
    .map-card,
    .social-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .contacto-info-box h2,
    .map-card h2,
    .social-card h2 {
        font-size: 28px;
    }

    #map {
        min-height: 240px;
    }

    .footer-overlay {
        padding: 45px 6% 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand h2 {
        font-size: 28px;
    }

    .footer-links h3,
    .footer-hours h3 {
        font-size: 22px;
    }
}

#btnArriba {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #d98fa3;
  color: white;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: none;
  transition: all 0.3s ease;
  z-index: 999;
}

#btnArriba:hover {
  background: #c77a8e;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  #btnArriba {
    width: 46px;
    height: 46px;
    right: 18px;
    bottom: 18px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  #btnArriba {
    width: 42px;
    height: 42px;
    right: 14px;
    bottom: 14px;
    font-size: 18px;
  }
}

/* =========================
   SCROLL PERSONALIZADO
========================= */

* {
  scrollbar-width: thin;
  scrollbar-color: #b76e79 #f6f1f0;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f6f1f0;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e4c6cb, #b76e79);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b76e79;
}

/* PANEL USUARIO */
.user-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(60, 40, 46, 0.28);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1200;
}

.user-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.user-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    height: 100vh;
    background: rgba(255, 250, 251, 0.96);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: 0.35s;
    z-index: 1300;
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.user-panel.active {
    transform: translateX(0);
}

.user-panel-close {
    align-self: flex-end;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #8c6771;
}

.user-panel-header {
    text-align: center;
    margin-bottom: 20px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    background: #f3e8eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar img {
    width: 35px;
}

/* TITULOS */
.user-panel-header h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    color: #4b3b3f;
}

.user-panel-header p {
    margin: 6px 0 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    letter-spacing: 2px;
    color: #8c6771;
}

/* INFO */
.user-panel-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-info-box {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
}

/* 🔥 ESTO ARREGLA EL PROBLEMA DE TEXTO JUNTO */
.user-info-box span {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b8898d;
}

.user-info-box strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #4b3b3f;
}

/* BOTONES */
.user-panel-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-panel-btn {
    padding: 14px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    
    
       display: flex;
    align-items: center;
    justify-content: center;
}

.user-panel-btn.primary {
    background: #b76e79;
    color: white;
    border: none;
}

.user-panel-btn.secondary {
    border: 1px solid #b76e79;
    color: #b76e79;
    background: transparent;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .user-panel {
        width: 100%;
    }
}