/* ==========================================================================
   Visions Public Site — Pure CSS
   Landing · Contact · Privacy
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
:root {
    --color-navy: #1a3a5c;
    --color-leaf: #2a9d8f;
    --color-gold: #e9c46a;
    --color-ink: #1d2939;
    --color-soft: #f8fafc;
    --color-cream: #fdfbf7;

    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-white: #ffffff;
    --color-red-400: #f87171;
    --color-red-500: #ef4444;

    --font-family: "Tajawal", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-size-base: 17px;
    --line-height-relaxed: 1.625;
    --container-max: 72rem;

    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-4xl: 2rem;
    --radius-full: 9999px;

    --shadow-soft: 0 4px 24px rgba(26, 58, 92, 0.06);
    --shadow-lift: 0 8px 40px rgba(26, 58, 92, 0.1);
    --shadow-sm: 0 1px 2px rgba(26, 58, 92, 0.06);
    --shadow-md: 0 4px 12px rgba(26, 58, 92, 0.1);

    --header-height: 4rem;
    --section-py: 4rem;
    --transition: 0.2s ease;
}

@media (min-width: 640px) {
    :root {
        --header-height: 4.5rem;
        --section-py: 5rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --section-py: 6rem;
    }
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background-color: var(--color-white);
    color: var(--color-ink);
    line-height: 1.5;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

::selection {
    background-color: rgba(233, 196, 106, 0.4);
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .impact-card.is-counted {
        animation: none !important;
    }

    .counter-value.is-counting {
        animation: none !important;
    }

    .impact-card.is-counted .impact-bar {
        width: 2.5rem !important;
        animation: none !important;
    }

    .animate-hero {
        animation: none !important;
    }
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

@media (min-width: 640px) {
    .container {
        padding-inline: 2rem;
    }
}

.container--narrow {
    max-width: 56rem;
}

.container--form {
    max-width: 56rem;
}

/* --------------------------------------------------------------------------
   Typography utilities
   -------------------------------------------------------------------------- */
.text-brand-navy { color: var(--color-navy); }
.text-brand-leaf { color: var(--color-leaf); }
.text-brand-gold { color: var(--color-gold); }
.text-brand-ink { color: var(--color-ink); }
.text-slate-500 { color: var(--color-slate-500); }
.text-slate-600 { color: var(--color-slate-600); }
.text-slate-700 { color: var(--color-slate-700); }
.text-white { color: var(--color-white); }
.text-red-500 { color: var(--color-red-500); }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-2xl { font-size: 1.5rem; line-height: 1.25; }
.text-3xl { font-size: 1.875rem; line-height: 1.2; }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.leading-relaxed { line-height: var(--line-height-relaxed); }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.text-start { text-align: start; }

@media (min-width: 640px) {
    .sm\:text-base { font-size: 1rem; }
    .sm\:text-lg { font-size: 1.125rem; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 1.2; }
}

/* --------------------------------------------------------------------------
   Background utilities
   -------------------------------------------------------------------------- */
.bg-white { background-color: var(--color-white); }
.bg-slate-50 { background-color: var(--color-slate-50); }
.bg-brand-navy { background-color: var(--color-navy); }
.bg-brand-leaf { background-color: var(--color-leaf); }
.bg-brand-gold { background-color: var(--color-gold); }
.bg-slate-50\/60 { background-color: rgba(248, 250, 252, 0.6); }
.bg-slate-50\/80 { background-color: rgba(248, 250, 252, 0.8); }
.bg-slate-50\/90 { background-color: rgba(248, 250, 252, 0.9); }
.bg-brand-cream { background-color: var(--color-cream); }
.bg-brand-leaf\/10 { background-color: rgba(42, 157, 143, 0.1); }
.bg-brand-gold\/20 { background-color: rgba(233, 196, 106, 0.2); }
.bg-brand-gold\/60 { background-color: rgba(233, 196, 106, 0.6); }
.bg-brand-navy\/\[0\.06\] { background-color: rgba(26, 58, 92, 0.06); }
.bg-brand-navy\/\[0\.07\] { background-color: rgba(26, 58, 92, 0.07); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }

.min-h-screen { min-height: 100vh; }
.min-w-0 { min-width: 0; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-hidden { overflow: hidden; }
.antialiased { -webkit-font-smoothing: antialiased; }

/* --------------------------------------------------------------------------
   Flex & grid utilities
   -------------------------------------------------------------------------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.shrink-0 { flex-shrink: 0; }
.place-items-center { place-items: center; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.list-none { list-style: none; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }

/* --------------------------------------------------------------------------
   Spacing utilities
   -------------------------------------------------------------------------- */
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

.p-2 { padding: 0.5rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-inline: 0.75rem; }
.px-4 { padding-inline: 1rem; }
.px-5 { padding-inline: 1.25rem; }
.px-6 { padding-inline: 1.5rem; }
.py-1\.5 { padding-block: 0.375rem; }
.py-2 { padding-block: 0.5rem; }
.py-2\.5 { padding-block: 0.625rem; }
.py-3 { padding-block: 0.75rem; }
.py-3\.5 { padding-block: 0.875rem; }
.py-4 { padding-block: 1rem; }
.py-5 { padding-block: 1.25rem; }
.py-8 { padding-block: 2rem; }
.py-10 { padding-block: 2.5rem; }
.py-16 { padding-block: 4rem; }
.py-20 { padding-block: 5rem; }
.pt-4 { padding-top: 1rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pr-2 { padding-inline-end: 0.5rem; }
.pr-6 { padding-inline-end: 1.5rem; }

.w-full { width: 100%; }
.w-auto { width: auto; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-52 { width: 13rem; }
.h-px { height: 1px; }
.h-0\.5 { height: 0.125rem; }
.h-2\.5 { height: 0.625rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-auto { height: auto; }

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-\[200px\] { max-width: 200px; }
.max-w-\[320px\] { max-width: 320px; }
.max-w-\[380px\] { max-width: 380px; }
.max-w-\[640px\] { max-width: 640px; }
.max-w-\[720px\] { max-width: 720px; }

.aspect-square { aspect-ratio: 1 / 1; }
.object-contain { object-fit: contain; }

/* --------------------------------------------------------------------------
   Position & z-index
   -------------------------------------------------------------------------- */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-full { top: 100%; }
.left-0 { inset-inline-start: 0; }
.z-50 { z-index: 50; }

.scroll-mt-20 { scroll-margin-top: 5rem; }

/* --------------------------------------------------------------------------
   Borders & radius
   -------------------------------------------------------------------------- */
.border { border: 1px solid var(--color-slate-200); }
.border-t { border-top: 1px solid var(--color-slate-100); }
.border-slate-200 { border-color: var(--color-slate-200); }
.border-slate-200\/80 { border-color: rgba(226, 232, 240, 0.8); }
.border-slate-300\/90 { border-color: rgba(203, 213, 225, 0.9); }
.border-dashed { border-style: dashed; }
.border-brand-leaf\/30 { border-color: rgba(42, 157, 143, 0.3); }

@media (min-width: 640px) {
    .sm\:text-base { font-size: 1rem; }
    .sm\:text-lg { font-size: 1.125rem; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 1.2; }
}
.border-brand-leaf\/30 { border-color: rgba(42, 157, 143, 0.3); }
.border-red-400 { border-color: var(--color-red-400) !important; }
.border-black\/10 { border-color: rgba(0, 0, 0, 0.1); }

.border-r-\[3px\] { border-inline-end-width: 3px; border-inline-end-style: solid; }
.border-brand-gold { border-inline-end-color: var(--color-gold); }
.border-t-\[3px\] { border-top-width: 3px; border-top-style: solid; }
.border-t-brand-gold { border-top-color: var(--color-gold); }

.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* --------------------------------------------------------------------------
   Shadows
   -------------------------------------------------------------------------- */
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-lift { box-shadow: var(--shadow-lift); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-brand-leaf\/25 { box-shadow: 0 4px 14px rgba(42, 157, 143, 0.25); }
.shadow-brand-leaf\/30 { box-shadow: 0 8px 24px rgba(42, 157, 143, 0.3); }

/* --------------------------------------------------------------------------
   Effects & transitions
   -------------------------------------------------------------------------- */
.transition { transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.brightness-0 { filter: brightness(0); }
.invert { filter: invert(1); }
.outline-none { outline: none; }
.cursor-pointer { cursor: pointer; }

/* Opacity text variants */
.text-brand-navy\/70 { color: rgba(26, 58, 92, 0.7); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }

/* Gradient divider */
.bg-gradient-to-l {
    background-image: linear-gradient(to left, transparent, var(--color-slate-200), transparent);
}

[dir="rtl"] .bg-gradient-to-l {
    background-image: linear-gradient(to right, transparent, var(--color-slate-200), transparent);
}

/* --------------------------------------------------------------------------
   Responsive breakpoints — 640px (sm), 1024px (lg)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
    .sm\:h-12 { height: 3rem; }
    .sm\:h-\[4\.5rem\] { height: 4.5rem; }
    .sm\:px-8 { padding-inline: 2rem; }
    .sm\:py-20 { padding-block: 5rem; }
    .sm\:py-28 { padding-block: 7rem; }
    .sm\:p-6 { padding: 1.5rem; }
    .sm\:p-10 { padding: 2.5rem; }
    .sm\:mb-12 { margin-bottom: 3rem; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-center { align-items: center; }
    .sm\:justify-between { justify-content: space-between; }
    .sm\:max-w-\[360px\] { max-width: 360px; }
    .sm\:max-w-\[380px\] { max-width: 380px; }
    .sm\:max-w-\[720px\] { max-width: 720px; }
    .sm\:w-auto { width: auto; }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
    .lg\:items-start { align-items: flex-start; }
    .lg\:justify-end { justify-content: flex-end; }
    .lg\:py-24 { padding-block: 6rem; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header,
header.sticky {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

@media (min-width: 640px) {
    .site-header__inner {
        padding-inline: 2rem;
    }
}

.site-header__logo img {
    height: 2.75rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 640px) {
    .site-header__logo img {
        height: 3rem;
    }
}

.site-header__divider {
    height: 1px;
    background-image: linear-gradient(to left, transparent, var(--color-slate-200), transparent);
}

[dir="rtl"] .site-header__divider {
    background-image: linear-gradient(to right, transparent, var(--color-slate-200), transparent);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-nav {
    display: none;
    align-items: center;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .site-nav {
        display: flex;
    }
}

.site-nav a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate-500);
    transition: color var(--transition);
}

.site-nav a:hover {
    color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */
.mobile-menu {
    position: relative;
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none;
    }
}

.mobile-menu summary {
    cursor: pointer;
    list-style: none;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-lg);
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu summary::marker {
    content: "";
}

.mobile-menu nav {
    position: absolute;
    inset-inline-start: 0;
    top: 100%;
    margin-top: 0.5rem;
    width: 13rem;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-xl);
    background-color: var(--color-white);
    padding: 0.5rem;
    box-shadow: var(--shadow-lift);
}

.mobile-menu nav a {
    display: block;
    border-radius: var(--radius-lg);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate-600);
    transition: background-color var(--transition), color var(--transition);
}

.mobile-menu nav a:hover {
    background-color: var(--color-slate-50);
    color: var(--color-navy);
}

.mobile-menu nav a.mobile-menu__cta {
    margin-top: 0.25rem;
    background-color: var(--color-leaf);
    color: var(--color-white);
    text-align: center;
    padding-block: 0.625rem;
    box-shadow: var(--shadow-sm);
}

.mobile-menu nav a.mobile-menu__cta:hover {
    background-color: rgba(42, 157, 143, 0.9);
    color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn--primary {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: rgba(26, 58, 92, 0.9);
}

.btn--leaf {
    background-color: var(--color-leaf);
    color: var(--color-white);
    border-radius: var(--radius-full);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    box-shadow: 0 4px 14px rgba(42, 157, 143, 0.25);
}

.btn--leaf:hover {
    transform: translateY(-2px);
    background-color: rgba(42, 157, 143, 0.9);
    box-shadow: 0 8px 24px rgba(42, 157, 143, 0.3);
}

.btn--gold {
    background-color: var(--color-gold);
    color: var(--color-navy);
    border-radius: var(--radius-full);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.btn--gold:hover {
    background-color: var(--color-white);
}

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

@media (min-width: 640px) {
    .btn--full-sm-auto {
        width: auto;
    }
}

/* Hover utilities for template compatibility */
.hover\:text-brand-navy:hover { color: var(--color-navy); }
.hover\:text-brand-gold:hover { color: var(--color-gold); }
.hover\:bg-slate-50:hover { background-color: var(--color-slate-50); }
.hover\:bg-brand-leaf\/90:hover { background-color: rgba(42, 157, 143, 0.9); }
.hover\:bg-brand-navy\/90:hover { background-color: rgba(26, 58, 92, 0.9); }
.hover\:bg-white:hover { background-color: var(--color-white); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-2px); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 30px rgba(26, 58, 92, 0.12); }
.hover\:shadow-brand-leaf\/30:hover { box-shadow: 0 8px 24px rgba(42, 157, 143, 0.3); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    padding-block: 5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .hero {
        padding-block: 7rem;
    }
}

.hero__logo {
    margin-inline: auto;
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 640px) {
    .hero__logo {
        max-width: 380px;
    }
}

.hero__divider {
    margin-inline: auto;
    margin-top: 2rem;
    width: 4rem;
    height: 1px;
    background-color: rgba(233, 196, 106, 0.6);
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-hero {
    animation: fade-up 0.9s ease both, hero-float 5s ease-in-out 1s infinite;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
    scroll-margin-top: 5rem;
    padding-block: var(--section-py);
}

.section--soft {
    background-color: rgba(248, 250, 252, 0.6);
}

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

.section__header {
    margin-bottom: 2.5rem;
    max-width: 48rem;
}

@media (min-width: 640px) {
    .section__header {
        margin-bottom: 3rem;
    }
}

.section__title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-navy);
    line-height: 1.25;
}

@media (min-width: 640px) {
    .section__title {
        font-size: 1.875rem;
    }
}

.section__lead {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: var(--line-height-relaxed);
    color: var(--color-slate-500);
}

@media (min-width: 640px) {
    .section__lead {
        font-size: 1.125rem;
    }
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background-color: var(--color-white);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
    .card {
        padding: 1.75rem;
    }
}

.card--accent {
    border-top: 3px solid var(--color-gold);
}

.card__label {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(26, 58, 92, 0.7);
}

.card__label--leaf {
    color: var(--color-leaf);
    margin-bottom: 0.75rem;
}

.card__body {
    font-size: 1rem;
    line-height: var(--line-height-relaxed);
    color: var(--color-slate-600);
}

/* --------------------------------------------------------------------------
   Goals grid
   -------------------------------------------------------------------------- */
.goals-grid {
    display: grid;
    gap: 1.25rem;
    list-style: none;
}

@media (min-width: 640px) {
    .goals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .goals-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.goal-item {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background-color: var(--color-white);
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.goal-item__number {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-xl);
    background-color: var(--color-navy);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
}

.goal-item__text {
    font-size: 0.875rem;
    line-height: var(--line-height-relaxed);
    color: var(--color-slate-600);
}

@media (min-width: 640px) {
    .goal-item__text {
        font-size: 1rem;
    }
}

/* --------------------------------------------------------------------------
   Enablers
   -------------------------------------------------------------------------- */
.enablers-grid {
    display: grid;
    gap: 1.25rem;
    list-style: none;
}

@media (min-width: 1024px) {
    .enablers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.enabler-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background-color: var(--color-white);
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.enabler-item__number {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-xl);
    background-color: rgba(233, 196, 106, 0.2);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.enabler-item__text {
    font-size: 1rem;
    font-weight: 600;
    line-height: var(--line-height-relaxed);
    color: var(--color-ink);
}

/* --------------------------------------------------------------------------
   Accordion
   -------------------------------------------------------------------------- */
.accordion,
details.group {
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background-color: var(--color-white);
    transition: box-shadow var(--transition);
}

.accordion[open],
details.group[open] {
    box-shadow: var(--shadow-soft);
}

.accordion summary,
details.group summary {
    display: flex;
    cursor: pointer;
    list-style: none;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-align: start;
}

.accordion summary::-webkit-details-marker,
details.group summary::-webkit-details-marker {
    display: none;
}

.accordion summary::marker,
details.group summary::marker {
    content: "";
}

.accordion__index,
details.group summary > span:first-of-type {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-xl);
    background-color: rgba(26, 58, 92, 0.06);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.accordion__label {
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-ink);
}

.accordion__toggle-open,
details.group summary .group-open\:hidden {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    background-color: var(--color-slate-100);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-slate-500);
}

.accordion__toggle-close,
details.group summary .hidden.group-open\:grid {
    display: none;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    background-color: var(--color-navy);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-white);
}

.accordion[open] .accordion__toggle-open,
details.group[open] summary .group-open\:hidden {
    display: none;
}

.accordion[open] .accordion__toggle-close,
details.group[open] summary .hidden.group-open\:grid {
    display: grid;
}

.accordion__content,
details.group > div {
    border-top: 1px solid var(--color-slate-100);
    padding: 1rem 1.25rem 1.25rem;
    font-size: 1rem;
    line-height: var(--line-height-relaxed);
    color: var(--color-slate-600);
}

.accordion__bullet {
    display: inline-block;
    margin-top: 0.625rem;
    width: 0.625rem;
    height: 0.625rem;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    background-color: var(--color-leaf);
}

/* --------------------------------------------------------------------------
   Programs list bullets
   -------------------------------------------------------------------------- */
.program-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.program-list li span:first-child {
    margin-top: 0.625rem;
    width: 0.625rem;
    height: 0.625rem;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    background-color: var(--color-leaf);
}

/* --------------------------------------------------------------------------
   Impact cards & counter animations
   -------------------------------------------------------------------------- */
.impact-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .impact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.impact-card {
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background-color: var(--color-white);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.impact-card.is-counted {
    animation: impact-pop 0.65s ease both;
}

.impact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(26, 58, 92, 0.12);
}

.counter-value {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
    .counter-value {
        font-size: 1.875rem;
    }
}

.counter-value.is-counting {
    animation: counter-glow 1.2s ease-in-out infinite alternate;
}

.impact-card__label {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-slate-500);
}

@media (min-width: 640px) {
    .impact-card__label {
        font-size: 1rem;
    }
}

.impact-bar {
    margin-top: 1rem;
    height: 0.125rem;
    width: 0;
    border-radius: var(--radius-full);
    background-color: rgba(233, 196, 106, 0.7);
    transition: width 0.3s ease;
}

.impact-card.is-counted .impact-bar {
    animation: impact-bar-grow 1.1s ease 0.25s forwards;
}

@keyframes impact-pop {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes impact-bar-grow {
    from { width: 0; }
    to { width: 2.5rem; }
}

@keyframes counter-glow {
    from { color: var(--color-navy); }
    to { color: var(--color-leaf); }
}

/* --------------------------------------------------------------------------
   Sahl section
   -------------------------------------------------------------------------- */
.sahl-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: var(--radius-2xl);
    background-color: rgba(248, 250, 252, 0.8);
    padding: 2rem;
}

@media (min-width: 640px) {
    .sahl-logo-wrap {
        padding: 2.5rem;
    }
}

.sahl-logo-wrap img {
    width: 100%;
    max-width: 640px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 640px) {
    .sahl-logo-wrap img {
        max-width: 720px;
    }
}

.sahl-intro {
    margin-bottom: 2rem;
    max-width: 48rem;
    font-size: 1rem;
    line-height: var(--line-height-relaxed);
    color: var(--color-slate-600);
}

.sahl-features {
    display: grid;
    gap: 0.75rem;
    list-style: none;
}

@media (min-width: 640px) {
    .sahl-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sahl-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background-color: var(--color-white);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.sahl-feature__number {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-xl);
    background-color: rgba(26, 58, 92, 0.07);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.sahl-feature__text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-slate-700);
}

