/*
Theme Name: The Key, by Coach Cleary
Theme URI: https://coachcleary.com
Author: Joe Cox / AllSupport
Author URI: https://allsupport.co
Description: A calm, professional WordPress theme for The Key, by Coach Cleary — a life coaching practice. Built and maintained by Joe Cox at AllSupport. The theme provides the visual shell (header, footer, typography, colors, cards, responsive layout). All page content lives in normal, editable WordPress Pages. No page builder, no Gutenberg block content required.
Version: 3.3.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-key-coach-cleary
*/

/* ═══════════════════════════════════════════════════════════
   1. FONT IMPORTS
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════
   2. CSS VARIABLES / DESIGN TOKENS
═══════════════════════════════════════════════════════════ */
:root {
    --color-bg: #f4efe7;
    --color-bg-soft: #f8f3ec;
    --color-text: #2d3b36;
    --color-text-muted: rgba(45, 59, 54, 0.68);
    --color-accent: #5c8a73;
    --color-accent-dark: #3f6653;
    --color-accent-soft: rgba(92, 138, 115, 0.12);
    --color-card: #ffffff;
    --color-border: rgba(45, 59, 54, 0.14);

    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-card: 1.25rem;
    --radius-button: 0.5rem;
    --container-width: 1180px;
    --wide-container-width: 1440px;
    --content-width: 760px;
    --section-padding: clamp(3.5rem, 6vw, 6.5rem);
    --container-gutter: clamp(1rem, 4vw, 3rem);

    --shadow-soft: 0 1px 2px rgba(45, 59, 54, 0.04), 0 8px 24px rgba(45, 59, 54, 0.06);
    --shadow-card: 0 1px 3px rgba(45, 59, 54, 0.05), 0 12px 32px rgba(45, 59, 54, 0.08);
}

/* ═══════════════════════════════════════════════════════════
   3. RESET / BASE
═══════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ═══════════════════════════════════════════════════════════
   4. TYPOGRAPHY
═══════════════════════════════════════════════════════════ */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-text);
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
    margin: 0 0 1.2em;
}

p:last-child {
    margin-bottom: 0;
}

strong { font-weight: 600; }

ul, ol {
    margin: 0 0 1.2em;
    padding-left: 1.3em;
}

li {
    margin-bottom: 0.5em;
}

blockquote {
    margin: 1.5em 0;
    padding: 1.2rem 1.6rem;
    border-left: 3px solid var(--color-accent);
    background: var(--color-bg-soft);
    border-radius: 0 var(--radius-button) var(--radius-button) 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--color-text);
}

hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2.5rem 0;
}

/* ═══════════════════════════════════════════════════════════
   5. WORDPRESS / CONTENT DEFAULTS
═══════════════════════════════════════════════════════════ */
.site-main {
    width: 100%;
    overflow-x: clip;
}

.site-header,
.site-footer {
    width: 100%;
}

.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ═══════════════════════════════════════════════════════════
   6. LAYOUT / CONTAINER
═══════════════════════════════════════════════════════════ */
.container {
    width: min(100% - (var(--container-gutter) * 2), var(--container-width));
    margin-inline: auto;
}

.container-wide {
    width: min(100% - (var(--container-gutter) * 2), var(--wide-container-width));
    margin-inline: auto;
}

.page-section,
.hero-section,
.page-hero,
.cta-section {
    width: 100%;
}

.page-section {
    padding-block: var(--section-padding);
}

.page-section.bg-soft {
    background: var(--color-bg-soft);
}

.page-section.bg-accent {
    background: var(--color-accent);
    color: #fff;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin-bottom: 0.8rem;
}

.section-intro {
    max-width: var(--content-width);
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.15rem;
}

.section-intro h2,
.section-intro h1 {
    color: var(--color-text);
}

/* ═══════════════════════════════════════════════════════════
   7. HEADER / NAVIGATION
═══════════════════════════════════════════════════════════ */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 239, 231, 0.92);
    backdrop-filter: saturate(150%) blur(10px);
    -webkit-backdrop-filter: saturate(150%) blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 76px;
}

