/**
 * Landing page (templates/Pages/home.php).
 */
.landing-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    /* Align with Milligram body scale (html 62.5% → 1.6rem ≈ 16px) */
    --landing-body-size: 1.6rem;
    --landing-body-lh: 1.7;
    --landing-body-color: #4b3a31;
}

.landing-page .hero p,
.landing-page .service-card p,
.landing-page .about-section p,
.landing-page .cta-section p,
.landing-page .contact-strip .contact-strip-body {
    font-size: var(--landing-body-size);
    line-height: var(--landing-body-lh);
    color: var(--landing-body-color);
}

.hdr-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.hero {
    background: linear-gradient(135deg, #f9efe7 0%, #f4d8c2 100%);
    border-radius: 18px;
    padding: 3.5rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.container-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem 0.85rem;
    margin: 1.15rem 0 0;
    padding-top: 0.25rem;
}

.container-flex h4:not(:last-child) {
    margin-bottom: 3rem;
}

.container-flex h5:not(:last-child) {
    margin-bottom: 0.2rem;
}

.hero h1:not(:last-child) {
    margin-bottom: 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.hero-card-transparent {
    background: rgba(255, 255, 255, 0.0);;
    padding: 1.4rem;
}

.hero-card {
    background: #ffffff;
    border: 1px solid #ead8cc;
    border-radius: 14px;
    padding: 1.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero h1 {
    margin-bottom: 1rem;
    color: #6b3e26;
    font-size: 3.2rem;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 1.25rem;
}

.hero-actions {
    margin-top: 1.75rem;
}

.hero-actions a {
    display: inline-block;
    margin: 0.4rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.hero-actions .primary-btn {
    background-color: #8d5a3b;
    color: #ffffff;
}

.hero-actions .secondary-btn {
    border: 2px solid #8d5a3b;
    color: #8d5a3b;
    background-color: #ffffff;
}

.hero-actions-auth {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.hero-actions-guest-secondary {
    margin-top: 1rem;
}

.section-title {
    text-align: center;
    margin: 2rem 0 1.2rem;
    color: #6b3e26;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid #ead8cc;
    border-radius: 14px;
    padding: 1.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    color: #6b3e26;
    margin-bottom: 0.75rem;
}

.service-card p {
    margin-bottom: 2rem;
}

.about-section,
.cta-section {
    background: #fffaf6;
    border: 1px solid #ead8cc;
    border-radius: 14px;
    padding: 1.8rem;
    margin-top: 1.5rem;
    text-align: center;
}

.about-section p,
.cta-section p {
    margin: 0 auto;
    max-width: 760px;
}

.cta-section a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    background-color: #8d5a3b;
    color: #ffffff;
}

.contact-strip {
    background: #fffaf6;
    border: 1px solid #ead8cc;
    border-radius: 14px;
    padding: 1.75rem 1.75rem 1.6rem;
    margin-top: 2.5rem;
    text-align: center;
}

.contact-strip strong {
    color: #6b3e26;
    font-size: 1.15rem;
}

.contact-strip-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem 0.85rem;
    margin: 1.15rem 0 0;
    padding-top: 0.25rem;
}

.contact-strip-nav a {
    display: inline-block;
    border: 2px solid #8d5a3b;
    color: #8d5a3b;
    background-color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.08rem;
    padding: 0.7rem 1.35rem;
    line-height: 1.3;
}

.contact-strip-nav a:hover {
    background: #fff5ee;
}