/* --------------------------------------------------------------------------
   Partners / logo swiper
   -------------------------------------------------------------------------- */
.partners-block {
    margin-bottom: 3rem;
}

.partners-block:last-child {
    margin-bottom: 0;
}

.partners-block__title {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
}

.logo-marquee {
    overflow: hidden;
    width: 100%;
    direction: ltr;
    min-height: 5.5rem;
}

.logo-marquee__track {
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    animation: logo-marquee-scroll 14s linear infinite;
    will-change: transform;
}

.logo-marquee--reverse .logo-marquee__track {
    animation: logo-marquee-scroll-reverse 18s linear infinite;
}

.logo-marquee--slow .logo-marquee__track {
    animation-duration: 32s;
}

.logo-marquee img {
    display: block;
    flex-shrink: 0;
    height: 5.5rem;
    width: auto;
    max-width: none;
    object-fit: contain;
}

@keyframes logo-marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@keyframes logo-marquee-scroll-reverse {
    from { transform: translate3d(-50%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}

@media (min-width: 640px) {
    .logo-marquee { min-height: 6.5rem; }
    .logo-marquee img { height: 6.5rem; }
}

@media (min-width: 1024px) {
    .logo-marquee { min-height: 7.5rem; }
    .logo-marquee img { height: 7.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .logo-marquee__track { animation: none; }
}

/* --------------------------------------------------------------------------
   Photo gallery
   -------------------------------------------------------------------------- */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.photo-gallery__item {
    position: relative;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--color-slate-100);
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.photo-gallery__item--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-gallery__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(26, 58, 92, 0.55) 0%, rgba(26, 58, 92, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.photo-gallery__icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-white);
    transform: scale(0.85);
    transition: transform 0.35s ease;
}

.photo-gallery__item:hover,
.photo-gallery__item:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
    outline: none;
}

.photo-gallery__item:hover img,
.photo-gallery__item:focus-visible img {
    transform: scale(1.06);
}

.photo-gallery__item:hover .photo-gallery__overlay,
.photo-gallery__item:focus-visible .photo-gallery__overlay {
    opacity: 1;
}

.photo-gallery__item:hover .photo-gallery__icon,
.photo-gallery__item:focus-visible .photo-gallery__icon {
    transform: scale(1);
}

@media (min-width: 640px) {
    .photo-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .photo-gallery__item--featured {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (min-width: 1024px) {
    .photo-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
}

.gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(92vw, 56rem);
    max-height: 90vh;
    padding: 0 3rem;
}

.gallery-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    object-fit: contain;
}

.gallery-lightbox__close {
    position: fixed;
    top: 1.25rem;
    inset-inline-end: 1.25rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    cursor: pointer;
    transition: background 0.2s ease;
}

.gallery-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.gallery-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox__nav--prev {
    inset-inline-start: 0.5rem;
}

.gallery-lightbox__nav--next {
    inset-inline-end: 0.5rem;
}

.gallery-lightbox__counter {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Legacy swiper logo styles (unused) */
.logo-swiper {
    overflow: hidden;
}

.logo-swiper .swiper-wrapper {
    align-items: center;
    transition-timing-function: linear !important;
}

.logo-swiper .swiper-slide {
    width: auto;
    height: auto;
    background: none;
    background-color: transparent;
}

.logo-swiper img {
    display: block;
    height: 5.5rem;
    width: auto;
    max-width: none;
    object-fit: contain;
}

@media (min-width: 640px) {
    .logo-swiper img {
        height: 6.5rem;
    }
}

@media (min-width: 1024px) {
    .logo-swiper img {
        height: 7.5rem;
    }
}

.swiper-slide {
    height: auto;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-intro {
    margin-bottom: 2rem;
    max-width: 42rem;
    font-size: 1rem;
    line-height: var(--line-height-relaxed);
    color: var(--color-slate-500);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding-block: 2.5rem;
}

.site-footer--compact {
    padding-block: 2rem;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

@media (min-width: 640px) {
    .site-footer__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-inline: 2rem;
        gap: 1rem;
    }
}

.site-footer__logo {
    height: 2.5rem;
    width: auto;
    max-width: 200px;
    filter: brightness(0) invert(1);
}

@media (min-width: 640px) {
    .site-footer__logo {
        height: 2.75rem;
    }
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.site-footer__nav a {
    transition: color var(--transition);
}

.site-footer__nav a:hover {
    color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.page-main {
    max-width: 56rem;
    margin-inline: auto;
    padding: 4rem 1.25rem;
}

@media (min-width: 640px) {
    .page-main {
        padding: 5rem 2rem;
    }
}

.page-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--color-navy);
}

@media (min-width: 640px) {
    .page-title {
        font-size: 1.875rem;
    }
}

.contact-quote {
    margin-bottom: 2.5rem;
    max-width: 42rem;
    border-inline-end: 3px solid var(--color-gold);
    border-radius: var(--radius-2xl);
    background-color: rgba(248, 250, 252, 0.8);
    padding: 1.25rem;
    font-size: 1rem;
    line-height: var(--line-height-relaxed);
    color: var(--color-slate-600);
}

@media (min-width: 640px) {
    .contact-quote {
        font-size: 1.125rem;
    }
}

.contact-layout {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: start;
    }

    .contact-layout__form {
        grid-column: span 3;
    }

    .contact-layout__qr {
        grid-column: span 2;
        display: flex;
        justify-content: flex-end;
    }
}

.form-section {
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background-color: var(--color-white);
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
    .form-section {
        padding: 1.5rem;
    }
}

.form-section__header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.form-section__bullet {
    margin-top: 0.375rem;
    color: var(--color-leaf);
}

.form-section__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
}

@media (min-width: 640px) {
    .form-section__title {
        font-size: 1.125rem;
    }
}

.form-section__subtitle {
    margin-top: 0.25rem;
    font-size: 1rem;
    color: var(--color-slate-600);
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-inline-end: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.channel-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: var(--radius-xl);
    border: 1px dashed rgba(203, 213, 225, 0.9);
    background-color: rgba(248, 250, 252, 0.9);
    padding: 1rem 1.25rem;
}

.channel-card__bullet {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--color-leaf);
}

