/* ============================================================
   HŌŌ · PSICOLOGÍA INTEGRAL
   DESIGN SYSTEM
   ============================================================ */

:root {
    --navy: #15345c;
    --navy-deep: #0b2342;
    --navy-soft: #244e7c;

    --gold: #c89a45;
    --gold-dark: #a97725;
    --gold-light: #e6c98f;

    --ivory: #fbfaf6;
    --cream: #f4efe4;
    --white: #ffffff;

    --text: #243247;
    --text-soft: #667085;
    --border: rgba(21, 52, 92, 0.12);

    --surface: #ffffff;
    --surface-alt: #f8f6f0;
    --background: #fbfaf7;

    --shadow:
        0 18px 50px rgba(17, 38, 67, 0.08);

    --shadow-strong:
        0 24px 70px rgba(17, 38, 67, 0.14);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --transition: 220ms ease;
}


/* ============================================================
   PURPLE THEME
   ============================================================ */

html[data-theme="purple"] {
    --navy: #d4b15b;
    --navy-deep: #f3dfaa;
    --navy-soft: #cfab57;

    --gold: #d5ad55;
    --gold-dark: #e0bd6c;
    --gold-light: #f0d99c;

    --ivory: #241132;
    --cream: #321747;
    --white: #ffffff;

    --text: #f8f3fb;
    --text-soft: #d9cfe2;

    --border: rgba(225, 190, 112, 0.22);

    --surface: #2c163d;
    --surface-alt: #3a1c51;
    --background: #1b0c27;

    --shadow:
        0 20px 52px rgba(5, 2, 10, 0.30);

    --shadow-strong:
        0 30px 80px rgba(5, 2, 10, 0.48);
}


