/* Base styles shared by every public page.
   White is the dominant background; palette colors act as accents. */

/* The first focusable thing on every page. It sits off-screen until a keyboard
   user tabs to it, so it costs nothing visually and lets them skip the nav. */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 10px 10px;
    background: var(--secondary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--main);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .skip-link { transition: none; }
}

/* Anchor targets must not land under the fixed header. */
:target {
    scroll-margin-top: 5rem;
}

:root {
    /* Fallback palette — overridden at runtime by the admin-configured theme
       (see App\Support\Theme). Keep these in sync with Theme's defaults. */
    --main: #a4773a;
    --primary: #efe6cf;
    --secondary: #252d28;
    --extra: #615d39;

    --main-rgb: 164, 119, 58;
    --primary-rgb: 239, 230, 207;
    --secondary-rgb: 37, 45, 40;
    --extra-rgb: 97, 93, 57;
    --panel-rgb: 17, 20, 18;
    --on-dark-rgb: 245, 240, 226;

    --bg: #ffffff;
    --surface: #ffffff;
    --bg-soft: #faf8f1;
    --bg-tint: #f6f1e5;
    --border: #efe6cf;

    --ink: #464d48;
    --ink-soft: #575d59;
    --muted: #787d7a;
    --muted-soft: #929694;

    --panel: #111412;
    --panel-2: #181d1a;
    --on-dark: #f5f0e2;

    --danger: #c0392b;
    --danger-rgb: 192, 57, 43;
    --success: #2e7d32;
    --success-rgb: 46, 125, 50;
    --warning: #b45309;
    --warning-rgb: 180, 83, 9;
    --google: #4285f4;

    --font-heading: 'Lora', serif;
    --font-body: 'Mulish', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Explicit base so every page shares one root size rather than inheriting
   whatever the browser or device defaults to. */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--secondary);
    min-height: 100vh;
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;

    line-height: 1.25;
    text-wrap: balance;
}

a {
    color: var(--main);
    text-decoration: none;
}

a:hover {
    color: var(--extra);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4.5rem 0;
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--main);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-head h2 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    line-height: 1.12;
}

.section-head h2 em {
    color: var(--main);
    font-style: italic;
}

.section-head p {
    color: var(--extra);
    font-size: 1.15rem;
    line-height: 1.75;
}

/* Public site header — defined in home.css (the header only appears on the homepage). */

.btn {
    display: inline-block;
    padding: 0.8rem 1.9rem;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--extra), var(--main));
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s;
    box-shadow: 0 6px 20px rgba(var(--extra-rgb), 0.3);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.btn:hover::after {
    left: 120%;
}

.btn:hover {
    background: linear-gradient(135deg, var(--secondary), var(--panel));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(var(--secondary-rgb), 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--main);
    border: 2px solid var(--main);
    box-shadow: none;
}

.btn-outline::after {
    display: none;
}

.btn-outline:hover {
    background: var(--main);
    color: #fff;
    box-shadow: 0 8px 24px rgba(var(--main-rgb), 0.25);
}

/* ============================================================
   AUTH PAGES — premium calm design (shared by login + register)
   ============================================================ */
.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #fff;
}

/* --- Left: image panel --- */
.auth-visual {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.visual-bg {
    position: absolute;
    inset: -4%;
    background-size: cover;
    background-position: center;
    animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.09);
    }
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(--secondary-rgb), 0.22) 0%, rgba(var(--secondary-rgb), 0.78) 100%);
}

.petal {
    position: absolute;
    color: rgba(255, 255, 255, 0.35);
    z-index: 2;
    pointer-events: none;
    animation: petalFloat 9s ease-in-out infinite;
}

.petal.p1 {
    top: 10%;
    left: 9%;
    font-size: 2.2rem;
}

.petal.p2 {
    top: 20%;
    right: 13%;
    font-size: 1.5rem;
    animation-delay: 1.6s;
}

.petal.p3 {
    top: 55%;
    left: 16%;
    font-size: 1.3rem;
    animation-delay: 3.2s;
}

.petal.p4 {
    bottom: 22%;
    right: 8%;
    font-size: 1.9rem;
    animation-delay: 4.8s;
}

@keyframes petalFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-26px) rotate(14deg);
    }
}

