* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    background: var(--tertiary-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: always;
    text-rendering: optimizeLegibility;
}

html, body {
  overscroll-behavior: none;
}

html.sr .load-hidden {
    visibility: hidden;
}

:root {

    /* Colors */
    --main-color: #ffeee6;
    --secondary-color: white;
    --tertiary-color: black;
    --success-color: #009f42;
    --error-color: #e74c3c;

    /* Global Elements */
    --btn-p: 1rem 1.75rem;

    --first-section-p: 6rem;

    --label-headline-font-size: 1.35rem;

    --paragraph-font-size: 1.125rem;
    --paragraph-line-height: 1.6rem;

    --section-p: 6rem 2rem;
    --section-header-font-size: 1vw;
    --section-header-max-w: 500px;
    --section-header-gap: 3rem;

    --subheadline-font-size: 3rem;

    /* Hero Elements */
    --bottom-content-max-w: 540px;
    --bottom-content-gap: 2rem;
    --bottom-content-headline: none;
    --bottom-content-logo: block;

    --content-max-w: 100%;
    --content-font-size: 1.75vw;
    --content-p-tb: 3rem;
    --content-p-lr: 3rem;

    --headline-font-size: 5rem;
    --headline-letter-spacing: -0.2rem;

    --hero-btns-gap: 0.75rem;
    --hero-btns-flex-dir: row;
    --hero-bg: url('/img/img_placeholder_webgl.jpg') center center / cover no-repeat;
    
    --logo-font-size: 2.5rem;

    --mobile-vid-bg-display: none;
    --upper-content-headline: block;
    --upper-content-logo: none;

    /* Services Elements */
    --services-grid: 1fr 1fr;
    --services-grid-gap: 2rem;

    --services-card-content-gap: 1.65rem;
    --services-card-content-p: 1.5em;

    /* Portfolio Elements */
    --portfolio-align: left;
    --portfolio-content-col: 1fr 2fr;
    --portfolio-set-gap: 3rem;

    /* Pricing Elements */
    --pricing-features-grid: 1fr 1fr;
    --pricing-features-gap: 1.25rem 2.625rem; 
    --pricing-feature-adjustment: -1rem;

    --pricing-font-size: 22rem;

    --pricing-num-m: 1rem 0 3rem 0;

    /* Contact Elements */
    --calendar-day-font-size: 0.875rem;
    --calendar-days-gap: 0.25rem;

    --form-grid-grid: 1fr 1fr;
    --form-grid-gap: 2rem;

    --inquiry-form-top-grid: 1fr 1fr 1fr;

    --modal-header-font-size: 1.5rem;

    --modal-close-pos-tr: 1rem;

    --modal-content-w: 90%;
    --modal-content-max-h: 90dvh;
    --modal-content-p: 2rem;
    --modal-content-m: auto;

}

/* Responsive styles */
@media (min-width: 1440px) {
    :root { 
        /* Global Elements */

        --label-headline-font-size: 1.5rem;

        --btn-p: 1.125rem 1.75rem;

        --paragraph-font-size: 1.25rem;
        --paragraph-line-height: 1.75rem;
        
        --section-header-max-w: 640px;

        --subheadline-font-size: 3.5rem;

        /* Hero Elements */
        --headline-font-size: 5.5rem;
        --headline-letter-spacing: -0.2rem;

        --logo-font-size: 3rem;

        /* Contact Elements */
        --modal-header-font-size: 1.65rem;
    }
}

@media (max-width: 1024px) {
    :root {

        /* Hero Elements */
        --headline-font-size: 5em;

        /* Pricing Elements */
        --pricing-font-size: 38vw;
    }
}

@media (max-width: 768px) {
    :root {

        /* Hero Elements */
        --content-p-tb: 2rem;
        --content-p-lr: 2rem;

        --headline-font-size: 5em;
        --headline-letter-spacing: -0.15rem;

        /* Pricing Elements */
        --pricing-features-grid: 1fr;
        --pricing-features-gap: 0.5rem 1.5rem;

        /* Services Elements */
        --services-grid: 1fr;
        --services-grid-gap: 1.5rem;
    }
} 