/* ============================================================
   RESET
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(200, 154, 69, 0.08),
            transparent 30%
        ),
        var(--background);

    color: var(--text);

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.65;

    transition:
        background var(--transition),
        color var(--transition);
}

body.modal-open {
    overflow: hidden;
}

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

button,
input {
    font: inherit;
}

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

a {
    color: inherit;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1,
h2,
h3,
blockquote,
.profile-title {
    font-family:
        Georgia,
        "Times New Roman",
        serif;
}

h1,
h2,
h3 {
    color: var(--navy-deep);
}

h1 {
    margin: 0;

    font-size:
        clamp(3rem, 6vw, 6.6rem);

    line-height: 0.98;

    letter-spacing: -0.045em;

    font-weight: 500;
}

h2 {
    margin: 0;

    font-size:
        clamp(2.3rem, 4vw, 4.2rem);

    line-height: 1.05;

    font-weight: 500;
}

h3 {
    margin-top: 0;
}

p {
    margin-top: 0;
}


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

.site-header {
    position: sticky;
    top: 0;

    z-index: 100;

    min-height: 84px;

    display: grid;
    grid-template-columns: 190px 1fr auto;
    align-items: center;

    gap: 28px;

    padding:
        12px
        clamp(22px, 5vw, 80px);

    background:
        color-mix(
            in srgb,
            var(--background) 92%,
            transparent
        );

    border-bottom:
        1px solid var(--border);

    backdrop-filter:
        blur(18px);

    transition:
        background var(--transition),
        border var(--transition);
}

.brand {
    width: 150px;

    display: block;

    text-decoration: none;
}

.brand img {
    width: 100%;
    max-height: 62px;

    object-fit: contain;
    object-position: left center;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap:
        clamp(15px, 2vw, 34px);
}

.nav a {
    position: relative;

    padding: 9px 0;

    color: var(--navy-deep);

    font-size: 0.88rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        color var(--transition);
}

.nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transform: translateX(-50%);

    transition:
        width var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;

    gap: 10px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.button,
.theme-toggle {
    border: 0;

    cursor: pointer;

    text-decoration: none;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        border var(--transition),
        color var(--transition);
}

.button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 12px 22px;

    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 700;
}

.button:hover,
.theme-toggle:hover {
    transform: translateY(-2px);
}

.button-primary {
    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-deep)
        );

    color: white;

    box-shadow:
        0 10px 28px
        rgba(21, 52, 92, 0.22);
}

.button-primary:hover {
    box-shadow:
        0 14px 34px
        rgba(21, 52, 92, 0.30);
}

.button-secondary {
    border:
        1px solid var(--gold-light);

    background:
        color-mix(
            in srgb,
            var(--surface) 88%,
            var(--gold-light)
        );

    color: var(--navy-deep);
}

.button-outline {
    border:
        1px solid var(--gold);

    background:
        transparent;

    color: var(--navy-deep);
}

.full {
    width: 100%;
}

.theme-toggle {
    width: 46px;
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid var(--border);

    border-radius: 50%;

    background: var(--surface);

    color: var(--gold-dark);

    font-size: 1.15rem;
}


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

.hero {
    min-height:
        calc(100vh - 84px);

    display: grid;

    grid-template-columns:
        minmax(210px, 0.75fr)
        minmax(360px, 1.5fr)
        minmax(320px, 0.95fr);

    align-items: center;

    gap:
        clamp(32px, 5vw, 82px);

    padding:
        clamp(70px, 8vw, 130px)
        clamp(24px, 6vw, 105px);

    overflow: hidden;
}

.hero-logo {
    position: relative;

    display: flex;
    justify-content: center;
}

.hero-logo::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    border:
        1px solid
        rgba(200, 154, 69, 0.27);

    border-radius: 50%;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);
}

.hero-logo::after {
    content: "";

    position: absolute;

    width: 265px;
    height: 265px;

    border:
        1px dashed
        rgba(200, 154, 69, 0.20);

    border-radius: 50%;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);
}

.hero-logo img {
    position: relative;

    z-index: 1;

    width:
        min(300px, 100%);

    border-radius: 24px;

    box-shadow: var(--shadow);
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 17px;

    color: var(--gold-dark);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.24em;

    text-transform: uppercase;
}

.ornament {
    width: 90px;

    margin: 24px 0;

    color: var(--gold);

    font-size: 0.7rem;

    letter-spacing: 0.7em;
}

.hero-mantra {
    margin-bottom: 18px;

    color: var(--navy);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(1.12rem, 1.5vw, 1.45rem);

    letter-spacing: 0.04em;
}

.hero-text {
    max-width: 590px;

    color: var(--text-soft);

    font-size: 1.06rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


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

.hero-card {
    position: relative;

    padding:
        clamp(28px, 3vw, 42px);

    background:
        linear-gradient(
            150deg,
            var(--surface),
            color-mix(
                in srgb,
                var(--surface-alt) 72%,
                var(--surface)
            )
        );

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-strong);
}

.hero-card::before {
    content: "";

    position: absolute;

    width: 72px;
    height: 72px;

    top: -1px;
    right: -1px;

    border-top:
        2px solid var(--gold);

    border-right:
        2px solid var(--gold);

    border-radius:
        0 var(--radius-lg) 0 0;

    opacity: 0.65;
}

.card-kicker {
    color: var(--gold-dark);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.2em;
}

.hero-card h2 {
    margin:
        14px 0 18px;

    font-size:
        clamp(2rem, 3vw, 3.4rem);
}

.hero-card > p {
    color: var(--text-soft);
}

.quick-grid {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

    margin-top: 26px;
}

.quick-grid > div {
    min-height: 96px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 16px;

    border:
        1px solid var(--border);

    border-radius: 14px;

    background:
        color-mix(
            in srgb,
            var(--surface) 88%,
            transparent
        );
}

.quick-grid strong {
    color: var(--navy-deep);
}

.quick-grid span {
    margin-top: 4px;

    color: var(--text-soft);

    font-size: 0.78rem;
}


/* ============================================================
   COMMON SECTIONS
   ============================================================ */

.section {
    padding:
        clamp(80px, 10vw, 150px)
        clamp(24px, 7vw, 120px);
}

