/* ============================================================
   Sehat dan Produktif — общий стиль (морська свежесть + утро)
   ============================================================ */

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

:root {
    --primary: #78350f;
    --primary-light: #fef3c7;
    --primary-dark: #0e7490;
    --accent: #b45309;
    --bg: #f8fcfd;
    --bg-alt: #ecfeff;
    --surface: #ffffff;
    --text: #0c2030;
    --text-muted: #4a6478;
    --border: rgba(8, 145, 178, 0.14);

    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'DM Serif Display', Georgia, serif;

    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;

    --shadow: 0 4px 16px rgba(8, 145, 178, 0.08);
    --shadow-lg: 0 20px 50px -10px rgba(8, 145, 178, 0.18);

    --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; color: var(--text); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 252, 253, 0.88); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--border); }
.site-header__inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; }
.brand__name { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; }
.nav__link { padding: 8px 14px; color: var(--text-muted); font-size: 0.93rem; font-weight: 500; border-radius: var(--radius-sm); transition: color var(--transition), background var(--transition); }
.nav__link:hover { color: var(--primary); background: var(--primary-light); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; font-weight: 600; font-size: 0.93rem; border-radius: var(--radius-full); border: none; cursor: pointer; transition: all var(--transition); text-align: center; font-family: var(--font-body); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(8, 145, 178, 0.28); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(8, 145, 178, 0.38); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #ea580c; color: #fff; transform: translateY(-1px); }
.btn--lg { padding: 15px 32px; font-size: 1rem; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--text); font-size: 24px; }

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--surface); padding: 8px; box-shadow: var(--shadow); border-bottom: 1px solid var(--border); }
    .nav.is-open { display: flex; }
    .nav__link { padding: 12px 16px; width: 100%; border-radius: var(--radius-sm); }
    .site-header__inner > .btn--primary { display: none; }
}

/* ===== HERO ===== */
.hero { position: relative; padding: clamp(72px, 12vh, 130px) 0; overflow: hidden; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); }
.hero::before { content: ''; position: absolute; top: -10%; left: -10%; width: 50%; height: 80%; background: radial-gradient(circle, rgba(8, 145, 178, 0.1) 0%, transparent 65%); }
.hero::after { content: ''; position: absolute; bottom: -20%; right: -10%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 60%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.hero__eyebrow { display: inline-block; padding: 6px 14px; background: var(--primary-light); color: var(--primary-dark); border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; }
.hero__title { font-size: clamp(2.4rem, 5.5vw, 4rem); color: var(--text); margin-bottom: 18px; line-height: 1.05; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.18rem); color: var(--text-muted); margin-bottom: 32px; max-width: 540px; line-height: 1.65; }
.hero__cta { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.hero__image img { width: 100%; max-width: 560px; margin-left: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

@media (max-width: 880px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero__lead { margin-left: auto; margin-right: auto; }
    .hero__cta { justify-content: center; }
    .hero__image img { margin: 0 auto; }
}

/* ===== FEATURES ===== */
.section { padding: clamp(72px, 10vh, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head__eyebrow { font-size: 0.85rem; font-weight: 600; color: var(--primary); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.section-head__title { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--text); margin-bottom: 14px; }
.section-head__desc { color: var(--text-muted); font-size: 1.05rem; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; max-width: 1100px; margin: 0 auto; }
.feature-card { background: var(--surface); padding: 36px 28px; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-card__num { font-family: var(--font-display); font-size: 2.4rem; color: var(--primary); line-height: 1; margin-bottom: 14px; }
.feature-card__title { font-size: 1.3rem; color: var(--text); margin-bottom: 10px; }
.feature-card__desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* ===== ARTICLE / SPLIT ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.split--reverse .split__media { order: 2; }
.split__eyebrow { font-size: 0.9rem; color: var(--primary); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }
.split__title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 18px; color: var(--text); }
.split__text { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; font-size: 1rem; }
.split__highlight { padding: 18px 22px; background: var(--bg-alt); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; font-weight: 500; color: var(--text); font-style: italic; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; object-fit: cover; }

@media (max-width: 880px) {
    .split { grid-template-columns: 1fr; gap: 36px; }
    .split--reverse .split__media { order: 0; }
}

/* ===== CTA ===== */
.cta { padding: clamp(80px, 12vh, 130px) 0; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: -20%; left: -10%; width: 50%; height: 100%; background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 65%); }
.cta__inner { position: relative; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.cta__title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; margin-bottom: 16px; }
.cta__text { font-size: 1.1rem; color: rgba(255,255,255,0.88); margin-bottom: 32px; line-height: 1.65; }
.cta .btn--accent { padding: 16px 38px; font-size: 1.05rem; }
.cta__note { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 18px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-alt); padding: 60px 0 0; border-top: 1px solid var(--border); }
.site-footer__inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); margin-bottom: 12px; }
.site-footer__desc { color: var(--text-muted); font-size: 0.93rem; max-width: 340px; line-height: 1.7; }
.site-footer__heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 16px; }
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin-bottom: 8px; }
.site-footer__list a { color: var(--text-muted); font-size: 0.92rem; transition: color var(--transition); }
.site-footer__list a:hover { color: var(--primary); }
.site-footer__bottom { padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: var(--text-muted); }
.site-footer__legal { display: flex; gap: 20px; }

