
/* =========================
   IPSO — GLOBAL SETTINGS
========================= */

:root {
    --background: #0b0c0e;
    --surface: #18191b;
    --text: #f4f2ef;
    --muted: #cecece;
    --gold: #ffc16c;
    --gold-light: #ffdaa3;
    --gold-dark: #aa7546;
    --border: #414141;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 64px;
    padding: 10px 16px;
    background: rgba(9, 10, 11, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand {
    width: 82px;
    flex-shrink: 0;
}

.brand img {
    width: 100%;
}

.brand-description {
    flex: 1;
    font-size: 6.5px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-align: center;
    color: #e4ddd5;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-light);
    transition: 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: #111214;
    border-bottom: 1px solid var(--gold-dark);
}

.navigation.open {
    display: flex;
    flex-direction: column;
}

.navigation a {
    padding: 13px 8px;
    font-size: 14px;
    border-bottom: 1px solid #292929;
}

.navigation a:last-child {
    border: none;
    color: var(--gold);
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    padding: 14px 20px 22px;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.1),
            rgba(0, 0, 0, 0.25) 65%,
            rgba(8, 9, 10, 0.85)
        ),
        url("images/hero-bg.webp");
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #33302c;
}

.hero-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-logo {
    width: 94%;
    max-width: 400px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.hero h1 {
    font-size: clamp(23px, 5.8vw, 42px);
    font-weight: 700;
    letter-spacing: -0.6px;
    text-shadow: 0 2px 12px #000;
}

.hero h1 span {
    display: block;
    color: var(--gold-light);
}

.hero-description {
    max-width: 490px;
    margin: 12px auto 20px;
    font-size: 14px;
    line-height: 1.55;
    color: #f0efed;
    text-shadow: 0 2px 8px #000;
}


/* =========================
   GOLD BUTTON
========================= */

.gold-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 47px;
    padding: 12px 22px;
    border: 1px solid #ffdbab;
    border-radius: 10px;
    background: linear-gradient(
        110deg,
        #ffdaa3 0%,
        #f7b970 45%,
        #b77e4d 100%
    );
    box-shadow:
        0 0 18px rgba(255, 179, 91, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
    color: #111;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.gold-button:hover {
    filter: brightness(1.1);
}

.gold-button:active {
    transform: scale(0.98);
}

.gold-button .icon {
    width: 24px;
    height: 24px;
}


/* =========================
   TRUST ROW
========================= */

.trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.trust-row > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 10px;
    line-height: 1.3;
    color: #f2f2f2;
}

.trust-row > div + div {
    padding-left: 8px;
    border-left: 1px solid #777;
}

.trust-row .icon {
    width: 16px;
    height: 16px;
}


/* =========================
   BENEFITS
========================= */

.benefits {
    padding: 22px 20px 24px;
    background: linear-gradient(
        150deg,
        #17181a,
        #0c0d0f 65%
    );
}

.benefits h2 {
    text-align: center;
    font-size: 26px;
    letter-spacing: -0.5px;
}

.section-intro {
    margin: 7px auto 17px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    max-width: 650px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 13px;
    border: 1px solid #414141;
    border-radius: 10px;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.055),
        rgba(255, 255, 255, 0.018)
    );
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.04);
}

.benefit-icon {
    width: 32px;
    height: 32px;
    color: var(--gold);
    filter: drop-shadow(
        0 0 6px rgba(255, 170, 60, 0.5)
    );
}

.benefit-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.benefit-card p {
    font-size: 12px;
    line-height: 1.4;
    color: #d9d9d9;
}


/* =========================
   PHILOSOPHY
========================= */

.philosophy {
    position: relative;
    display: grid;
    grid-template-columns: 34% 66%;
    align-items: stretch;
    background: #111214;
    border-top: 1px solid #302b25;
    border-bottom: 1px solid #302b25;
    overflow: hidden;
}

.philosophy-image {
    min-height: 165px;
    background:
        linear-gradient(
            90deg,
            transparent 70%,
            #111214
        ),
        url("images/philosophy.webp");
    background-size: cover;
    background-position: 32% center;
}

.philosophy-text {
    display: flex;
    align-items: center;
    padding: 20px 16px 20px 0;
}

.philosophy-text p {
    padding-left: 12px;
    border-left: 2px solid var(--gold);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
}

.philosophy-text strong {
    color: var(--gold);
}


/* =========================
   ABOUT IPSO
========================= */

