body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172033;
    background: #fff;
}

:root {
    --model-primary: #d23287;
    --model-secondary: #f8fafc;
    --art-gradient-1: linear-gradient(135deg, #fceabb 0%, #f8b500 100%);
    --art-gradient-2: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    --art-gradient-3: linear-gradient(135deg, #8e2de2 0%, #4a00e0 100%); /* Purple gradient for hero */
    --art-gradient-main: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%); /* Red gradient for button */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

a {
    color: inherit;
}

.navbar-brand {
    color: var(--model-primary) !important;
}

.btn-primary {
    background: var(--model-primary);
    border-color: var(--model-primary);
}

.btn-primary:hover {
    filter: brightness(.92);
    background: var(--model-primary);
    border-color: var(--model-primary);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-icon:hover,
.btn-icon:focus {
    background: var(--model-primary);
    border-color: var(--model-primary);
    color: #fff;
}

.btn-art {
    background: var(--art-gradient-main);
    color: #fff;
    border: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 160, 133, 0.4);
}

.btn-art:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253, 160, 133, 0.6);
    color: #fff;
}

.section {
    padding: 50px 0;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading span,
.eyebrow,
section span:first-child {
    color: var(--model-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 0;
}

.narrow {
    max-width: 900px;
}

.hero {
    padding: 50px 0;
    background: linear-gradient(180deg, var(--model-secondary), #fff);
}

.hero h1,
.photo-hero h1,
.profile-hero h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
}

.public-profile-name {
    letter-spacing: 0;
    line-height: .95;
}

.template-one .public-profile-name {
    font-family: "Fleur De Leah", cursive;
    font-weight: 400 !important;
}

.template-two .public-profile-name {
    font-family: "Playfair Display", serif;
    font-weight: 800 !important;
    line-height: 1;
}

.template-three .public-profile-name {
    font-family: "Montserrat", sans-serif;
    font-weight: 800 !important;
    line-height: 1.02;
}

.template-one .hero h1.public-profile-name {
    font-size: clamp(4rem, 8vw, 7.5rem);
}

.template-two .photo-hero h1.public-profile-name {
    font-size: clamp(3.2rem, 7vw, 6rem);
}

.template-two .profile-location-list {
    justify-items: center;
}

.template-three .profile-hero h1.public-profile-name {
    font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.template-two h1,
.template-two h2,
.template-two .section-heading h2 {
    font-family: "Playfair Display", serif;
    font-weight: 800;
    letter-spacing: 0;
}

.template-three h1,
.template-three h2,
.template-three .section-heading h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

.hero p,
.photo-hero p,
.profile-hero p {
    font-size: 1.12rem;
    color: #4b5563;
}

.hero-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(17, 24, 39, .16);
}

.social-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-location-list {
    display: grid;
    gap: 8px;
    margin: 10px 0 16px;
}

.profile-location {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #475569;
    font-weight: 400;
    text-decoration: none;
}

.profile-location:hover {
    color: #475569;
    text-decoration: none;
}

.profile-location .fi {
    width: 28px;
    height: 21px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .12);
}

.followers-counter {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 8px;
}

.followers-counter strong {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1;
    color: var(--model-primary);
}

.followers-counter span {
    color: #64748b;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.trusted-companies {
    display: block;
    padding: 30px 0;
    overflow: hidden;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.trusted-companies-label {
    margin-bottom: 14px;
    padding: 0 15px;
    color: var(--model-primary);
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}

.trusted-marquee {
    overflow: hidden;
    min-width: 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trusted-track {
    display: flex;
    width: max-content;
    gap: 60px;
    animation: trusted-scroll 110s linear infinite;
}

.trusted-track:hover {
    animation-play-state: paused;
}

.trusted-track span {
    color: #172033;
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

@keyframes trusted-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.btn-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.social-fallback-icon {
    font-weight: 900;
    line-height: 1;
}

.gallery-grid img,
.masonry-lite img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 50% 10%;
    border-radius: 8px;
}

.masonry-lite .col-md-8 img {
    aspect-ratio: 3 / 4;
}

.gallery-lightbox-link {
    display: block;
    height: 100%;
    cursor: zoom-in;
}

.product-card {
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 14px 38px rgba(17, 24, 39, .06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(17, 24, 39, .12);
    border-color: rgba(255, 255, 255, 0.9);
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f3f4f6;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-lightbox-link {
    display: block;
    cursor: zoom-in;
    overflow: hidden;
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
}

.product-card p {
    color: #596275;
    min-height: 10px;
}

.services-section {
    background: #fff;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.services-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    padding: 14px 16px;
    font-weight: 700;
}

.services-list i {
    color: var(--model-primary);
    font-size: 1.2rem;
    line-height: 1.2;
}

.payment-box {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    background: #f9fafb;
}

.donation-section {
    background: var(--model-secondary);
}

.donation-gift-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px;
}

.donation-gift-card h2 {
    margin-bottom: 8px;
    font-weight: 800;
}

.donation-gift-card p {
    font-size: 18px;
    margin-bottom: 0;
}

.donation-gift-icon {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--model-primary);
    color: #fff;
    font-size: 2rem;
}

.donation-gift-card .btn {
    margin-left: auto;
    white-space: nowrap;
}

.donation-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
}

.payment-section {
    background: #f8fafc;
}

.payment-public-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.payment-public-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.payment-public-card dl {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 6px 12px;
    margin: 0;
}

.payment-public-card dt {
    color: #64748b;
}

.payment-public-card dd {
    margin: 0;
    font-weight: 600;
    word-break: break-word;
}

.qr-card img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
}

.payment-method-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 18px;
    align-items: start;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.payment-method-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.payment-method-card dl {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 6px 12px;
    margin: 0;
}

.payment-method-card dt {
    color: #64748b;
}

.payment-method-card dd {
    margin: 0;
    font-weight: 600;
    word-break: break-word;
}

.payment-method-qr img {
    width: 100%;
    max-height: 210px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

#donationModal .payment-method-card {
    grid-template-columns: 1fr;
}

#donationModal .payment-method-qr img {
    max-height: 210px;
}