@media (max-width: 768px) {
    .site-footer__top { grid-template-columns: 1fr; gap: 28px; }
    .site-footer__bottom { justify-content: center; text-align: center; }
}

/* ===== PAGE / LEGAL ===== */
.page { padding: clamp(60px, 8vh, 90px) 0; min-height: 60vh; }
.page__inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.page__title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; color: var(--text); }
.page__meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 36px; }

.legal h2 { font-size: 1.4rem; margin: 30px 0 12px; }
.legal p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.85; font-size: 1rem; }
.legal ul, .legal ol { color: var(--text-muted); margin: 0 0 14px 24px; line-height: 1.85; }

/* ===== CONTACT FORMS ===== */
.contacts-page { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.contacts-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); padding: 28px; }
.contacts-card h2 { font-size: 1.3rem; margin-bottom: 18px; }
.contacts-row { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
.contacts-row__icon { font-size: 18px; color: var(--primary); width: 28px; text-align: center; flex-shrink: 0; }
.contacts-row__text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.form__input, .form__textarea { width: 100%; padding: 12px 16px; font: inherit; font-size: 0.97rem; color: var(--text); background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm); outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.form__textarea { min-height: 120px; resize: vertical; font-family: var(--font-body); }
.form__input:focus, .form__textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.form__submit { padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; transition: background var(--transition); }
.form__submit:hover { background: var(--primary-dark); }
.form__note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 6px; line-height: 1.5; }

.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--primary); font-weight: 500; }

@media (max-width: 768px) { .contacts-page { grid-template-columns: 1fr; } }

/* ===== THANKS ===== */
.thanks { text-align: center; padding: clamp(60px, 12vh, 120px) 24px; }
.thanks__icon { width: 88px; height: 88px; margin: 0 auto 28px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 42px; }
.thanks__title { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 16px; }
.thanks__text { font-size: 1.08rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; line-height: 1.75; }

/* ===== COOKIE ===== */
.cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 720px; margin: 0 auto; background: var(--text); color: #fff; padding: 18px 22px; border-radius: var(--radius); display: none; align-items: center; gap: 18px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); z-index: 9999; font-size: 0.88rem; line-height: 1.55; }
.cookie.is-visible { display: flex; }
.cookie a { color: #fff; text-decoration: underline; }
.cookie__btn { background: var(--primary); color: #fff; border: none; padding: 10px 22px; border-radius: var(--radius-full); font-weight: 600; flex-shrink: 0; }
.cookie__btn:hover { background: var(--primary-dark); }
@media (max-width: 600px) { .cookie { flex-direction: column; text-align: center; } }
