/* OAcom Template - Default Article Styles (Identité Visuelle) */
/* SOURCE: templates/oui_build/html/com_content/article/default.php */

/* ========================================
   HERO VISUAL SECTION
   ======================================== */
.page-identite-visuelle {
    position: relative;
    background: var(--color-bg);
    min-height: 100vh;
}

.hero-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* Textures */
.hero-visual__textures {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1120px;
    pointer-events: none;
}

.texture-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.texture-layer--main {
    background-image: url('413eacfbb03b509dd7e3fa2a0b5030242f610297.png');
}

.texture-layer--overlay {
    background: var(--color-light);
    mix-blend-mode: soft-light;
    opacity: 0.6;
}

/* Sticky left content
 * Flex-column layout so the illustration sits in the upper half and the
 * title block (h1, dividers, subtitle) anchors itself to the lower half via
 * `margin-top: auto`. The decorative circle stays absolutely positioned as a
 * background flourish behind the illustration. This avoids the previous setup
 * where three absolutely-positioned children competed for vertical space and
 * collided whenever the header grew (e.g. when a subtitle is added).
 */
.hero-visual__sticky-left {
    position: fixed;
    left: clamp(100px, 16vw, 320px);
    top: 0;
    bottom: 0;
    width: clamp(310px, 28vw, 470px);
    max-width: 36vw;
    pointer-events: none;
}

.hero-visual__sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    pointer-events: auto;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: clamp(48px, 9vh, 110px) 0 clamp(56px, 12vh, 130px);
}

.hero-visual__circle-shape {
    position: absolute;
    top: clamp(0px, 2vh, 30px);
    left: 50%;
    transform: translateX(-50%) scale(0.92);
    width: clamp(200px, 20vw, 340px);
    height: clamp(200px, 20vw, 340px);
    border-radius: 50%;
    background: linear-gradient(24deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.1) 31%, rgba(255, 255, 255, 0) 100%);
    background-position: center;
    background-repeat: no-repeat;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    animation: hero-circle-reveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

@keyframes hero-circle-reveal {
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual__circle-shape {
        opacity: 1;
        transform: translateX(-50%) scale(1);
        animation: none;
    }
}

.process-section h1, .process-section h2  {
    font-size: 5rem !important;
    font-family: "Gothiks";
    line-height: 4rem;
    margin-bottom: 3rem !important;
}

.hero-visual__illustration {
    position: relative;
    align-self: center;
    width: clamp(130px, 12vw, 210px);
    height: clamp(130px, 12vw, 210px);
    object-fit: contain;
    z-index: 15;
    opacity: 0;
    transform: translateY(48px);
    animation: hero-illustration-popup 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) 0.3s forwards;
}

@keyframes hero-illustration-popup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual__illustration {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.hero-visual__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(10px, 1.5vh, 20px);
    margin-top: 3vh;
    position: relative;
    z-index: 15;
}

.favorite-btn svg {position:relative;}

.divider-line {
    width: 246px;
    height: 1px;
    background: white;
    transform: scaleX(0);
    animation: hero-divider-reveal 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
    will-change: transform;
}

/* Top divider grows from the left edge */
.hero-visual__header > .divider-line:first-child {
    transform-origin: left center;
}

/* Bottom divider grows from the right edge, slightly delayed */
.hero-visual__header > .divider-line ~ .divider-line {
    transform-origin: right center;
    animation-delay: 0.7s;
}

@keyframes hero-divider-reveal {
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .divider-line {
        transform: scaleX(1);
        animation: none;
    }
}

