/* ==========================================================================
   Dial Taq Voip LLC — stylesheet
   Flat / SaaS · primary #2563EB · accent #F97316 · DM Sans
   ========================================================================== */

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

:root {
    --brand: #2563eb;
    --brand-2: #3b82f6;
    --cta: #f97316;
    --cta-dark: #ea580c;
    --ink: #1e293b;
    --muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f5f8ff;
    --border: #e2e8f0;
    --navy: #0b1729;
    --navy-2: #15294d;
    --r: 16px;
    --r-sm: 10px;
    --maxw: 1180px;
    --sh-sm: 0 1px 3px rgba(15,23,42,.08);
    --sh-md: 0 12px 28px -8px rgba(15,23,42,.18);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-size: 17px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: #1e3a8a; }

:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.section { padding-block: clamp(56px, 9vw, 104px); }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head h2 { margin: 0; }
.section__head h2 span { color: var(--brand); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--brand); font-weight: 600; font-size: .8rem;
    letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--cta); }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--cta); }

/* ----- Buttons ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, var(--cta), var(--cta-dark));
    color: #fff; padding: 12px 26px; border-radius: 999px;
    font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
    box-shadow: 0 8px 20px -6px rgba(249,115,22,.55);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 15px 34px; }
.btn--ghost {
    background: transparent; color: #fff; box-shadow: none;
    border: 1.5px solid rgba(255,255,255,.45);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ----- Header ----- */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.nav__logo img { height: 48px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; color: var(--ink); font-weight: 600; font-size: .98rem; padding-block: 4px; }
.nav__links a::after {
    content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
    border-radius: 2px; background: var(--brand); transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 10px 22px; }
.nav__toggle { display: none; width: 44px; height: 44px; padding: 9px; border: none; background: none; color: var(--ink); cursor: pointer; }

/* ----- Hero ----- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    padding-block: clamp(64px, 11vw, 132px);
    background:
        radial-gradient(1000px 480px at 90% -10%, rgba(96,165,250,.45), transparent 60%),
        radial-gradient(800px 560px at -10% 120%, rgba(249,115,22,.25), transparent 55%),
        linear-gradient(135deg, var(--navy), var(--navy-2) 60%, #1d3a73);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask: radial-gradient(680px 420px at 75% 25%, #000, transparent 75%);
    mask: radial-gradient(680px 420px at 75% 25%, #000, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero__content { max-width: 640px; }
.hero__content h1 { margin: 16px 0; }
.hero__content p { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__art img { margin-inline: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.4)); }

/* ----- Services cards ----- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
    padding: 32px 24px; text-align: center; box-shadow: var(--sh-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: rgba(37,99,235,.3); }
.card h3 { margin: 0; }
.card__icon {
    width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 18px;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 10px 20px -6px rgba(37,99,235,.5);
}
.card__icon svg { width: 32px; height: 32px; }

/* ----- Features list ----- */
.features { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feature {
    display: flex; gap: 18px; align-items: flex-start;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
    padding: 24px; box-shadow: var(--sh-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.feature h3 { margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }
.feature__icon {
    flex: 0 0 auto; width: 56px; height: 56px; border-radius: 14px;
    display: grid; place-items: center; color: var(--brand); background: rgba(37,99,235,.1);
}
.feature__icon svg { width: 26px; height: 26px; }

/* ----- Help ----- */
.help { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.help__media img { border-radius: var(--r); box-shadow: var(--sh-md); margin-inline: auto; }
.help__body h2 span { color: var(--brand); }
.checklist { list-style: none; margin: 18px 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checklist svg { width: 22px; height: 22px; color: #16a34a; flex: 0 0 auto; }
.progress { margin-top: 24px; }
.progress__top { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; }
.progress__track { height: 10px; background: var(--border); border-radius: 999px; overflow: hidden; }
.progress__track span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

/* ----- Testimonials ----- */
.quotes { display: grid; grid-template-columns: 1fr; gap: 22px; }
.quote {
    position: relative; margin: 0;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
    padding: 28px; box-shadow: var(--sh-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.quote::before {
    content: "\201C"; position: absolute; top: 4px; right: 22px;
    font: 5rem/1 Georgia, serif; color: rgba(37,99,235,.12);
}
.quote blockquote { margin: 0; font-size: 1.02rem; }
.quote__name { margin-top: 16px; font-weight: 600; color: var(--brand); }
.quote__name::before { content: "— "; color: var(--cta); }

/* ----- Contact ----- */
.contact { display: grid; grid-template-columns: 1fr; gap: 28px; }
.info { background: linear-gradient(160deg, var(--navy), var(--navy-2)); border-radius: var(--r); padding: 32px; color: #fff; }
.info__item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info__item:last-child { border-bottom: none; }
.info__item h3 { margin: 0 0 4px; font-size: 1.05rem; color: #fff; }
.info__item p { margin: 0; }
.info__item p, .info__item a { color: rgba(255,255,255,.82); word-break: break-word; }
.info__item a:hover { color: #fff; }
.info__icon {
    flex: 0 0 auto; width: 50px; height: 50px; border-radius: 12px;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.info__icon svg { width: 24px; height: 24px; }

.form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 32px; box-shadow: var(--sh-sm); }
.form__row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea {
    width: 100%; padding: 13px 15px; font: inherit; color: var(--ink);
    background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-sm);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--brand); background: var(--bg);
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__btn { width: 100%; margin-top: 4px; }
.form__status { margin: 14px 0 0; padding: 0; font-weight: 600; }
.form__status.is-ok { color: #16a34a; }
.form__status.is-err { color: #dc2626; }

/* ----- Footer ----- */
.footer { background: linear-gradient(180deg, var(--navy), #060d1a); color: rgba(255,255,255,.72); padding-block: 64px 28px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer__logo { height: 46px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__brand p { color: rgba(255,255,255,.65); max-width: 380px; }
.footer__col h3 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: rgba(255,255,255,.72); font-weight: 500; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.55); }

/* ----- Scroll reveal ----- */
@media (prefers-reduced-motion: no-preference) {
    .js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
    .js-reveal .reveal.in-view { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
    .quotes { grid-template-columns: repeat(2, 1fr); }
    .form__row { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .hero__inner { grid-template-columns: 1.05fr .95fr; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .quotes { grid-template-columns: repeat(3, 1fr); }
    .help { grid-template-columns: 1fr 1fr; }
    .contact { grid-template-columns: .9fr 1.1fr; }
    .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
}

@media (max-width: 860px) {
    .nav__toggle { display: block; }
    .nav__menu {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 16px;
        background: #fff; border-bottom: 1px solid var(--border);
        padding: 20px 22px; box-shadow: var(--sh-md);
        display: none;
    }
    .nav__menu.is-open { display: flex; }
    .nav__links { flex-direction: column; align-items: flex-start; gap: 14px; }
    .nav__cta { align-self: flex-start; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .hero__actions .btn { width: 100%; }
    .info, .form { padding: 24px; }
}
