/* =============================================================================
   OFFERING — Contact form for offering page (/offering)
============================================================================= */

/* --- Form container --- */
.of-form-box {
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 2rem 2.25rem;
    border-radius: 8px;
}

/* --- Section headers --- */
.of-section-hd {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 2rem 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eeeeee;
}
.of-section-hd:first-child { margin-top: 0; }
.of-section-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--primary-green);
    color: #fff;
    font-size: 0.72rem; font-weight: 500;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.of-section-title {
    font-size: 0.8rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.07em;
    color: var(--navbar-bg);
}
.of-section-sub {
    font-size: 0.75rem; color: #aaa;
    font-weight: 400; margin-left: auto;
}

/* --- Inputs --- */
.of-form-box .input,
.of-form-box .textarea,
.of-form-box .select select {
    background: #fafafa;
    border-color: #dbdbdb;
    color: #1a1a1a;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    border-radius: 6px;
    height: 2.4em;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.of-form-box .textarea { height: auto; min-height: 90px; }
.of-form-box .input:focus,
.of-form-box .textarea:focus,
.of-form-box .select select:focus {
    border-color: #4a4a4a;
    box-shadow: 0 0 0 2px rgba(26,26,26,0.08);
    background: #ffffff;
}
.of-form-box .input::placeholder,
.of-form-box .textarea::placeholder { color: #c0c0c0; font-weight: 300; }
.of-form-box .input.is-danger,
.of-form-box .textarea.is-danger,
.of-form-box .select select.is-danger { border-color: #f14668; }

/* --- Labels --- */
.of-form-box .label {
    font-weight: 400;
    font-size: 0.8rem;
    color: #4a4a4a;
    letter-spacing: 0.02em;
    margin-bottom: 0.3rem;
}

/* --- Radio & Checkbox --- */
.of-option-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.of-option {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 0.85rem;
    color: #363636;
    line-height: 1.45;
}
.of-option:hover { border-color: #b0d490; background: #fafff6; }
.of-option input[type="radio"],
.of-option input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--primary-green);
    flex-shrink: 0;
}
.of-option.is-selected {
    border-color: var(--primary-green);
    background: #f4fbee;
}
.of-option-label { font-weight: 500; color: var(--navbar-bg); }
.of-option-desc  { font-size: 0.78rem; color: #888; margin-top: 0.1rem; }
.of-option-error { background: #fff1f3 !important; outline: 1px solid #f14668 !important; border-radius: 6px; }

/* --- Classification table --- */
.of-classify-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-top: 0.25rem;
}
.of-classify-table th {
    text-align: left;
    font-size: 0.7rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: #888;
    padding: 0.5rem 0.75rem;
    border-bottom: 2px solid #eeeeee;
    white-space: nowrap;
}
.of-classify-table th:first-child { width: 44px; }
.of-classify-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    color: #363636;
}
.of-classify-table tr:last-child td { border-bottom: none; }
.of-classify-table tr { cursor: pointer; transition: background 0.15s; }
.of-classify-table tr:hover td { background: #fafff6; }
.of-classify-table tr.is-selected td {
    background: #f4fbee;
}
.of-classify-table td:first-child { text-align: center; }
.of-classify-table .of-cls-name { font-weight: 500; color: var(--navbar-bg); }
.of-classify-table input[type="radio"] { accent-color: var(--primary-green); transform: scale(1.15); }
.of-classify-error td { background: #fff5f5 !important; }

/* --- Legal note --- */
/* --- reCAPTCHA note --- */
.of-recaptcha-note {
    font-size: 0.72rem; color: #aaaaaa;
    font-weight: 300; line-height: 1.5;
}
.of-recaptcha-note a {
    color: #aaaaaa !important;
    text-decoration: underline;
    border-bottom: none !important;
}
.of-recaptcha-note a:hover { color: #363636 !important; }

/* --- Status box --- */
.of-status { font-size: 0.88rem; font-weight: 400; border-radius: 6px; margin-bottom: 0.75rem; }

/* --- Submit --- */
#offering-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* --- Links --- */
.of-form-box a {
    color: #363636 !important;
    text-decoration: none;
    border-bottom: 1px solid #aaaaaa;
    transition: color 0.2s, border-color 0.2s;
}
.of-form-box a:hover { color: #1a1a1a !important; border-bottom-color: #363636; }

/* reCAPTCHA badge */
.grecaptcha-badge { visibility: hidden !important; }

/* --- Responsive (form) --- */
@media screen and (max-width: 768px) {
    .of-form-box { padding: 1.5rem 1.25rem; }
    .of-classify-table { display: none; }
    .of-classify-mobile { display: flex !important; }
}
@media screen and (min-width: 769px) {
    .of-classify-mobile { display: none; }
}

/* =============================================================================
   OFFERING LANDING PAGE — /offering
============================================================================= */

/* --- Landing Hero --- */
.of-landing-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navbar-bg);
    padding: 5rem 0;
}
.of-landing-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.42;
}
.of-landing-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(20,22,26,0.97) 35%, rgba(20,22,26,0.18) 100%);
}
.of-landing-hero .container { position: relative; z-index: 1; }

.of-hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-green);
    border-left: 4px solid var(--primary-green);
    padding-left: 14px;
    display: block;
    margin-bottom: 1.25rem;
}
.of-hero-stat-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 2rem 1.75rem;
}
.of-hero-stat-item { text-align: center; padding: 0.9rem 0; }
.of-hero-stat-val {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.of-hero-stat-lbl {
    display: block;
    font-size: 0.67rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255,255,255,0.5);
}
.of-hero-stat-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0;
}

