/* Web pública de ArtDental C.A. (v0.1): paleta y tipografía de la marca. El diseño final de la tienda llega en la entrega 3. */
:root{--ad-green:#00CDBE;--ad-dark:#1A4E7C;--ad-navy:#0D4573;--ad-beige:#66E2D8;--ad-ink:#1B1B1B;--ad-footer:#0D4573}
body{font-family:'Roboto',Arial,sans-serif;color:#6b6b6b;background:#f3f3f3}
h1,h2,h3,h4,h5,.navbar,.btn{font-family:'Roboto',Arial,sans-serif}
a{color:var(--ad-dark)}
.web-preview{background:#ffc107;color:#000;text-align:center;font-size:.85rem;padding:.25rem}
.web-frame{max-width:1340px;margin:0 auto;background:#fff;box-shadow:0 0 18px rgba(0,0,0,.06);min-height:100vh;display:flex;flex-direction:column}
.web-frame>main{flex:1 0 auto}
.web-frame>.web-footer{flex-shrink:0}
.web-header .navbar{padding:1rem 0}
.web-header .nav-link{font-weight:600;font-size:.8rem;text-transform:uppercase;color:#3b3b3b;letter-spacing:.02em}
.web-header .nav-link:hover,.web-header .nav-link.active{color:var(--ad-dark)}
.web-lang{border:1px solid #ddd;border-radius:4px;padding:.2rem .5rem!important}
.btn-web{background:var(--ad-green);border-color:var(--ad-green);color:#fff}
.btn-web:hover{background:var(--ad-dark);border-color:var(--ad-dark);color:#fff}
.btn-web-dark{background:var(--ad-dark);border-color:var(--ad-dark);color:#fff}
.btn-web-dark:hover{background:#0D4573;color:#fff}
.web-hero{position:relative;margin:0 2.5rem}
.web-hero .carousel-item img{height:min(70vh,700px);object-fit:cover}
.web-hero-empty{height:420px;background:linear-gradient(135deg,#CCF5F1,#00CDBE)}
.web-welcome{position:relative;background:#fff;max-width:530px;margin:-14rem 0 0 4rem;padding:4rem 3rem 3rem;text-align:center;z-index:2}
.web-welcome h1{font-weight:700;color:var(--ad-ink);font-size:3rem;margin-bottom:.2rem}
.web-welcome-text{font-size:12px;line-height:1.5}
.web-script{font-family:'Roboto',sans-serif;font-style:italic;color:var(--ad-dark);margin-bottom:1.2rem}
.web-diamond{position:absolute;top:-14px;left:50%;width:28px;height:28px;background:var(--ad-green);transform:translateX(-50%) rotate(45deg)}
.web-section-title{font-weight:700;color:var(--ad-ink);font-size:1.6rem}
.web-titlebar{background:var(--ad-beige);color:#fff;padding:.9rem 0;margin:0 2.5rem}
.web-titlebar h1{font-weight:700}
.web-titlebar a,.web-titlebar span{color:#fff;opacity:.9;text-decoration:none}
.web-post{background:#fff;border:1px solid #eee;height:100%;display:flex;flex-direction:column}
.web-post-img img{width:100%;height:220px;object-fit:cover;border-bottom:3px solid var(--ad-green)}
.web-post-body{padding:1.2rem}
.web-post-body h3 a{color:var(--ad-ink);text-decoration:none}
.web-post-body h3 a:hover{color:var(--ad-dark)}
.web-post-meta{font-size:.8rem;color:#999}
.web-cat{color:var(--ad-dark);font-weight:600;text-transform:uppercase}
.web-more{color:var(--ad-beige);font-weight:600;text-decoration:underline;font-size:.9rem}
.web-post-hero{border:2px solid var(--ad-green)}
.web-content{line-height:1.75}
.web-contact-info{background:var(--ad-dark);color:#fff}
.web-icon{flex:0 0 52px;width:52px;height:52px;background:var(--ad-beige);display:flex;align-items:center;justify-content:center;transform:rotate(45deg);margin:6px}
.web-icon i{transform:rotate(-45deg);font-size:1.2rem}
.web-map iframe{width:100%;height:420px;border:0;display:block}
.web-footer{background:var(--ad-footer);color:#b9bcc4;padding:3.5rem 0 1.5rem}
.web-footer-title{color:#fff;font-weight:600}
.web-footer a{color:#d7d9de}
.web-footer-links li{margin-bottom:.55rem}
.web-social{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;background:#3a4050;color:#fff!important;text-decoration:none}
.web-social:hover{background:var(--ad-green)}
.web-footer-bottom{border-top:1px solid #3a4050;margin-top:2rem;padding-top:1.2rem}
@media (max-width:991px){
  .web-hero,.web-titlebar{margin:0}
  .web-welcome{margin:-4rem 1rem 0;padding:3rem 1.5rem 2rem}
  .web-welcome h1{font-size:2.2rem}
  .web-hero .carousel-item img{height:50vh}
}
.web-titlebar h1{color:#fff}
.web-contact-info h3,.web-contact-info strong{color:#fff}
.web-contact h3,.web-section-title,.web-post-body h3{color:var(--ad-ink)}
.web-contact-info h3{color:#fff!important}
/* Entrega 20: páginas, junta, galería, documentos, testimonios */
.web-lead{color:var(--ad-ink);font-size:1.15rem}
.web-page-img{border:2px solid var(--ad-green)}
.web-content h3,.web-content h4{color:var(--ad-ink);margin-top:1.5rem}
.web-member{background:#fff;border:1px solid #eee;border-top:3px solid var(--ad-green);padding:1.5rem 1.2rem;text-align:center;height:100%;display:flex;flex-direction:column;align-items:center}
.web-member h3{color:var(--ad-ink)!important}
.web-member-photo{width:120px;height:120px;border-radius:50%;object-fit:cover;margin-bottom:1rem}
.web-member-initials{display:flex;align-items:center;justify-content:center;background:var(--ad-beige);color:#fff;font-family:'Roboto',Arial,sans-serif;font-size:2rem;font-weight:600}
.web-photo{display:block;overflow:hidden}
.web-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .3s}
.web-photo:hover img{transform:scale(1.05)}
.web-lightbox.d-none{display:none!important}
.web-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.9);z-index:2000;display:flex;align-items:center;justify-content:center;padding:3rem 4rem}
.web-lightbox img{max-width:100%;max-height:82vh}
.web-lightbox figcaption{color:#ddd;margin-top:.6rem}
.web-lightbox button{position:absolute;background:none;border:0;color:#fff;font-size:3rem;line-height:1;opacity:.8}
.web-lightbox button:hover{opacity:1}
.web-lb-close{top:.8rem;right:1.2rem}.web-lb-prev{left:1rem}.web-lb-next{right:1rem}
.web-pills .nav-link{color:var(--ad-ink)}
.web-pills .nav-link.active{background:var(--ad-green);color:#fff}
.web-doc{display:flex;gap:1.2rem;background:#fff;border:1px solid #eee;padding:1.2rem}
.web-doc h3{color:var(--ad-ink)!important}
.web-doc-date{flex:0 0 74px;height:74px;background:var(--ad-dark);color:#fff;text-align:center;display:flex;flex-direction:column;justify-content:center;font-family:'Roboto',Arial,sans-serif}
.web-doc-date span{font-size:1.6rem;font-weight:700;line-height:1}
.web-doc-date small{font-size:.7rem;text-transform:uppercase}
.web-testimonials{background:#f6f4ee}
.web-quote{max-width:720px;padding:0 3rem}
.web-quote blockquote p{font-family:'Roboto',sans-serif;font-style:italic;font-size:1.1rem;color:var(--ad-ink)}
.web-quote-photo{width:84px;height:84px;border-radius:50%;object-fit:cover;margin:0 auto 1rem;font-size:1.5rem}
.web-testimonials .carousel-control-prev-icon,.web-testimonials .carousel-control-next-icon{filter:invert(.6)}
/* Barra superior fija: se queda visible al bajar, más compacta y con sombra (como la web anterior). */
.web-header{position:sticky;top:0;z-index:1030;background:#fff;transition:box-shadow .25s}
.web-header .navbar{transition:padding .25s}
.web-logo{transition:width .25s,height .25s}
.web-header.is-scrolled{box-shadow:0 2px 12px rgba(0,0,0,.12)}
.web-header.is-scrolled .navbar{padding:.35rem 0}
.web-logo{height:60px;width:auto}
.web-header.is-scrolled .web-logo{height:44px;width:auto}
@media (max-width:575px){.web-logo{height:46px}}
@media (max-width:991px){.web-header .navbar-collapse{max-height:calc(100vh - 80px);overflow-y:auto}}
/* Idioma con globo y ventana de ingreso de socios (entrega 47) */
.web-globe{display:inline-flex;align-items:center;gap:.4rem;font-weight:600}
.web-globe i{font-size:1.35rem;color:#333}
.web-globe-code{font-size:.85rem;letter-spacing:.04em}
.web-lang-menu .dropdown-item.active,.web-lang-menu .dropdown-item:active{background:var(--ad-green);color:#fff}
.web-lang-code{display:inline-block;width:1.8rem;font-weight:700;font-size:.8rem}
.web-user-btn{display:inline-flex;align-items:center;justify-content:center;padding:.4rem .9rem;border-radius:4px;font-size:.95rem}
@media (min-width:992px){.web-user-btn{width:1.35rem;height:1.35rem;min-width:0;padding:0;border-radius:3px;font-size:.7rem;line-height:1}}
.web-login .modal-content{border:0;border-radius:10px;overflow:hidden;position:relative}
.web-login-close{position:absolute;top:.6rem;right:.75rem;z-index:2;border:0;background:rgba(255,255,255,.9);border-radius:50%;width:36px;height:36px;font-size:1.2rem;color:#333;line-height:1}
.web-login-close:hover{background:#eee}
.web-login-photo{min-height:460px;background:linear-gradient(160deg,#00CDBE,#0D4573)}
.web-login-photo img{width:100%;height:100%;object-fit:cover;display:block}
.web-login-body{padding:2.5rem 2.25rem}
.web-login-title{font-family:'Roboto',sans-serif;font-weight:700;color:#333}
.web-login .input-group-text{background:#f5f5f5;color:#555;min-width:44px;justify-content:center}
.web-login .form-control{padding:.65rem .75rem}
.web-login .form-control:focus{border-color:var(--ad-green);box-shadow:0 0 0 .2rem rgba(0,205,190,.2)}
.web-login .form-check-input:checked{background-color:var(--ad-green);border-color:var(--ad-green)}
.web-login-link{color:var(--ad-dark)}
@media (max-width:575.98px){.web-login-body{padding:3.5rem 1.5rem 2rem}}
/* Campo de teléfono con país (entrega 56) */
.ad-phone { flex-wrap: nowrap; position: relative; }
.ad-phone-ccwrap { position: static; display: flex; }
.ad-phone-cc { display: inline-flex; align-items: center; gap: .35rem; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; white-space: nowrap; }
.ad-phone-flag { width: 1.33em; line-height: 1em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.ad-phone-pre { max-width: 5.2rem; flex: 0 0 5.2rem; padding-right: 1.6rem !important; background-position: right .45rem center !important; }
.ad-phone-num { min-width: 6.5rem; }
.ad-phone-cc { padding-left: .5rem !important; padding-right: .5rem !important; }
.ad-phone-area { max-width: 3.6rem; flex: 0 0 3.6rem; }
.ad-phone-menu { position: absolute; left: 0; top: 100%; z-index: 1060; width: min(360px, 92vw); background: #fff; border: 1px solid rgba(0,0,0,.15); border-radius: .4rem; box-shadow: 0 8px 24px rgba(0,0,0,.15); padding: .5rem; margin-top: 2px; }
.ad-phone-list { list-style: none; margin: .4rem 0 0; padding: 0; max-height: 260px; overflow-y: auto; }
.ad-phone-item { display: flex; align-items: center; gap: .55rem; padding: .4rem .5rem; border-radius: .3rem; cursor: pointer; font-size: 14px; color: #222; }
.ad-phone-item:hover, .ad-phone-item:focus, .ad-phone-item.active { background: #ECFBFA; outline: 0; }
.ad-phone-name { flex: 1; }
.ad-phone-dial { color: #888; }
.ad-phone-sep { border-top: 1px solid rgba(0,0,0,.12); margin: .3rem 0; }
/* Preguntas frecuentes (entrega 59) */
.ad-faq-search{position:relative;max-width:520px}
.ad-faq-search i{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);color:#8a8f94}
.ad-faq-search input{padding-left:2.3rem}
.ad-faq-cat{color:#1A4E7C;letter-spacing:.04em;margin-bottom:.6rem}
.ad-faq .accordion-button{font-weight:600}
.ad-faq .accordion-button:not(.collapsed){background:#ECFBFA;color:#1A4E7C;box-shadow:none}
.web-faq-more{background:#f5f1e6}

/* Alquiler de áreas (entrega 68): calendario de la planilla, igual al del portal del socio. */
.ad-rcal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.ad-rcal-h{text-align:center;font-size:12px;color:#6c757d;text-transform:uppercase}
.ad-rcal-d{border:1px solid #dee2e6;background:#fff;border-radius:6px;padding:.45rem 0;text-align:center;font-size:14px;cursor:pointer}
.ad-rcal-d:hover:not(:disabled){border-color:#00CDBE}
.ad-rcal-d:disabled{cursor:not-allowed}
.ad-rcal-d.is-off{background:#f1f3f5;color:#adb5bd}
.ad-rcal-d.is-busy{background:#f8d7da;color:#842029;border-color:#f1aeb5}
.ad-rcal-d.is-buffer{background:#fff3cd;border-color:#ffe08a}
.ad-rcal-d.is-sel{background:#00CDBE;border-color:#156096;color:#fff;font-weight:600}
.ad-rcal-dot{display:inline-block;width:.8rem;height:.8rem;border-radius:3px;margin-right:.3rem;vertical-align:-1px;border:1px solid #dee2e6}
.ad-rcal-dot.is-sel{background:#00CDBE}.ad-rcal-dot.is-buffer{background:#fff3cd}.ad-rcal-dot.is-busy{background:#f8d7da}.ad-rcal-dot.is-off{background:#f1f3f5}
.web-rent-area img{height:200px;object-fit:cover}
