/* ========================================
   ARTE ORDOÑEZ - DESIGN SYSTEM
   Colores: #f3ece0, #1a1a1a
   Tipografías: Bahij Jalal Bold, PT Mono, Helvetica Neue
   ======================================== */

/* ===== TIPOGRAFÍAS ===== */
@font-face {
    font-family: 'Bahij Jalal';
    src: url('../fonts/Bahij%20Jalal%20Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PT Mono';
    src: url('../fonts/PTMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue-Roman.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
    --color-red: #1a1a1a;
    --color-red-hover: #1a1a1a;
    --color-red-light: rgba(26, 26, 26, 0.08);
    --color-white: #ffffff;
    --color-cream: #f3ece0;
    --color-cream-dark: rgba(26, 26, 26, 0.12);
    --color-dark: #1a1a1a;
    --color-dark-soft: #1a1a1a;

    --color-page: #ffffff;
    --color-card: #ffffff;
    --color-border: rgba(26, 26, 26, 0.14);
    --color-text: #1a1a1a;
    --color-text-light: rgba(26, 26, 26, 0.72);
    --color-text-muted: rgba(26, 26, 26, 0.48);

    --font-heading: 'Bahij Jalal', 'Georgia', serif;
    --font-body: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    --font-mono: 'PT Mono', 'Courier New', monospace;

    --radius: 14px;
    --radius-sm: 10px;
    --radius-pill: 50px;
    --shadow: 0 2px 16px rgba(26, 26, 26, 0.06);
    --shadow-lg: 0 8px 32px rgba(26, 26, 26, 0.10);
    --transition: all 0.25s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

a { color: var(--color-red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-red-hover); }
img { max-width: 100%; height: auto; }

/* ===== NAVBAR ===== */
.ao-navbar {
    background: var(--color-dark);
    padding: 16px 0;
    border-bottom: 0 !important;
    box-shadow: none !important;
    z-index: 1000;
}
.ao-navbar .navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-cream) !important;
    letter-spacing: 0.5px;
}
.ao-navbar .navbar-brand img {
    height: 78px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: none;
    opacity: 1;
}

.ao-navbar .nav-link {
    color: rgba(243, 236, 224, 0.75) !important;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.ao-navbar .nav-link:hover {
    color: var(--color-cream) !important;
    background: rgba(243, 236, 224, 0.12);
}
.ao-navbar .navbar-toggler-icon { filter: invert(1); }

.ao-mobile-menu {
    background: var(--color-dark);
    color: var(--color-cream);
}

.ao-mobile-menu .offcanvas-title {
    font-family: var(--font-heading);
    color: var(--color-cream);
}

.ao-mobile-menu .offcanvas-body {
    align-items: center;
}

.ao-mobile-auth {
    border-top: 1px solid rgba(243, 236, 224, 0.12);
    margin-top: 10px;
    padding-top: 10px;
}

.ao-mobile-auth .nav-link {
    color: rgba(243, 236, 224, 0.75) !important;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 10px 16px !important;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.ao-mobile-auth .nav-link:hover {
    color: var(--color-cream) !important;
    background: rgba(243, 236, 224, 0.12);
}

.ao-btn-nav {
    display: inline-block;
    padding: 8px 22px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--color-cream) !important;
    border: 2px solid var(--color-red);
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.ao-btn-nav:hover { background: var(--color-cream); color: var(--color-dark) !important; }

.ao-user-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 220px;
}

.ao-user-menu-toggle span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== HERO ===== */
.ao-hero {
    background: var(--color-dark);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.ao-hero-fullheight {
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
}
.ao-hero::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 60%; height: 200%;
    background: radial-gradient(circle, rgba(243, 236, 224, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.ao-hero .container,
.ao-hero .container-fluid {
    position: relative;
    z-index: 1;
}
.ao-hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ao-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.62);
    z-index: 0;
}
.ao-hero-image::after {
    background: linear-gradient(90deg, rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.25));
    inset: 0;
    width: auto;
    height: auto;
    top: 0;
    right: 0;
    z-index: 0;
}
.ao-hero-talleres {
    background-image: url('../img/heros/talleres.webp');
    min-height: 400px;
    display: flex;
    align-items: center;
}
.ao-hero-nosotros {
    background-image: url('../img/heros/nosotros.webp');
    min-height: 400px;
    display: flex;
    align-items: center;
}
.ao-hero-contacto {
    background-image: url('../img/heros/contacto.webp');
    min-height: 400px;
    display: flex;
    align-items: center;
}
.ao-hero-mascaras {
    background-image: url('../img/heros/mascaras.webp');
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
}
.ao-hero-custom,
.ao-hero-deco {
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
}
.ao-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--color-cream);
    margin-bottom: 16px;
    position: relative;
}
.ao-hero h1 span { color: var(--color-cream); }
.ao-hero p {
    font-size: 1.05rem;
    color: rgba(243, 236, 224, 0.7);
    max-width: 520px;
    line-height: 1.8;
}
.ao-hero .container.text-center p,
.ao-hero .container.text-center h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BADGES ===== */
.ao-badge {
    display: inline-block;
    padding: 5px 14px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-red);
    background: var(--color-red-light);
    border: 1px solid rgba(26, 26, 26, 0.18);
    border-radius: var(--radius-pill);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.ao-hero-image .ao-badge {
    color: #1a1a1a;
    background: #fff;
    border-color: rgba(255, 255, 255, 0.75);
}
.ao-badge-dark {
    display: inline-block;
    padding: 5px 14px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-cream);
    background: var(--color-dark);
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
}