.section-heading {
    max-width: 850px;

    margin:
        0 auto 65px;

    text-align: center;
}

.section-heading .lead {
    margin:
        17px auto 0;

    color: var(--text-soft);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.25rem;
}


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

.philosophy {
    background:
        linear-gradient(
            180deg,
            transparent,
            color-mix(
                in srgb,
                var(--surface-alt) 76%,
                transparent
            ),
            transparent
        );
}

.story-layout {
    max-width: 1180px;

    margin: auto;

    display: grid;
    grid-template-columns:
        minmax(260px, 0.8fr)
        minmax(320px, 1.25fr);

    gap:
        clamp(40px, 7vw, 100px);

    align-items: center;
}

.story-symbol {
    display: flex;
    justify-content: center;
}

.story-symbol img {
    width:
        min(420px, 100%);

    border-radius: 32px;

    box-shadow: var(--shadow);
}

.story-copy {
    color: var(--text-soft);

    font-size: 1.05rem;
}

.story-copy blockquote {
    margin:
        32px 0 0;

    padding:
        10px 0 10px 28px;

    border-left:
        3px solid var(--gold);

    color: var(--navy-deep);

    font-size:
        clamp(1.3rem, 2vw, 1.8rem);

    line-height: 1.45;
}


/* ============================================================
   PSYCHOLOGIST
   ============================================================ */

.psychologist {
    padding-top: 80px;
}

.profile-panel {
    max-width: 1180px;

    margin: auto;

    display: grid;
    grid-template-columns:
        minmax(300px, 0.9fr)
        minmax(360px, 1.2fr);

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);

    box-shadow: var(--shadow);
}

.profile-placeholder {
    min-height: 570px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background:
        linear-gradient(
            145deg,
            var(--navy-deep),
            var(--navy-soft)
        );

    color: white;

    text-align: center;
}

.profile-placeholder::before {
    content: "AG";

    width: 130px;
    height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    border:
        1px solid rgba(255,255,255,0.26);

    border-radius: 50%;

    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 2.5rem;
}

.profile-placeholder span {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.2rem;
}

.profile-placeholder small {
    margin-top: 8px;

    color:
        rgba(255,255,255,0.65);
}

.profile-content {
    padding:
        clamp(36px, 5vw, 72px);
}

.profile-title {
    margin:
        13px 0 26px;

    color: var(--gold-dark);

    font-size: 1.25rem;
}

.profile-content > p:not(.profile-title) {
    color: var(--text-soft);
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 30px;
}

.profile-tags span {
    padding: 8px 13px;

    border:
        1px solid var(--gold-light);

    border-radius: 999px;

    background:
        color-mix(
            in srgb,
            var(--gold-light) 13%,
            var(--surface)
        );

    color: var(--navy-deep);

    font-size: 0.78rem;
    font-weight: 700;
}


/* ============================================================
   SERVICES
   ============================================================ */

.services-grid {
    max-width: 1180px;

    margin: auto;

    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.service-card {
    min-height: 260px;

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--surface);

    box-shadow:
        0 10px 30px
        rgba(20, 45, 78, 0.045);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);

    border-color:
        color-mix(
            in srgb,
            var(--gold) 55%,
            var(--border)
        );

    box-shadow: var(--shadow);
}

.service-card > span {
    display: block;

    margin-bottom: 32px;

    color: var(--gold);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.25rem;
}

.service-card h3 {
    font-size: 1.42rem;
}

.service-card p {
    color: var(--text-soft);
}


/* ============================================================
   EDUCATION
   ============================================================ */

.education {
    background:
        color-mix(
            in srgb,
            var(--surface-alt) 73%,
            transparent
        );
}

.education-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;
    grid-template-columns:
        1fr 1fr;

    gap: 22px;
}

.education-main,
.education-list {
    padding:
        clamp(30px, 4vw, 52px);

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);

    box-shadow: var(--shadow);
}