.about {
    position: relative;
    padding: 22px 20px 16px;
    background:
        linear-gradient(
            90deg,
            rgba(8, 9, 10, 0.93),
            rgba(8, 9, 10, 0.62) 65%,
            rgba(8, 9, 10, 0.15)
        ),
        linear-gradient(
            0deg,
            #0b0c0e,
            transparent 65%
        ),
        url("images/planet-bg.webp");
    background-size: cover;
    background-position: center top;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.section-label::after {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.about h2 {
    font-size: 21px;
    margin-bottom: 10px;
    text-shadow: 0 2px 6px #000;
}

.about p {
    font-size: 13px;
    line-height: 1.55;
    color: #e0e0e0;
    margin-bottom: 7px;
    max-width: 700px;
    text-shadow: 0 1px 4px #000;
}


/* =========================
   CONSULTATION
========================= */

.consultation {
    padding: 8px 16px 28px;
    background: #0b0c0e;
}

.consultation-card {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 17px 15px;
    border: 1px solid var(--gold);
    border-radius: 12px;
    background: linear-gradient(
        145deg,
        #1d1e20,
        #101113
    );
    box-shadow:
        0 0 20px rgba(255, 181, 80, 0.13),
        inset 0 0 12px rgba(255, 181, 80, 0.035);
}

.consultation-card h2 {
    font-size: 22px;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.form-description {
    color: #dedede;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

#consultation-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-field {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 12px;
    gap: 12px;
    border: 1px solid #505050;
    border-radius: 8px;
    background: linear-gradient(
        110deg,
        #242527,
        #1a1b1d
    );
    transition: border-color 0.2s;
}

.form-field:focus-within {
    border-color: var(--gold);
}

.form-field > .icon {
    color: #eee;
    width: 21px;
    height: 21px;
}

.form-field input,
.form-field select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 0;
    border: none;
    background: transparent;
    color: #fff;
    outline: none;
    font-size: 16px;
    color-scheme: dark;
}

.form-field input::placeholder {
    color: #d3d3d3;
    opacity: 1;
}

.form-field select {
    appearance: none;
    padding-right: 24px;
}

.form-field select:invalid {
    color: #d3d3d3;
}

.form-field select option {
    background: #222;
    color: #fff;
}

.select-field::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 18px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    pointer-events: none;
}

.submit-button {
    width: 100%;
    margin-top: 5px;
}

#form-message {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gold-light);
}

#form-message:empty {
    display: none;
}


/* =========================
   SMALL MOBILE SCREENS
========================= */

@media (max-width: 360px) {

    .site-header {
        padding: 8px 10px;
    }

    .brand-description {
        font-size: 6px;
        letter-spacing: 0.7px;
    }

    .hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    .trust-row {
        gap: 5px;
    }

    .trust-row > div {
        font-size: 9px;
    }

    .trust-row .icon {
        width: 13px;
        height: 13px;
    }

    .benefits {
        padding-left: 12px;
        padding-right: 12px;
    }

    .philosophy-text p {
        font-size: 13px;
    }

}


/* =========================
   TABLETS
========================= */