.hero-visual__title-group {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.favorite-btn {
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform var(--transition-normal);
}

.favorite-btn--active .favorite-icon img {
    filter: brightness(0) saturate(100%) invert(83%) sepia(31%) saturate(1256%) hue-rotate(5deg) brightness(101%) contrast(95%);
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
}

.hero-visual__title {
    font-family: "PolicePrincipale";;
    font-weight: 700;
    font-size: clamp(3rem, 3rem + 0.5rem, 5rem);
    line-height: 1;
    color: var(--color-white);
    text-align: center;
    margin: 0;
}

.hero-visual__subtitle {
    font-family: 'New Atten', 'Roboto', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.4;
    color: var(--color-white);
    text-align: center;
    margin: 16px auto 0;
    max-width: 640px;
    /* Reveal after both divider lines finish their entrance:
       bottom divider delay (0.7s) + duration (0.9s) = 1.6s */
    opacity: 0;
    transform: translateY(8px);
    animation: hero-subtitle-reveal 0.7s cubic-bezier(0.4, 0, 0.2, 1) 1.6s forwards;
}

@keyframes hero-subtitle-reveal {
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual__subtitle {
        opacity: 0.9;
        transform: none;
        animation: none;
    }
}

/* Sticky right decorative */
.hero-visual__sticky-right {
    position: absolute;
    left: 341px;
    top: 0;
    bottom: 0;
    width: 535px;
    pointer-events: none;
}

.decorative-circle {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    width: 535px;
    height: 622px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.decorative-circle__image {
    width: 100%;
    height: auto;
    transform: rotate(180deg) scaleY(-1);
    mix-blend-mode: soft-light;
}

/* Main content */
.hero-visual__content {
    position: relative;
    z-index: 10;
    padding: 12vh 0 200px;
    margin-left: 50%;
    margin-left: 51vw;
    width: 30vw;

}
.content-block__text h2 {font-size:5rem!important;font-family:"Gothiks";line-height:4rem;margin-bottom:3rem!important;}
.process-section h2 {font-size:4rem!important;font-family:"Gothiks";}

.process-section h3, .content-block__text h3 {text-transform:unset!important;}

/* Article body paragraphs +15% (16px -> 18.4px) */
.content-block__text p { font-size: 18.4px; line-height: 1.6; }

.content-block__title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 100px;
    line-height: 1;
    color: var(--color-dark);
    margin-bottom: 60px;
}

.content-block__subtitle {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 9px;
    color: var(--color-dark);
    text-transform: uppercase;
    margin-bottom: 60px;
}

.content-sections {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content-section__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.27;
    color: var(--color-dark);
    margin: 0;
}

.content-section__text {
    font-family: var(--font-text);
    font-weight: 300;
    font-size: 22px;
    line-height: 1.2;
    color: var(--color-dark);
}

.content-section__text p {
    margin: 0 0 10px 0;
}

.content-section__text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-section {
    position: relative;
    padding: 100px 0;
    background: var(--color-light);
    mix-blend-mode: color-burn;
}

.process-section__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-light);
    z-index: 0;
}

.process-section__container {
    position: relative;
    z-index: 1;
    max-width: 30vw;
    margin: 0 auto;
     margin-left: 51vw;

}

.sppb-addon-content ul li p {margin-bottom:0!important;}

.process-section__title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 100px;
    line-height: 1;
    color: var(--color-dark);
    margin-bottom: 60px;
    max-width: 640px;
}

.process-section__content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 528px;
}

/* Inline steps variant — used when the "process" custom field is populated */
.process-section--steps {
    padding: 60px 0;
    mix-blend-mode: normal;
}

.process-section__steps {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0 auto;
    padding: 0 24px;
    max-width: min(1200px, 92vw);
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 14px 18px;
    counter-reset: process-step;
}

.process-section__step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 0;
    min-width: 180px;
    max-width: 260px;
    padding: 0 4px clamp(1.5rem, 3vh, 3rem);
    color: var(--color-dark, #2a2f33);
    counter-increment: process-step;
    overflow: hidden;
    transform-origin: center bottom;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-section__step:hover {
    transform: scale(1.03);
}

.process-section__step::before {
    transition: opacity 0.4s ease;
}

.process-section__step:hover::before {
    opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
    .process-section__step,
    .process-section__step::before {
        transition: none;
    }

    .process-section__step:hover {
        transform: none;
    }
}

.process-section__step::before {
    content: counter(process-step, decimal-leading-zero);
    position: absolute;
    left: -0.05em;
    bottom: -0.22em;
    font-family: "PolicePrincipale", sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 6.5vw, 5rem);
    line-height: 0.85;
    letter-spacing: -0.03em;
    color: #000;
    opacity: 0.3;
    pointer-events: none;
}