/* ===== BOTONES ===== */
.ao-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-cream);
    background: var(--color-red);
    border: 2px solid var(--color-red);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ao-btn:hover {
    background: var(--color-red-hover);
    border-color: var(--color-red-hover);
    color: var(--color-cream);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 26, 26, 0.18);
}

.ao-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-red);
    background: transparent;
    border: 2px solid var(--color-red);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ao-btn-outline:hover { background: var(--color-dark); color: var(--color-cream); }

.ao-hero .ao-btn {
    background: var(--color-cream);
    border-color: var(--color-cream);
    color: var(--color-dark);
}
.ao-hero .ao-btn:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-dark);
}
.ao-hero .ao-btn-outline {
    color: var(--color-cream);
    border-color: var(--color-cream);
}
.ao-hero .ao-btn-outline:hover {
    background: var(--color-cream);
    color: var(--color-dark);
}

.ao-btn i,
.ao-btn-outline i,
.ao-btn-dark i,
.ao-btn-nav i,
.ao-navbar i,
.ao-footer i,
.ao-sidebar i {
    color: inherit;
}

.ao-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-cream);
    background: var(--color-dark);
    border: 2px solid var(--color-dark);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ao-btn-dark:hover {
    background: var(--color-white);
    border-color: var(--color-dark);
    color: var(--color-dark);
    transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
.ao-section { padding: 80px 0; }
.ao-section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 8px;
}
.ao-section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 48px;
}

.ao-about-home h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
}
.ao-about-home p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 16px;
}
.ao-about-home-placeholder {
    width: 100%;
    min-height: 340px;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-text-muted);
    background: var(--color-white);
}
.ao-about-home-placeholder i {
    font-size: 2.5rem;
    color: var(--color-text-muted);
}
.ao-about-home-placeholder span {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.ao-team-grid {
    max-width: 1040px;
}

.ao-team-card {
    border-left: 3px solid var(--color-red);
}

.ao-team-card-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 26px;
}

.ao-team-photo {
    width: 200px;
    height: 200px;
    flex: 0 0 200px;
    object-fit: cover;
    border-radius: 8px;
}

.ao-team-info {
    text-align: left;
    min-width: 0;
}

.ao-team-info h5 {
    overflow-wrap: anywhere;
}

.ao-team-socials {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.ao-team-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-red-light);
    color: var(--color-red);
}