.timeline-item {
    position: relative;

    padding:
        24px 0 24px 26px;

    border-left:
        2px solid var(--gold-light);
}

.timeline-item::before {
    content: "";

    position: absolute;

    width: 11px;
    height: 11px;

    left: -6px;
    top: 31px;

    border-radius: 50%;

    background: var(--gold);
}

.timeline-item span {
    color: var(--gold-dark);

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.timeline-item strong {
    display: block;

    margin-top: 5px;

    color: var(--navy-deep);
}

.timeline-item p {
    margin:
        4px 0 0;

    color: var(--text-soft);
}

.timeline-item small {
    color: var(--text-soft);
}

.education-list ul {
    margin: 24px 0 0;

    padding-left: 20px;

    color: var(--text-soft);
}

.education-list li {
    margin-bottom: 14px;
}

.education-list li::marker {
    color: var(--gold);
}


/* ============================================================
   VIRTUAL
   ============================================================ */

.virtual-section {
    max-width: 1180px;

    margin: auto;

    display: grid;
    grid-template-columns:
        minmax(340px, 1.2fr)
        minmax(280px, 0.8fr);

    gap:
        clamp(35px, 7vw, 90px);

    align-items: center;
}

.virtual-section h2 {
    max-width: 730px;

    margin-bottom: 25px;
}

.virtual-section > div:first-child p {
    max-width: 700px;

    color: var(--text-soft);
}

.virtual-card {
    position: relative;

    padding:
        45px 35px;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            var(--navy-deep),
            var(--navy-soft)
        );

    color: white;

    box-shadow: var(--shadow-strong);
}

.virtual-card::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    top: -55px;
    right: -45px;

    border:
        1px solid rgba(230,201,143,0.28);

    border-radius: 50%;
}

.virtual-card > span {
    color: var(--gold-light);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.22em;
}

.virtual-card strong {
    display: block;

    margin:
        13px 0 16px;

    color: white;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 2rem;
}

.virtual-card p {
    color:
        rgba(255,255,255,0.76);
}

.virtual-card small {
    color: var(--gold-light);
}


/* ============================================================
   CONTACT
   ============================================================ */

.contact {
    max-width: 1180px;

    margin:
        40px auto 100px;

    display: grid;
    grid-template-columns:
        1fr auto;

    align-items: center;

    gap: 40px;

    padding:
        clamp(40px, 6vw, 70px);

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            var(--surface),
            var(--surface-alt)
        );

    box-shadow: var(--shadow);
}

.contact h2 {
    max-width: 760px;

    font-size:
        clamp(2.1rem, 4vw, 3.8rem);
}

.contact p {
    margin-top: 20px;

    color: var(--text-soft);
}

.contact-actions {
    display: flex;
    flex-direction: column;

    gap: 10px;

    min-width: 210px;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
    min-height: 110px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding:
        30px
        clamp(24px, 7vw, 120px);

    border-top:
        1px solid var(--border);

    color: var(--text-soft);

    font-size: 0.85rem;
}

footer strong {
    color: var(--navy-deep);
}


/* ============================================================
   LOGIN MODAL
   ============================================================ */

.modal {
    position: fixed;

    inset: 0;

    z-index: 500;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;

    opacity: 0;

    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.modal.is-open {
    visibility: visible;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(7, 20, 38, 0.68);

    backdrop-filter:
        blur(7px);
}

.login-card {
    position: relative;

    z-index: 1;

    width: min(470px, 100%);

    padding:
        clamp(30px, 5vw, 48px);

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);

    box-shadow:
        0 30px 90px
        rgba(0,0,0,0.28);
}

.login-card h2 {
    margin-bottom: 13px;

    font-size: 2.25rem;
}

.login-card > p {
    margin-bottom: 26px;

    color: var(--text-soft);
}

.login-card label {
    display: block;

    margin:
        17px 0 7px;

    color: var(--navy-deep);

    font-size: 0.83rem;
    font-weight: 750;
}