.site-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
    color: var(--color-text);
}

.site-logo:hover { color: var(--color-text); }

.site-logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 600;
}

.site-logo-main {
    display: block;
}

.site-logo-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.site-logo img {
    max-height: 52px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li { margin: 0; }

.nav-menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.25s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu a.current-menu-item {
    color: var(--color-accent-dark);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after,
.nav-menu a.current-menu-item::after {
    width: 100%;
}

.header-cta {
    white-space: nowrap;
}


/* Header layout hardening: keep desktop menu clean and prevent ugly word wrapping. */
.site-header .nav-inner {
    width: min(100% - (var(--container-gutter) * 2), var(--wide-container-width));
}

.site-logo {
    flex: 0 0 auto;
    max-width: clamp(210px, 18vw, 300px);
}

.site-nav {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
}

.nav-menu {
    flex: 0 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    gap: clamp(0.85rem, 1.35vw, 1.65rem);
}

.nav-menu a,
.mobile-menu a {
    white-space: nowrap;
}

.site-nav .header-cta {
    flex: 0 0 auto;
    padding-inline: clamp(1.15rem, 1.8vw, 2rem);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav.is-open {
    display: flex;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav .header-cta {
    margin-top: 0.7rem;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   8. BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-button);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #fff;
    box-shadow: 0 8px 20px rgba(63, 102, 83, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent-dark);
    border-color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent-soft);
    color: var(--color-accent-dark);
}

.btn-light {
    background: #fff;
    color: var(--color-accent-dark);
    border-color: #fff;
}

.btn-light:hover {
    background: var(--color-bg-soft);
    color: var(--color-accent-dark);
}

.btn-large {
    padding: 1.05rem 2.2rem;
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════════════════
   9. PAGE HERO / HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero-section,
.page-hero {
    position: relative;
    width: 100%;
    background:
        radial-gradient(ellipse at top right, rgba(92, 138, 115, 0.14), transparent 55%),
        linear-gradient(180deg, var(--color-bg-soft), var(--color-bg));
}

.hero-section {
    min-height: calc(100svh - 76px);
    display: flex;
    align-items: center;
    padding-block: clamp(4rem, 8vw, 8rem);
}

.page-hero {
    min-height: clamp(320px, 44svh, 520px);
    display: flex;
    align-items: center;
    padding-block: clamp(4rem, 8vw, 7rem);
}

.hero-content,
.page-hero .container {
    max-width: var(--content-width);
}

.hero-content h1,
.page-hero h1 {
    margin-bottom: 0.5em;
}

.hero-content p,
.page-hero p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.page-hero {
    text-align: center;
}

.page-hero .container {
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   10. CARDS (shared)
═══════════════════════════════════════════════════════════ */
.service-card,
.approach-card,
.format-card,
.schedule-card,
.contact-card,
.credential-card,
.profile-card,
.highlight-box {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.approach-card:hover,
.format-card:hover,
.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.service-card h2,
.service-card h3,
.approach-card h3,
.format-card h3,
.schedule-card h3,
.contact-card h3 {
    margin-top: 0;
}

.service-card .btn,
.schedule-card .btn {
    margin-top: 0.7rem;
}

/* Grids */
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}

.three-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* ═══════════════════════════════════════════════════════════
   11. HOME / SHARED SECTIONS
═══════════════════════════════════════════════════════════ */
/* Intro / about teaser */
.intro-section .split-grid {
    align-items: center;
}

/* Credentials */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.credential-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
}

.credential-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35em;
}

.credential-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.credential-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-accent-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Approach */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.approach-card {
    text-align: center;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* Format */
.format-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* ═══════════════════════════════════════════════════════════
   12. PROCESS (How Coaching Works)
═══════════════════════════════════════════════════════════ */
.process-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: var(--content-width);
    margin-inline: auto;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-soft);
}

.process-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
}

.process-step h3 {
    margin: 0 0 0.3em;
}