.auth-visual-content {
    position: absolute;
    left: 2.75rem;
    right: 2.75rem;
    bottom: 3.25rem;
    z-index: 3;
    color: #fff;
}

.auth-visual-content .brand {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.auth-visual-content .brand i {
    color: var(--main);
    font-size: 1.7rem;
}

.glass-quote {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 1.75rem 1.9rem;
    max-width: 460px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.glass-quote>i {
    display: block;
    font-size: 1.8rem;
    color: var(--main);
    margin-bottom: 0.6rem;
}

.glass-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.glass-quote .quote-author {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    opacity: 0.85;
    text-transform: uppercase;
}

.visual-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    max-width: 460px;
}

.stat-chip {
    flex: 1;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 0.8rem 0.6rem;
    text-align: center;
    transition: background 0.25s, transform 0.25s;
}

.stat-chip:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.stat-chip span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

.stat-chip span i {
    color: var(--main);
    font-size: 0.9rem;
    margin-left: 2px;
}

.stat-chip small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

/* --- Right: form panel --- */
.auth-form-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3.5rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(var(--primary-rgb), 0.55);
    top: -130px;
    right: -150px;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-2 {
    width: 320px;
    height: 320px;
    background: rgba(var(--main-rgb), 0.14);
    bottom: -110px;
    left: -130px;
    animation: orbFloat 19s ease-in-out infinite reverse;
}

.orb-3 {
    width: 220px;
    height: 220px;
    background: rgba(var(--extra-rgb), 0.1);
    top: 42%;
    left: 18%;
    animation: orbFloat 13s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(32px, -32px) scale(1.12);
    }
}

.auth-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
}

.auth-inner>* {
    animation: fadeUp 0.7s ease both;
}

.auth-inner>*:nth-child(1) {
    animation-delay: 0.04s;
}

.auth-inner>*:nth-child(2) {
    animation-delay: 0.12s;
}

.auth-inner>*:nth-child(3) {
    animation-delay: 0.2s;
}

.auth-inner>*:nth-child(4) {
    animation-delay: 0.28s;
}

.auth-inner>*:nth-child(5) {
    animation-delay: 0.36s;
}

.auth-inner>*:nth-child(6) {
    animation-delay: 0.44s;
}

.auth-inner>*:nth-child(7) {
    animation-delay: 0.52s;
}

.auth-inner>*:nth-child(8) {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-inner form .float-field {
    animation: fadeUp 0.7s ease both;
}

.auth-inner form .float-field:nth-of-type(1) {
    animation-delay: 0.24s;
}

.auth-inner form .float-field:nth-of-type(2) {
    animation-delay: 0.32s;
}

.auth-inner form .float-field:nth-of-type(3) {
    animation-delay: 0.4s;
}

.auth-inner form .float-field:nth-of-type(4) {
    animation-delay: 0.48s;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--extra);
    margin-bottom: 1.6rem;
    transition: color 0.2s, transform 0.2s;
}

.back-home:hover {
    color: var(--main);
    transform: translateX(-3px);
}

.auth-head {
    text-align: center;
    margin-bottom: 2.2rem;
}

.auth-icon {
    position: relative;
    width: 66px;
    height: 66px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main), var(--extra));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #fff;
    box-shadow: 0 12px 28px rgba(var(--main-rgb), 0.35);
}

.auth-icon::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1.5px dashed rgba(var(--main-rgb), 0.5);
    border-radius: 50%;
    animation: spin 24s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.auth-head h1 {
    font-size: 1.85rem;
    margin-bottom: 0.45rem;
}

.auth-head .subtitle {
    color: var(--extra);
    font-size: 0.92rem;
}

/* Floating label fields */
.float-field {
    position: relative;
    margin-bottom: 1.9rem;
}

.float-field .field-icon {
    position: absolute;
    left: 4px;
    top: 14px;
    color: var(--muted-soft);
    font-size: 1.05rem;
    pointer-events: none;
    transition: color 0.25s;
}

.float-field input {
    width: 100%;
    padding: 0.85rem 42px 0.7rem 38px;
    border: none;
    border-bottom: 2px solid var(--border);
    border-radius: 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--secondary);
    transition: border-color 0.3s;
}