.ao-services-home {
    padding-top: 0;
}
.ao-services-showcase {
    display: grid;
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.ao-service-item {
    position: relative;
    min-height: 360px;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.ao-service-item + .ao-service-item {
    border-left: 1px solid var(--color-border);
}
.ao-service-icon {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    color: var(--color-cream);
    font-size: 2rem;
    margin-bottom: 24px;
}
.ao-service-item h3 {
    font-size: 1.55rem;
    margin-bottom: 12px;
}
.ao-service-item p {
    max-width: 390px;
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 24px;
}
.ao-service-item .ao-btn-dark {
    padding: 10px 22px;
    font-size: 0.82rem;
}

.ao-masks-carousel-section {
    padding-top: 0;
}
.ao-masks-carousel {
    position: relative;
}
.ao-masks-carousel .carousel-item {
    transition: transform 0.7s ease-in-out;
}
.ao-mask-carousel-card {
    min-height: 100%;
}
.ao-mask-carousel-card .ao-card-body p {
    display: -webkit-box;
    min-height: 4.2em;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ===== CARDS ===== */
.ao-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.ao-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 26, 26, 0.34);
}
.ao-card-img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.ao-card-img-placeholder {
    width: 100%; aspect-ratio: 1 / 1; height: auto;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: var(--color-dark);
    color: var(--color-red);
    gap: 8px;
}
.ao-card-img-placeholder i { font-size: 2.5rem; opacity: 0.4; }
.ao-card-img-placeholder span { font-family: var(--font-mono); font-size: 0.8rem; opacity: 0.5; color: var(--color-cream); }
.ao-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ao-card-body h5 {
    min-height: 2.8em;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.ao-card-body p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
}
.ao-card-body > p:not(.ao-card-meta) {
    display: -webkit-box;
    min-height: 4.25em;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.ao-card-meta {
    min-height: 1.5em;
}

/* ===== PANELS ===== */
.ao-panel {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

/* ===== LOGIN ===== */
.ao-login-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 80px 0;
}
.ao-login-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
}
.ao-login-hero p {
    margin: 0 auto;
}
.ao-login-section {
    padding: 64px 0 90px;
    background: var(--color-white);
}
.ao-login-panel-header h2 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    margin-bottom: 12px;
}
.ao-login-panel-header p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0;
}
.ao-login-panel {
    padding: 34px;
    border-color: rgba(26, 26, 26, 0.12);
    box-shadow: 0 18px 45px rgba(26, 26, 26, 0.12);
}
.ao-login-panel-header {
    margin-bottom: 24px;
    text-align: center;
}
.ao-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    color: var(--color-dark);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: var(--transition);
}
.ao-google-btn:hover {
    color: var(--color-dark);
    border-color: var(--color-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(26, 26, 26, 0.1);
}
.ao-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--color-text-light);
    font-size: 0.82rem;
}
.ao-login-divider::before,
.ao-login-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--color-border);
}
.ao-input-icon {
    position: relative;
}
.ao-input-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    pointer-events: none;
}
.ao-form .ao-input-icon .form-control {
    padding-left: 42px;
}
.ao-form .ao-password-field .form-control {
    padding-right: 46px;
}
.ao-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    color: var(--color-text-light);
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.ao-password-toggle:hover {
    color: var(--color-dark);
    background: var(--color-red-light);
}
.ao-input-icon .ao-password-toggle i {
    position: static;
    transform: none;
    pointer-events: auto;
}
.ao-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin: -12px 0 22px;
    font-size: 0.86rem;
}
.ao-forgot-row a,
.ao-register-row a,
.ao-auth-links a {
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
    color: var(--color-text-light);
    border-bottom: 1px solid transparent;
    font-weight: 600;
    line-height: 1.3;
    transition: var(--transition);
}
.ao-forgot-row a:hover,
.ao-register-row a:hover,
.ao-auth-links a:hover {
    color: var(--color-red);
    border-bottom-color: var(--color-red);
}
.ao-register-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
    font-size: 0.9rem;
}
.ao-register-row a {
    color: var(--color-red);
}
.ao-auth-links {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
}

/* ===== FORMS ===== */
.ao-form .form-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--color-dark);
    margin-bottom: 6px;
}
.ao-form .form-control,
.ao-form .form-select {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-dark);
    background: var(--color-white);
    transition: var(--transition);
}
.ao-form .form-control:focus,
.ao-form .form-select:focus {
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px var(--color-red-light);
    outline: none;
}
.ao-form .form-check-input:checked {
    background-color: var(--color-red);
    border-color: var(--color-red);
}
.ao-video-options {
    background: var(--color-card);
    border: 1px solid var(--color-border);
}
.ao-video-options .form-label {
    font-size: 0.78rem;
    margin-bottom: 5px;
}