.process-step p {
    margin: 0;
    color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════════
   13. FAQ
═══════════════════════════════════════════════════════════ */
.faq-list {
    max-width: var(--content-width);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-button);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    gap: 1rem;
}

.faq-question::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-accent);
    transition: transform 0.25s ease;
}

.faq-item.is-open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner,
.faq-answer > p {
    padding: 0 1.5rem 1.35rem;
    margin: 0;
    color: var(--color-text-muted);
}

.faq-item.is-open .faq-answer {
    max-height: 500px;
}

/* No-JS fallback: answers visible */
.no-js .faq-answer {
    max-height: none;
}

/* ═══════════════════════════════════════════════════════════
   14. SCHEDULE / CONTACT
═══════════════════════════════════════════════════════════ */
.schedule-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.schedule-card {
    text-align: center;
}

.schedule-card h3 {
    margin-top: 0;
}

.contact-card .wpcf7,
.contact-card form {
    margin-top: 0.7rem;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 0.8rem;
}

/* Contact Form 7 friendly defaults */
.wpcf7-form p { margin-bottom: 0.8rem; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-button);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.wpcf7-form input[type="submit"] {
    padding: 0.85rem 1.6rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: #fff;
    background: var(--color-accent);
    border: none;
    border-radius: var(--radius-button);
    cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--color-accent-dark);
}

/* ═══════════════════════════════════════════════════════════
   15. HIGHLIGHT BOX / CTA BANNER
═══════════════════════════════════════════════════════════ */
.highlight-box {
    background: var(--color-accent-soft);
    border: 1px solid rgba(92, 138, 115, 0.25);
}

.cta-banner {
    width: 100%;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-card);
    padding: clamp(2.5rem, 6vw, 5rem) var(--container-gutter);
    text-align: center;
}

.cta-banner-inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

.cta-banner h2 {
    color: #fff;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta-section .cta-banner {
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   16. IMAGE PLACEHOLDERS
═══════════════════════════════════════════════════════════ */
.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: clamp(260px, 38vw, 420px);
    padding: 2rem;
    background: repeating-linear-gradient(
        45deg,
        var(--color-bg-soft),
        var(--color-bg-soft) 12px,
        rgba(92, 138, 115, 0.06) 12px,
        rgba(92, 138, 115, 0.06) 24px
    );
    border: 2px dashed rgba(92, 138, 115, 0.4);
    border-radius: var(--radius-card);
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.image-placeholder img {
    border-radius: var(--radius-card);
}

.profile-card {
    text-align: center;
    padding: 1.5rem;
}

.profile-card .image-placeholder {
    min-height: clamp(280px, 42vw, 460px);
    margin-bottom: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════
   17. FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
    width: 100%;
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.82);
    padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}

.site-footer .container {
    width: min(100% - (var(--container-gutter) * 2), var(--wide-container-width));
    margin-inline: auto;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) minmax(220px, 0.7fr) minmax(320px, 1fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
    margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    line-height: 1.15;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.9rem;
}

.footer-tagline {
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.64);
    font-style: italic;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.55;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
}

.footer-menu,
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-explore .footer-menu,
.footer-explore ul {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
}

.footer-explore li,
.footer-col li {
    margin: 0;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.74);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    white-space: nowrap;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: #fff;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 0.8rem;
}

.footer-contact a {
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.58);
}

