/* ===========================
   Assistans Online – style.css
   =========================== */

/* ---- Theme Variables ---- */
:root {
    --primary: #1B4965;
    --primary-600: #163a50;
    --accent: #5FA8D3;
    --bg: #F7F9FA;
    --ink: #0B1014;
    --muted: #6b7a8c;
    --surface: #ffffff;
    --line: #e5edf3;
    --success: #07C160;
    --hover: #d3dae0;
}

/* ---- Reset / Base ---- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    text-decoration: underline;
    color: var(--primary-600);
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ---- Header / Navigation ---- */
header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
}

.nav {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--primary);
}

.logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    background: conic-gradient(from 180deg at 50% 50%, var(--primary), var(--accent));
    box-shadow: 0 6px 16px rgba(27, 73, 101, .15);
    position: relative;
    overflow: hidden;
}

.logo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 200px at -100px -100px, rgba(255, 255, 255, .45), transparent 60%);
}

.logo span {
    font-size: 14px;
    letter-spacing: .5px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu a {
    font-weight: 600;
}

.cta-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.button {
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, transform .15s ease;
}

.button:hover {
    background: var(--hover);
    color: var(--ink);
    text-decoration: none;
}

.button:active {
    transform: translateY(1px);
}

/* Mobile nav toggle */
.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--ink);
}

/* ---- Hero ---- */
.hero {
    background:
        radial-gradient(1200px 500px at 50% -100px, #CAE9FF 0%, transparent 60%),
        linear-gradient(#ffffff, #f7f9fa);
    text-align: center;
    padding: 80px 20px;
    border-bottom: 1px solid var(--line);
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 20px;
}

.cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, transform .15s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--hover);
    color: var(--ink);
    text-decoration: none;
}

.btn-ghost {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--primary);
}

.btn:active {
    transform: translateY(1px);
}

/* ---- Sections ---- */
section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    scroll-margin-top: 80px;
    /* keep anchors visible below sticky header */
}

h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-lead {
    text-align: center;
    color: var(--muted);
    margin-bottom: 40px;
}

/* ---- Services ---- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
}

.card h3 {
    margin-top: 4px;
    color: var(--primary);
}

/* ---- Pricing ---- */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.price-card {
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.price-card.pop {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(27, 73, 101, 0.08);
}

.price {
    font-size: 34px;
    font-weight: 800;
    margin: 12px 0 4px;
}

.per {
    color: var(--muted);
    font-size: 14px;
}

/* ---- Testimonials ---- */
.quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.quote {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
}

.who {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
}

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
    /* equal height cards */
}

.contact-grid>* {
    height: 100%;
}

form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 600;
    margin: 8px 0 6px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d9e4ec;
    border-radius: 10px;
    background: #fff;
    font: inherit;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card h3 {
    margin-top: 0;
    color: var(--primary);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.contact-list li {
    margin: 6px 0;
}

/* Compact WhatsApp button */
.wa-btn {
    display: inline-block;
    background: var(--success);
    color: #fff;
    padding: 8px 12px;
    /* compact */
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 10px;
    width: auto;
    /* no full width */
    align-self: flex-start;
    /* keeps it from stretching */
}

.wa-btn:hover {
    background: #06ad58;
}

/* ---- Footer ---- */
footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: 14px;
}

/* ===========================
   Responsive Adjustments
   =========================== */

/* Medium screens */
@media (max-width: 900px) {
    .menu {
        display: none;
    }

    .burger {
        display: flex;
    }

    .nav-open .menu {
        display: flex;
        position: absolute;
        left: 0;
        right: 0;
        top: 58px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 12px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .nav-open .cta-header {
        display: none;
    }

    .hero {
        padding: 60px 18px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 17px;
    }

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

/* Small screens */
@media (max-width: 600px) {
    .nav {
        padding: 10px 16px;
    }

    .logo {
        width: 34px;
        height: 34px;
    }

    .brand {
        font-size: 15px;
    }

    .btn,
    .button {
        padding: 10px 14px;
        border-radius: 10px;
    }

    section {
        padding: 46px 16px;
    }

    .cards,
    .pricing,
    .quotes {
        gap: 14px;
    }

    .price {
        font-size: 30px;
    }
}