.process-section__step-title {
    font-family: var(--font-heading, 'New Atten', 'Roboto', sans-serif);
    font-weight: 500;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.2;
}

.process-section__step-description {
    font-family: var(--font-body, 'New Atten', 'Roboto', sans-serif);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--color-grey-blue, #4A5458);
}

.process-section__step-description > *:first-child { margin-top: 0; }
.process-section__step-description > *:last-child  { margin-bottom: 0; }

.process-section__chevron {
    display: inline-flex;
    align-items: center;
    color: #fff;
    flex: 0 0 auto;
    align-self: stretch;
    margin-top: 5vh;
}

.process-section__chevron svg {
    display: block;
    width: 8px;
    height: 14px;
}

@media (max-width: 768px) {
    .process-section--steps {
        padding: 40px 0;
    }

    .process-section__steps {
        gap: 12px 12px;
        padding: 0 16px;
    }

    .process-section__step {
        min-width: 140px;
        max-width: 100%;
    }

    .process-section__step-title { font-size: 1rem; }
    .process-section__step-description { font-size: 0.9rem; }
}

.process-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-block__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.27;
    color: var(--color-dark);
    margin: 0;
}

.process-block__text {
    font-family: var(--font-text);
    font-weight: 300;
    font-size: 22px;
    line-height: 1.2;
    color: var(--color-dark);
}

.process-block__text p {
    margin: 0 0 10px 0;
}

.process-block__text p:last-child {
    margin-bottom: 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    position: relative;
    min-height: 1219px;
    padding: 223px 0 100px;
    overflow: hidden;
}

.contact-section__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.texture-layer--contact {
    background-image: url('413eacfbb03b509dd7e3fa2a0b5030242f610297.png');
}

.texture-layer--contact-overlay {
    background: var(--color-light);
    mix-blend-mode: soft-light;
    opacity: 0.6;
}

.bg {
    background-image: url(/images/background-2-2.webp);
    background-size: cover;
    background-position: center center;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.contact-section__container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 50px;
}

/* Typography background */
.contact-section__typography {
    position: absolute;
    left: 256px;
    top: -35px;
    width: 771px;
    height: 589px;
    pointer-events: none;
    opacity: 0.8;
}

.typography-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

.typography-letter {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 179.3px;
    line-height: 1.09;
    color: var(--color-dark);
    text-align: center;
}

/* Positioning each letter */
.typography-letter:nth-child(1) { left: 476.94px; top: 0; } /* O */
.typography-letter:nth-child(2) { left: 632.94px; top: 0; } /* N */
.typography-letter:nth-child(3) { left: 213.37px; top: 199.03px; } /* V */
.typography-letter:nth-child(4) { left: 346.05px; top: 199.03px; } /* O */
.typography-letter:nth-child(5) { left: 497.56px; top: 199.03px; } /* U */
.typography-letter:nth-child(6) { left: 641.9px; top: 199.03px; } /* S */
.typography-letter:nth-child(7) { left: 0; top: 393.57px; } /* É */
.typography-letter:nth-child(8) { left: 111.17px; top: 393.57px; } /* C */
.typography-letter:nth-child(9) { left: 236.68px; top: 393.57px; } /* O */
.typography-letter:nth-child(10) { left: 389.09px; top: 393.57px; } /* U */
.typography-letter:nth-child(11) { left: 528.04px; top: 393.57px; } /* T */
.typography-letter:nth-child(12) { left: 657.14px; top: 393.57px; } /* E */

/* Contact form */
.contact-form {
    position: relative;
    margin-left: auto;
    width: 496px;
    background: transparent;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.form__row {
    display: flex;
    gap: 12px;
}

.form__group {
    position: relative;
    width: 100%;
}

.form__group--half {
    flex: 1;
}

.form__input {
    width: 100%;
    height: 52px;
    padding: 14px 17px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--color-white);
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 3.6px;
    color: var(--color-dark);
    transition: all var(--transition-normal);
}

.form__input::placeholder {
    color: var(--color-dark);
    opacity: 0.8;
}

.form__input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.5);
    border-color: var(--color-primary);
}

