/* ============================================================
   eSIM Deals — Stylesheet
   Mobile-first responsive design
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1a365d;
    --primary-light: #2d4a7a;
    --primary-dark: #0f2440;
    --accent: #0d9488;
    --accent-hover: #0b7e73;
    --accent-light: #ccfbf1;
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #16a34a;
    --success-bg: #dcfce7;
    --warning: #f59e0b;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --max-width: 1140px;
}

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

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

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
}

/* ---- Utility ---- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.container-narrow {
    max-width: 740px;
}

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    line-height: 1.4;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

.btn-small {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
}

.btn-large {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ---- Header ---- */
.site-header {
    background: var(--primary);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.25rem;
    text-decoration: none;
}

.site-logo:hover {
    color: #fff;
}

.logo-icon {
    display: flex;
}

.logo-text {
    font-weight: 400;
    letter-spacing: -0.02em;
}

.logo-text strong {
    font-weight: 700;
}

/* Nav toggle (mobile) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation */
.site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--primary);
    border-top: 1px solid var(--primary-light);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.site-nav.open {
    display: block;
}

.site-nav ul {
    list-style: none;
}

.site-nav > ul > li > a,
.site-nav > ul > li > .dropdown-toggle {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--font);
    text-decoration: none;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li > .dropdown-toggle:hover,
.site-nav > ul > li > a.active {
    color: #fff;
    background: var(--primary-light);
}

.dropdown {
    display: none;
    background: var(--primary-dark);
    padding: 0.25rem 0;
}

.dropdown-open > .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 0.5rem 1rem 0.5rem 2rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    transition: color 0.2s, background 0.2s;
}

.dropdown a:hover {
    color: #fff;
    background: var(--primary-light);
}

/* ---- Hero ---- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Search box */
.search-box {
    max-width: 560px;
    margin: 0 auto;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    z-index: 2;
}

#destination-search {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.75rem;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: var(--font);
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-lg);
    outline: none;
    transition: border-color 0.2s;
}

#destination-search:focus {
    border-color: var(--accent);
}

#destination-search::placeholder {
    color: var(--text-lighter);
}

.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 50;
    overflow: hidden;
    border: 1px solid var(--border);
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 0.95rem;
    transition: background 0.15s;
}

.search-result-item:hover {
    background: var(--bg);
    color: var(--text);
}

.search-result-type {
    font-size: 0.75rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-no-results {
    padding: 0.75rem 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.section-alt {
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 0.95rem;
}

/* ---- Destinations Grid ---- */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.destination-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.destination-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--text);
}

.destination-flag {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    line-height: 1;
}