/* ═══════════════════════════════════════════════════════════
   18. RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
    .hero-content h1 {
        font-size: clamp(3.4rem, 5vw, 5rem);
    }
}

@media (max-width: 1240px) {
    .site-nav { display: none; }
    .nav-toggle { display: flex; }
}

@media (max-width: 960px) {
    .credentials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .footer-explore .footer-menu,
    .footer-explore ul {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        align-items: flex-start;
    }
}

@media (max-width: 820px) {
    :root {
        --container-gutter: clamp(1rem, 5vw, 1.5rem);
        --section-padding: clamp(3rem, 8vw, 4.5rem);
    }

    .site-nav { display: none; }
    .nav-toggle { display: flex; }

    .hero-section {
        min-height: calc(100svh - 76px);
        align-items: center;
    }

    .split-grid,
    .three-grid,
    .approach-grid,
    .service-grid,
    .format-grid,
    .schedule-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

    .footer-explore .footer-menu,
    .footer-explore ul {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
}


@media (max-width: 640px) {
    .credentials-grid { grid-template-columns: 1fr; }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .hero-actions .btn,
    .schedule-card .btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    body { font-size: 1rem; }

    .nav-inner { min-height: 68px; }

    .hero-section {
        min-height: calc(100svh - 68px);
    }

    .service-card,
    .approach-card,
    .format-card,
    .schedule-card,
    .contact-card,
    .credential-card,
    .profile-card,
    .highlight-box,
    .process-step {
        padding: 1.35rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }

    .faq-question {
        padding: 1rem 1.1rem;
    }

    .faq-answer-inner,
    .faq-answer > p {
        padding-inline: 1.1rem;
    }
}


/* ═══════════════════════════════════════════════════════════
   20. FRONT PAGE HERO SLIDER
═══════════════════════════════════════════════════════════ */
.text-center {
    text-align: center;
}

.hero-slider-section {
    position: relative;
    width: 100%;
}

.hero-slider {
    position: relative;
    min-height: calc(100svh - 76px);
    background: #1f2f2b;
    overflow: clip;
    isolation: isolate;
}

.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(201, 171, 101, 0.18), transparent 24%),
        radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.12), transparent 28%),
        radial-gradient(circle at 50% 90%, rgba(92, 138, 115, 0.18), transparent 34%);
    z-index: 1;
    pointer-events: none;
}

.hero-slider-track {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 900ms ease, visibility 900ms ease, transform 1400ms ease;
    transform: scale(1.04);
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide-media,
.hero-slide-media img {
    width: 100%;
    height: 100%;
}

.hero-slide-media img {
    display: block;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.04) contrast(1.03);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16, 24, 23, 0.88) 0%, rgba(16, 24, 23, 0.72) 30%, rgba(16, 24, 23, 0.32) 62%, rgba(16, 24, 23, 0.56) 100%),
        linear-gradient(180deg, rgba(16, 24, 23, 0.10) 0%, rgba(16, 24, 23, 0.18) 44%, rgba(16, 24, 23, 0.70) 100%);
}

.hero-slider-shell {
    position: relative;
    z-index: 2;
    min-height: calc(100svh - 76px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(3.2rem, 6.5vh, 5rem);
    padding-bottom: clamp(1.25rem, 3vh, 2.2rem);
    gap: 0.85rem;
}

.hero-card {
    max-width: min(46rem, 100%);
    color: #fff;
    padding: clamp(1.15rem, 2vw, 1.7rem);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(24, 34, 33, 0.42), rgba(24, 34, 33, 0.30));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 249, 240, 0.96);
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-slider-content .section-eyebrow {
    color: rgba(235, 216, 174, 0.94);
    margin-bottom: 0.85rem;
}

.hero-slider-content h1 {
    color: #fff;
    font-size: clamp(2.45rem, 4.6vw, 4.9rem);
    line-height: 0.94;
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
    max-width: 11ch;
    text-wrap: balance;
}

.hero-slider-content p {
    color: rgba(255, 251, 245, 0.92);
    font-size: clamp(1rem, 1.35vw, 1.08rem);
    line-height: 1.52;
    max-width: 40rem;
}

.hero-slider-content .hero-actions {
    margin-top: clamp(1.4rem, 3vh, 2rem);
    gap: 0.9rem;
}

.hero-slider-content .btn-primary {
    box-shadow: 0 12px 28px rgba(92, 138, 115, 0.35);
}

.hero-slider-content .btn-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
}

.hero-slider-content .btn-light:hover,
.hero-slider-content .btn-light:focus-visible {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}

.hero-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

.hero-proof-list li {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 251, 245, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
    line-height: 1.25;
}

.hero-slide-kickers {
    position: relative;
    min-height: 1.25rem;
    margin-top: 0.7rem;
}