.contact-band {
    background: #111827;
    color: #fff;
}

.contact-band.dark {
    background: #020617;
}

.contact-list {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.contact-list span,
.contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    text-decoration: none;
}

.contact-list a,
.contact-social-row a {
    color: #fff;
}

.contact-social-row {
    margin-top: 18px;
}

.contact-location-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.contact-location-link:hover {
    color: #fff;
    text-decoration: none;
}

.contact-location-link .fi {
    width: 28px;
    height: 21px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .22);
}

.site-footer {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 -12px 28px rgba(15, 23, 42, .18);
    color: #cbd5e1;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.footer-copy {
    color: #fff;
}

.not-found {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.photo-hero {
    min-height: 78vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: end;
    position: relative;
    color: #fff;
}

.template-two .photo-hero {
    background-size: cover;
    background-position: 50% 20%;
}

.photo-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08));
}

.photo-hero .container {
    position: relative;
}

.photo-hero-copy {
    max-width: 680px;
    padding: 90px 0;
}

.profile-hero {
    padding: 76px 0;
    background: #f8fafc;
}

.profile-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 28px;
}

.profile-shell img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.stats-band {
    text-align: center;
    background: var(--model-primary);
    color: #fff;
    padding: 34px 0;
}

.stats-band strong {
    display: block;
    font-size: 2rem;
}

.stats-band span {
    color: #dbeafe;
    text-transform: none;
}

.editor-body {
    background: #f5f7fb;
}

.editor-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 15px;
}

.editor-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.template-option {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.template-option.active {
    border-color: #0d6efd;
}

.template-option img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #eef2ff;
}

.json-editor {
    font-family: Consolas, monospace;
    min-height: 500px !important;
}

.gallery-admin-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.gallery-admin-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 50% 10%;
    background: #f1f5f9;
}

#pagos .gallery-admin-item img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.gallery-admin-item code {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.editor-image-preview {
    display: inline-block;
    max-width: 220px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.editor-image-preview img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.editor-image-preview-sm {
    max-width: 160px;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(2, 6, 23, .92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 56px 70px;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 100%;
    max-height: calc(100vh - 112px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.lightbox-button {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(15, 23, 42, .45);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    top: 18px;
    right: 18px;
}

.lightbox-prev {
    left: 18px;
}

.lightbox-next {
    right: 18px;
}

.navbar-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.brand-logo {
    width: auto;
    height: 57px;
}

.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.modelis-home-hero {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--art-gradient-3);
    background-attachment: fixed;
}

.hero-blob {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .35;
}

.hero-blob-1 {
    top: -120px;
    right: -80px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #fda085, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero-blob-2 {
    bottom: -140px;
    left: -100px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #f6d365, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

.modelis-home-hero .container {
    position: relative;
    z-index: 1;
}

.modelis-home-hero h1 {
    font-size: clamp(3rem, 8vw, 6.4rem);
    font-weight: 900;
    line-height: .96;
    background: linear-gradient(135deg, #fff4b8 0%, #ffd55a 34%, #c89116 68%, #fff0a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 14px rgba(72, 42, 0, 0.28);
}

.modelis-home-hero p {
    font-size: 1.18rem;
    color: #475569;
    max-width: 760px;
}

.hero-free-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgb(2 51 149);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .18);
    backdrop-filter: blur(10px);
}

.home-preview {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}

.home-preview img {
    display: block;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.feature-box {
    height: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .3s ease;
}

.feature-box-accent:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(17, 24, 39, .15);
    border-color: rgba(255, 255, 255, 0.8);
}

.feature-box i {
    font-size: 2.2rem;
    background: var(--art-gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 10px;
}

.feature-box h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: 14px;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--art-gradient-2);
    background-attachment: fixed;
}

.login-card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 44px 36px;
    box-shadow: 0 32px 64px rgba(31, 38, 135, 0.15);
    transition: transform 0.3s ease;
}
.login-card:hover {
    transform: translateY(-4px);
}

.login-logo {
    width: auto;
    height: 120px;
    margin: 0 auto 16px;
    display: block;
}

.modal-body {
    padding: 10px 3% 20px;
}

nav.navbar.navbar-expand-lg.navbar-glass.sticky-top {
    padding: 2px 0;
}

