/* ============================================================
   Digital SEO Guru - Locations pages stylesheet
   Brand palette matches existing theme:
   Nunito / CTA gradient #f27c1e > #dd4c23 / accent #7955e7
   Navy #061340 / Ink #161616 / Surface #f6f7f9
   ============================================================ */

:root {
    --dsg-navy: #061340;
    --dsg-navy-2: #0a2454;
    --dsg-orange: #f27c1e;
    --dsg-orange2: #dd4c23;
    --dsg-purple: #7955e7;
    --dsg-ink: #161616;
    --dsg-muted: #66707f;
    --dsg-line: #e6eaf1;
    --dsg-bg: #f6f7f9;
}

/* ---------- Hero ---------- */
.dsg-hero {
    position: relative;
    background:
        radial-gradient(1100px 420px at 85% -10%, rgba(121, 85, 231, .10), transparent 60%),
        radial-gradient(900px 380px at -10% 110%, rgba(242, 124, 30, .09), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
    padding: 46px 0 90px;
    overflow: hidden;
}
.dsg-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 0;
    height: 70px;
    background: #ffffff;
    clip-path: ellipse(75% 100% at 50% 100%);
    pointer-events: none;
}
.dsg-crumb {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--dsg-muted);
}
.dsg-crumb a { color: var(--dsg-purple); text-decoration: none; font-weight: 600; }
.dsg-crumb a:hover { text-decoration: underline; }
.dsg-crumb li + li::before { content: "\203A"; margin-right: 6px; color: #aab3c0; }
.dsg-crumb [aria-current] { color: var(--dsg-muted); font-weight: 500; }

.dsg-hero-title {
    font-size: 44px;
    line-height: 1.18;
    font-weight: 800;
    color: var(--dsg-navy);
    letter-spacing: -.4px;
    margin: 0 0 18px;
}
.dsg-hero-sub {
    font-size: 17px;
    line-height: 1.75;
    color: var(--dsg-muted);
    max-width: 520px;
    margin: 0 0 30px;
}
.dsg-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.dsg-btn-primary {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 6px;
    background-image: linear-gradient(220deg, #f27c1e 0%, #dd4c23 79%);
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 24px rgba(221, 76, 35, .28);
}
.dsg-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(221, 76, 35, .34); text-decoration: none; }
.dsg-btn-ghost {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 6px;
    border: 2px solid var(--dsg-navy);
    color: var(--dsg-navy) !important;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all .25s ease;
}
.dsg-btn-ghost:hover { background: var(--dsg-navy); color: #fff !important; text-decoration: none; }

.dsg-trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.dsg-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--dsg-line);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dsg-navy);
    box-shadow: 0 4px 14px rgba(6, 19, 64, .05);
}
.dsg-trust-chip i { color: var(--dsg-orange); font-size: 14px; }
.dsg-trust-chip strong { color: var(--dsg-orange2); }

/* ---------- World map card ---------- */
.map-card {
    position: relative;
    background:
        radial-gradient(circle at 1px 1px, #d7deea 1px, transparent 1.6px) 0 0 / 22px 22px,
        linear-gradient(160deg, #fbfcff 0%, #eef2f9 100%);
    border: 1px solid var(--dsg-line);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(6, 19, 64, .10);
    padding: 18px;
}
.map-card svg { width: 100%; height: auto; display: block; }
.map-pin-live { animation: dsg-pulse 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.map-pin-live--delay { animation-delay: 1.3s; }
@keyframes dsg-pulse {
    0% { opacity: .55; transform: scale(.45); }
    70% { opacity: 0; transform: scale(1.6); }
    100% { opacity: 0; transform: scale(1.6); }
}
@media (prefers-reduced-motion: reduce) {
    .map-pin-live { animation: none; opacity: 0; }
}
.map-legend {
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    padding: 12px 6px 2px;
    font-size: 12.5px;
    color: var(--dsg-muted);
    font-weight: 600;
}
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot-live { width: 11px; height: 11px; border-radius: 50%; background: linear-gradient(220deg, #f27c1e, #dd4c23); display: inline-block; }
.dot-soon { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--dsg-purple); display: inline-block; }

/* ---------- Sections ---------- */
.dsg-section { padding: 96px 0; }
.dsg-section--tint { background: var(--dsg-bg); }
.dsg-section--dark {
    background:
        radial-gradient(800px 300px at 110% 0%, rgba(121, 85, 231, .18), transparent 55%),
        linear-gradient(160deg, var(--dsg-navy) 0%, var(--dsg-navy-2) 100%);
}
.dsg-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dsg-purple);
    margin-bottom: 10px;
}
.dsg-h2 {
    font-size: 34px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--dsg-navy);
    margin: 0 0 14px;
    letter-spacing: -.3px;
}
.dsg-h3 { font-size: 21px; font-weight: 700; color: var(--dsg-navy); margin: 0; line-height: 1.35; }
.dsg-lead {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--dsg-muted);
    max-width: 720px;
    margin: 0 auto 52px;
}
.dsg-center { text-align: center; }

