/* eFon face-lift layer — modern refresh on top of the SoftLand template.
   Loaded after style.min.css so these rules win. Brand stays orange. */

:root {
    --ef-primary: #f25c05;
    --ef-primary-2: #fb7a2f;
    --ef-primary-dark: #c2440a;
    --ef-primary-soft: #fff1e9;
    --ef-ink: #161617;
    --ef-muted: #6b6c70;
    --ef-line: rgba(22, 22, 23, .09);
    --ef-surface: #faf6f3;
    --ef-success: #1aa05a;
    --ef-radius: 14px;
    --ef-radius-sm: 10px;
    --ef-shadow: 0 6px 24px rgba(22, 22, 23, .06);
}

/* ---------- Typography ---------- */
body { color: var(--ef-ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .section-heading { font-family: "Poppins", sans-serif; letter-spacing: -.01em; }

.section-heading {
    font-size: 2.25rem;
    font-weight: 600;
    background: none;
    -webkit-text-fill-color: var(--ef-ink);
    color: var(--ef-ink);
}
.section .lead-muted, .text-muted-ef { color: var(--ef-muted); }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 500; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.btn.btn-primary {
    background: var(--ef-primary);
    border: none;
    color: #fff;
    box-shadow: 0 8px 22px rgba(242, 92, 5, .28);
    padding: .7rem 1.6rem;
}
.btn.btn-primary:hover { background: var(--ef-primary-dark); transform: translateY(-1px); color: #fff; }
.btn-outline-white { border-width: 2px; border-radius: 999px; font-weight: 500; padding: .65rem 1.6rem; }
.btn-outline-primary {
    border: 1.5px solid var(--ef-line);
    color: var(--ef-ink);
    border-radius: 999px;
    background: #fff;
}
.btn-outline-primary:hover { background: var(--ef-primary); border-color: var(--ef-primary); color: #fff; }

/* ---------- Header / nav ---------- */
#header.header-scrolled, #header.fixed-top.header-scrolled { background: rgba(242, 92, 5, .97); height: 64px; backdrop-filter: saturate(140%) blur(6px); }
.navbar a, .navbar a:focus { font-weight: 500; color: rgba(255, 255, 255, .82); }
.navbar a.active, .navbar a:hover { color: #fff; }
/* symmetric item padding so the active pill sits balanced (base nav is left-padding only) */
.navbar:not(.navbar-mobile) > ul > li > a { padding: 10px 15px; }
/* active page (except home) gets the pill highlight on the desktop nav */
.navbar:not(.navbar-mobile) li:not(.nav-home) > a.active {
    background: #fff;
    color: var(--ef-primary-dark) !important;
    padding: 7px 16px !important;
    margin: 0;
    border-radius: 999px;
    line-height: 1.4;
}
.navbar:not(.navbar-mobile) li:not(.nav-home) > a.active:hover { background: var(--ef-primary-soft); }
/* mobile drawer: dark links on the white panel (my white .navbar a would be invisible) */
.navbar-mobile a, .navbar-mobile a:focus { color: #8e3603; }
.navbar-mobile a.active, .navbar-mobile a:hover, .navbar-mobile li:hover > a { color: var(--ef-primary); }

/* ---------- Hero ---------- */
.hero-section { background: linear-gradient(120deg, rgba(242, 68, 5, .92) 0, rgba(251, 122, 47, .88) 100%), url(../img/hero-bg.jpg); background-size: cover; background-position: center; }
.hero-section h1 { font-weight: 600; font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.1; }
.hero-section .hero-sub { font-size: 1.15rem; color: rgba(255, 255, 255, .92); max-width: 32rem; }

/* hero — two overlapping app screenshots: rounded, soft shadow, no heavy frame */
.hero-device { display: flex; justify-content: center; align-items: center; padding: 1rem 0; }
.ef-screens { position: relative; width: 100%; max-width: 300px; min-height: 430px; margin: 0 auto; }
.ef-screen { position: absolute; border-radius: 26px; box-shadow: 0 18px 45px rgba(0, 0, 0, .28); }
.ef-screen--front { width: 190px; left: 8px; top: 24px; z-index: 2; }
.ef-screen--back { width: 172px; right: 0; top: 0; z-index: 1; transform: rotate(4deg); opacity: .96; }
/* photos dropped into content sections */
.ef-img { border-radius: var(--ef-radius); box-shadow: 0 22px 55px rgba(0, 0, 0, .14); }

/* trust pills in hero */
.ef-trustpills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.4rem; }
.ef-trustpills .pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff; font-size: .9rem; font-weight: 500;
    padding: 6px 13px; border-radius: 999px; backdrop-filter: blur(4px);
}
.ef-trustpills .pill .bi, .ef-trustpills .pill .bx { color: #ffd9a8; font-size: 1rem; }

/* app store badges */
.ef-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.ef-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; color: var(--ef-ink);
    padding: 10px 18px; border-radius: 12px; text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    transition: transform .15s ease, box-shadow .2s ease;
}
.ef-badge:hover { color: var(--ef-ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .16); }
.ef-badge .bx { font-size: 1.7rem; line-height: 1; }
.ef-badge small { display: block; font-size: .65rem; opacity: .8; line-height: 1; text-transform: uppercase; letter-spacing: .04em; }
.ef-badge b { font-size: 1rem; font-weight: 500; line-height: 1.15; }

/* ---------- Feature cards ---------- */
.feature-1 {
    background: #fff;
    border: 1px solid var(--ef-line);
    border-radius: var(--ef-radius);
    padding: 1.7rem 1.4rem;
    height: 100%;
    transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
    text-align: left !important;
}
.feature-1:hover { transform: translateY(-3px); box-shadow: var(--ef-shadow); border-color: rgba(242, 92, 5, .35); }
.feature-1 .wrap-icon {
    height: 54px; width: 54px; border-radius: 13px;
    margin: 0 0 1.1rem; box-shadow: none;
    background: var(--ef-primary-soft) !important;
}
.feature-1 .wrap-icon i { font-size: 26px; color: var(--ef-primary); }
.feature-1 h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .4rem; }
.feature-1 p { color: var(--ef-muted); margin: 0; }
.section [data-aos] .feature-1 { text-align: left; }

/* ---------- Popular destinations ---------- */
.destinations { background: var(--ef-surface); }
.dest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 575.98px) { .dest-grid { grid-template-columns: 1fr; } }
@media (min-width: 768px) { .dest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .dest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dest-card {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--ef-line);
    border-radius: var(--ef-radius-sm); padding: 12px 15px;
    text-decoration: none; color: var(--ef-ink);
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.dest-card:hover { transform: translateY(-2px); box-shadow: var(--ef-shadow); border-color: rgba(242, 92, 5, .35); color: var(--ef-ink); }
.dest-card .fi { width: 30px; height: 22px; border-radius: 4px; flex: 0 0 auto; box-shadow: 0 0 0 1px var(--ef-line); }
.dest-card .dest-name { font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dest-card .dest-price { color: var(--ef-primary-dark); font-weight: 500; font-size: .92rem; flex: 0 0 auto; white-space: nowrap; }
.dest-card .dest-from { display: block; font-size: .68rem; color: var(--ef-muted); text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Sections / misc ---------- */
.section { padding: 4.5rem 0; }
.eyebrow { display: inline-block; color: var(--ef-primary-dark); background: var(--ef-primary-soft); font-weight: 500; font-size: .8rem; padding: 5px 13px; border-radius: 999px; margin-bottom: 1rem; letter-spacing: .02em; }
.reviews { background: var(--ef-surface); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 991.98px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius); padding: 1.3rem 1.4rem; transition: opacity .35s ease; }
.review-card .stars { color: var(--ef-primary); font-size: .85rem; margin-bottom: .6rem; display: flex; gap: 2px; }
.review-card .review-text { color: var(--ef-ink); font-size: .95rem; line-height: 1.6; margin: 0 0 1.1rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-card .review-author { display: flex; align-items: center; gap: 11px; margin: 0; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.review-avatar--initials { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 500; font-size: .82rem; }
.review-author b { font-weight: 500; font-size: .9rem; display: block; line-height: 1.25; color: var(--ef-ink); }
.review-author small { color: var(--ef-muted); font-size: .75rem; }
.reviews-agg { display: inline-flex; align-items: center; gap: 9px; margin-top: 1rem; flex-wrap: wrap; justify-content: center; }
.reviews-agg-stars { color: var(--ef-primary); font-size: 1.05rem; display: inline-flex; gap: 2px; }
.reviews-agg-text { font-size: .95rem; color: var(--ef-muted); }
.reviews-agg-text strong { color: var(--ef-ink); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-section { background: var(--ef-ink); border-radius: 0; }
.cta-section h2 { color: #fff; font-weight: 600; }
.cta-section .btn { background: var(--ef-primary); color: #fff; border: none; }
.cta-section .btn:hover { background: var(--ef-primary-2); }

/* ---------- Footer ---------- */
.footer { background: var(--ef-surface); padding-top: 4rem; }
.footer h3 { font-size: 1rem; font-weight: 600; margin-bottom: 1.1rem; }
.footer a { color: var(--ef-muted); transition: color .15s ease; }
.footer a:hover { color: var(--ef-primary); }
.footer .copyright { color: var(--ef-muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-logo { width: 38px; height: 38px; border-radius: 10px; background: var(--ef-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.footer-name { font-size: 1.4rem; font-weight: 500; color: var(--ef-ink); font-family: "Poppins", sans-serif; }
.footer-tagline { color: var(--ef-muted); font-size: .92rem; line-height: 1.6; margin-bottom: 1rem; max-width: 26rem; }
.footer h3 i { color: var(--ef-primary); margin-right: 8px; }
.footer-contact li { display: flex; align-items: center; gap: 9px; margin-bottom: .5rem; color: var(--ef-muted); }
.footer-contact li i { color: var(--ef-primary); }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a i { color: var(--ef-primary); font-size: .82rem; opacity: .85; }
.footer .ef-badge { background: var(--ef-ink); color: #fff; box-shadow: none; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ef-line); margin-top: 2.5rem; padding: 1.3rem 0 .3rem; }
.footer-pay { display: flex; align-items: center; gap: 11px; font-size: 1.85rem; line-height: 1; color: var(--ef-muted); }
.footer-pay i { opacity: .6; }

/* popular + nearby country chips — one consistent, on-brand style */
.nearby-chips { display: flex; flex-wrap: wrap; justify-content: center; }
#popular_countries .btn.btn-sm, .nearby-chips .btn.btn-sm {
    display: inline-flex; align-items: center; gap: 9px;
    width: initial; margin: .4rem; padding: .45rem .95rem !important;
    border: 1.5px solid var(--ef-line); border-radius: 999px;
    background: #fff; color: var(--ef-ink); font-weight: 500;
}
#popular_countries .btn.btn-sm .flag, .nearby-chips .btn.btn-sm .flag { padding-right: 0; }
#popular_countries .btn.btn-sm:hover, .nearby-chips .btn.btn-sm:hover {
    border-color: var(--ef-primary); background: var(--ef-primary-soft); color: var(--ef-primary-dark);
}

/* local-time widget on country pages */
.tz-widget { display: flex; align-items: stretch; max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius); overflow: hidden; }
.tz-cell { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: .85rem 1rem; text-align: center; }
.tz-icon { color: var(--ef-primary); font-size: 1.15rem; line-height: 1; }
.tz-label { font-size: .74rem; color: var(--ef-muted); }
.tz-time { font-size: 1.3rem; font-weight: 500; color: var(--ef-ink); font-variant-numeric: tabular-nums; }
.tz-divider { width: 1px; background: var(--ef-line); }
.tz-you-zone { font-size: .68rem; }

/* ---------- Image placeholders (art to be dropped in later) ---------- */
.img-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; border: 2px dashed var(--ef-line); border-radius: var(--ef-radius); background: var(--ef-surface); color: var(--ef-muted); padding: 1.75rem; min-height: 200px; }
.img-ph i { font-size: 2rem; color: var(--ef-primary); opacity: .75; }
.img-ph .img-ph-size { font-size: .78rem; font-weight: 500; color: var(--ef-primary-dark); background: var(--ef-primary-soft); padding: 3px 11px; border-radius: 999px; letter-spacing: .02em; }
.img-ph .img-ph-desc { font-size: .88rem; max-width: 24rem; line-height: 1.5; }

/* ---------- Numbered "how it works" steps ---------- */
.step-card { background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius); padding: 1.7rem 1.4rem; height: 100%; }
.step-card .step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--ef-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 500; margin-bottom: 1rem; }
.step-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; }
.step-card p { color: var(--ef-muted); margin: 0; }

/* ---------- Per-page theme (redefine brand tokens on a wrapper) ---------- */
.theme-blue { --ef-primary: #0e57b0; --ef-primary-2: #3b82d6; --ef-primary-dark: #0a4385; --ef-primary-soft: #e9f1fc; }
.contact-card { background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius); padding: 1.4rem; height: 100%; }
.contact-card .wrap-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ef-primary-soft); color: var(--ef-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: .9rem; }
.contact-card a { color: var(--ef-primary-dark); }
.esim-showcase-img { border-radius: var(--ef-radius); box-shadow: 0 22px 55px rgba(0, 0, 0, .16); max-width: 100%; }

/* ---------- FAQ accordion (native <details>) ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--ef-line); border-radius: var(--ef-radius); background: #fff; margin-bottom: 12px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 1.05rem 1.3rem; font-weight: 500; font-size: 1.02rem; color: var(--ef-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ef-primary-dark); }
.faq-chevron { transition: transform .2s ease; color: var(--ef-primary); flex: 0 0 auto; font-size: 1.1rem; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.3rem 1.15rem; color: var(--ef-muted); line-height: 1.65; }
.faq-answer p { margin: 0 0 .6rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Legal / long-form text (terms, privacy) ---------- */
.prose { max-width: 820px; margin: 0 auto; padding: .5rem 0 1.5rem; }
.prose .grayText { font-family: "Poppins", sans-serif; font-size: 1.2rem; font-weight: 500; color: var(--ef-ink); margin-top: 2.3rem; }
.prose .grayText:first-child { margin-top: 0; }
.prose .grayText strong { font-weight: 500; }
.prose .innerText { color: var(--ef-muted); line-height: 1.75; }
.prose .innerText strong { color: var(--ef-ink); font-weight: 500; }
.prose a { color: var(--ef-primary-dark); }
.prose p, .prose ul, .prose ol { color: var(--ef-muted); line-height: 1.75; margin: 0 0 1.1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .5rem; }

/* ---------- All destinations (A-Z index) ---------- */
.dest-az .group-nav { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-bottom: 1.3rem; }
.dest-az .nav-letter { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; border-radius: 8px; color: var(--ef-muted); font-size: .9rem; font-weight: 500; text-decoration: none; }
.dest-az .nav-letter:hover { background: var(--ef-primary-soft); color: var(--ef-primary-dark); }
.dest-az .nav-letter.active { background: var(--ef-primary); color: #fff; font-size: .9rem; font-weight: 500; }
.dest-az .list-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-bottom: 2.5rem; }
.dest-az .list-group-item { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ef-line); border-radius: var(--ef-radius-sm); padding: 9px 12px; color: var(--ef-ink); transition: border-color .15s ease, background .15s ease; }
.dest-az .list-group-item:hover { border-color: rgba(242, 92, 5, .35); background: var(--ef-surface); color: var(--ef-primary-dark); z-index: 0; }
.dest-az .list-group-item .fi { width: 24px; height: 17px; border-radius: 3px; flex: 0 0 auto; box-shadow: 0 0 0 1px var(--ef-line); }

/* ===== Language switcher (nav + footer) ===== */
.nav-lang { position: relative; }
/* keep the language selector clear of the active-page pill (e.g. on /contact) */
.navbar:not(.navbar-mobile) .nav-lang { margin-inline-start: 12px; }
.lang-switch { position: relative; }
.lang-switch > summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: var(--ef-radius-sm, 10px); font-weight: 500; line-height: 1;
    border: 1px solid rgba(255, 255, 255, .35); color: #fff;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover { background: rgba(255, 255, 255, .12); }
.lang-switch > summary .bi-globe2 { font-size: 1rem; }
.lang-switch[open] > summary { background: rgba(255, 255, 255, .14); }
.lang-menu {
    position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 168px; z-index: 60;
    margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--ef-line);
    border-radius: var(--ef-radius, 14px); box-shadow: 0 14px 34px rgba(22, 22, 23, .16);
}
.lang-menu li { margin: 0; }
.lang-menu a {
    display: block; padding: 8px 12px; border-radius: var(--ef-radius-sm, 10px);
    color: var(--ef-ink); font-size: .95rem; white-space: nowrap; text-decoration: none;
}
.lang-menu a:hover { background: var(--ef-surface); color: var(--ef-primary-dark); }
.lang-menu a.active { color: var(--ef-primary-dark); font-weight: 600; background: var(--ef-primary-soft); }

/* In the mobile slide-in menu the dropdown opens inline (no absolute positioning). */
.navbar-mobile .lang-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
.navbar-mobile .lang-switch > summary { color: var(--ef-ink); border-color: var(--ef-line); }

.footer-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 1.5rem 0 .25rem; }
.footer-lang > .bi-globe2 { color: var(--ef-muted); }
.footer-lang a { color: var(--ef-muted); font-size: .9rem; text-decoration: none; }
.footer-lang a:hover { color: var(--ef-primary); }
.footer-lang a.active { color: var(--ef-primary-dark); font-weight: 600; }

/* ===== Country "How to call" section: tie the dial line to the title, group the city examples ===== */
#how_to_call .howto-title { margin-bottom: .35rem; }
#how_to_call .howto-dial { font-size: 1.15rem; font-weight: 600; color: var(--ef-primary-dark); margin-top: 0; margin-bottom: 1.1rem; }
#how_to_call .howto-city { margin-top: 1.75rem; margin-bottom: .4rem; }

/* Phone-number examples: never break a number mid-line (keeps +7 912 345-67-89 intact) */
.ph-num { white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
/* Rates table caption: smaller, muted footnote */
.section table caption { font-size: .8rem; color: var(--ef-muted); }

/* Search typeahead dropdown must overlay whatever section follows it. The dropdown overflows its
   page .container (z-index:2), and the next section's .container is also z-index:2 (later in DOM →
   paints on top). While the dropdown is open, lift the page container above following sections. */
.section .container:has(.typeahead__container.result) { z-index: 50; }
.typeahead__result { background: #fff; }