.login-card input {
    width: 100%;

    min-height: 50px;

    padding: 12px 14px;

    border:
        1px solid var(--border);

    border-radius: 11px;

    outline: none;

    background: var(--background);

    color: var(--text);

    transition:
        border var(--transition),
        box-shadow var(--transition);
}

.login-card input:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 4px
        rgba(200,154,69,0.12);
}

.login-card form .button {
    margin-top: 23px;
}

.modal-close {
    position: absolute;

    width: 42px;
    height: 42px;

    top: 16px;
    right: 16px;

    border:
        1px solid var(--border);

    border-radius: 50%;

    background: transparent;

    color: var(--navy-deep);

    cursor: pointer;

    font-size: 1.35rem;
}

.login-error {
    display: none;

    margin-bottom: 16px;

    padding: 11px 13px;

    border:
        1px solid
        rgba(180, 35, 24, 0.15);

    border-radius: 10px;

    background: #fff3f2;

    color: #a3261c;

    font-size: 0.85rem;
}


/* ============================================================
   AUTHENTICATED SESSION
   ============================================================ */

.hidden {
    display: none !important;
}

.session-panel {
    margin-top: 24px;
}

.session-success {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 24px;

    padding: 16px;

    border:
        1px solid rgba(43, 126, 83, 0.20);

    border-radius: 13px;

    background: #effaf3;

    color: #245f3e;
}

.session-success p {
    margin: 2px 0 0;

    font-size: 0.82rem;
}

.session-check {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #d8f2e2;

    font-weight: 900;
}

