/* ============================================
   GPulse Lab — gpulselab.com
   Palette: coral → teal gradient family
   ============================================ */

:root {
    --cream: #f8f6f2;
    --cream-dark: #eef5f3;
    --coral: #e07a5f;
    --coral-dark: #c96a52;
    --coral-soft: #f4a88f;
    --teal: #3d8b7a;
    --teal-dark: #2d6b5e;
    --teal-deep: #1e4a42;
    --teal-light: #5aad9a;
    --gradient: linear-gradient(135deg, var(--coral) 0%, var(--teal) 100%);
    --gradient-soft: linear-gradient(135deg, rgba(224, 122, 95, 0.12) 0%, rgba(61, 139, 122, 0.12) 100%);
    --heading: #1e4a42;
    --text: #2d4039;
    --text-muted: #5a7268;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(61, 139, 122, 0.1);
    --shadow-lg: 0 12px 48px rgba(61, 139, 122, 0.15);
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-display: 'Syne', system-ui, sans-serif;
    --header-h: 80px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

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

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

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Typography ---- */

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.eyebrow.light {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--heading);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; }

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

.section-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
}

.section-lead a {
    font-weight: 600;
}

/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.btn-primary,
.nav-cta {
    color: var(--white);
    background-color: var(--teal);
    background-image: linear-gradient(135deg, #e07a5f 0%, #3d8b7a 100%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-primary:hover,
.nav-cta:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(61, 139, 122, 0.35);
    opacity: 0.95;
}

.btn-secondary {
    color: var(--teal-deep);
    background-color: var(--teal);
    background-image: linear-gradient(135deg, #e07a5f 0%, #3d8b7a 100%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: var(--white);
    z-index: -1;
    transition: background var(--transition);
}

.section-muted .btn-secondary::before {
    background: var(--cream-dark);
}

.btn-secondary:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 139, 122, 0.25);
}

.btn-secondary:hover::before {
    background: transparent;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 2px var(--white);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--teal-deep);
}

.btn-white:hover {
    background: var(--cream);
    color: var(--teal-deep);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.btn-full {
    width: 100%;
    display: flex;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.centered { text-align: center; }

/* ---- Header ---- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(248, 246, 242, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(61, 139, 122, 0.1);
}

.page-with-hero .site-header:not(.scrolled) {
    background: rgba(22, 48, 42, 0.88);
    backdrop-filter: blur(10px);
}

.page-with-hero .site-header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.page-with-hero .site-header:not(.scrolled) .nav-link:hover,
.page-with-hero .site-header:not(.scrolled) .nav-link.active {
    color: var(--coral-soft);
}

.page-with-hero .site-header:not(.scrolled) .nav-toggle span {
    background: var(--white);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

/* ---- Logo ---- */

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 0;
}

.logo-svg {
    display: block;
    height: 46px;
    width: 120px;
}

.logo--footer .logo-svg {
    height: 42px;
    width: 120px;
    scale: 1.5;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--coral);
}

.nav-cta {
    padding: 0.6rem 1.4rem;
    color: var(--white) !important;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-cta:hover {
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--teal-deep);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---- Hero ---- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(224, 122, 95, 0.82) 0%,
        rgba(61, 139, 122, 0.78) 55%,
        rgba(30, 74, 66, 0.88) 100%
    );
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 400px);
    gap: 3.5rem;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-panel {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 1.35rem 1.35rem 1.15rem;
    font-family: var(--font-body);
    color: var(--heading);
    box-shadow:
        0 4px 6px rgba(30, 74, 66, 0.04),
        0 24px 56px rgba(30, 74, 66, 0.18);
    overflow: hidden;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.55;
}

.hero-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-panel-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.hero-panel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 0 rgba(61, 139, 122, 0.45);
    animation: hero-live-pulse 2s ease-out infinite;
}

@keyframes hero-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(61, 139, 122, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(61, 139, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 139, 122, 0); }
}