/* ===== MEASURE GUIDE ===== */
.ao-measure-guide {
    min-height: 560px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 28px;
    overflow: hidden;
}
.ao-measure-face {
    position: relative;
    width: min(260px, 100%);
    aspect-ratio: 0.76 / 1;
    border: 3px solid var(--color-dark);
    border-radius: 46% 46% 44% 44% / 38% 38% 56% 56%;
    background: linear-gradient(180deg, #f3ece0 0%, #eadfce 100%);
    box-shadow: inset 0 -10px 0 rgba(26, 26, 26, 0.03);
}
.ao-measure-ear {
    position: absolute;
    top: 38%;
    width: 18px;
    height: 44px;
    border: 3px solid var(--color-dark);
    background: #eadfce;
    border-radius: 50%;
    z-index: -1;
}
.ao-measure-ear-left { left: -14px; }
.ao-measure-ear-right { right: -14px; }
.ao-measure-brow {
    position: absolute;
    top: 33%;
    width: 32px;
    height: 8px;
    border-top: 3px solid var(--color-dark);
    border-radius: 50%;
}
.ao-measure-hair {
    position: absolute;
    top: 5%;
    left: 12%;
    width: 76%;
    height: 22%;
    border-top: 18px solid var(--color-dark);
    border-radius: 50% 50% 28% 28%;
}
.ao-measure-brow-left { left: 27%; }
.ao-measure-brow-right { right: 27%; }
.ao-measure-eye {
    position: absolute;
    top: 39%;
    width: 24px;
    height: 13px;
    border: 3px solid var(--color-dark);
    border-top: 0;
    border-radius: 0 0 50% 50%;
    background: transparent;
}
.ao-measure-eye-left { left: 32%; }
.ao-measure-eye-right { right: 32%; }
.ao-measure-nose {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 22px;
    height: 22%;
    border-left: 3px solid var(--color-dark);
    border-bottom: 3px solid var(--color-dark);
    border-radius: 0 0 0 12px;
    background: transparent;
    transform: translateX(-50%);
}
.ao-measure-cheek {
    position: absolute;
    top: 57%;
    width: 28px;
    height: 10px;
    border-top: 2px solid rgba(26, 26, 26, 0.28);
    border-radius: 50%;
}
.ao-measure-cheek-left { left: 20%; }
.ao-measure-cheek-right { right: 20%; }
.ao-measure-mouth {
    position: absolute;
    left: 37%;
    bottom: 25%;
    width: 26%;
    height: 14px;
    border-bottom: 3px solid var(--color-dark);
    border-radius: 0 0 50% 50%;
}
.ao-measure-chin {
    position: absolute;
    left: 39%;
    bottom: 9%;
    width: 22%;
    height: 10px;
    border-bottom: 2px solid rgba(26, 26, 26, 0.4);
    border-radius: 50%;
}
.ao-measure-line {
    position: absolute;
    --measure-progress: 0%;
    color: var(--color-dark);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.58;
    transition: var(--transition);
}
.ao-measure-line::before,
.ao-measure-line::after {
    content: '';
    position: absolute;
    background: var(--color-dark);
    transition: var(--transition);
}
.ao-measure-line span {
    position: absolute;
    white-space: nowrap;
}
.ao-measure-line strong {
    position: absolute;
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    background: var(--color-dark);
    color: var(--color-cream);
    font-size: 0.62rem;
    line-height: 1;
    white-space: nowrap;
    transition: var(--transition);
    z-index: 3;
}
.ao-measure-ruler-fill {
    position: absolute;
    background: var(--color-dark);
    border-radius: var(--radius-pill);
    pointer-events: none;
    transition: width 0.25s ease, height 0.25s ease;
    opacity: 0.18;
}
.ao-measure-ticks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.ao-measure-ticks b {
    position: absolute;
    color: var(--color-dark);
    font-family: var(--font-mono);
    font-size: 0.52rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0.65;
}
.ao-measure-line.is-active {
    opacity: 1;
    color: var(--color-dark);
}
.ao-measure-line.is-active,
.ao-measure-line.is-active::before,
.ao-measure-line.is-active::after {
    background-color: var(--color-dark);
}
.ao-measure-line.is-active {
    filter: drop-shadow(0 0 5px rgba(26, 26, 26, 0.18));
}
.ao-measure-line-vertical.is-active,
.ao-measure-line-eyes.is-active,
.ao-measure-line-mouth.is-active {
    background-color: transparent;
}
.ao-measure-line-vertical {
    top: 5%;
    right: -44px;
    width: 14px;
    height: 88%;
    border: 2px solid var(--color-dark);
    border-radius: var(--radius-pill);
    background:
        repeating-linear-gradient(to bottom, var(--color-dark) 0 2px, transparent 2px 14px),
        var(--color-cream);
    background-size: 8px 100%, 100% 100%;
    background-position: center;
    background-repeat: repeat-y;
}
.ao-measure-line-vertical::before,
.ao-measure-line-vertical::after {
    left: -8px;
    width: 26px;
    height: 3px;
}
.ao-measure-line-vertical::before { top: 0; }
.ao-measure-line-vertical::after { bottom: 0; }
.ao-measure-line-vertical span {
    top: 44%;
    left: 24px;
    transform: rotate(90deg);
    transform-origin: left center;
}
.ao-measure-line-vertical strong {
    bottom: calc(var(--measure-progress) - 16px);
    left: 50%;
    transform: translateX(-50%);
}
.ao-measure-line-vertical .ao-measure-ruler-fill {
    left: 2px;
    bottom: 2px;
    width: 6px;
    height: var(--measure-progress);
}
.ao-measure-line-vertical .ao-measure-ticks b {
    left: 20px;
    transform: translateY(50%);
}
.ao-measure-line-vertical .ao-measure-ticks b:nth-child(1) { bottom: 0; }
.ao-measure-line-vertical .ao-measure-ticks b:nth-child(2) { bottom: 16.666%; }
.ao-measure-line-vertical .ao-measure-ticks b:nth-child(3) { bottom: 33.333%; }
.ao-measure-line-vertical .ao-measure-ticks b:nth-child(4) { bottom: 50%; }
.ao-measure-line-vertical .ao-measure-ticks b:nth-child(5) { bottom: 66.666%; }
.ao-measure-line-vertical .ao-measure-ticks b:nth-child(6) { bottom: 83.333%; }
.ao-measure-line-vertical .ao-measure-ticks b:nth-child(7) { bottom: 100%; }
.ao-measure-line-eyes,
.ao-measure-line-mouth {
    left: -42px;
    width: calc(100% + 84px);
    height: 14px;
    border: 2px solid var(--color-dark);
    border-radius: var(--radius-pill);
    background:
        repeating-linear-gradient(to right, var(--color-dark) 0 2px, transparent 2px 14px),
        var(--color-cream);
    background-size: 100% 8px, 100% 100%;
    background-position: center;
    background-repeat: repeat-x;
}
.ao-measure-line-eyes { top: 43%; }
.ao-measure-line-mouth { top: 66%; }
.ao-measure-line-eyes::before,
.ao-measure-line-eyes::after,
.ao-measure-line-mouth::before,
.ao-measure-line-mouth::after {
    top: -9px;
    width: 3px;
    height: 28px;
}
.ao-measure-line-eyes::before,
.ao-measure-line-mouth::before { left: 0; }
.ao-measure-line-eyes::after,
.ao-measure-line-mouth::after { right: 0; }
.ao-measure-line-eyes span,
.ao-measure-line-mouth span {
    left: 50%;
    top: -28px;
    transform: translateX(-50%);
}
.ao-measure-line-eyes strong,
.ao-measure-line-mouth strong {
    left: var(--measure-progress);
    top: 20px;
    transform: translateX(-50%);
}
.ao-measure-line-eyes .ao-measure-ruler-fill,
.ao-measure-line-mouth .ao-measure-ruler-fill {
    left: 2px;
    top: 2px;
    width: var(--measure-progress);
    height: 6px;
}
.ao-measure-line-eyes .ao-measure-ticks b,
.ao-measure-line-mouth .ao-measure-ticks b {
    top: 20px;
    transform: translateX(-50%);
}
.ao-measure-line-eyes .ao-measure-ticks b:nth-child(1),
.ao-measure-line-mouth .ao-measure-ticks b:nth-child(1) { left: 0; }
.ao-measure-line-eyes .ao-measure-ticks b:nth-child(2),
.ao-measure-line-mouth .ao-measure-ticks b:nth-child(2) { left: 20%; }
.ao-measure-line-eyes .ao-measure-ticks b:nth-child(3),
.ao-measure-line-mouth .ao-measure-ticks b:nth-child(3) { left: 40%; }
.ao-measure-line-eyes .ao-measure-ticks b:nth-child(4),
.ao-measure-line-mouth .ao-measure-ticks b:nth-child(4) { left: 60%; }
.ao-measure-line-eyes .ao-measure-ticks b:nth-child(5),
.ao-measure-line-mouth .ao-measure-ticks b:nth-child(5) { left: 80%; }
.ao-measure-line-eyes .ao-measure-ticks b:nth-child(6),
.ao-measure-line-mouth .ao-measure-ticks b:nth-child(6) { left: 100%; }
.ao-measure-line:not(.has-value) strong {
    transform: translateX(-50%);
}
.ao-measure-guide-note {
    width: 100%;
    display: grid;
    gap: 10px;
}
.ao-measure-step {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-text-light);
    transition: var(--transition);
}
.ao-measure-step span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    color: var(--color-dark);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
}
.ao-measure-step p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
}
.ao-measure-step.is-active {
    border-color: var(--color-dark);
    color: var(--color-dark);
    box-shadow: 0 0 0 3px var(--color-red-light);
}
.ao-measure-step.is-active span {
    background: var(--color-dark);
    color: var(--color-cream);
}