.session-label {
    display: block;

    margin-bottom: 5px;

    color: var(--text-soft);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.session-user {
    padding-bottom: 18px;

    border-bottom:
        1px solid var(--border);

    margin-bottom: 18px;
}

.session-organization {
    margin-top: 8px;

    padding: 12px 14px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background: var(--background);
}

.session-organization strong {
    color: var(--navy-deep);
}

.session-organization small {
    display: block;

    margin-top: 2px;

    color: var(--gold-dark);
}

.session-actions {
    display: grid;

    gap: 9px;

    margin-top: 24px;
}


/* ============================================================
   FOCUS / ACCESSIBILITY
   ============================================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline:
        3px solid
        rgba(200,154,69,0.45);

    outline-offset: 3px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1120px) {

    .site-header {
        grid-template-columns:
            140px 1fr auto;
    }

    .nav {
        gap: 15px;
    }

    .hero {
        grid-template-columns:
            0.7fr 1.3fr;

        padding-top: 70px;
    }

    .hero-card {
        grid-column:
            1 / -1;

        max-width: 760px;

        margin: auto;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 860px) {

    .site-header {
        position: relative;

        grid-template-columns:
            1fr auto;
    }

    .nav {
        grid-column:
            1 / -1;

        order: 3;

        overflow-x: auto;

        justify-content: flex-start;

        padding-bottom: 7px;
    }

    .nav a {
        white-space: nowrap;
    }

    .hero {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-logo {
        max-width: 290px;

        margin: auto;
    }

    .hero-content {
        margin: auto;
    }

    .ornament {
        margin:
            24px auto;
    }

    .hero-text {
        margin:
            0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .story-layout,
    .profile-panel,
    .education-grid,
    .virtual-section {
        grid-template-columns: 1fr;
    }

    .profile-placeholder {
        min-height: 400px;
    }

    .contact {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

}


@media (max-width: 620px) {

    .site-header {
        padding:
            12px 18px;
    }

    .brand {
        width: 120px;
    }

    .header-actions .button-outline {
        padding:
            10px 15px;

        font-size: 0.78rem;
    }

    .hero {
        padding:
            60px 20px 80px;
    }

    .hero-logo::before {
        width: 250px;
        height: 250px;
    }

    .hero-logo::after {
        width: 215px;
        height: 215px;
    }

    .section {
        padding:
            75px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        margin:
            20px 20px 70px;

        padding:
            35px 24px;
    }

    .contact-actions {
        flex-direction: column;
    }

    footer {
        flex-direction: column;

        align-items: flex-start;
    }

}
/* ============================================================
   HŌŌ PURPLE THEME OVERRIDES
   ============================================================ */

html[data-theme="purple"] body {
    background:
        radial-gradient(
            circle at 15% 5%,
            rgba(204, 164, 78, 0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 40%,
            rgba(64, 35, 104, 0.45),
            transparent 34%
        ),
        var(--background);
}

html[data-theme="purple"] .site-header {
    background:
        rgba(27, 12, 39, 0.92);
}

html[data-theme="purple"] .nav a {
    color: #f3e8f8;
}

html[data-theme="purple"] h1,
html[data-theme="purple"] h2,
html[data-theme="purple"] h3 {
    color: #f5e5b5;
}

html[data-theme="purple"] .hero-mantra {
    color: #e7c977;
}

html[data-theme="purple"] .hero-text,
html[data-theme="purple"] .story-copy,
html[data-theme="purple"] .profile-content > p:not(.profile-title),
html[data-theme="purple"] .service-card p,
html[data-theme="purple"] .virtual-section > div:first-child p,
html[data-theme="purple"] .contact p {
    color: #d9cfe2;
}

html[data-theme="purple"] .hero-card,
html[data-theme="purple"] .service-card,
html[data-theme="purple"] .education-main,
html[data-theme="purple"] .education-list,
html[data-theme="purple"] .profile-panel,
html[data-theme="purple"] .login-card {
    background:
        linear-gradient(
            145deg,
            #321747,
            #251233
        );

    border-color:
        rgba(224, 189, 108, 0.22);
}

html[data-theme="purple"] .quick-grid > div,
html[data-theme="purple"] .session-organization {
    background:
        rgba(255,255,255,0.035);
}

html[data-theme="purple"] .quick-grid strong,
html[data-theme="purple"] .timeline-item strong,
html[data-theme="purple"] .session-organization strong,
html[data-theme="purple"] footer strong,
html[data-theme="purple"] .login-card label {
    color: #f4dfa9;
}

html[data-theme="purple"] .button-primary {
    background:
        linear-gradient(
            135deg,
            #d0a74d,
            #a47b28
        );

    color: #21102d;

    box-shadow:
        0 12px 30px
        rgba(0,0,0,0.22);
}

html[data-theme="purple"] .button-secondary,
html[data-theme="purple"] .button-outline {
    border-color:
        rgba(224,189,108,0.58);

    background:
        rgba(255,255,255,0.04);

    color: #f4dfa9;
}

html[data-theme="purple"] .theme-toggle {
    background: #321747;

    border-color:
        rgba(224,189,108,0.32);

    color: #e1bd6c;
}

html[data-theme="purple"] .profile-placeholder {
    background:
        linear-gradient(
            145deg,
            #210d30,
            #4c2467
        );
}

html[data-theme="purple"] .education {
    background:
        rgba(255,255,255,0.018);
}

html[data-theme="purple"] .philosophy {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(76,36,103,0.18),
            transparent
        );
}

html[data-theme="purple"] .contact {
    background:
        linear-gradient(
            135deg,
            #2c163d,
            #3a1c51
        );
}

html[data-theme="purple"] footer {
    color: #bfb0c8;

    border-color:
        rgba(224,189,108,0.18);
}

html[data-theme="purple"] .login-card input {
    background: #1d0d29;

    color: #ffffff;

    border-color:
        rgba(224,189,108,0.20);
}

html[data-theme="purple"] .login-error {
    background: #481a29;

    border-color: #793244;

    color: #ffd5dd;
}

html[data-theme="purple"] .session-success {
    background: #20392c;

    border-color: #3f7454;

    color: #d7f4df;
}


/* ============================================================
   HŌŌ · FINAL PUBLIC WEB POLISH
   ============================================================ */


/* HEADER BRAND */

.brand {
    width: 185px;
}

.brand img {
    max-height: 70px;
}


/* HERO LOGO */

.hero-logo img {
    width: min(330px, 100%);

    box-shadow:
        0 20px 55px
        rgba(19, 45, 79, 0.09);

    transition:
        transform 300ms ease,
        box-shadow 300ms ease;
}

.hero-logo img:hover {
    transform: translateY(-3px);
}


/* LIGHT THEME */

html[data-theme="light"] body {
    background:
        radial-gradient(
            circle at 10% 25%,
            rgba(206, 164, 81, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 75% 15%,
            rgba(38, 74, 118, 0.035),
            transparent 30%
        ),
        #fbfaf6;
}

html[data-theme="light"] .hero-card {
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.98),
            rgba(250,248,242,0.96)
        );
}

