/* APC - estilos complementarios a Tailwind */

.hero-overlay {
    background: linear-gradient(to bottom, rgba(27, 77, 62, .35) 0%, rgba(18, 54, 43, .88) 100%);
}
.text-shadow { text-shadow: 0 2px 6px rgba(0, 0, 0, .55); }

.hero-video {
    position: absolute; top: 50%; left: 50%;
    width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: 0; pointer-events: none;
}

.nav-link { position: relative; padding: .25rem 0; transition: color .2s; }
.nav-link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
    background: #DDA625; transform: scaleX(0); transition: transform .25s;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* Separador decorativo dorado */
.divisor { width: 80px; height: 4px; background: #DDA625; border-radius: 2px; }

/* Asterisco de marca (Manual de Marca) */
.asterisco { display: inline-block; width: 1em; height: 1em; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='black'%3E%3Crect x='45' y='0' width='10' height='100' rx='1'/%3E%3Crect x='0' y='45' width='100' height='10' rx='1'/%3E%3Crect x='45' y='0' width='10' height='100' rx='1' transform='rotate(45 50 50)'/%3E%3Crect x='45' y='0' width='10' height='100' rx='1' transform='rotate(-45 50 50)'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='black'%3E%3Crect x='45' y='0' width='10' height='100' rx='1'/%3E%3Crect x='0' y='45' width='100' height='10' rx='1'/%3E%3Crect x='45' y='0' width='10' height='100' rx='1' transform='rotate(45 50 50)'/%3E%3Crect x='45' y='0' width='10' height='100' rx='1' transform='rotate(-45 50 50)'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

/* Formularios */
.form-label { display: block; font-size: .72rem; font-weight: 700; color: #222B32; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.form-input {
    width: 100%; font-size: .9rem; padding: .62rem .8rem; border-radius: .375rem; border: 1px solid #d1d5db; background: #fff; color: #0D233A;
    transition: border-color .15s, box-shadow .15s;
}
.form-input:focus { outline: none; border-color: #0F62AC; box-shadow: 0 0 0 3px rgba(15, 98, 172, .18); }
.form-input.is-invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.input-icon { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: .85rem; pointer-events: none; }

/* Modales */
.modal { overflow-y: auto; }
.modal.is-open .modal-panel { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Contenido del CMS */
.prose-apc { color: #0D233A; line-height: 1.75; font-size: 1.05rem; }
.prose-apc h2, .prose-apc h3, .prose-apc h4 { font-family: 'Oswald', sans-serif; color: #1B4D3E; margin: 1.6em 0 .6em; line-height: 1.25; }
.prose-apc h2 { font-size: 1.6rem; } .prose-apc h3 { font-size: 1.3rem; }
.prose-apc p { margin: 0 0 1.1em; }
.prose-apc a { color: #0F62AC; text-decoration: underline; }
.prose-apc ul, .prose-apc ol { margin: 0 0 1.1em 1.4em; } .prose-apc ul { list-style: disc; } .prose-apc ol { list-style: decimal; }
.prose-apc img { max-width: 100%; height: auto; border-radius: .5rem; margin: 1.2em 0; }
.prose-apc blockquote { border-left: 4px solid #C5A059; padding: .4em 1em; font-style: italic; color: #222B32; background: #fff; margin: 1.2em 0; }
.prose-apc table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose-apc th, .prose-apc td { border: 1px solid #e5e7eb; padding: .5em .7em; }
.prose-apc iframe { max-width: 100%; }

/* Mini calendario de disponibilidad */
.disp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.disp-grid .h { font-size: .65rem; text-transform: uppercase; font-weight: 700; color: #6b7280; text-align: center; }
.disp-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: .85rem; font-weight: 700; }
.disp-day.libre { background: #fff; border: 1px solid #d1d5db; color: #0D233A; cursor: pointer; transition: all .15s; }
.disp-day.libre:hover, .disp-day.libre:focus-visible { border-color: #0F62AC; background: #0F62AC; color: #fff; outline: none; }
.disp-day.ocupado { background: #f3e8e8; color: #b45353; text-decoration: line-through; }
.disp-day.fuera { color: #c4c8cd; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