/* ===== OPTION CARDS ===== */
.ao-option-card {
    background: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.ao-option-card:hover { border-color: var(--color-red); background: var(--color-red-light); }
.ao-option-card.selected {
    border-color: var(--color-red);
    background: var(--color-red-light);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.12);
}
.ao-option-card h5 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 4px; }
.ao-option-card .price { font-family: var(--font-mono); font-size: 1.3rem; color: var(--color-red); font-weight: 700; }

/* ===== PROGRESS ===== */
.ao-progress { height: 6px; background: var(--color-cream-dark); border-radius: 3px; overflow: hidden; }
.ao-progress-bar { height: 100%; background: var(--color-dark); border-radius: 3px; transition: width 0.4s ease; }

/* ===== TOTAL BOX ===== */
.ao-total-box {
    background: var(--color-dark);
    color: var(--color-cream);
    padding: 20px 24px;
    border-radius: var(--radius);
    text-align: center;
}
.ao-total-box h4 { color: var(--color-cream); font-family: var(--font-heading); margin: 0; }
.ao-total-box h4 span { color: var(--color-cream); font-family: var(--font-mono); }

/* ===== SHIPPING INFO ===== */
.ao-shipping-info {
    display: flex;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-card);
}
.ao-shipping-option {
    cursor: pointer;
    transition: var(--transition);
}
.ao-shipping-option:hover,
.ao-shipping-option.selected {
    border-color: rgba(26, 26, 26, 0.34);
    box-shadow: var(--shadow);
}
.ao-shipping-option > .form-check-input {
    margin-top: 18px;
    flex: 0 0 auto;
}
.ao-shipping-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    color: var(--color-cream);
    font-size: 1.35rem;
}
.ao-shipping-info h5 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.ao-shipping-info p {
    margin-bottom: 8px;
    color: var(--color-text);
}
.ao-shipping-info small {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== LIST ITEMS ===== */
.ao-list-item {
    padding: 12px 16px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.ao-list-item:hover { border-color: rgba(26, 26, 26, 0.34); background: var(--color-red-light); }

/* ===== FOOTER ===== */
.ao-footer {
    background: var(--color-dark);
    color: rgba(243, 236, 224, 0.7);
    padding: 60px 0 0;
}
.ao-footer a { color: rgba(243, 236, 224, 0.7); }
.ao-footer a:hover { color: var(--color-cream); }
.ao-footer-grid {
    align-items: stretch;
}
.ao-footer-col {
    padding-left: 34px;
    min-height: 190px;
}
.ao-footer-col:first-child {
    padding-left: 12px;
}
.ao-footer-title {
    color: var(--color-cream);
    margin-bottom: 22px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
}
.ao-footer-brand {
    display: flex;
    align-items: center;
}
.ao-footer-logo {
    display: block;
    width: 150px;
    height: auto;
    object-fit: contain;
}
.ao-footer-links {
    line-height: 2.25;
    font-size: 1.05rem;
    font-weight: 500;
}
.ao-footer-contact-link {
    color: rgba(243, 236, 224, 0.7);
}
.ao-footer-contact-link:hover {
    color: var(--color-cream);
}
.ao-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}
.ao-footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(243, 236, 224, 0.18);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cream);
}
.ao-footer-social a:hover {
    background: var(--color-cream);
    color: var(--color-dark);
}
.ao-footer-payments {
    margin-top: 30px;
}
.ao-footer-payments .ao-footer-title {
    margin-bottom: 14px;
    font-size: 1.15rem;
}
.ao-payment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ao-payment-list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 14px;
    border: 1px solid rgba(243, 236, 224, 0.18);
    border-radius: var(--radius-pill);
    color: rgba(243, 236, 224, 0.78);
    font-size: 0.82rem;
}
.ao-payment-list .ao-payment-logo {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
    border: 1px solid rgba(243, 236, 224, 0.22);
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}
.ao-payment-yape {
    border-radius: 50%;
    background: rgba(243, 236, 224, 0.1);
    font-style: italic;
}
.ao-payment-plin {
    border-radius: 42% 50% 48% 42%;
    background: rgba(243, 236, 224, 0.1);
    font-size: 0.78rem !important;
}
.ao-payment-transfer {
    width: auto !important;
    padding: 0 12px !important;
    border-radius: 50%;
    background: rgba(243, 236, 224, 0.1);
    font-size: 0.72rem !important;
}
.ao-footer-bottom {
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.82rem;
    color: rgba(243, 236, 224, 0.4);
}

