@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=IBM+Plex+Mono:wght@400;500&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@800,700,600,500,400&f[]=satoshi@700,600,500,400&f[]=neue-montreal@700,500,400,300&display=swap');

:root {
    --c-primary: #3F6A5A;
    --c-secondary: #93AA94;
    --c-accent: #BC9A5B;
    --c-accent-2: #6E5B4E;
    --c-bg: #F3F6F2;
    --c-bg-dark: #5A6B62;
    --c-text: #262F2C;
    --c-text-muted: rgba(38,47,44,0.55);
    --c-border: rgba(63,106,90,0.15);
    --c-border-light: rgba(63,106,90,0.08);

    --grad-hero: linear-gradient(135deg, #3F6A5A 0%, #6F8D7F 50%, #D9E3DC 100%);
    --grad-btn: linear-gradient(135deg, #BC9A5B 0%, #D4B57C 100%);
    --grad-bg: linear-gradient(180deg, #F3F6F2 0%, #E7ECE7 100%);
    --grad-nature: linear-gradient(135deg, #3F6A5A 0%, #55776A 100%);
    --overlay: rgba(63, 106, 90, 0.30);

    --f-hero: 'Cormorant Garamond', Georgia, serif;
    --f-section: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --f-body: 'Neue Montreal', 'Satoshi', system-ui, sans-serif;
    --f-ui: 'Satoshi', system-ui, sans-serif;
    --f-mono: 'IBM Plex Mono', 'Courier New', monospace;

    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 40px;
    --r-2xl: 56px;

    --s-sm: 0 2px 12px rgba(38,47,44,0.06);
    --s-md: 0 8px 32px rgba(38,47,44,0.10);
    --s-lg: 0 20px 60px rgba(38,47,44,0.14);
    --s-xl: 0 32px 80px rgba(38,47,44,0.18);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --dur: 0.5s;
    --dur-fast: 0.22s;
    --dur-slow: 0.75s;

    --section-py: clamp(5rem, 10vw, 9rem);
    --container-max: 1280px;
    --container-narrow: 960px;
    --container-wide: 1440px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--f-body);
    color: var(--c-text);
    background-color: var(--c-bg);
    line-height: 1.55;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    position: relative;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
}

::selection {
    background: rgba(63, 106, 90, 0.18);
    color: var(--c-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-section);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.t-hero {
    font-family: var(--f-hero);
    font-weight: 600;
    font-size: clamp(3.25rem, 8vw, 8.5rem);
    line-height: 1.03;
    letter-spacing: -0.02em;
}

.t-display {
    font-family: var(--f-hero);
    font-weight: 500;
    font-size: clamp(2.25rem, 5vw, 5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.t-h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

.t-h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
}

.t-h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
}

.t-body {
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.72;
}

.t-label {
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-accent);
}

.t-caption {
    font-family: var(--f-ui);
    font-size: 0.8125rem;
    color: var(--c-text-muted);
    letter-spacing: 0.01em;
}

.section-label {
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-accent);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    background: var(--c-accent);
    flex-shrink: 0;
}

.section-label--center {
    justify-content: center;
}

.section-label--center::before {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    font-family: var(--f-ui);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
    cursor: pointer;
    white-space: nowrap;
    border: none;
    text-align: center;
}

.btn--primary {
    background: var(--grad-btn);
    color: #fff;
    box-shadow: 0 4px 20px rgba(188,154,91,0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(188,154,91,0.45);
}

.btn--secondary {
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(63,106,90,0.30);
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(63,106,90,0.40);
}

.btn--ghost {
    background: transparent;
    color: var(--c-text);
    border: 1.5px solid rgba(38,47,44,0.22);
}

.btn--ghost:hover {
    background: rgba(38,47,44,0.05);
    border-color: rgba(38,47,44,0.38);
    transform: translateY(-1px);
}

.btn--ghost-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.38);
}

.btn--ghost-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-1px);
}

.btn--outline-primary {
    background: transparent;
    color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
}

.btn--outline-primary:hover {
    background: var(--c-primary);
    color: #fff;
    transform: translateY(-1px);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.875rem;
    border-radius: 100px;
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(63,106,90,0.09);
    color: var(--c-primary);
    border: 1px solid rgba(63,106,90,0.18);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-family: var(--f-ui);
    font-size: 0.8125rem;
    font-weight: 500;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: -0.01em;
}

.badge--light {
    background: var(--c-bg);
    color: var(--c-primary);
    border-color: var(--c-border);
    box-shadow: var(--s-sm);
}

.badge--dot::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-secondary);
    flex-shrink: 0;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.125rem;
    background: rgba(63,106,90,0.07);
    border: 1px solid rgba(63,106,90,0.18);
    border-radius: var(--r-sm);
    font-family: var(--f-ui);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--c-primary);
    width: fit-content;
}

.cert-badge::before {
    content: '✓';
    font-weight: 700;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    background: var(--c-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 1px;
}

.divider {
    height: 1px;
    background: var(--c-border);
    border: none;
    margin: 0;
}

.underline-link {
    position: relative;
    color: var(--c-primary);
    font-weight: 500;
    font-family: var(--f-ui);
}

.underline-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--c-accent);
    transition: width var(--dur) var(--ease);
}

.underline-link:hover::after {
    width: 100%;
}

.text-primary { color: var(--c-primary); }
.text-accent { color: var(--c-accent); }
.text-muted { color: var(--c-text-muted); }
.text-white { color: #fff; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}
