/* =========================================================
   Agarion Group — style.css
   ========================================================= */

:root {
    --bg: #ffffff;
    --bg-alt: #f4f8f7;
    --ink: #12262a;
    --ink-soft: #4c6165;
    --brand: #0e7c66;
    --brand-dark: #0b5b4c;
    --brand-light: #22c08e;
    --accent: #eaf6f2;
    --line: #dfe9e6;
    --radius: 16px;
    --shadow: 0 20px 50px -24px rgba(11, 91, 76, 0.35);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    width: min(1140px, 100% - 2.5rem);
    margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-mark { width: 34px; height: 34px; flex: none; }

.logo-text {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-text strong { color: var(--brand); font-weight: 800; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.main-nav a { transition: color 0.2s ease; }
.main-nav a:hover { color: var(--brand); }

.main-nav .nav-cta {
    background: var(--brand);
    color: #fff;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.main-nav .nav-cta:hover {
    background: var(--brand-dark);
    color: #fff;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60rem 30rem at 85% -10%, rgba(34, 192, 142, 0.16), transparent 60%),
        radial-gradient(50rem 28rem at -10% 110%, rgba(14, 124, 102, 0.14), transparent 60%),
        var(--bg);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
    padding: 5.5rem 0 6rem;
}

.eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--accent);
    border: 1px solid rgba(14, 124, 102, 0.18);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

.hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 1.2rem;
}

.hero-sub {
    font-size: 1.08rem;
    color: var(--ink-soft);
    max-width: 34rem;
    margin-bottom: 1.9rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(14, 124, 102, 0.55);
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
}

.btn-ghost {
    background: #fff;
    color: var(--brand-dark);
    border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }

.btn-block { width: 100%; }

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.6rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.hero-facts strong { color: var(--brand-dark); font-weight: 700; }

.hero-visual {
    position: relative;
    display: grid;
    gap: 1.2rem;
    padding: 1rem;
}

.hero-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1.6rem;
    max-width: 24rem;
    transition: transform 0.25s ease;
}

.hero-card:hover { transform: translateY(-4px); }

.card-clean { justify-self: start; }
.card-office { justify-self: end; }

.hero-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.hero-card p { font-size: 0.92rem; color: var(--ink-soft); }

.card-icon { font-size: 1.7rem; display: block; margin-bottom: 0.5rem; }

.hero-ring {
    position: absolute;
    inset: 12% 8%;
    border: 2px dashed rgba(14, 124, 102, 0.25);
    border-radius: 50%;
    z-index: -1;
    animation: spin 60s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }

.section-alt {
    background:
        radial-gradient(50rem 24rem at 100% 0%, rgba(34, 192, 142, 0.1), transparent 60%),
        var(--bg-alt);
}

.section-head { text-align: center; max-width: 44rem; margin: 0 auto 3rem; }

.section-head h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

.section-sub { color: var(--ink-soft); font-size: 1.02rem; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
}

.feature-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 14px 34px -22px rgba(18, 38, 42, 0.25);
    scroll-margin-top: 90px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover { border-color: rgba(14, 124, 102, 0.45); transform: translateY(-3px); }

.feature-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-dark);
    background: var(--accent);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.feature-card > p { color: var(--ink-soft); margin-bottom: 1.2rem; }

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
    color: var(--ink);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-light);
    font-weight: 800;
}

/* ---------- Why us ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.4rem;
}

.why-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem;
}

.why-num {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand);
    background: var(--accent);
    border-radius: 8px;
    padding: 0.25rem 0.6rem;
    margin-bottom: 0.9rem;
}

.why-item h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.why-item p { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

.contact-list { margin-top: 1.8rem; }

.contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-list li:first-child { padding-top: 0; }

.contact-icon {
    width: 44px;
    height: 44px;
    flex: none;
    display: grid;
    place-items: center;
    background: var(--accent);
    border-radius: 12px;
    font-size: 1.15rem;
}

.contact-list strong { display: block; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }
.contact-list a, .contact-list span { font-weight: 600; }

.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    display: grid;
    gap: 1rem;
}

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

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--ink-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    font: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
}

.form-field textarea { resize: vertical; }

/* ---------- Footer ---------- */
.site-footer {
    background: #0e2023;
    color: #cfe0dc;
    padding: 3rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: center;
    text-align: center;
}

.logo-footer .logo-text { color: #fff; }
.logo-footer .logo-text strong { color: var(--brand-light); }

.footer-note { font-size: 0.92rem; color: #9db8b1; }
.footer-copy { font-size: 0.82rem; color: #6f8c85; }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; padding: 3.5rem 0 4rem; }
    .hero-visual { display: none; }
    .contact-wrap { grid-template-columns: 1fr; }
}

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

    .main-nav {
        position: fixed;
        inset: 72px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -20px rgba(18, 38, 42, 0.3);
        padding: 0.6rem 1.25rem 1.25rem;
        transform: translateY(-140%);
        transition: transform 0.3s ease;
    }

    .main-nav.open { transform: translateY(0); }
    .main-nav a { padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--line); }
    .main-nav .nav-cta { border-bottom: 0; text-align: center; margin-top: 0.6rem; }

    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .form-row { grid-template-columns: 1fr; }
    .section { padding: 3.5rem 0; }
}