.form__input--textarea {
    height: 192px;
    resize: vertical;
    min-height: 100px;
    max-height: 300px;
}

.form__fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.form__legend {
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 3.6px;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.form__checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.form__checkbox-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form__checkbox-label {
    flex: 1;
    padding: 6px 17px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--color-white);
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 3.6px;
    color: var(--color-dark);
}

.form__checkbox-btn {
    width: 29.282px;
    height: 29.282px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform var(--transition-normal);
}

.form__checkbox-btn:hover {
    transform: scale(1.1);
}

.form__checkbox-btn[aria-pressed="true"] .checkbox-icon img {
    filter: brightness(0) saturate(100%) invert(83%) sepia(31%) saturate(1256%) hue-rotate(5deg) brightness(101%) contrast(95%);
}

.checkbox-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
}

.form__submit {
    align-self: flex-start;
    position: relative;
    width: 251px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-text);
    font-weight: 500;
    font-size: 24px;
    color: var(--color-dark);
    padding-left: 25px;
    transition: all var(--transition-normal);
}

.form__submit::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 46px;
    height: 100%;
    background: #F5C149;
    border-radius: 5px;
    transition: width var(--transition-normal);
}

.form__submit:hover::before {
    width: 100%;
}

.form__submit:hover {
    color: var(--color-white);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1440px) {
    /* sticky-left now uses clamp() at the base rule, so no left override is
       needed here — the column shrinks proportionally on its own. */

    .hero-visual__sticky-right {
        left: 141px;
    }

    .hero-visual__content {
        margin-left: calc(50% + 100px);
    }

    .process-section__container {
      margin-left: calc(50% + 289px);
    }

    .contact-section__typography {
        left: 100px;
        transform: scale(0.8);
        transform-origin: top left;
    }
}