@media (max-width: 640px) {
    :root {

        /* Global Elements */

        --btn-p: 0.75rem 1.5rem;

        --first-section-p: 3rem;

        --paragraph-font-size: 1rem;
        --paragraph-line-height: 1.5rem;

        --section-header-gap: 2rem;

        --section-p: 3rem 1rem;

        --subheadline-font-size: 8em;

        /* Hero Elements */
        --bottom-content-gap: 1.5rem;
        --bottom-content-max-w: 480px;

        --content-max-w: 95vw;
        --content-font-size: 1vw;

        --headline-font-size: 11em;

        --hero-bg: url('/img/img_placeholder_vid.jpg') center center / cover no-repeat;

        --mobile-vid-bg-display: block !important;

        

        /* Contact Elements */
        --form-grid-grid: 1fr;
        --form-grid-gap: 1rem;

        --inquiry-form-top-grid: 1fr;

        /* Services Elements */
        --services-card-content-gap: 0;
    }
}

@media (max-width: 480px) {
    :root {

        /* Global Elements */
        --btn-p: 0.75rem 1.35rem;

        --label-headline-font-size: 1.15rem;

        --section-header-gap: 1.5rem;

        --section-p: 3rem 1.5rem;

        /* Hero Elements */
        --bottom-content-headline: block;
        --bottom-content-logo: none;

        --content-p-lr: 1.5rem;

        --headline-font-size: 10em;
        --headline-letter-spacing: -0.1rem;

        --hero-btns-gap: 0.65rem;

        --logo-font-size: 2.25rem;

        --upper-content-headline: none;
        --upper-content-logo: block;

        /* Services Elements */
        --services-card-content-p: 1.25em;

        /* Portfolio Elements */
        --portfolio-align: center;
        --portfolio-content-col: 1fr;

        /* Pricing Elements */
        --pricing-feature-adjustment: -2rem;

        --pricing-num-m: 1rem 0 2rem 0;
        
        /* Contact Elements */
        --calendar-day-font-size: 0.75rem;
        --calendar-days-gap: 0.125rem;

        --modal-close-pos-tr: 0.75rem;

        --modal-content-w: 100%;
        --modal-content-max-h:100%;
        --modal-content-p: 1.5rem;
        --modal-content-m: 0;
    }
}

@media (max-width: 369px) {
    :root {

        /* Hero Elements */
        --content-max-w: 100dvw;

        --headline-font-size: 11em;

        --hero-btns-flex-dir: column;
        --hero-btns-gap: 0.5rem;
    }
}

