/* GlobalTel website. Colours and type follow the GLOBALCELL Figma file and the app (Theme/Palette.swift). */
:root {
  --blue: #125EBE;
  --sky: #2A8FEA;
  --orange: #EF7C08;
  --amber: #E59A48;
  --navy: #0B2559;
  --green: #22B65A;
  --canvas-top: #D6E9FC;
  --canvas-mid: #EEF6FF;
  --canvas-bottom: #FDFEFF;
  --surface: #FFFFFF;
  --surface-muted: #F3F9FF;
  --border: #D9E7F8;
  --text: #0B2559;
  --text-2: #2C4A7A;
  --text-3: #5A7398;
  --note-bg: #FFF6E2;
  --note-text: #B85A00;
  --success-bg: #E6F7EE;
  --success-text: #1E8E4A;
  --link: #125EBE;
  --shadow: 0 10px 30px rgba(18, 94, 190, .10);
  --radius: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue: #3D8BFF;
    --canvas-top: #0B2852;
    --canvas-mid: #071A3D;
    --canvas-bottom: #0B2457;
    --surface: #0E2758;
    --surface-muted: #14305F;
    --border: #1F3F73;
    --text: #FFFFFF;
    --text-2: #B9CBE6;
    --text-3: #8AA3C7;
    --note-bg: #3A2A10;
    --note-text: #FFB35C;
    --success-bg: #12351F;
    --success-text: #5FD38A;
    --link: #7FB2FF;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--canvas-top) 0%, var(--canvas-mid) 38%, var(--canvas-bottom) 100%) fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--link); }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }
@media (prefers-color-scheme: dark) { .site-header .brand-word { filter: brightness(0) invert(1); } }
.site-footer .brand-word { filter: brightness(0) invert(1); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { height: 40px; width: auto; }
.brand-word { height: 36px; width: auto; }
.nav { display: flex; gap: 30px; margin: 0 auto; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--orange); }
.nav .nav-cta-mobile { display: none; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 14px; color: var(--text); font-size: 22px; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font: 500 15px "Fira Sans", sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(180deg, var(--amber), var(--orange)); box-shadow: 0 8px 20px rgba(239, 124, 8, .28); }
.btn-secondary { color: var(--blue); background: var(--surface); border-color: var(--border); }
.btn-white { color: var(--blue); background: #fff; }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--orange); }
.eyebrow.light { color: rgba(255, 255, 255, .85); }
h1, h2 { font-weight: 300; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.08; }
h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.12; }
h3 { font-weight: 500; font-size: 22px; margin: 0 0 8px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 36em; margin: 22px 0 0; font-weight: 300; }
.lead.sm { margin-top: 14px; }
.muted { color: var(--text-3); }
.small { font-size: 13px; color: rgba(255, 255, 255, .88); max-width: 40em; margin: 24px 0 0; }
.note-s { font-size: 13px; color: var(--text-3); margin: 14px 0 0; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(32px, 5vw, 60px) 0; }
.section h2 { margin-bottom: 34px; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 26px 0 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 12px; font-weight: 500; color: var(--blue); }
.chips.on-light li.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.hero-card { position: relative; min-height: 440px; border-radius: 28px; background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%); box-shadow: 0 24px 60px rgba(20, 102, 212, .28); overflow: hidden; }
.constellation { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; background: var(--surface); color: var(--text); padding: 14px 18px; border-radius: 18px; box-shadow: 0 10px 24px rgba(8, 40, 100, .22); }
.float b { display: block; font-size: 15px; font-weight: 500; }
.float small { display: block; font-size: 12px; color: var(--text-3); }
.f1 { top: 36px; left: 28px; right: 60px; }
.f2 { top: 168px; right: 28px; left: 70px; }
.f3 { bottom: 40px; left: 28px; right: 70px; }
.price { margin-left: auto; text-align: right; color: var(--orange); font-weight: 500; font-size: 16px; white-space: nowrap; }
.price small { display: inline; margin-left: 4px; }
.price.big { font-size: 24px; font-weight: 400; }
.tag { margin-left: auto; padding: 4px 10px; border-radius: 8px; background: var(--note-bg); color: var(--note-text); font-size: 11px; font-weight: 600; white-space: nowrap; }
.flag { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-muted); border: 1px solid var(--border); font-size: 10px; font-weight: 600; color: var(--blue); flex: none; }
.flag.sm { width: 24px; height: 24px; font-size: 9px; margin-right: 6px; vertical-align: middle; }
.ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-muted); color: var(--blue); font-size: 20px; flex: none; }

/* Cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.card-foot { margin-top: auto !important; padding-top: 18px; color: var(--text-3) !important; font-size: 14px !important; }
.card-foot b { color: var(--orange); font-weight: 500; font-size: 17px; }
.card-ico { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-size: 26px; }
.card-ico.sm { width: 44px; height: 44px; font-size: 22px; border-radius: 14px; }
.card.flat { box-shadow: none; }
.pack h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pack h3 i { color: var(--blue); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--border); }
.rows li span:first-child b { display: block; font-weight: 500; font-size: 17px; }
.rows small { color: var(--text-3); font-size: 13px; }
.price-s { color: var(--orange); font-size: 22px; font-weight: 400; }

/* Rates */
.rates-grid { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.rates-side h3 { font-size: 26px; font-weight: 400; margin-bottom: 12px; }
.table-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 13px; font-weight: 500; color: var(--text-3); padding: 0 0 12px; border-bottom: 1px solid var(--border); }
td { padding: 18px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
th:not(:first-child), td:not(:first-child) { text-align: right; }
td.free { color: var(--success-text); font-weight: 500; }

/* eSIM */
.esim-card { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 32px; color: #fff; background: linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%); box-shadow: 0 24px 60px rgba(20, 102, 212, .26); overflow: hidden; }
.esim-card > * { position: relative; }
.esim-card .constellation { position: absolute; opacity: .6; -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, #000 62%); mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, #000 62%); }
.esim-card h2 { color: #fff; margin-bottom: 18px; }
.esim-card p { color: rgba(255, 255, 255, .92); font-weight: 300; font-size: 18px; margin: 0; }
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.region { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(2px); }
.region b { display: block; font-size: 14px; font-weight: 500; }
.region .from { display: block; font-size: 21px; font-weight: 300; margin: 2px 0; }
.region small { font-size: 12px; opacity: .85; }
.plans-head { display: flex; align-items: center; gap: 12px; margin: 38px 0 16px; }
.plans-head h3 { margin: 0; font-weight: 400; font-size: 26px; }
.plans-head .muted { margin-left: auto; font-size: 13px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; }
.plan h4 { margin: 0; font-size: 22px; font-weight: 400; display: flex; align-items: center; gap: 8px; }
.plan h4 em { font-style: normal; background: var(--orange); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.plan p { margin: 2px 0 0; font-size: 14px; }
.plan .amount { color: var(--orange); font-size: 34px; font-weight: 300; margin: 14px 0 4px; }
.plan small { color: var(--text-3); font-size: 13px; }
.plan.popular { border: 2px solid var(--orange); }
.plans-foot { margin: 18px 0 0; color: var(--text-2); font-size: 15px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 28px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 16px 20px; cursor: pointer; font-weight: 500; font-size: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "\ea61"; font-family: "tabler-icons"; margin-left: auto; color: var(--orange); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(180deg); }
.q-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-size: 22px; flex: none; }
.a { padding: 0 24px 22px 80px; color: var(--text-2); font-size: 15px; }
.help-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.help-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(180deg, var(--amber), var(--orange)); color: #fff; font-size: 26px; margin-bottom: 16px; }
.help-card h3 { font-weight: 400; font-size: 24px; }
.help-card p { color: var(--text-2); margin: 0 0 20px; font-size: 15px; }

/* App */
.app-card { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 52px); background: var(--surface); border: 1px solid var(--border); border-radius: 32px; box-shadow: var(--shadow); overflow: hidden; }
.app-card h2 { margin-bottom: 0; }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.store { display: inline-flex; flex-direction: column; gap: 0; min-width: 190px; padding: 12px 20px; border-radius: 14px; background: var(--navy); color: #fff; position: relative; opacity: .92; }
.store small { font-size: 11px; opacity: .85; }
.store b { font-size: 19px; font-weight: 500; }
.store em { position: absolute; top: -9px; right: 12px; font-style: normal; font-size: 10px; font-weight: 600; background: var(--orange); color: #fff; padding: 2px 8px; border-radius: 999px; }
.app-art { position: relative; min-height: 190px; border-radius: 24px; background: linear-gradient(135deg, var(--blue), var(--sky)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.app-art img { position: relative; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .25)); }

/* Footer */
.site-footer { background: #0B2559; color: #fff; padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { margin: 0 0 14px; font-size: 15px; font-weight: 500; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; display: block; padding: 5px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.foot-brand p { color: rgba(255, 255, 255, .78); font-size: 14px; max-width: 28em; margin: 18px 0 14px; }
.foot-brand .brand { display: inline-flex; padding: 0; }
.foot-brand .strong { color: #fff; font-weight: 500; }
.crafted { display: inline-flex !important; align-items: center; gap: 10px; margin-top: 18px !important; padding: 6px 14px 6px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--blue), var(--sky)); }
.crafted span { color: #fff; font-weight: 500; font-size: 14px; }
.legal-row { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.legal-row p { margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .62); }

/* Text pages */
.page { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); }
.page .doc { max-width: 820px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.page h1 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 8px; }
.page h2 { font-size: 24px; font-weight: 500; margin: 34px 0 10px; }
.page p, .page li { color: var(--text-2); font-size: 16px; }
.page ul { padding-left: 22px; }
.draft { display: inline-block; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; background: var(--note-bg); color: var(--note-text); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 16px 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }

/* Responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .esim-card, .hero-grid, .rates-grid, .faq-grid, .app-card { grid-template-columns: 1fr; }
  .help-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 20px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav .nav-cta-mobile { display: inline-flex; margin-top: 14px; }
  .hero-card { min-height: 380px; }
  .a { padding-left: 24px; }
  .regions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .f1 { right: 24px; } .f2 { left: 28px; } .f3 { right: 24px; }
  .hero-card { min-height: 360px; }
  .float { padding: 12px 14px; }
  .price.big { font-size: 20px; }
  .plans-head { flex-wrap: wrap; }
  .plans-head .muted { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