@media (max-width: 1200px) {
    .hero-visual__sticky-left,
    .hero-visual__sticky-right {
        display: none;
    }

    .hero-visual__content {
        margin: 0 auto;
        transform: none;
        padding: 100px 50px;
        max-width: 800px;
    }

    .content-block__title {
        font-size: 72px;
    }

    .process-section__container {
        padding: 0 50px;
    }

    .process-section__title {
        font-size: 72px;
    }

    /* Contact section responsive rules now live in a dedicated
       @media (max-width: 1600px) block at the bottom of the file
       (kicks in earlier so 1201-1600 doesn't clip either). */
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow on mobile */
    .page-identite-visuelle {
        overflow-x: hidden;
    }

    .hero-visual {
        overflow: visible;
    }

    /* ---- 1a. Override <1200px display:none — show hero elements ---- */
    .hero-visual__sticky-left {
        display: block !important;
        position: relative;
        left: 0;
        top: 0;
        bottom: auto;
        width: 100%;
        height: 100vh;
        pointer-events: auto;
        transition: top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .hero-visual__sticky-content {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .hero-visual__sticky-right {
        display: none !important;
    }

    /* ---- 1b. Centered mobile hero layout ---- */
    .hero-visual__circle-shape {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -60%);
        width: 70vw;
        max-width: 293px;
        height: 70vw;
        max-height: 293px;
        mix-blend-mode: soft-light;
        z-index: 5;
        transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    max-width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .hero-visual__illustration {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 60vw;
        max-width: 251px;
        height: auto;
        z-index: 15;
        transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    max-width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .hero-visual__header {
        position: relative;
        bottom: auto;
        left: auto;
        width: auto;
        text-align: center;
        align-items: center;
        margin-top: 30px;
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .hero-visual__title {
        font-size: 45px;
        text-align: center;
        transition: font-size 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .hero-visual__title-group {
        justify-content: center;
    }

    .divider-line {
        max-width: 254px;
        margin: 0 auto;
        transition: max-width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    margin 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .favorite-btn {
        display: none;
    }

    /* ---- 1c. Content area — full width ---- */
    .hero-visual__content {
        margin: 0;
        width: 100%;
        max-width: 100%;
        padding: 50px 30px;
    }

    .content-block__text h2 {
        font-size: 70px !important;
        font-family: "Gothiks" !important;
        line-height: 1 !important;
        margin-bottom: 2rem !important;
    }

    .content-block__text h3 {
        font-size: 30px;
        line-height: 1.27;
    }

    .content-block__text p {
        font-size: 22px;
        line-height: 1.2;
    }

    .content-block__title {
        font-size: 70px;
        margin-bottom: 40px;
    }

    .content-block__subtitle {
        font-size: 30px;
        letter-spacing: 9px;
        margin-bottom: 40px;
    }

    .content-section__title {
        font-size: 30px;
    }

    .content-section__text {
        font-size: 22px;
        line-height: 1.2;
    }

    .content-block__text,
    .content-block__text * {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .content-block__text img {
        max-width: 100%;
        height: auto;
    }

    /* ---- 1d. Process section — full width ---- */
    .process-section {
        padding: 100px 0;
    }

    .process-section__container {
        margin-left: 0;
        max-width: 100%;
        padding: 0 30px;
    }

    .process-section h2 {
        font-size: 70px !important;
        font-family: "Gothiks" !important;
    }

    .process-section__title {
        font-size: 70px;
        margin-bottom: 40px;
    }

    .process-section__content {
        max-width: 100%;
        gap: 40px;
    }

    .process-block__title {
        font-size: 30px;
    }

    .process-block__text {
        font-size: 22px;
    }

    /* ---- 1e. Contact section ---- */
    .contact-section {
        padding: 80px 0 60px;
        min-height: auto;
    }

    /* Contact title container — the 1600px and 600px blocks at the bottom of
       this file now drive the responsive sizing; nothing extra needed here. */

    .contact-form-container {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 30px !important;
    }

    .contact-form {
        width: 100% !important;
        max-width: 496px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .form__row {
        flex-direction: column;
        gap: 15px;
    }

    .form__input {
        font-size: 16px;
        letter-spacing: 2px;
        height: 55px;
    }

    .form__submit {
        width: 100%;
        font-size: 20px;
    }

    /* ---- 1f. Scrolled hero state (.hero-scrolled) ---- */

    /* When hero becomes fixed, content needs top padding */
    .hero-visual__sticky-left.hero-scrolled ~ .hero-visual__content {
        padding-top: 158px;
    }

    .hero-visual__sticky-left.hero-scrolled {
        position: fixed;
        height: auto;
        top: 90px;
        left: 30px;
        width: 340px;
        z-index: 100;
        pointer-events: none;
    }

    /* Grid: icon left + title right (row 1), divider full-width (row 2) */
    .hero-scrolled .hero-visual__sticky-content {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 12px;
        row-gap: 0;
        height: auto;
        align-items: center;
        pointer-events: auto;
    }

    /* Circle: behind icon, same grid cell */
    .hero-scrolled .hero-visual__circle-shape {
        grid-column: 1;
        grid-row: 1;
        position: relative;
        width: 85px;
        height: 85px;
        max-width: 85px;
        max-height: 85px;
        left: auto;
        top: auto;
        transform: none;
        margin: 0;
        mix-blend-mode: soft-light;
        z-index: 5;
    }

    /* Icon: overlapping circle in same grid cell */
    .hero-scrolled .hero-visual__illustration {
        grid-column: 1;
        grid-row: 1;
        position: relative;
        width: 73px;
        height: 72px;
        max-width: 73px;
        max-height: 72px;
        left: auto;
        top: auto;
        transform: none;
        margin: 0;
        z-index: 15;
        justify-self: center;
        align-self: center;
    }

    /* Header dissolves so children join the grid */
    .hero-scrolled .hero-visual__header {
        display: contents;
    }

    /* Hide first divider */
    .hero-scrolled .hero-visual__header > .divider-line:first-child {
        display: none;
    }

    /* Title group: right side, vertically centered with icon */
    .hero-scrolled .hero-visual__title-group {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        justify-self: stretch;
        flex-direction: column;
    }

    .hero-scrolled .hero-visual__title {
        font-size: 20px;
        text-align: right;
    }

    /* Divider: full width below icon+title row */
    .hero-scrolled .hero-visual__header > .divider-line:last-child {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: 100%;
        margin: 20px 0 0;
    }

    .hero-scrolled .favorite-btn {
        display: none;
    }

    /* ============================================
       PHOTO HERO (.hero-visual--photo)
       Full-viewport photo background, title at bottom
       ============================================ */

    /* Landing: photo covers full viewport */
    .hero-visual--photo .hero-visual__sticky-left {
        position: relative;
        height: 100vh;
        overflow: hidden;
    }

    .hero-visual--photo .hero-visual__sticky-content {
        position: relative;
        height: 100vh;
    }

    /* Photo fills viewport */
    .hero-visual--photo .hero-visual__illustration {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        z-index: 1;
    }

    /* Hide circle shape for photo hero */
    .hero-visual--photo .hero-visual__circle-shape {
        display: none;
    }

    /* Dark gradient overlay at bottom for legibility */
    .hero-visual--photo .hero-visual__sticky-content::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7));
        z-index: 2;
        pointer-events: none;
    }

    /* Yellow/gold divider lines for photo hero */
    .hero-visual--photo .divider-line {
        background: #ffc901;
        max-width: 246px;
        margin: 0;
    }

    /* Header at bottom of viewport */
    .hero-visual--photo .hero-visual__header {
        position: absolute;
        bottom: 80px;
        left: 30px;
        right: 30px;
        top: auto;
        z-index: 15;
        margin-top: 0;
        text-align: left;
        align-items: flex-start;
    }

    .hero-visual--photo .hero-visual__title {
        font-size: 45px;
        text-align: left;
    }

    .hero-visual--photo .hero-visual__title-group {
        justify-content: flex-start;
    }

    /* ---- Photo hero SCROLLED state ---- */

    /* Photo becomes fixed full-viewport background (dimmed) */
    .hero-visual--photo .hero-visual__sticky-left.hero-scrolled {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1;
        pointer-events: none;
        overflow: hidden;
    }

    .hero-visual--photo .hero-scrolled .hero-visual__sticky-content {
        position: relative;
        width: 100%;
        height: 100vh;
    }

    /* Photo stays visible as dimmed background */
    .hero-visual--photo .hero-scrolled .hero-visual__illustration {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        z-index: 1;
        opacity: 0.6;
    }

    /* Dark overlay across entire photo in scrolled state */
    .hero-visual--photo .hero-scrolled .hero-visual__sticky-content::after {
        height: 100%;
        background: rgba(0,0,0,0.35);
    }

    /* Title: fixed at top-left, above the background */
    .hero-visual--photo .hero-scrolled .hero-visual__header {
        position: fixed;
        top: 15px;
        left: 30px;
        right: auto;
        bottom: auto;
        z-index: 200;
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        pointer-events: auto;
    }

    .hero-visual--photo .hero-scrolled .hero-visual__header > .divider-line:first-child {
        display: none;
    }

    .hero-visual--photo .hero-scrolled .hero-visual__title {
        font-size: 30px;
        text-align: left;
    }

    .hero-visual--photo .hero-scrolled .divider-line {
        width: 250px;
        max-width: 250px;
    }

    .hero-visual--photo .hero-scrolled .favorite-btn {
        display: none;
    }

    /* Content and sections scroll over the photo background */
    .hero-visual--photo .hero-visual__sticky-left.hero-scrolled ~ .hero-visual__content {
        position: relative;
        z-index: 10;
        padding-top: 100px;
    }

    .hero-visual--photo ~ .process-section,
    .hero-visual--photo ~ #contact-section {
        position: relative;
        z-index: 10;
    }
}

@media (max-width: 480px) {
    .hero-visual__content {
        padding: 50px 20px;
    }

    .content-block__text h2 {
        font-size: 60px !important;
        line-height: 1 !important;
    }

    .content-block__title {
        font-size: 60px;
    }

    .content-block__subtitle {
        font-size: 24px;
        letter-spacing: 6px;
    }

    .process-section__container {
        padding: 0 20px;
    }

    .process-section h2 {
        font-size: 60px !important;
    }

    .process-section__title {
        font-size: 60px;
    }

    .contact-form-container {
        padding: 0 20px;
    }

    .form {
        gap: 25px;
    }

    .form__input {
        height: 50px;
        font-size: 14px;
        letter-spacing: 1px;
        padding: 12px 15px;
    }

    .form__checkbox-label {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .form__legend {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .form__submit {
        height: 45px;
        font-size: 18px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .hero-visual__textures,
    .decorative-circle,
    .contact-section__typography {
        display: none;
    }

    .hero-visual,
    .process-section,
    .contact-section {
        page-break-after: always;
    }

    .form {
        display: none;
    }
}

.process-section {background-color:rgba(0,0,0,0.1);}

.contact-section {
    overflow: hidden;
}

.contact-title-container {
    position: absolute;
    left: 256px;
    top: 188px;
    width: 771px;
    height: 589.008px;
}

.contact-letter {
    position: absolute;
    font-size: 179.3px;
    font-weight: 900;
    color: var(--color-dark);
    line-height: 1.09;
    text-align: center;
    cursor: pointer;
    transform-origin: center center;
    will-change: transform;
    z-index: 10;
}

.contact-title-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.contact-form-container {
    position: absolute;
    left: 1080px;
    top: 223px;
    width: 496px;
    height: 809px;
}

.hero-visual__circle-shape img {width:100%;height:100%;}

/* Contact section responsive — kicks in for any viewport that can't fit the
   desktop absolute layout (form needs at least 1080+496 = 1576px to render).
   Keeps the two-column layout side-by-side down to phones; only stacks at ≤600px. */
@media (max-width: 1600px) {
    #contact-section {
        height: auto !important;
        min-height: auto !important;
    }

    .contact-section {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: clamp(20px, 3vw, 80px) !important;
        padding: 80px 30px 60px !important;
        position: relative !important;
    }

    /* Fluid scale technique:
       - The letters inside .contact-title-wrapper are positioned with hardcoded
         pixel coordinates relative to a 771×589 design box, so we keep the
         wrapper at its original size and visually scale it via transform.
       - The OUTER .contact-title-container takes the SCALED dimensions in
         layout flow, so it never overflows its column. Width follows ~40vw
         clamped between a sensible min and the 771px design max. */
    .contact-title-container {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        flex: 0 1 auto !important;
        --pp-design-w: 771;
        --pp-design-h: 589;
        --pp-w: clamp(260px, 40vw, calc(var(--pp-design-w) * 1px));
        --pp-scale: calc(var(--pp-w) / (var(--pp-design-w) * 1px));
        width: var(--pp-w) !important;
        height: calc(var(--pp-design-h) * 1px * var(--pp-scale)) !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .contact-title-wrapper {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: calc(var(--pp-design-w, 771) * 1px) !important;
        height: calc(var(--pp-design-h, 589) * 1px) !important;
        transform: scale(var(--pp-scale, 1)) !important;
        transform-origin: top left !important;
    }

    .contact-form-container {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        flex: 0 1 496px !important;
        width: clamp(240px, 35vw, 496px) !important;
        height: auto !important;
        padding: 0 !important;
    }

    .contact-form {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Stack the two columns when the viewport can't comfortably fit them side-by-side.
   Above 1100px the side-by-side layout still has enough room for both the scaled
   title and a usable form column; below 1100px we drop into a stacked layout so
   each takes the full width of the viewport. */
@media (max-width: 1100px) {
    .contact-section {
        flex-direction: column !important;
        gap: 32px !important;
    }

    .contact-title-container {
        /* Title takes the full available width so it stays prominent and the
           letter pictogram remains visible — this matches the original phone
           design intent (full-width scaled title centered above the form). */
        --pp-w: min(calc(var(--pp-design-w) * 1px), calc(100vw - 40px)) !important;
        margin: 0 auto !important;
    }

    .contact-form-container {
        width: 100% !important;
        max-width: 600px !important;
        flex-basis: auto !important;
    }
}

/* Small-phone tightening: a touch less side gutter so the title can scale a
   bit larger and the letters read cleanly. */
@media (max-width: 480px) {
    .contact-title-container {
        --pp-w: min(calc(var(--pp-design-w) * 1px), calc(100vw - 24px)) !important;
    }

    .contact-section {
        padding: 60px 16px 40px !important;
        gap: 24px !important;
    }
}