.hero-panel-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-wave-wrap {
    margin: 0 -1.35rem 1.1rem;
    padding: 0.25rem 0;
    background: linear-gradient(180deg, var(--cream-dark) 0%, #fff 100%);
    border-block: 1px solid rgba(61, 139, 122, 0.08);
}

.hero-wave {
    display: block;
    width: 100%;
    height: 52px;
}

.hero-wave-track,
.hero-wave-line {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-wave-track {
    stroke: rgba(61, 139, 122, 0.12);
    stroke-width: 2;
}

.hero-wave-line {
    stroke: url(#heroWaveGrad);
    stroke-width: 2.5;
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: hero-wave-draw 2.8s ease-in-out infinite;
}

@keyframes hero-wave-draw {
    0% { stroke-dashoffset: 420; opacity: 0.5; }
    45% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -80; opacity: 0.85; }
}

.hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.hero-metric {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 0.85rem 0.85rem 2.75rem;
    background: var(--cream);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(61, 139, 122, 0.08);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.hero-metric:hover {
    border-color: rgba(61, 139, 122, 0.2);
    box-shadow: 0 4px 16px rgba(61, 139, 122, 0.08);
}

.hero-metric-icon {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    display: flex;
    color: var(--teal);
    opacity: 0.85;
}

.hero-metric-icon svg {
    width: 17px;
    height: 17px;
}

.hero-metric-value {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--heading);
    letter-spacing: -0.02em;
}

.hero-metric-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
    .hero-panel-dot { animation: none; }
    .hero-wave-line { animation: none; stroke-dashoffset: 0; }
}

/* ---- Sections ---- */

.section {
    padding: 6rem 0;
}

.section-muted {
    background: var(--cream-dark);
}

.section-dark {
    background: var(--gradient);
    color: var(--cream);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.centered {
    text-align: center;
}

/* ---- Layout: Stack (Welcome) ---- */

.layout-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 820px;
    margin: 0 auto;
}

.stack-header h2 {
    margin-bottom: 0;
}

.stack-text p {
    color: var(--text-muted);
}

.stack-media img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ---- Layout: Connect (Connecting Businesses) ---- */

.layout-connect {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.layout-connect > * {
    min-width: 0;
}

.connect-content p {
    color: var(--text-muted);
}

.connect-media img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ---- Layout: Overlap (Platform) ---- */

.layout-overlap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    padding-bottom: 2rem;
}

.overlap-media img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.overlap-card {
    position: relative;
    max-width: 520px;
    margin-top: -5rem;
    margin-left: clamp(0rem, 4vw, 2.5rem);
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.overlap-card p {
    color: var(--text-muted);
}

/* ---- Layout: Poster (Why Us) ---- */

.layout-poster {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 3.5rem;
    align-items: start;
}

.layout-poster > * {
    min-width: 0;
}

.poster-media img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 120px 120px var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
}

.poster-body h2 {
    margin-bottom: 1.5rem;
}

.poster-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.poster-columns p {
    color: var(--text-muted);
    margin: 0;
}

/* ---- Features ---- */

.features-banner {
    margin-bottom: 2.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-height: 340px;
}

.features-banner img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center 30%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.features-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: background var(--transition), transform var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.feature-icon {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--coral-soft);
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: rgba(250, 247, 242, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* ---- CTA Banner ---- */

.cta-banner {
    background: var(--gradient);
    padding: 5rem 0;
    text-align: center;
}

.cta-inner {
    max-width: 720px;
}

.cta-inner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-inner .btn-group {
    justify-content: center;
}

/* ---- FAQ ---- */

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item.active {
    box-shadow: var(--shadow-lg);
}

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

.faq-question:hover {
    color: var(--coral);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--coral);
    transition: transform var(--transition);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer > * {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-answer ol,
.faq-answer ul {
    padding-left: 3rem;
}

.faq-answer li {
    margin-bottom: 0.4rem;
}

/* ---- Contact Form ---- */

.form-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--cream-dark);
    padding: 0.4rem;
    border-radius: 100px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.toggle-btn svg {
    width: 18px;
    height: 18px;
}

.toggle-btn.active {
    background: var(--white);
    color: var(--teal-deep);
    box-shadow: var(--shadow);
}

.form-panel {
    display: none;
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-panel.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), background var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-disclaimer {
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
}

.form-disclaimer a {
    color: var(--teal);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-disclaimer a:hover {
    color: var(--teal-dark);
}

.form-panel.is-success .apply-form {
    display: none;
}

.form-success {
    text-align: center;
    padding: 2.5rem 1rem;
}

.form-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: rgba(61, 139, 122, 0.12);
    color: var(--teal);
}

.form-success-icon svg {
    width: 28px;
    height: 28px;
}

.form-success-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 0.5rem;
}

.form-success-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 360px;
    margin: 0 auto;
}