/* ===== WHATSAPP ===== */
.ao-whatsapp {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 56px;
    height: 56px;
    padding: 0;
    background: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: var(--transition);
}
.ao-whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); color: #ffffff !important; }

/* ===== ADMIN SIDEBAR ===== */
.ao-sidebar {
    width: 240px;
    min-height: 100vh;
    background: var(--color-dark);
    border-right: 3px solid var(--color-cream);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.ao-sidebar-brand {
    padding: 24px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(243, 236, 224, 0.08);
}
.ao-sidebar-brand h4 { font-family: var(--font-heading); color: var(--color-cream); font-size: 1.2rem; margin: 0; }
.ao-sidebar nav { padding: 16px 0; }
.ao-sidebar nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 24px;
    color: rgba(243, 236, 224, 0.65);
    font-size: 0.88rem; font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.ao-sidebar nav a:hover {
    color: var(--color-cream);
    background: rgba(243, 236, 224, 0.12);
    border-left-color: var(--color-cream);
}
.ao-sidebar nav a i { font-size: 1.1rem; width: 20px; text-align: center; }

/* ===== ADMIN TOPBAR ===== */
.ao-topbar {
    padding: 16px 24px;
    background: var(--color-card);
    border-bottom: 0 !important;
}

/* ===== ADMIN KPIs ===== */
.ao-kpi {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-red);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    box-shadow: var(--shadow);
}
.ao-kpi h6 {
    font-family: var(--font-body);
    font-size: 0.78rem; font-weight: 500;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}