.float-field input::placeholder {
    color: transparent;
}

.float-field label {
    position: absolute;
    left: 38px;
    top: 15px;
    color: var(--muted-soft);
    font-size: 0.95rem;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.25s ease;
    background: transparent;
    padding: 0 2px;
}

.float-field input:focus,
.float-field input:not(:placeholder-shown),
.float-field input.is-filled,
.float-field input:-webkit-autofill {
    outline: none;
    border-bottom-color: var(--main);
}

.float-field input:focus~label,
.float-field input:not(:placeholder-shown)~label,
.float-field input.is-filled~label,
.float-field input:-webkit-autofill~label {
    top: -11px;
    left: 34px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--main);
    background: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Neutralize browser autofill styling so it looks like a normal filled input */
.float-field input:-webkit-autofill,
.float-field input:-webkit-autofill:hover,
.float-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: var(--secondary);
    caret-color: var(--secondary);
    transition: background-color 9999s ease-in-out 0s;
}

.float-field:focus-within .field-icon {
    color: var(--secondary);
}

.float-field .field-line {
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--main), var(--extra));
    transition: width 0.4s ease;
    border-radius: 2px;
}

.float-field:focus-within .field-line {
    width: 100%;
}

.float-field.has-error input {
    border-bottom-color: var(--danger);
}

.float-field.has-error label {
    color: var(--danger);
}

.float-field .field-action {
    position: absolute;
    right: 0;
    top: 10px;
    background: none;
    border: none;
    color: var(--muted-soft);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 6px;
    transition: color 0.2s, transform 0.2s;
}

.float-field .field-action:hover {
    color: var(--main);
    transform: scale(1.1);
}

/* Options row */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.2rem 0 1.7rem;
    font-size: 0.88rem;
}

.remember-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    color: var(--extra);
    user-select: none;
}

.remember-row input {
    display: none;
}

.remember-row .box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--muted-soft);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    flex-shrink: 0;
}

.remember-row .box i {
    color: #fff;
    font-size: 0.72rem;
    opacity: 0;
    transform: scale(0.4);
    transition: all 0.25s;
}

.remember-row input:checked+.box {
    background: var(--main);
    border-color: var(--main);
    box-shadow: 0 4px 12px rgba(var(--main-rgb), 0.4);
}

.remember-row input:checked+.box i {
    opacity: 1;
    transform: scale(1);
}

.forgot-link {
    color: var(--main);
    font-weight: 600;
    position: relative;
}

.forgot-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1.5px;
    background: var(--main);
    transition: width 0.25s;
}

.forgot-link:hover::after {
    width: 100%;
}

.forgot-link:hover {
    color: var(--secondary);
}

/* Submit button with shimmer */
.auth-submit {
    position: relative;
    width: 100%;
    padding: 0.95rem;
    border: none;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--main), var(--extra));
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.6px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.3s;
}

.auth-submit i {
    margin-right: 0.45rem;
}

.auth-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transition: left 0.7s ease;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(var(--secondary-rgb), 0.28);
}

.auth-submit:hover::after {
    left: 130%;
}

.auth-submit:active {
    transform: translateY(0);
}

/* Divider + google */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 1.8rem 0 1.4rem;
    color: var(--muted-soft);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: 40px;
    background: #fff;
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(var(--secondary-rgb), 0.06);
    transition: all 0.25s;
}

.btn-google:hover {
    border-color: var(--main);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(var(--secondary-rgb), 0.12);
}

.btn-google i {
    color: var(--google);
    font-size: 1.2rem;
}

.auth-switch {
    margin-top: 1.8rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--extra);
}

.auth-switch a {
    color: var(--main);
    font-weight: 700;
    position: relative;
}

.auth-switch a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1.5px;
    background: var(--main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
}

.auth-switch a:hover::after {
    transform: scaleX(1);
}