/* --- Intro --- */
.of-intro { background: #ffffff; }
.of-intro-body { font-size: 0.97rem; color: #555; line-height: 1.85;}

/* --- Product Cards --- */
.of-product-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.of-product-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.13);
    transform: translateY(-5px);
}
.of-product-card-img-wrap {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: var(--navbar-bg);
    flex-shrink: 0;
}
.of-product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.45s ease;
}
.of-product-card:hover .of-product-card-img { transform: scale(1.03); }
.of-product-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(20,22,26,0.25) 100%);
}
.of-product-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: rgba(123,185,62,0.85);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    padding: 3px 10px;
}
.of-product-card-body {
    padding: 1.75rem 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.of-product-card-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navbar-bg);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.of-product-card-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.75;
    flex: 1;
    margin-bottom: 1.5rem;
}
.of-product-card-btn { align-self: flex-start; }

/* --- Pricing Bar (4x1 connected row) --- */
.of-pricing-bar {
    display: flex;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.07);
    overflow: hidden;
}
.of-pricing-col {
    flex: 1;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-right: 1px solid #f2f2f2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.of-pricing-col:last-child { border-right: none; }

.of-pricing-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}
.of-pricing-col-1 .of-pricing-icon-wrap { background: rgba(123,185,62,0.12); color: var(--primary-green); }
.of-pricing-col-2 .of-pricing-icon-wrap { background: rgba(123,185,62,0.12); color: var(--primary-green); }
.of-pricing-col-3 .of-pricing-icon-wrap { background: rgba(123,185,62,0.12); color: var(--primary-green); }
.of-pricing-col-4 .of-pricing-icon-wrap { background: rgba(123,185,62,0.12); color: var(--primary-green); }

.of-pricing-col-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--neutral-900);
    line-height: 1.4;
    margin-bottom: 0.6rem;
}
.of-pricing-col-price {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--navbar-bg);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}
.of-pricing-col-more {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}
.of-pricing-col-desc {
    font-size: 0.9rem;
    color: var(--neutral-800);
    line-height: 1.6;
    flex: 1;
}
.of-pricing-col-note { font-size: 0.72rem; color: #aaa; }
.of-pricing-col-note a { color: #aaa; text-decoration: underline; }
.of-pricing-col-note a:hover { color: var(--navbar-bg); }

/* --- Summary --- */
.of-summary-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    /*border-left: 3px solid var(--primary-green);*/
}
.of-summary-text { font-size: 0.97rem; color: #444; line-height: 1.9; }

/* --- CTA --- */
.of-cta-section {
    background: linear-gradient(135deg, #14161A 0%, #1a2e10 100%);
    text-align: center;
}
.of-cta-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
}
.of-cta-title { font-size: 2rem; font-weight: 500; color: #ffffff; margin-bottom: 0.75rem; }
.of-cta-sub { font-size: 1rem; color: rgba(255,255,255,0.65); font-weight: 300; max-width: 1400px; margin: 0 auto; line-height: 1.7; }

.of-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.of-cta-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 1.75rem 1.5rem;
    text-align: left;
    transition: background 0.25s, border-color 0.25s;
}
.of-cta-item:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(123,185,62,0.35);
}
.of-cta-item-icon {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 0.9rem;
}
.of-cta-item-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.4rem;
}
.of-cta-item-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
}
.of-cta-btn {
    border: 1px solid rgba(255,255,255,0.5);
    color: #ffffff;
    background: transparent;
    border-radius: var(--btn-radius);
    padding: 0.8rem 2.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    height: auto;
}
.of-cta-btn:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .of-cta-grid { grid-template-columns: 1fr; }
    .of-cta-title { font-size: 1.5rem; }
}

/* --- Sub-page back link --- */
.of-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary-green);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: gap 0.2s;
    margin-bottom: 0.5rem;
}
.of-back-link:hover { gap: 0.65rem; }

/* --- Responsive (landing) --- */
@media screen and (max-width: 768px) {
    .of-landing-hero { min-height: auto; padding: 4rem 0 3rem; }
    /* Hero mobile centering */
    .of-landing-hero .column:first-child { text-align: center; }
    .of-landing-hero .buttons { justify-content: center; }
    .of-product-card-img { aspect-ratio: 16 / 9; }
    .of-summary-card { padding: 1.75rem; }
    .of-cta-title { font-size: 1.5rem; }
    .of-pricing-bar { flex-direction: column; }
    .of-pricing-col { border-right: none; border-bottom: 1px solid #f2f2f2; padding: 2rem 1.5rem; }
    .of-pricing-col:last-child { border-bottom: none; }
}