.cover-sections {
    position: relative;
    background: #000;
    z-index: 10;
    margin-top: 100vh;
    background-image: url('/img/img_bg_sections.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.section-header {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto var(--section-header-gap) auto;

    max-width: var(--section-header-max-w);
    font-size: var(--section-header-font-size);
}

.subheadline {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    text-align: center;
    color: var(--main-color);
    line-height: 1.25;
    letter-spacing: -0.1rem;

    font-size: var(--subheadline-font-size);
}

.paragraph {
    font-family: "Inter", sans-serif;
    letter-spacing: -0.25px;

    color: var(--secondary-color);
    font-size: var(--paragraph-font-size);
    line-height: var(--paragraph-line-height);
}

a.paragraph:link, a.paragraph:link, a.paragraph:active {
    text-decoration: none;
    color: var(--secondary-color);
}

a.paragraph:hover {
    text-decoration: underline;
}

/* Smooth Scroll */

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Optimize animations for better performance */
* {
    will-change: auto;
}

.hero,
.cover-sections {
    will-change: transform;
}

/* Buttons */

.btn {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 2.5px;
    cursor: pointer;
    text-align: center;

    font-size: calc(var(--paragraph-font-size) - 0.25rem);
    padding: var(--btn-p);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:hover {
    background-position: right center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color) 51%, #666 100%);
    background-size: 200% auto;
    color: var(--tertiary-color);
    transition: all 0.5s ease;
}

.btn-secondary {
    background: linear-gradient(135deg, #000 0%, #000 51%, #333 100%);
    background-size: 200% auto;
    color: var(--secondary-color);
    border: 0.5px solid #333333;
    transition: all 0.5s ease;
}

/* Sections */

.hero {
    width: 100vw;
    min-height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
    background: var(--hero-bg);
    opacity: 0;
}

.hero.hidden {
    display: none;
}

.section {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;

    padding: var(--section-p);
}

.cover-sections > .section:first-child {
    padding-top: calc(var(--first-section-p) * 1.5);
}

.section.services-section {
    overflow: visible;
}

/* Hero Elements */

.hero-buttons {
    display: flex;
    margin-top: 1rem;

    flex-direction: var(--hero-btns-flex-dir);
    gap: var(--hero-btns-gap);
}

.webgl-container {
    width: 100%;
    height: 110vh;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.webgl-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}



.gradient-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    background: radial-gradient(ellipse at bottom left, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 70%);
    pointer-events: none;
}

.content {
    height: 100%;
    position: fixed;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;

    font-size: var(--content-font-size);
    padding-left: calc(var(--content-p-lr) + env(safe-area-inset-left));
    padding-right: calc(var(--content-p-lr) + env(safe-area-inset-right));
    padding-top: calc(var(--content-p-tb) + env(safe-area-inset-top));
    padding-bottom: calc(var(--content-p-tb) + env(safe-area-inset-bottom));
    max-width: var(--content-max-w);
}

.upper-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.upper-content .headline {
    display: var(--upper-content-headline);
}

.upper-content .logo {
    display: var(--upper-content-logo);
}

.bottom-content {
    display: flex;
    flex-direction: column;

    gap: var(--bottom-content-gap);
    max-width: var(--bottom-content-max-w);
}

.bottom-content .headline {
    display: var(--bottom-content-headline);
}

.bottom-content .logo {
    display: var(--bottom-content-logo);
}

.logo {
    font-family: "Galgo-Medium", Helvetica, sans-serif;
    font-weight: 500;
    letter-spacing: 0;

    color: var(--secondary-color);
    font-size: var(--logo-font-size);
}

.headline {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    line-height: 1.1;

    color: var(--main-color);
    letter-spacing: var(--headline-letter-spacing);
    font-size: var(--headline-font-size);
}

/* Services Elements */

.services {
    width: 100%;
    max-width: 891px;
    position: relative;
}

.services-title {
    font-family: "Inter", Helvetica, sans-serif;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 2rem;
    text-align: center;
    letter-spacing: -0.80px;
    line-height: 2.4rem;
    margin: 0;
}

.services-subtitle {
    font-family: "Inter", Helvetica, sans-serif;
    font-weight: 400;
    color: #cccccc;
    font-size: 1.125rem;
    text-align: center;
    letter-spacing: -0.45px;
    line-height: 1.575rem;
    margin: 0;
}

.services-grid {
    display: grid;
    width: 100%;
    margin: 0 auto;
    gap: var(--services-grid-gap);
    grid-template-columns: var(--services-grid);
}

.service-card {
    color: var(--secondary-color);
    border: 0.5px solid #333;
    border-radius: 5px;
}

.service-card-content {
    display: flex;
    flex-direction: column;
    padding: var(--services-card-content-p);
    gap: var(--services-card-content-gap);
}

.service-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
}

.service-title {
    flex: 1;
    height: 3.625rem;
    margin-top: -1px;
    font-family: "Inter", Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: -0.25px;
    line-height: 1.3;
    margin-bottom: 0;

    color: var(--main-color);
    font-size: var(--label-headline-font-size);
}

.service-icon {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
    
    border-radius: 0.25rem;
}

.service-description {
    width: 100%;
}