.channel-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-slate-600);
}

.channel-card__text {
    margin-top: 0.25rem;
    font-size: 1rem;
    line-height: var(--line-height-relaxed);
    color: var(--color-slate-500);
}

.qr-card {
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background-color: var(--color-white);
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
    .qr-card {
        max-width: 360px;
    }
}

.qr-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-xl);
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   Privacy page
   -------------------------------------------------------------------------- */
.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1rem;
    line-height: var(--line-height-relaxed);
    color: var(--color-slate-600);
}

.privacy-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-navy);
}

.privacy-content ol,
.privacy-content ul {
    padding-inline-end: 1.5rem;
}

.privacy-content ol li + li,
.privacy-content ul li + li {
    margin-top: 0.5rem;
}

.privacy-content ol.list-decimal li + li {
    margin-top: 1rem;
}

.privacy-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.privacy-table {
    width: 100%;
    min-width: 32rem;
    font-size: 0.875rem;
    text-align: start;
    border-collapse: collapse;
}

.privacy-table thead {
    background-color: var(--color-soft);
}

.privacy-table th,
.privacy-table td {
    padding: 0.75rem 1rem;
    text-align: start;
}

.privacy-table tbody tr + tr {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.privacy-table th {
    font-weight: 900;
}

/* --------------------------------------------------------------------------
   Forms, inputs, placeholders
   -------------------------------------------------------------------------- */
.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    width: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-slate-200);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
    background-color: var(--color-white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 2px rgba(26, 58, 92, 0.1);
}