.hero-slide-kicker {
    position: absolute;
    inset: 0 auto auto 0;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 250ms ease, transform 250ms ease;
    color: rgba(255, 251, 245, 0.90);
    font-size: 0.92rem;
    font-style: italic;
    letter-spacing: 0.01em;
}

.hero-slide-kicker.is-active {
    opacity: 1;
    transform: translateY(0);
}

.hero-slider-controls-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-slider-meta {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    color: rgba(255, 248, 239, 0.88);
}

.hero-slider-count {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #fff;
}

.hero-slider-label {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(235, 216, 174, 0.92);
}

.hero-slider-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-slider-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-slider-dot,
.hero-slider-arrow {
    border: 0;
    cursor: pointer;
}

.hero-slider-dot {
    width: 2.2rem;
    height: 0.45rem;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.26);
    transition: transform 180ms ease, background-color 180ms ease, width 180ms ease;
}

.hero-slider-dot.is-active {
    width: 3rem;
    background: linear-gradient(90deg, rgba(235, 216, 174, 1), rgba(255, 255, 255, 1));
}

.hero-slider-arrow {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 180ms ease, transform 180ms ease, border-color 180ms ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible,
.hero-slider-dot:hover,
.hero-slider-dot:focus-visible {
    background: rgba(255, 255, 255, 0.20);
    outline: none;
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .hero-slider,
    .hero-slider-shell {
        min-height: clamp(540px, calc(100svh - 76px), 800px);
    }

    .hero-card {
        max-width: min(40rem, 100%);
    }

    .hero-slider-controls-wrap {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero-slider,
    .hero-slider-shell {
        min-height: calc(100svh - 68px);
    }

    .hero-slider-shell {
        justify-content: center;
        padding-top: 3.25rem;
        padding-bottom: 0.75rem;
        gap: 0.7rem;
    }

    .hero-card {
        padding: 1rem;
        border-radius: 1.2rem;
    }

    .hero-badge {
        font-size: 0.74rem;
        line-height: 1.25;
        margin-bottom: 0.85rem;
    }

    .hero-slider-content h1 {
        font-size: clamp(1.75rem, 7.2vw, 2.6rem);
        max-width: 10ch;
    }

    .hero-slider-content p {
        font-size: 0.92rem;
        max-width: 30rem;
    }

    .hero-slider-content .hero-actions {
        gap: 0.6rem;
        margin-top: 0.95rem;
    }

    .hero-slider-content .btn-large {
        width: 100%;
        padding: 0.78rem 1rem;
    }

    .hero-proof-list {
        gap: 0.55rem;
    }

    .hero-proof-list li {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 0.92rem;
    }

    .hero-slide-kickers {
        min-height: 1.9rem;
    }

    .hero-slider-meta {
        gap: 0.6rem;
        flex-wrap: wrap;
    }

    .hero-slider-controls {
        gap: 0.55rem;
        flex-wrap: wrap;
    }

    .hero-slider-arrow {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 1rem;
    }

    .hero-slider-dot {
        width: 1.1rem;
        height: 0.34rem;
    }

    .hero-slider-dot.is-active {
        width: 1.65rem;
    }
}

@media (max-width: 420px) {
    .hero-slider,
    .hero-slider-shell {
        min-height: calc(100svh - 64px);
    }

    .hero-slider-shell {
        padding-top: 2.8rem;
        padding-bottom: 0.6rem;
    }

    .hero-slider-content h1 {
        font-size: clamp(1.6rem, 7vw, 2.15rem);
        margin-bottom: 0.75rem;
    }

    .hero-slider-content p {
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .hero-slide-kicker {
        font-size: 0.9rem;
    }

    .hero-slider-controls {
        gap: 0.45rem;
    }

    .hero-slider-label {
        font-size: 0.78rem;
    }
}


/* Removed hero slide kicker display from front-page markup. These remain as safe no-op fallbacks. */
.hero-slide-kickers,
.hero-slide-kicker {
    display: none;
}