html[data-theme="light"] .hero-logo img,
html[data-theme="light"] .story-symbol img {
    border:
        1px solid
        rgba(196, 149, 67, 0.14);
}


/* PURPLE THEME */

html[data-theme="purple"] {
    --background: #21102b;
    --surface: #311740;
    --surface-alt: #402052;

    --text: #f8f2f8;
    --text-soft: #d7cbdc;

    --gold: #d6ad50;
    --gold-dark: #dfbc69;
    --gold-light: #f2dca5;
}

html[data-theme="purple"] body {
    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(213, 173, 80, 0.09),
            transparent 25%
        ),
        radial-gradient(
            circle at 72% 15%,
            rgba(111, 56, 133, 0.18),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #25112f,
            #1d0d27
        );
}

html[data-theme="purple"] .site-header {
    background:
        rgba(31, 13, 41, 0.94);
}

html[data-theme="purple"] .hero-card {
    background:
        linear-gradient(
            145deg,
            #3b1b4d,
            #2b1538
        );
}

html[data-theme="purple"] .service-card,
html[data-theme="purple"] .education-main,
html[data-theme="purple"] .education-list,
html[data-theme="purple"] .login-card {
    background:
        linear-gradient(
            145deg,
            #341943,
            #291336
        );
}


/* NAV */

.nav a {
    font-size: 0.91rem;
}

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


/* HERO SPACING */

.hero {
    min-height:
        calc(100vh - 84px);

    padding-top:
        clamp(80px, 9vw, 135px);

    padding-bottom:
        clamp(80px, 9vw, 135px);
}


/* BUTTON MICRO-INTERACTION */

.button {
    position: relative;
    overflow: hidden;
}

.button::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            110deg,
            transparent 20%,
            rgba(255,255,255,0.15) 50%,
            transparent 80%
        );

    transform:
        translateX(-120%);

    transition:
        transform 450ms ease;
}

.button:hover::after {
    transform:
        translateX(120%);
}


/* MOBILE */

@media (max-width: 620px) {

    .brand {
        width: 138px;
    }

    .hero-logo img {
        width: min(280px, 100%);
    }

}
/* ============================================================
   HITO7B2_MFA_UI_V1
   ============================================================ */

.login-card {
    max-height: 90vh;
    overflow-y: auto;
}

.login-card textarea {
    width: 100%;
    min-height: 76px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    resize: vertical;
    background: var(--background);
    color: var(--text);
    font: inherit;
    font-size: 0.78rem;
    line-height: 1.45;
}

.login-card textarea:focus {
    border-color: var(--gold);
    box-shadow:
        0 0 0 4px
        rgba(200,154,69,0.12);
}

.mfa-panel {
    margin-top: 20px;
}

.mfa-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface-alt);
}

.mfa-heading strong {
    display: block;
    margin-bottom: 4px;
    color: var(--navy-deep);
}

.mfa-heading p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.5;
}

.mfa-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 34px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--navy-deep);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.mfa-secondary-action {
    margin-top: 10px;
}

.mfa-security-card {
    margin-top: 22px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface-alt);
}

