/* Reusable Components & Modules */

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 13px 19px;
    min-height: 44px;
    background: var(--navy);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.025em;
    border: 1px solid var(--navy);
    border-radius: var(--radius-none);
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.button:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.button-plus {
    font-size: 14px;
    line-height: 1;
}

.button .arrow {
    font-size: 17px;
    line-height: 1;
}

.button.accent {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #082830;
}

.button.accent:hover {
    background: #a4eaf2;
    border-color: #a4eaf2;
    color: #082830;
}

.button.light {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.button.light:hover {
    background: var(--pale);
}

.button.outline {
    background: transparent;
    border-color: #95a8bd;
    color: inherit;
}

.small {
    font: 500 10px/1.5 var(--font-primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: inherit;
    margin-bottom: 25px;
    display: block;
}

.small > span {
    margin-right: 9px;
}

.quiet-link {
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: 22px;
    color: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid transparent;
}

.quiet-link:hover {
    border-bottom-color: currentColor;
}

.textlink {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
    border-bottom: 1px solid #536a75;
    padding-bottom: 5px;
    display: inline-block;
    color: inherit;
}

.textlink:hover {
    border-bottom-color: var(--cyan);
    color: var(--cyan);
}

/* Page Hero */
.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 165px 36px 70px;
    position: relative;
    overflow: hidden;
}

.page-hero .wrap {
    width: 100%;
    max-width: var(--container-max-width);
}

.page-hero h1 {
    font-size: clamp(43px, 5.4vw, 80px);
    max-width: 1000px;
    line-height: 1.08;
}

.page-hero p {
    color: #bdc8cd;
    font-size: 14px;
    max-width: 520px;
    margin-top: 26px;
    line-height: 1.6;
}

.breadcrumb {
    color: #a6b3b9;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 35px;
}

.breadcrumb a {
    color: #a6b3b9;
}

.breadcrumb a:hover {
    color: var(--cyan);
}

.globe {
    display: none;
    position: absolute;
    width: 550px;
    height: 550px;
    right: -80px;
    top: -70px;
    opacity: 0.23;
    pointer-events: none;
}

/* Page Photo Band */
.page-photo-band {
    height: 320px;
    position: relative;
    background: var(--cta-dark);
    overflow: hidden;
}

.page-photo-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    filter: brightness(0.75) saturate(0.5);
}

.page-photo-band > span {
    position: absolute;
    bottom: 26px;
    left: 36px;
    right: 36px;
    color: var(--white);
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-photo-band b {
    font-weight: 400;
}

/* Steps Sequence */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 44px;
}

.step {
    background: #f0f2f1;
    padding: 26px 24px 35px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.step span {
    font-size: 11px;
    color: #677378;
    margin-bottom: 45px;
    display: block;
}

.step h3 {
    font-size: 27px;
    margin-bottom: 12px;
}

.step p {
    font-size: 12px;
    margin: 0;
}

/* Content Split & Rows */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.content-list {
    border-top: 1px solid var(--line);
}

.content-row {
    padding: 50px 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    border-bottom: 1px solid var(--line);
}

.content-row h2 {
    font-size: 36px;
}

.content-row h3 {
    font-size: 28px;
}

.content-row p {
    font-size: 14px;
    margin: 0 0 12px;
}

/* Service Grid */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    border-top: 0;
}

.service {
    border: 1px solid var(--line);
    background: var(--pale);
    padding: 30px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 45px;
    color: #426a7b;
}

.service h3 {
    font-size: 29px;
    margin-bottom: 15px;
}

.service p {
    font-size: 12px;
    margin-bottom: 20px;
}

.service .textlink {
    margin-top: auto;
}

/* Value Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.value-grid article {
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

.value-grid h3 {
    font-size: 22px;
    margin-bottom: 18px;
}

.value-grid p {
    font-size: 13px;
    margin: 0;
}

/* FAQ Layout */
.faq-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 9%;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.filter {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 16px;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
    color: var(--navy);
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter[aria-pressed="true"] {
    background: var(--navy);
    color: var(--white);
}

.filter:hover:not([aria-pressed="true"]) {
    background: #e4ecee;
}

details {
    border-bottom: 1px solid var(--line);
    padding: 27px 0;
}

summary {
    font-weight: 400;
    font-size: 21px;
    cursor: pointer;
    list-style: none;
    padding-right: 30px;
    position: relative;
    user-select: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    color: var(--blue);
    font-size: 22px;
    line-height: 1;
}

details[open] summary::after {
    content: '−';
}

details p {
    font-size: 13px;
    margin-top: 16px;
}

/* Contact Forms & Aside */
.contact-aside {
    background: var(--navy);
    color: var(--white);
    padding: 35px;
}

.contact-aside h3 {
    margin: 22px 0 12px;
    font-size: 26px;
}

.contact-aside p {
    color: #b5c3ca;
    font-size: 13px;
}

.contact-aside .point {
    border-top: 1px solid #3c4b52;
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.contact-aside .point h3 {
    font-size: 15px;
    margin: 0;
}

.contact-aside .small {
    color: #b1c5cf;
}

.form {
    margin-top: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field.full {
    grid-column: 1 / -1;
}

input, textarea, select {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #a5b5bd;
    border-radius: 0;
    padding: 12px 0;
    color: var(--ink);
    font-size: 14px;
    transition: var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
    border-bottom-color: var(--blue);
    outline: none;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.form small {
    font-size: 11px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.7;
    text-transform: none;
}

.form-status {
    grid-column: 1 / -1;
    font-size: 13px;
    line-height: 1.7;
}

.form-status.success {
    color: #198754;
}

.form-status.error {
    color: #b42332;
}

.form-recovery {
    grid-column: 1 / -1;
    font-size: 14px;
}

.form-recovery a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form .button:disabled {
    cursor: wait;
    opacity: 0.65;
}

/* System Alerts */
.site-alert {
    padding: 14px 20px;
    margin-bottom: 24px;
    font-size: 13px;
    border-left: 3px solid;
}

.site-alert--success {
    background: #e8f5e9;
    color: #1b5e20;
    border-color: #2e7d32;
}

.site-alert--error {
    background: #ffebee;
    color: #b71c1c;
    border-color: #c62828;
}