.ao-kpi h3 { font-family: var(--font-mono); font-size: 1.8rem; margin: 0; }

/* ===== ADMIN TABLES ===== */
.ao-panel .table { margin: 0; }
.ao-panel .table th {
    border: none;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    padding: 10px 12px;
}
.ao-panel .table td {
    border: none;
    padding: 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}
.ao-panel .table tbody tr:hover { background: var(--color-red-light); }

/* ===== ANIMATIONS ===== */
.ao-animate { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.ao-fade-in { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .ao-sidebar { display: none; }
    .ao-navbar {
        padding: 12px 0;
    }
    .ao-navbar .container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .ao-navbar .navbar-brand {
        margin-right: 0;
        flex: 0 0 auto;
    }
    .ao-navbar .navbar-toggler {
        margin-left: auto;
        padding: 8px;
        border-radius: 8px;
        flex: 0 0 auto;
    }
    .ao-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 2px rgba(243, 236, 224, 0.18);
    }
    .ao-mobile-menu {
        --bs-offcanvas-width: 100vw;
    }
    .ao-mobile-menu .offcanvas-header {
        padding: 22px 24px 12px;
        border-bottom: 1px solid rgba(243, 236, 224, 0.12);
    }
    .ao-mobile-menu .offcanvas-body {
        display: block;
        padding: 22px 24px 32px;
    }
    .ao-navbar .navbar-nav {
        align-items: stretch !important;
        gap: 2px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        max-width: 420px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .ao-navbar .nav-link,
    .ao-mobile-auth .nav-link {
        text-align: center;
        width: 100%;
    }
    .ao-mobile-auth {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .ao-hero { padding: 60px 0; }
    .ao-hero h1 { font-size: 2rem; }
    .ao-hero-fullheight {
        min-height: calc(100svh - 87px);
    }
    .ao-team-grid {
        max-width: 760px;
    }
    .ao-team-card-inner {
        flex-direction: column;
        text-align: center;
        gap: 18px;
        padding: 24px;
    }
    .ao-team-info {
        text-align: center;
    }
    .ao-team-socials {
        justify-content: center;
    }
    .ao-footer-grid {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
    .ao-footer-col {
        padding-left: 12px;
        padding-right: 12px;
        text-align: center;
    }
    .ao-footer-brand {
        justify-content: center;
    }
    .ao-footer-social,
    .ao-payment-list {
        justify-content: center;
    }
}
@media (min-width: 768px) {
    .ao-masks-carousel-3 .carousel-item-next:not(.carousel-item-start),
    .ao-masks-carousel-3 .active.carousel-item-end {
        transform: translateX(33.333333%);
    }
    .ao-masks-carousel-3 .carousel-item-prev:not(.carousel-item-end),
    .ao-masks-carousel-3 .active.carousel-item-start {
        transform: translateX(-33.333333%);
    }
    .ao-masks-carousel-2 .carousel-item-next:not(.carousel-item-start),
    .ao-masks-carousel-2 .active.carousel-item-end {
        transform: translateX(50%);
    }
    .ao-masks-carousel-2 .carousel-item-prev:not(.carousel-item-end),
    .ao-masks-carousel-2 .active.carousel-item-start {
        transform: translateX(-50%);
    }
}
@media (max-width: 767px) {
    .ao-section { padding: 50px 0; }
    .ao-panel { padding: 20px; }
    .ao-hero {
        padding: 54px 0;
    }
    .ao-hero-fullheight {
        min-height: calc(100svh - 79px);
    }
    .ao-hero p {
        font-size: 0.95rem;
        line-height: 1.65;
    }
    .ao-hero .d-flex.gap-3 {
        gap: 12px !important;
    }
    .ao-hero .ao-btn,
    .ao-hero .ao-btn-outline {
        width: min(100%, 230px);
        justify-content: center;
    }
    .ao-section-title {
        font-size: 1.75rem;
    }
    .ao-section-subtitle {
        margin-bottom: 34px;
    }
    .ao-navbar .container {
        gap: 12px;
    }
    .ao-navbar .navbar-toggler {
        padding: 7px;
    }
    .ao-mobile-menu {
        --bs-offcanvas-width: 100vw;
    }
    .ao-navbar .nav-link,
    .ao-mobile-auth .nav-link {
        padding: 11px 12px !important;
        font-size: 0.84rem;
    }
    .ao-whatsapp {
        right: 18px;
        bottom: 18px;
        height: 52px;
        width: 52px;
        font-size: 1.45rem;
    }
    .ao-team-grid {
        max-width: 440px;
    }
    .ao-team-photo {
        width: min(200px, 100%);
        height: auto;
        aspect-ratio: 1 / 1;
        flex: 0 0 auto;
    }
    .ao-team-card-inner {
        padding: 22px;
    }
    .ao-login-section { padding: 46px 0 70px; }
    .ao-login-panel { padding: 24px; }
    .ao-btn, .ao-btn-outline, .ao-btn-dark { padding: 10px 20px; font-size: 0.85rem; }
    .ao-shipping-info { flex-direction: column; padding: 18px; }
    .ao-measure-guide { min-height: auto; padding: 24px 18px; }
    .ao-measure-face { width: min(210px, 72%); }
    .ao-measure-line { font-size: 0.58rem; }
    .ao-measure-line-vertical { right: -38px; }
    .ao-measure-line-eyes,
    .ao-measure-line-mouth {
        left: -34px;
        width: calc(100% + 68px);
    }
    .ao-measure-step { grid-template-columns: 24px 1fr; padding: 9px 10px; }
    .ao-measure-step span { width: 24px; height: 24px; }
    .ao-footer {
        padding-top: 46px;
    }
    .ao-footer-grid {
        max-width: 360px;
    }
    .ao-footer-col {
        min-height: auto;
        padding: 26px 0 0;
        text-align: center;
    }
    .ao-footer-col:first-child {
        padding-top: 0;
    }
    .ao-footer-brand { justify-content: center; }
    .ao-footer-logo { width: 130px; }
    .ao-footer-title {
        margin-bottom: 14px;
    }
    .ao-footer-links {
        line-height: 2;
    }
    .ao-footer-social {
        justify-content: center;
    }
    .ao-footer-payments { text-align: center; }
    .ao-payment-list { justify-content: center; }
    .ao-services-showcase { grid-template-columns: 1fr; }
    .ao-service-item { min-height: 320px; padding: 42px 22px 34px; }
    .ao-service-item + .ao-service-item {
        border-left: 0;
        border-top: 1px solid var(--color-border);
    }
    .ao-carousel-control { display: none; }
    .ao-mask-slide-card { margin-bottom: 16px; }
}