@media (min-width: 768px) {

    .site-header {
        padding: 12px 35px;
        min-height: 75px;
    }

    .brand {
        width: 110px;
    }

    .brand-description {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .hero {
        padding: 35px 30px;
        min-height: 450px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-description {
        font-size: 17px;
    }

    .trust-row {
        gap: 20px;
    }

    .trust-row > div {
        font-size: 13px;
        gap: 8px;
    }

    .trust-row > div + div {
        padding-left: 20px;
    }

    .trust-row .icon {
        width: 20px;
        height: 20px;
    }

    .gold-button {
        padding: 13px 30px;
        font-size: 17px;
    }

    .benefits {
        padding: 35px;
    }

    .benefits h2 {
        font-size: 34px;
    }

    .section-intro {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .benefit-card {
        padding: 20px;
    }

    .benefit-card:last-child {
        grid-column: 1 / -1;
    }

    .benefit-card h3 {
        font-size: 17px;
    }

    .benefit-card p {
        font-size: 14px;
    }

    .benefit-icon {
        width: 40px;
        height: 40px;
    }

    .philosophy {
        grid-template-columns: 36% 64%;
    }

    .philosophy-image {
        min-height: 230px;
    }

    .philosophy-text {
        padding: 30px 35px 30px 0;
    }

    .philosophy-text p {
        font-size: 22px;
        max-width: 760px;
        padding-left: 20px;
    }

    .about {
        padding: 35px;
    }

    .about h2 {
        font-size: 29px;
    }

    .about p {
        font-size: 16px;
    }

    .consultation {
        padding: 15px 35px 45px;
    }

    .consultation-card {
        padding: 28px;
    }

    .consultation-card h2 {
        font-size: 28px;
    }

    .form-description {
        font-size: 15px;
    }

}


/* =========================
   DESKTOP
========================= */

@media (min-width: 1024px) {

    .site-header {
        padding-left: max(30px, calc((100% - 1300px) / 2));
        padding-right: max(30px, calc((100% - 1300px) / 2));
    }

    .brand-description {
        text-align: left;
        margin-left: 15px;
        font-size: 8px;
    }

    .menu-toggle {
        display: none;
    }

    .navigation,
    .navigation.open {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        padding: 0;
        border: none;
        background: transparent;
    }

    .navigation a {
        padding: 8px 0;
        border: none;
        font-size: 13px;
        white-space: nowrap;
    }

    .navigation a:hover {
        color: var(--gold);
    }

    .hero {
        min-height: 540px;
        background-position: center 65%;
    }

    .hero-logo {
        max-width: 480px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-description {
        max-width: 570px;
        font-size: 18px;
    }

    .benefits-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .benefit-card {
        grid-column: span 2;
    }

    .benefit-card:nth-child(4),
    .benefit-card:last-child {
        grid-column: span 3;
    }

    .philosophy-text p {
        font-size: 25px;
    }

    .philosophy-image {
        min-height: 260px;
    }

    .about {
        padding-top: 45px;
        padding-bottom: 30px;
    }

}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }

}
.brand {
    width: 82px;
    height: 44px;
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.site-header {
    background: #000000;
}

.brand img {
    mix-blend-mode: screen;
}
/* IPSO PHILOSOPHY — TYPOGRAPHY */

.philosophy-quote {
    border-left: 2px solid #eab66e;
    padding-left: 14px;
}

.philosophy-text p {
    border: none;
    padding-left: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.1px;
}

.philosophy-text p + p {
    margin-top: 10px;
}

.philosophy-text strong {
    color: #efbc7b;
    font-weight: 600;
}

@media (min-width: 768px) {
    .philosophy-text p {
        font-size: 22px;
    }
}

/* IPSO — CUSTOM GOAL SELECT */

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 12px;
    color: #d3d3d3;
    background: linear-gradient(
        110deg,
        #242527,
        #1a1b1d
    );
    border: 1px solid #505050;
    border-radius: 8px;
    font-size: 16px;
    text-align: left;
}

.custom-select-button .icon {
    width: 21px;
    height: 21px;
    color: #eeeeee;
}

.custom-select-button:hover,
.custom-select.open .custom-select-button {
    border-color: #efbc7b;
}

#selected-goal {
    flex: 1;
}

.select-arrow {
    width: 9px;
    height: 9px;
    margin-right: 5px;
    border-right: 2px solid #efbc7b;
    border-bottom: 2px solid #efbc7b;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.custom-select.open .select-arrow {
    transform: rotate(225deg);
}

.custom-select-options {
    margin-top: 6px;
    padding: 5px;
    border: 1px solid #b58c59;
    border-radius: 9px;
    background: linear-gradient(
        145deg,
        #242527,
        #141517
    );
    box-shadow: 0 0 18px rgba(255, 185, 90, 0.12);
}

.custom-select-options button {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 12px 15px;
    color: #eeeeee;
    background: transparent;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    text-align: left;
    transition: background 0.2s ease;
}

.custom-select-options button:hover,
.custom-select-options button:focus-visible {
    background: rgba(239, 188, 123, 0.10);
    color: #efbc7b;
}

.custom-select-options button.selected {
    background: rgba(239, 188, 123, 0.15);
    color: #efbc7b;
}

.custom-select-options button.selected::after {
    content: "✓";
    float: right;
    color: #efbc7b;
}

.custom-select.has-value .custom-select-button {
    color: #f4f2ef;
}

.custom-select.invalid .custom-select-button {
    border-color: #ef8a8a;
}

.goal-error {
    margin-top: 5px;
    color: #ef8a8a;
    font-size: 12px;
}

.custom-select [hidden] {
    display: none;
}
/* HEADER TAGLINE */

.header-tagline {
    flex: 1;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(5px, 1.6vw, 10px);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #eeeeee;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
}

.header-tagline br {
    display: none;
}

@media (max-width: 767px) {
    .header-tagline {
    letter-spacing: 0.8px;
    }

    .menu-toggle {
        flex-shrink: 0;
    }
}

/* MOBILE CONSULTATION SPACING FIX */
@media (max-width: 420px) {
    .consultation {
        padding-bottom: calc(28px + env(safe-area-inset-bottom));
    }

    .consultation-card {
        margin-bottom: 24px;
    }

    .consultation .container {
        overflow: visible;
    }
}
/* IPSO — FORM SUCCESS MESSAGE */

.success-message {
    margin-top: 8px;
    padding: 20px 15px;
    text-align: center;
    background: #151617;
    border: 1px solid #efbc7b;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(239, 188, 123, 0.15);
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border: 2px solid #efbc7b;
    border-radius: 50%;
    color: #efbc7b;
    font-size: 24px;
}

.success-message h3 {
    color: #efbc7b;
    font-size: 22px;
    margin-bottom: 8px;
}

.success-message p {
    color: #eeeeee;
    font-size: 14px;
    line-height: 1.5;
}

.submit-button:disabled {
    opacity: 0.65;
    cursor: wait;
}