.destination-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.destination-price {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

/* ---- Steps Grid ---- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.step-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ---- Trust Grid ---- */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.trust-card {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.trust-icon {
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.trust-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.trust-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ---- Comparison CTA Grid ---- */
.comparison-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.comparison-cta-card {
    display: block;
    padding: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.comparison-cta-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--text);
}

.comparison-cta-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.comparison-cta-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.breadcrumb li::after {
    content: "/";
    margin-left: 0.4rem;
    color: var(--text-lighter);
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb li[aria-current="page"] {
    color: var(--text);
    font-weight: 500;
}

/* ---- Country/Region Hero ---- */
.country-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}

.country-flag-large {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.country-hero h1 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.country-hero-text {
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    margin: 0 auto 1rem;
    font-size: 0.95rem;
}

.updated-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
}

/* ---- Comparison Hero ---- */
.comparison-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}

.comparison-hero h1 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.comparison-hero-text {
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    margin: 0 auto 1rem;
    font-size: 0.95rem;
}

/* ---- Top Pick Card ---- */
.top-pick-card {
    background: var(--bg-white);
    border: 2px solid var(--success);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.top-pick-badge {
    background: var(--success);
    color: #fff;
    padding: 0.4rem 1.25rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

.top-pick-content {
    padding: 1.5rem;
}

.top-pick-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.top-pick-provider {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

.top-pick-plan {
    color: var(--text-light);
    font-size: 0.95rem;
}

.top-pick-price-box {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.top-pick-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.top-pick-validity {
    color: var(--text-light);
    font-size: 0.9rem;
}

.top-pick-why {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.top-pick-meta {
    margin-bottom: 1rem;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---- Comparison Table ---- */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table thead {
    background: var(--primary);
    color: #fff;
}

.comparison-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.comparison-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.comparison-table tbody tr {
    transition: background 0.15s;
}

.comparison-table tbody tr:hover {
    background: var(--border-light);
}

.comparison-table .best-row {
    background: var(--success-bg);
}

.comparison-table .best-row:hover {
    background: #c7f7d4;
}

.best-deal-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: var(--success);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ---- Mobile Plan Cards ---- */
.mobile-plan-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    position: relative;
}

.plan-card-best {
    border-color: var(--success);
    border-width: 2px;
    background: var(--success-bg);
}

.plan-card .best-deal-tag {
    margin-bottom: 0.75rem;
}

.plan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.plan-card-header strong {
    font-size: 1.05rem;
}

.plan-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.plan-card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.plan-card-detail {
    display: flex;
    flex-direction: column;
}

.plan-card-label {
    font-size: 0.75rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.plan-card-value {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ---- Content Card ---- */
.content-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.content-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.verdict-card {
    border-left: 4px solid var(--accent);
}

.verdict-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---- Tips List ---- */
.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 0.6rem 0 0.6rem 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-light);
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ---- FAQ ---- */
.faq-list {
    max-width: 740px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2.5rem;
    color: var(--primary);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
    transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
    content: "-";
}

.faq-answer {
    padding: 0 1.25rem 1rem;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---- VS Stats ---- */
.vs-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
}

.vs-stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.vs-stat-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.vs-stat-details {
    margin-bottom: 1rem;
}

.vs-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.vs-stat-row span {
    color: var(--text-light);
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-lighter);
    padding: 0.5rem;
}

/* ---- Comparison Detail ---- */
.comparison-detail-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparison-detail-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.comparison-detail-item h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.winner-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    background: var(--success-bg);
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
}

.draw-badge {
    background: #fef3c7;
    color: #d97706;
}

.comparison-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.comparison-detail-col {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.comparison-detail-col:last-child {
    border-bottom: none;
}

.comparison-detail-col h4 {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.comparison-detail-col p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---- Best For Grid ---- */
.best-for-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.best-for-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.best-for-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.best-for-card ul {
    list-style: none;
    margin-bottom: 1.25rem;
}

.best-for-card ul li {
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
}

.best-for-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
}

/* ---- Pros & Cons ---- */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.pros-cons-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.pros-cons-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.pros h4 {
    color: var(--success);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.cons h4 {
    color: #dc2626;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    margin-top: 1rem;
}

.pros ul, .cons ul {
    list-style: none;
}

.pros ul li, .cons ul li {
    padding: 0.3rem 0 0.3rem 1.25rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
}

.pros ul li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.cons ul li::before {
    content: "-";
    position: absolute;
    left: 0.15rem;
    color: #dc2626;
    font-weight: 700;
}

/* ---- Guide Page ---- */
.guide-page {
    padding: 2rem 0;
}

.guide-page h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.guide-intro {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

.guide-section {
    margin-top: 2rem;
}

.guide-section h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.guide-section h3 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.guide-section p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.guide-section ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.guide-section ul li {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.3rem;
}

.guide-section a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Guide steps */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-step {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.guide-step-number {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}

.guide-step h3 {
    margin-top: 0;
}

/* ---- Error Page ---- */
.error-page {
    padding: 3rem 0;
}

.error-page h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.error-code {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-lighter);
    margin-bottom: 1rem;
}

.error-page p {
    color: var(--text-light);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    color: #fff;
    font-size: 1.25rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.75rem;
    color: rgba(255,255,255,0.7);
}

.footer-updated {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: rgba(255,255,255,0.5);
}

.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.35rem;
}

.footer-col ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Nav */
    .nav-toggle {
        display: none;
    }

    .site-nav {
        display: block;
        position: static;
        background: none;
        border: none;
        padding: 0;
        box-shadow: none;
    }

    .site-nav > ul {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .site-nav > ul > li > a,
    .site-nav > ul > li > .dropdown-toggle {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .has-dropdown {
        position: relative;
    }

    .has-dropdown:hover > .dropdown {
        display: block;
    }

    .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 180px;
        background: var(--bg-white);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        padding: 0.5rem 0;
        border: 1px solid var(--border);
        z-index: 50;
    }

    .dropdown a {
        padding: 0.5rem 1rem;
        color: var(--text);
        font-size: 0.85rem;
    }

    .dropdown a:hover {
        background: var(--bg);
        color: var(--accent);
    }

    /* Hero */
    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    /* Destinations */
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Trust */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Comparison CTA */
    .comparison-cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Top pick */
    .top-pick-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .top-pick-price-box {
        text-align: right;
    }

    /* Table - show on tablet+ */
    .table-wrapper {
        display: block;
    }

    .mobile-plan-cards {
        display: none;
    }

    /* VS Stats */
    .vs-stats-grid {
        grid-template-columns: 1fr auto 1fr;
        align-items: stretch;
    }

    .vs-divider {
        font-size: 2rem;
    }

    /* Comparison detail */
    .comparison-detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .comparison-detail-col {
        border-bottom: none;
        border-right: 1px solid var(--border-light);
    }

    .comparison-detail-col:last-child {
        border-right: none;
    }

    /* Best for / Pros cons */
    .best-for-grid,
    .pros-cons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ============================================================
   DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .destinations-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section {
        padding: 4rem 0;
    }

    .country-hero,
    .comparison-hero {
        padding: 3.5rem 0;
    }

    .country-hero h1,
    .comparison-hero h1 {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ============================================================
   LARGE DESKTOP (1200px+)
   ============================================================ */
@media (min-width: 1200px) {
    .destinations-grid:not(.destinations-grid-small) {
        grid-template-columns: repeat(4, 1fr);
    }

    .destinations-grid-small {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   PROVIDER REVIEW PAGES
   ============================================================ */

/* ---- Provider Hero ---- */
.provider-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 2.5rem 0;
}

.provider-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.provider-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
}

.provider-hero-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.provider-hero h1 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.provider-hero-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.provider-hero-rating-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.provider-hero-tagline {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    max-width: 600px;
}

.provider-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.provider-discount-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
}

.provider-hero-badge {
    margin-top: 0.25rem;
}

/* ---- Star Rating ---- */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    vertical-align: middle;
}

/* ---- Quick Specs ---- */
.provider-quick-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.quick-spec {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    text-align: center;
}

.quick-spec-label {
    font-size: 0.7rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.quick-spec-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

/* ---- Provider Layout (TOC + Content) ---- */
.provider-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ---- Table of Contents ---- */
.provider-toc {
    order: -1;
}

.provider-toc-inner {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.provider-toc-inner h3 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.provider-toc-inner ul {
    list-style: none;
}

.provider-toc-inner ul li {
    margin-bottom: 0.3rem;
}

.provider-toc-inner ul a {
    display: block;
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
    color: var(--text);
    border-radius: var(--radius);
    transition: background 0.15s, color 0.15s;
}

.provider-toc-inner ul a:hover {
    background: var(--bg);
    color: var(--accent);
}

/* ---- Provider Main Content ---- */
.provider-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.provider-section h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.provider-review-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.provider-review-text:last-of-type {
    margin-bottom: 0;
}

.provider-section-intro {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* ---- Pros & Cons (Provider Page) ---- */
.provider-pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.provider-pros h4 {
    color: var(--success);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.provider-cons h4 {
    color: #dc2626;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.provider-pros ul,
.provider-cons ul {
    list-style: none;
}

.provider-pros ul li,
.provider-cons ul li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-light);
}

.provider-pros ul li:last-child,
.provider-cons ul li:last-child {
    border-bottom: none;
}

.pro-icon {
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 1rem;
}

.con-icon {
    position: absolute;
    left: 0.15rem;
    color: #dc2626;
    font-weight: 700;
    font-size: 1rem;
}

/* ---- Provider Plans Table ---- */
.provider-plans-table-wrapper {
    display: none;
}

.provider-mobile-plans {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ---- Provider Discount Box ---- */
.provider-discount-box {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--success-bg);
    border: 1px solid var(--success);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text);
}

.provider-discount-box code {
    padding: 0.15rem 0.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ---- Key Features ---- */
.provider-key-features {
    margin-top: 1rem;
}

.provider-key-features h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.provider-key-features ul {
    list-style: none;
    padding: 0;
}

.provider-key-features ul li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-light);
}

.provider-key-features ul li:last-child {
    border-bottom: none;
}

.provider-key-features ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ---- Provider Activation Steps ---- */
.provider-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.provider-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.provider-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.provider-step-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    padding-top: 0.4rem;
}

/* ---- Rating Breakdown Bars ---- */
.provider-rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rating-bar-label {
    width: 110px;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--text);
}

.rating-bar-track {
    flex: 1;
    height: 10px;
    background: var(--border);
    border-radius: 100px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 100px;
    transition: width 0.6s ease;
}

.rating-bar-score {
    width: 40px;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: right;
}

.rating-bar-overall {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
}

.rating-bar-overall .rating-bar-fill {
    background: var(--primary);
}

/* ---- Provider vs Table ---- */
.provider-comparison-table-wrapper {
    display: none;
}

.provider-mobile-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ---- User Reviews Summary ---- */
.provider-user-reviews {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.user-review-source {
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

.user-review-platform {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.user-review-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.user-review-count {
    font-size: 0.8rem;
    color: var(--text-lighter);
}

/* ---- Provider Verdict ---- */
.provider-verdict-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.provider-verdict-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.provider-verdict-best-for {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.provider-verdict-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.provider-verdict-discount {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---- Provider Cards Grid (index & cross-links) ---- */
.provider-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.provider-index-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.provider-index-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--text);
}

.provider-index-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.provider-index-card-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.provider-index-card-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.provider-index-card-tagline {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.provider-index-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* ---- Provider Index Page (full cards) ---- */
.provider-index-card-full {
    position: relative;
}

.provider-index-rank {
    position: absolute;
    top: -1px;
    right: 1rem;
    padding: 0.2rem 0.6rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0 0 var(--radius) var(--radius);
}

.provider-index-card-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius);
}

.provider-index-spec {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.provider-index-spec-label {
    font-size: 0.65rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.provider-index-spec-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.provider-index-card-best-for {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

/* ---- Provider Overview Table ---- */
.provider-overview-table-wrapper {
    display: none;
}

/* ============================================================
   PROVIDER PAGES — TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {
    .provider-hero-content {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .provider-hero-info {
        align-items: flex-start;
        flex: 1;
    }

    .provider-hero-badge {
        margin-top: 0;
        flex-shrink: 0;
    }

    .provider-hero-actions {
        flex-direction: row;
        align-items: center;
    }

    .provider-quick-specs {
        grid-template-columns: repeat(4, 1fr);
    }

    .provider-pros-cons {
        grid-template-columns: 1fr 1fr;
    }

    .provider-plans-table-wrapper {
        display: block;
    }

    .provider-mobile-plans {
        display: none;
    }

    .provider-comparison-table-wrapper {
        display: block;
    }

    .provider-mobile-comparison {
        display: none;
    }

    .provider-overview-table-wrapper {
        display: block;
    }

    .provider-user-reviews {
        grid-template-columns: repeat(3, 1fr);
    }

    .provider-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .provider-index-card-specs {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   PROVIDER PAGES — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
    .provider-hero h1 {
        font-size: 2.25rem;
    }

    .provider-layout {
        flex-direction: row;
        gap: 2rem;
    }

    .provider-toc {
        order: 0;
        width: 220px;
        flex-shrink: 0;
    }

    .provider-toc-inner {
        position: sticky;
        top: 80px;
    }

    .provider-main {
        flex: 1;
    }

    .provider-quick-specs {
        grid-template-columns: repeat(4, 1fr);
    }

    .provider-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .provider-cards-grid-index {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   PROVIDER PAGES — LARGE DESKTOP (1200px+)
   ============================================================ */
@media (min-width: 1200px) {
    .provider-quick-specs {
        grid-template-columns: repeat(8, 1fr);
    }
}