/* ---------- Country feature cards ---------- */
.country-card {
    background: #fff;
    border: 1px solid var(--dsg-line);
    border-radius: 18px;
    padding: 38px 40px;
    margin-bottom: 34px;
    box-shadow: 0 14px 40px rgba(6, 19, 64, .06);
    transition: box-shadow .3s ease, transform .3s ease;
    position: relative;
    overflow: hidden;
}
.country-card:hover { box-shadow: 0 20px 50px rgba(6, 19, 64, .11); transform: translateY(-3px); }
.country-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--dsg-orange), var(--dsg-orange2));
}
.cc-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.cc-flag {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    flex: 0 0 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    letter-spacing: .5px;
}
.cc-flag--in { background: linear-gradient(135deg, #ff9933, #138808); }
.cc-flag--us { background: linear-gradient(135deg, #3c3b6e, #b22234); }
.cc-flag--ca { background: linear-gradient(135deg, #d52b1e, #a81c11); }
.cc-flag--ae { background: linear-gradient(135deg, #00732f, #ff0000); }
.cc-flag--au { background: linear-gradient(135deg, #00247d, #0a3696); }
.cc-flag--uk { background: linear-gradient(135deg, #012169, #c8102e); }
.cc-title { font-size: 24px; font-weight: 800; color: var(--dsg-navy); margin: 0; }
.cc-count {
    margin-left: auto;
    background: rgba(121, 85, 231, .10);
    color: var(--dsg-purple);
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    padding: 7px 16px;
    white-space: nowrap;
}
.cc-blurb { color: var(--dsg-muted); line-height: 1.75; margin: 0 0 22px; }

.city-chips {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 10px;
}
.chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--dsg-bg);
    border: 1px solid var(--dsg-line);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--dsg-navy);
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    transition: all .25s ease;
}
.chip i { color: var(--dsg-purple); font-size: 12px; transition: transform .25s ease; }
.chip:hover { border-color: var(--dsg-purple); background: #fff; box-shadow: 0 8px 20px rgba(121, 85, 231, .12); text-decoration: none; }
.chip:hover i { transform: translateX(4px); }
.chip--soon { cursor: default; opacity: .62; background: transparent; border-style: dashed; }
.chip--soon:hover { border-color: var(--dsg-line); box-shadow: none; background: transparent; }
.chip-soon-tag {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dsg-muted);
}

.cc-action { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.link-arrow {
    color: var(--dsg-purple);
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
}
.link-arrow:hover { text-decoration: underline; }

/* ---------- Coming soon mini cards ---------- */
.soon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.soon-card {
    background: #fff;
    border: 1px dashed #ccd4e0;
    border-radius: 16px;
    padding: 30px 28px;
    text-align: left;
    transition: all .3s ease;
}
.soon-card:hover { border-color: var(--dsg-purple); box-shadow: 0 12px 30px rgba(6, 19, 64, .08); }
.soon-flag {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    margin-bottom: 16px;
}
.soon-card h3 { font-size: 19px; font-weight: 700; color: var(--dsg-navy); margin: 0 0 8px; }
.soon-card p { font-size: 14.5px; color: var(--dsg-muted); line-height: 1.65; margin: 0 0 18px; }
.badge-soon {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--dsg-purple);
    background: rgba(121, 85, 231, .10);
    border-radius: 999px;
    padding: 6px 14px;
}

/* ---------- Why choose us (dark navy) ---------- */
.why-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 34px 28px;
    height: 100%;
    transition: all .3s ease;
}
.why-card:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.why-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background-image: linear-gradient(220deg, rgba(242, 124, 30, .95), rgba(221, 76, 35, .95));
    margin-bottom: 20px;
}
.why-icon--purple { background-image: linear-gradient(220deg, #8b5fdc, #7955e7); }
.why-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.why-card p { font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .72); margin: 0; }
.dsg-section--dark .dsg-h2,
.dsg-section--dark .dsg-h3 { color: #fff; }
.dsg-section--dark .dsg-eyebrow { color: #ffb37a; }
.dsg-section--dark .dsg-lead { color: rgba(255, 255, 255, .65); }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.svc-item {
    background: #fff;
    border: 1px solid var(--dsg-line);
    border-radius: 14px;
    padding: 26px 24px;
    transition: all .3s ease;
}
.svc-item:hover { border-color: rgba(242, 124, 30, .55); box-shadow: 0 12px 30px rgba(6, 19, 64, .08); }
.svc-top { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; }
.svc-ico {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 11px;
    background: rgba(121, 85, 231, .10);
    color: var(--dsg-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.svc-item h3 { font-size: 15.5px; font-weight: 700; color: var(--dsg-navy); margin: 0; line-height: 1.4; }
.svc-item p { font-size: 13.5px; color: var(--dsg-muted); line-height: 1.6; margin: 0; }

/* ---------- Location cards (country pages) ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 26px; }
.loc-card {
    background: #fff;
    border: 1px solid var(--dsg-line);
    border-radius: 16px;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.loc-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(121, 85, 231, .10), transparent 70%);
}
.loc-card:hover { box-shadow: 0 18px 44px rgba(6, 19, 64, .10); transform: translateY(-4px); border-color: rgba(121, 85, 231, .4); }
.loc-card h3 { font-size: 19px; margin: 0 0 4px; }
.loc-card h3 a { color: var(--dsg-navy); text-decoration: none; transition: color .25s ease; }
.loc-card h3 a:hover { color: var(--dsg-purple); }
.loc-region { font-size: 13px; font-weight: 700; color: var(--dsg-orange2); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 12px; }
.loc-card p { font-size: 14.5px; color: var(--dsg-muted); line-height: 1.7; margin: 0 0 14px; }
.loc-industries { list-style: none; padding: 0; margin: 0 0 22px; }
.loc-industries li {
    position: relative;
    padding-left: 22px;
    font-size: 13.5px;
    color: var(--dsg-ink);
    margin-bottom: 7px;
    line-height: 1.5;
}
.loc-industries li::before {
    content: "\f00c";
    font-family: FontAwesome;
    font-size: 10px;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--dsg-purple);
}
.loc-link { margin-top: auto; }
.loc-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--dsg-purple);
    text-decoration: none;
}
.loc-link a i { transition: transform .25s ease; font-size: 12px; }
.loc-link a:hover i { transform: translateX(4px); }

.upcoming-note {
    margin-top: 34px;
    background: #fff;
    border: 1px dashed #ccd4e0;
    border-radius: 14px;
    padding: 22px 28px;
    font-size: 14.5px;
    color: var(--dsg-muted);
    line-height: 1.7;
}
.upcoming-note strong { color: var(--dsg-navy); }
.upcoming-note span { color: var(--dsg-navy); font-weight: 600; }

/* ---------- Breadcrumb banner (country pages) ---------- */
.dsg-bread-banner {
    background:
        radial-gradient(700px 240px at 90% -20%, rgba(121, 85, 231, .12), transparent 60%),
        linear-gradient(180deg, #f6f8fc, #eef2f9);
    border-bottom: 1px solid var(--dsg-line);
    padding: 58px 0;
    text-align: center;
}
.dsg-bread-banner h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dsg-navy);
    margin: 0 0 12px;
    letter-spacing: -.4px;
}
.dsg-bread-banner .dsg-crumb { justify-content: center; margin-bottom: 0; }

/* ---------- Intro stats strip (country pages) ---------- */
.stat-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Final CTA band ---------- */
.cta-band {
    background:
        radial-gradient(700px 280px at 8% -30%, rgba(121, 85, 231, .25), transparent 60%),
        linear-gradient(150deg, var(--dsg-navy) 0%, var(--dsg-navy-2) 78%, #12336e 120%);
    border-radius: 22px;
    padding: 64px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 1.6px) 0 0 / 26px 26px;
    pointer-events: none;
}
.cta-band h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.3px;
    margin: 0 0 14px;
}
.cta-band p { color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.75; max-width: 620px; margin: 0 auto 34px; }
.cta-band .dsg-btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.cta-band .dsg-btn-ghost:hover { background: #fff; color: var(--dsg-navy) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .dsg-hero { padding: 34px 0 74px; }
    .dsg-hero-title { font-size: 36px; }
    .map-card { margin-top: 44px; }
    .dsg-section { padding: 76px 0; }
    .cc-count { margin-left: 0; }
}

@media (max-width: 767px) {
    .dsg-hero-title { font-size: 29px; }
    .dsg-hero-sub { font-size: 15.5px; }
    .dsg-hero-cta .dsg-btn-primary,
    .dsg-hero-cta .dsg-btn-ghost { width: 100%; text-align: center; }
    .map-card { padding: 12px; margin-top: 34px; }
    .dsg-section { padding: 62px 0; }
    .dsg-h2 { font-size: 26px; }
    .dsg-bread-banner { padding: 44px 0; }
    .dsg-bread-banner h1 { font-size: 27px; }
    .country-card { padding: 28px 22px; }
    .cc-title { font-size: 20px; }
    .city-chips { grid-template-columns: 1fr 1fr; }
    .chip { padding: 12px 12px; font-size: 13px; }
    .loc-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 48px 24px; }
    .cta-band h2 { font-size: 24px; }
    .cta-band .dsg-btn-primary,
    .cta-band .dsg-btn-ghost { width: 100%; text-align: center; margin-bottom: 10px; }
}

@media (max-width: 420px) {
    .city-chips { grid-template-columns: 1fr; }
}