.form-input::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--color-slate-400);
}

.form-input--error,
input.border-red-400,
textarea.border-red-400 {
    border-color: var(--color-red-400) !important;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate-700);
}

.form-error {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--color-red-500);
}

textarea {
    resize: vertical;
    min-height: 5rem;
}

/* Focus ring utilities for template compatibility */
.focus\:border-brand-navy:focus { border-color: var(--color-navy); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(26, 58, 92, 0.1); }
.focus\:ring-brand-navy\/10:focus { box-shadow: 0 0 0 2px rgba(26, 58, 92, 0.1); }

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */
.alert {
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    font-size: 1rem;
}

.alert--success {
    border: 1px solid rgba(42, 157, 143, 0.3);
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Values chips
   -------------------------------------------------------------------------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.value-chip {
    border-radius: var(--radius-lg);
    background-color: var(--color-slate-50);
    padding: 0.625rem 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate-600);
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   RTL support
   -------------------------------------------------------------------------- */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] ul,
[dir="rtl"] ol {
    padding-inline-start: 0;
    padding-inline-end: 1.5rem;
}

[dir="rtl"] .mobile-menu nav {
    inset-inline-start: 0;
    inset-inline-end: auto;
}

[dir="ltr"] {
    text-align: left;
}

[dir="ltr"] .contact-quote {
    border-inline-end: none;
    border-inline-start: 3px solid var(--color-gold);
}

[dir="ltr"] ul,
[dir="ltr"] ol {
    padding-inline-start: 1.5rem;
    padding-inline-end: 0;
}

/* LTR phone/email fields */
[dir="ltr"] {
    direction: ltr;
}

/* Preserve RTL for Arabic content in LTR context if needed */
[dir="rtl"] [dir="ltr"] {
    direction: ltr;
    text-align: left;
}
