/* ================================================================
   home.css — Home / landing page (templates/home_page/index.html.twig)
   ================================================================ */

/* ── Design tokens ── */
:root {
    --rust: #C94B6D;
    --rust-lt: #E06882;
    --rust-bg: rgba(201,75,109,0.08);
    --sand: #EEF0F8;
    --sand-mid: #DFE2F2;
    --brown-dk: #1A2E42;
    --brown: #3D5A72;
    --brown-lt: #8AA4B8;
    --sage: #5BA870;
    --gold: #C8A83C;
    --white: #FDFAFF;
}

/* ── Hero ── */
.hp-hero {
    background: var(--white);
    padding: 72px 0 64px;
}
.hp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.hp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--rust-bg);
    color: var(--rust);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 20px;
    padding: 5px 12px;
    margin-bottom: 20px;
}
.hp-hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--brown-dk);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}
.hp-hero-title span { color: var(--rust); }
.hp-hero-sub {
    font-size: 1.05rem;
    color: var(--brown);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.hp-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--rust);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
    border: none;
    cursor: pointer;
}
.hp-btn-primary:hover { background: var(--rust-lt); color: #fff; transform: translateY(-1px); }
.hp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--sand);
    color: var(--brown-dk);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--sand-mid);
    transition: background 0.15s;
}
.hp-btn-secondary:hover { background: var(--sand-mid); color: var(--brown-dk); }
.hp-hero-img-wrap {
    position: relative;
}
.hp-hero-img-wrap img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(26,46,66,0.18);
    display: block;
}
.hp-hero-img-badge {
    position: absolute;
    bottom: -16px;
    left: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26,46,66,0.14);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--brown-dk);
    font-weight: 600;
}
.hp-hero-img-badge .badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rust-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rust);
    font-size: 1rem;
}
.hp-hero-img-badge-sub {
    font-weight: 400;
    color: #8AA4B8;
    font-size: 0.74rem;
}

/* ── Stats strip ── */
.hp-stats {
    background: var(--sand);
    border-top: 1px solid var(--sand-mid);
    border-bottom: 1px solid var(--sand-mid);
    padding: 28px 0;
    margin-top: 32px;
}
.hp-stats-inner {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.hp-stat {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid var(--sand-mid);
}
.hp-stat:last-child { border-right: none; }
.hp-stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--rust);
    line-height: 1;
}
.hp-stat-label {
    font-size: 0.78rem;
    color: #5A6A7A;
    margin-top: 3px;
    font-weight: 500;
}
.hp-stat-icon {
    font-size: 1.4rem;
}

/* ── Features ── */
.hp-features {
    padding: 80px 0;
    background: var(--white);
}
.hp-features-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.hp-section-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--rust);
    margin-bottom: 10px;
}
.hp-section-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--brown-dk);
    letter-spacing: -0.3px;
    margin-bottom: 48px;
}
.hp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hp-feature-card {
    background: var(--sand);
    border: 1px solid var(--sand-mid);
    border-radius: 14px;
    padding: 28px 24px;
    transition: box-shadow 0.15s, transform 0.15s;
}
.hp-feature-card:hover {
    box-shadow: 0 8px 28px rgba(26,46,66,0.1);
    transform: translateY(-2px);
}
.hp-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
}
/* Feature icon color variants */
.hp-feature-icon--rust    { background: rgba(201,75,109,0.1); color: #C94B6D; }
.hp-feature-icon--gold    { background: rgba(200,168,60,0.1); color: #C8A83C; }
.hp-feature-icon--sage    { background: rgba(91,168,112,0.1); color: #5BA870; }
.hp-feature-icon--blue    { background: rgba(75,143,224,0.1); color: #4B8FE0; }

.hp-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brown-dk);
    margin-bottom: 8px;
}
.hp-feature-card p {
    font-size: 0.88rem;
    color: var(--brown);
    line-height: 1.65;
    margin: 0;
}

/* ── How it works ── */
.hp-how {
    padding: 80px 0;
    background: var(--brown-dk);
}
.hp-how-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}
.hp-how .hp-section-label { color: rgba(201,75,109,0.9); }
.hp-how .hp-section-title { color: #fff; }
.hp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}
.hp-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.67% + 16px);
    right: calc(16.67% + 16px);
    height: 2px;
    background: rgba(255,255,255,0.1);
}
.hp-step {
    text-align: center;
    position: relative;
}
.hp-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rust);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}
.hp-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.hp-step p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    margin: 0;
}
.hp-how-cta {
    text-align: center;
    margin-top: 48px;
}
.hp-how-cta .hp-btn-primary {
    font-size: 1rem;
    padding: 15px 32px;
}

/* ── Blog callout ── */
/* --white, not --sand: the feedback section below is --sand and the seam would vanish. */
.hp-blog {
    padding: 80px 0;
    background: var(--white);
}
.hp-blog-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}
.hp-blog-inner .hp-section-title { margin-bottom: 12px; }
.hp-blog-sub {
    text-align: center;
    color: var(--brown);
    font-size: 0.93rem;
    margin-bottom: 32px;
    line-height: 1.65;
}
/* text-align does not reach flex children, so the row needs its own centring —
   hp-cta-row is left-aligned in the hero, where that is what it should be. */
.hp-blog-cta { text-align: center; }
.hp-blog-cta.hp-cta-row { justify-content: center; }

/* ── Feedback ── */
.hp-feedback {
    padding: 80px 0;
    background: var(--sand);
    border-top: 1px solid var(--sand-mid);
}
.hp-feedback-inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}
.hp-feedback-inner .hp-section-title { margin-bottom: 8px; }
.hp-feedback-sub {
    text-align: center;
    color: var(--brown);
    font-size: 0.93rem;
    margin-bottom: 36px;
    line-height: 1.65;
}
.hp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.hp-form-full { margin-bottom: 14px; }
.hp-form-row .form-group,
.hp-form-full .form-group { margin: 0; }
.hp-form-row label,
.hp-form-full label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 5px;
    display: block;
}
.hp-form-row input,
.hp-form-row select,
.hp-form-row textarea,
.hp-form-full input,
.hp-form-full textarea {
    width: 100%;
    border: 1px solid var(--sand-mid);
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 0.88rem;
    color: var(--brown-dk);
    background: var(--white);
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}
.hp-form-row input:focus,
.hp-form-full input:focus,
.hp-form-full textarea:focus { border-color: var(--rust); }
.hp-form-full textarea { resize: vertical; min-height: 100px; }
.hp-form-rating {
    margin-bottom: 24px;
}
.hp-form-rating label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brown);
    display: block;
    margin-bottom: 8px;
}
.hp-form-rating input[type=range] {
    width: 100%;
    accent-color: var(--rust);
}
.hp-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Inline-style replacements ── */
.hp-chevron-sm {
    font-size: 0.75rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hp-hero-inner { grid-template-columns: 1fr; }
    .hp-hero-img-wrap { order: -1; }
    .hp-hero-title { font-size: 2.1rem; }
    .hp-features-grid { grid-template-columns: 1fr; }
    .hp-steps { grid-template-columns: 1fr; }
    .hp-steps::before { display: none; }
    .hp-stats-inner { flex-wrap: wrap; }
    .hp-stat { border-right: none; border-bottom: 1px solid var(--sand-mid); padding: 12px; }
    .hp-stat:last-child { border-bottom: none; }
    .hp-form-row { grid-template-columns: 1fr; }
}