/* Responsive */
@media (max-width: 900px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        display: none;
    }

    .auth-form-side {
        padding: 2rem 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .visual-bg,
    .petal,
    .orb,
    .auth-icon::before,
    .auth-inner>*,
    .auth-inner form .float-field {
        animation: none !important;
    }

    .auth-inner>* {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   Shared front-end building blocks (page hero, links, reveal)
   Used by the services, about, contact and legal pages.
   ============================================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(7.5rem, 11vw, 11rem) 0 clamp(3rem, 5vw, 4.5rem);
    text-align: center;
    background:
        radial-gradient(ellipse 55% 65% at 12% -10%, rgba(var(--main-rgb), 0.24), transparent 60%),
        radial-gradient(ellipse 45% 55% at 100% 110%, rgba(var(--extra-rgb), 0.3), transparent 62%),
        linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    color: var(--on-dark);
}

/* Diagonal sheen sweeping across the panel. */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(118deg, transparent 53%, rgba(var(--main-rgb), 0.09) 53.3%, transparent 56%);
    pointer-events: none;
}

/* Gold hairline along the base, fading out to the right. */
.page-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--extra) 0%, var(--main) 42%, transparent 85%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .kicker {
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--main);
    margin-bottom: 0.7rem;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.7rem;
}

.page-hero h1 em {
    font-style: italic;
    color: var(--main);
}

.page-hero-sub {
    max-width: 660px;
    margin: 0 auto;
    font-size: 1.06rem;
    line-height: 1.75;
    color: rgba(var(--on-dark-rgb), 0.8);
}

@media (min-width: 1440px) {
    .page-hero h1 {
        font-size: 4rem;
    }

    .page-hero-sub {
        font-size: 1.16rem;
    }
}

.link-line {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--main);
    transition: gap 0.3s;
}

.link-line:hover {
    gap: 0.7rem;
    color: var(--secondary);
}

.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.2, 0, 0, 1), transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   Desktop & ultrawide scale
   Rem-based type and spacing grow on large screens while tablet
   and mobile sizes stay unchanged.
   ============================================================ */
@media (min-width: 1440px) {
    html {
        font-size: 17px;
    }

    .container {
        max-width: 1500px;
    }
}

@media (min-width: 1800px) {
    html {
        font-size: 18px;
    }

    .container {
        max-width: 1680px;
        padding: 0 3rem;
    }
}

/* ────────────────────────────────────────────────────────────────
   Price options table — services, landing pages and blog posts
   ──────────────────────────────────────────────────────────────── */

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.5rem;
}

.price-table caption {
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--main);
    margin-bottom: 0.7rem;
}

.price-table th,
.price-table td {
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.price-table thead th {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.55;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.price-table tbody th {
    font-weight: 600;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
    border-bottom: 0;
}

.price-table tbody td strong {
    font-size: 1.05rem;
    white-space: nowrap;
}

.price-table-note {
    display: block;
    font-size: 0.78rem;
    opacity: 0.65;
}

/* ── Checkmarked "What's included" list ── */
.includes-list {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    padding: 0;
    margin: 0;
}

.includes-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.includes-list i {
    flex: 0 0 auto;
    margin-top: 0.15rem;
    color: var(--main);
}

.service-detail-pricing,
.service-detail-includes,
.blog-article-pricing {
    margin-top: 2.5rem;
}

.service-detail-pricing h2,
.service-detail-includes h2,
.blog-article-pricing h2 {
    margin-bottom: 1rem;
}

.blog-article-pricing h3 {
    margin: 2rem 0 1rem;
}

/* ============================================================
   INLINE VALIDATION FEEDBACK

   One message style for every public field that can fail. The toast rail
   announces the problem; this says which field it belongs to.
   ============================================================ */
.form-error {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--danger);
}

.form-error i {
    flex-shrink: 0;
    font-size: 0.95rem;
}

/* The failing control itself, in each of the public form layouts. */
.newsletter-form.has-error input,
.account-field.has-error input,
.account-field.has-error textarea {
    border-color: var(--danger);
}

/* ============================================================
   reCAPTCHA

   Rendered only once RECAPTCHA_SITE_KEY and RECAPTCHA_SECRET_KEY are set, so
   every rule here is inert until then.
   ============================================================ */
.form-captcha {
    margin: 1.1rem 0;
}

.form-captcha-error {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--danger);
}

/* The footer and homepage sign-ups sit in inline rows, so the widget takes a
   line of its own rather than squeezing in beside the input. */
.newsletter-form .form-captcha,
.subscribe-form .form-captcha {
    flex-basis: 100%;
    margin: 0.85rem 0 0;
}