/* ---- Subpages ---- */

.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 420px;
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(22, 48, 42, 0.75) 0%,
        rgba(30, 74, 66, 0.65) 35%,
        rgba(30, 74, 66, 0.88) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    color: var(--white);
}

.page-hero-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow);
}

.value-num {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--coral);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.value-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.layout-poster--reverse {
    direction: rtl;
}

.layout-poster--reverse > * {
    direction: ltr;
}

.poster-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.about-facts {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
}

.about-facts li {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(61, 139, 122, 0.12);
}

.about-facts li:last-child {
    border-bottom: none;
}

.about-facts strong {
    display: inline-block;
    min-width: 5rem;
    color: var(--heading);
    font-weight: 600;
}

.about-facts a {
    color: var(--teal);
    text-decoration: none;
}

.about-facts a:hover {
    text-decoration: underline;
}

/* ---- Contact page ---- */

.section-contact,
.section-legal {
    padding-top: calc(var(--header-h) + 3rem);
}

.section-contact h1,
.section-legal h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.legal-content > p,
.legal-content li {
    color: var(--text-muted);
    line-height: 1.75;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 0.85rem;
}

.legal-content h2:first-of-type {
    margin-top: 2rem;
}

.legal-content ul {
    margin: 0.75rem 0 1rem 1.25rem;
    padding: 0;
}

.legal-content li {
    margin-bottom: 0.45rem;
}

.legal-content a {
    color: var(--teal);
    font-weight: 500;
}

.legal-content a:hover {
    color: var(--teal-dark);
}

.legal-updated {
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 320px);
    gap: 2.5rem;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
}

.contact-form-panel {
    display: block;
    max-width: none;
    margin: 0;
}

.contact-info {
    background: var(--cream-dark);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
}

.contact-info h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-info-lead {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.contact-info-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(61, 139, 122, 0.12);
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-info-list a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-list a:hover {
    text-decoration: underline;
}

.contact-info-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(61, 139, 122, 0.12);
}

.contact-info-note a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-note a:hover {
    text-decoration: underline;
}

/* ---- Footer ---- */

.site-footer {
    background: var(--coral-dark);
    color: rgba(255, 255, 255, 0.82);
    padding: 0 0 2rem;
    border-top: none;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 3rem 0 1.75rem;
}

.footer-brand {
    flex: 1;
    max-width: 480px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem 1.5rem;
    padding-top: 0.35rem;
    max-width: 320px;
}

.footer-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    padding: 1.25rem 0 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    min-width: 0;
}

a.footer-contact-item:hover .footer-contact-value {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact-value {
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    padding-top: 1.25rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ---- Responsive ---- */

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

    .hero-panel {
        width: 100%;
        max-width: 400px;
    }

    .layout-connect {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .connect-media {
        order: -1;
    }

    .overlap-card {
        margin-left: 0;
        margin-right: 0;
        margin-top: -3rem;
    }

    .layout-poster {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }

    .features-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

}

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

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-cta {
        text-align: center;
        width: 100%;
    }

    .hero-panel {
        max-width: none;
    }

    .page-hero {
        min-height: 360px;
        padding-bottom: 3rem;
    }

    .layout-poster,
    .layout-poster--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .poster-media {
        max-width: 320px;
        margin: 0 auto;
    }

    .poster-columns {
        grid-template-columns: 1fr;
    }

    .overlap-card {
        margin: -2rem 0 0;
        max-width: none;
        padding: 1.75rem;
    }

    .layout-connect {
        gap: 1.5rem;
    }

    .features-grid,
    .features-grid-3 {
        grid-template-columns: 1fr;
    }

    .features-banner img {
        height: 240px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 2.5rem;
    }

    .footer-nav {
        justify-content: flex-start;
        max-width: none;
        padding-top: 0;
    }

    .footer-contact {
        flex-direction: column;
        gap: 1.1rem;
    }

    .section {
        padding: 4rem 0;
    }
}