/* Portfolio Elements */

.portfolio {
    width: 100%;
    max-width: 891px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.portfolio-set {
    display: flex;
    flex-direction: column;

    gap: var(--section-header-gap);
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-label {
    flex: 1;
    height: 3.625rem;
    margin-top: -1px;
    font-family: "Inter", Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: -0.25px;
    line-height: 1.3;
    margin-bottom: 0;

    color: var(--main-color);
    font-size: var(--label-headline-font-size);
}

.portfolio-image {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-content {
    padding: 1.25rem 1rem;
    display: grid;
    gap: 1rem;
    align-items: start;
    text-align: var(--portfolio-align);
    grid-template-columns: var(--portfolio-content-col);
}

.portfolio-content .portfolio-label {
    height: auto;
    margin: 0;
    text-align: var(--portfolio-align);
    color: var(--main-color);
}

.portfolio-content .paragraph {
    margin: 0;
    color: var(--secondary-color);
    opacity: 0.8;
    line-height: 1.5;
}

.view-more {
    text-decoration: none;
    font-weight:700;
    color: #999999;
    font-size: calc(var(--paragraph-font-size) - 0.175rem);
}

.view-more:hover {
    text-decoration: underline;
}

/* Pricing Elements */

.pricing {
    width: 100%;
    max-width: 891px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 2;
}

.pricing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-3rem);
}

.pricing-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 824px;
    padding: 0 1rem;
    margin: var(--pricing-num-m);
}
.pricing-num {
    font-family: "Galgo-Medium", Helvetica, sans-serif;
    letter-spacing: 0;
    font-weight: 500;
    line-height: 100%;
    margin: var(--pricing-num-m);
    color: var(--main-color);
    font-size: calc(var(--pricing-font-size) * 1.65);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
    font-variant-numeric: lining-nums;
    font-kerning: normal;
}

.pricing-separator {
    display: flex;
    justify-content: center;
}

.separator-line {
    width: 100%;
    max-width: 824px;
    height: 10px;
}

.pricing-features {
    display: grid;
    max-width: 800px;

    margin: calc(var(--pricing-feature-adjustment) - 1rem) auto 0 auto;
    gap: var(--pricing-features-gap);
    grid-template-columns: var(--pricing-features-grid);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 250px;
    min-height: 52px;
}