.mfa-security-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.mfa-security-header strong {
    display: block;
    color: var(--navy-deep);
}

.mfa-small-button {
    width: auto;
    min-height: 38px;
    margin: 0 !important;
    padding: 8px 13px;
    font-size: 0.78rem;
}

.mfa-status-summary {
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.5;
}

.mfa-manage-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.mfa-box {
    margin-top: 13px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.mfa-box > strong {
    color: var(--navy-deep);
}

.mfa-box > p {
    margin: 6px 0 12px;
    color: var(--text-soft);
    font-size: 0.8rem;
    line-height: 1.5;
}

.mfa-message {
    margin-bottom: 13px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--background);
    color: var(--text);
    font-size: 0.82rem;
}

.mfa-message.success {
    border-color: rgba(43,126,83,0.22);
    background: rgba(43,126,83,0.08);
}

.mfa-message.error {
    border-color: rgba(180,35,24,0.22);
    background: rgba(180,35,24,0.08);
}

.mfa-secret-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 7px 0 13px;
}

.mfa-secret-row code {
    flex: 1;
    padding: 11px 12px;
    overflow-wrap: anywhere;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--background);
    color: var(--navy-deep);
    font-size: 0.82rem;
}

.mfa-recovery-panel {
    margin-top: 14px;
    padding: 15px;
    border: 1px solid rgba(200,154,69,0.32);
    border-radius: 12px;
    background: rgba(200,154,69,0.08);
}

.mfa-recovery-panel > p {
    margin: 6px 0 13px;
    color: var(--text-soft);
    font-size: 0.8rem;
}

.mfa-recovery-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 13px;
}

.mfa-recovery-grid code {
    padding: 9px 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--navy-deep);
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.mfa-danger-zone {
    border-color:
        rgba(180,35,24,0.22);
}

.mfa-danger-button {
    min-height: 48px;
    padding: 11px 16px;
    border:
        1px solid
        rgba(180,35,24,0.35);
    border-radius: 999px;
    background:
        rgba(180,35,24,0.08);
    color: #a3261c;
    cursor: pointer;
    font-weight: 800;
}

.mfa-danger-button:hover {
    background:
        rgba(180,35,24,0.14);
}

html[data-theme="purple"] .mfa-danger-button {
    color: #ffd5dd;
}

@media (max-width: 620px) {

    .mfa-security-header {
        align-items: stretch;
        flex-direction: column;
    }

    .mfa-small-button {
        width: 100%;
    }

    .mfa-secret-row {
        align-items: stretch;
        flex-direction: column;
    }

    .mfa-recovery-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   HITO7B4_RECOVERY_UI
   ============================================================ */

.auth-assistance {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.auth-text-button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 4px 0;
    font: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    color: var(--accent, #7752a8);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-text-button:hover,
.auth-text-button:focus-visible {
    text-decoration-thickness: 2px;
}

.account-action-panel {
    display: grid;
    gap: 16px;
}

.account-action-panel.hidden {
    display: none;
}

.account-action-heading {
    display: grid;
    gap: 7px;
}

.account-action-heading h3,
.account-action-heading p {
    margin: 0;
}

.account-action-heading p {
    line-height: 1.55;
    opacity: 0.82;
}

.account-action-badge {
    display: inline-flex;
    width: fit-content;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
}

.account-action-panel form {
    display: grid;
    gap: 10px;
}

.account-action-status {
    display: none;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.account-action-status:not(:empty) {
    display: block;
}

.account-action-status.is-success {
    background: rgba(34, 139, 94, 0.10);
    border: 1px solid rgba(34, 139, 94, 0.24);
}

.account-action-status.is-error {
    background: rgba(176, 58, 58, 0.10);
    border: 1px solid rgba(176, 58, 58, 0.24);
}

.account-back-button {
    justify-self: start;
}

@media (max-width: 560px) {

    .auth-assistance {
        display: grid;
        justify-content: stretch;
    }

    .auth-text-button {
        text-align: left;
    }

}