.feature-checkmark {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* FAQ Elements */

.faq {
    width: 100%;
    max-width: 891px;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.faq-list {
    width: 100%;
    max-width: 700px;
    margin: 1rem auto;
}

.faq-item {
    border-bottom: 1px solid #333333;
}

.faq-question {
    text-align: left;
    padding: 1.5rem 1.2rem 1.5rem 0;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    color: #999;
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
}

@keyframes faqAnsRev {
  from {opacity: 0;}
  to {opacity: 100;}
}

.faq-item.active .faq-answer {
    max-height: 700px;
    padding-bottom: 1.5rem;
    animation-name: faqAnsRev;
    animation-duration: 1s;
}

.check-adj {
    transform: translateY(0.175rem);
}

/* Contact Elements */

.contact {
    width: 100%;
    max-width: 891px;
    position: relative;
}

.contact-buttons {
    display: flex;
    justify-content: center;

    flex-direction: var(--hero-btns-flex-dir);
    gap: var(--hero-btns-gap);
}

/* Footer Elements */

.footer {
    width: 100%;
    max-width: 891px;
    position: relative;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-legal p {
    font-family: "Inter", Helvetica, sans-serif;
    font-weight: 400;
    color: #cccccc;
    font-size: 1rem;
    letter-spacing: -0.45px;
}

/* ===== MODAL STYLES ===== */

/* Modal Overlay */

.modal-headline {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    text-align: center;
    color: var(--secondary-color);
    padding-bottom: 2rem;

    font-size: var(--modal-header-font-size);
}

.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

/* Modal Content */

.modal-content {
    position: relative;
    background-color: #0f0f0f;
    border: #1a1a1a 0.25px solid;
    border-radius: 0;
    max-width: 600px;
    overflow-y: auto;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    width: var(--modal-content-w);
    max-height: var(--modal-content-max-h);
    padding: var(--modal-content-p);
    margin: var(--modal-content-m);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

/* Close Button */

.modal-close {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    background: #333333;
    color: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 10;

    top: var(--modal-close-pos-tr);
    right: var(--modal-close-pos-tr);
}

.modal-close:hover {
    background: #444444;
}

/* Inquiry Form Top Row Layout */

.inquiry-form-top {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;

    grid-template-columns: var(--inquiry-form-top-grid)
}

/* Form Layout */

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-grid {
    display: grid;
    
    grid-template-columns: var(--form-grid-grid);
    gap: var(--form-grid-gap);
}

.form-left,
.form-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Form Fields */

.form-field {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;

    font-size: calc(var(--paragraph-font-size) - 0.25rem);
    color: var(--secondary-color);
}

.form-label svg {
    width: 1rem;
    height: 1rem;

    color: var(--secondary-color);
}

/* Input Styles */

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: #1a1a1a;
    border: none;
    border-radius: 2px;
    line-height: 1.35;
    font-family: "Inter", sans-serif;

    font-size: calc(var(--paragraph-font-size) - 0.25rem);
    color: var(--secondary-color);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #666666;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: 0.5px solid #666666;
    border: none;
}

/* Form Validation Styles - Only show after form submission attempt */
.form.submitted .form-input:invalid,
.form.submitted .form-textarea:invalid,
.form.submitted .form-select:invalid {
    outline: 0.25px solid var(--error-color);
    border: none;
}

.form.submitted .form-input:focus:invalid,
.form.submitted .form-textarea:focus:invalid,
.form.submitted .form-select:focus:invalid {
    outline: 2px solid var(--error-color);
    border: none;
}

.form-textarea {
    resize: none;
    min-height: 4rem;
}

/* Select Wrapper */
.form-select-wrapper {
    position: relative;
}

.form-select {
    appearance: none;
    padding-right: 2rem;
}

.form-select-arrow {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    pointer-events: none;
}

/* Calendar Styles */

.form-calendar {
    background: #1a1a1a;
    border: none;
    border-radius: 2px;
    padding: 1rem;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.calendar-month {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.875rem;

    color: var(--secondary-color);
}

.calendar-nav {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0;
    transition: background-color 0.2s ease;

    color: var(--secondary-color);
}

.calendar-nav:hover {
    background: #333333;
}

.calendar-grid {
    width: 100%;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.calendar-weekday {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    color: #666666;
    text-align: center;
    padding: 0.25rem;
    font-weight: 500;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);

    gap: var(--calendar-days-gap);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;

    color: var(--secondary-color);
    font-size: var(--calendar-day-font-size);
}

.calendar-day:hover {
    background: #333333;
}

.calendar-day.selected {
    background: var(--secondary-color);
    color: var(--tertiary-color);
}

.calendar-day.today {
    border: 2px solid var(--main-color);
    border-radius: 4px;
}

.calendar-day.today.selected {
    border-color: var(--tertiary-color);
}

.calendar-day.disabled {
    color: #666666;
    cursor: not-allowed;
}

.calendar-day.disabled:hover {
    background: none;
}

/* Submit Button */

.form-submit {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}


.form-submit-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

@keyframes subtle-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

body.modal-open {
    overflow: hidden;
}

/* Toast Notifications */
.toast {
    font-family: "Inter", sans-serif;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    padding: 12px 20px;
    border-radius: 8px;
    color: var(--secondary-color);
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    background-color: var(--success-color);
}

.toast.error {
    background-color: var(--error-color);
}

.toast.info {
    background-color: #3498db;
}

.pswp__counter, .pswp__error-msg  {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: calc(var(--paragraph-font-size) - 0.25rem);
    color: var(--secondary-color);
}