/* ── DESIGN TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --cyan:     #13A3C2;
  --blue:     #0E5587;
  --navy:     #0B1F3A;
  --orange:   #FF9D00;
  --red:      #FF3700;
  --black:    #1A1A1A;
  --offwhite: #F7F8FA;
  --grey:     #64748B;
  --ltgrey:   #E8ECF0;
  --white:    #FFFFFF;
}

/* ── RESET ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a    { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
img  { max-width: 100%; height: auto; }

/* ── NAVIGATION ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--white); border-bottom: 1px solid var(--ltgrey);
  padding: 12px 48px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { cursor: pointer; }
.nav-logo img { height: 30px; width: auto; }
/* wp_nav_menu outputs a custom-logo <a> wrapper — keep logo same height */
.nav-logo .custom-logo-link img { height: 30px; width: auto; }

.nav-left  { display: flex; align-items: center; gap: 48px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--grey);
  cursor: pointer; padding: 4px 0; border-bottom: 2px solid transparent; transition: all .15s;
}
.nav-links a.active,
.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-ancestor > a {
  color: var(--blue); border-bottom-color: var(--blue);
}

.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-btn {
  font-size: 13px; color: var(--grey); cursor: pointer;
  padding: 6px 12px; border: 1px solid var(--ltgrey); border-radius: 6px;
  background: transparent; transition: all .15s;
}
.lang-btn:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: all .15s; cursor: pointer; border: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { box-shadow: 0 6px 16px rgba(255,157,0,.35); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-cyan { background: var(--cyan); color: var(--white); }
.btn-cyan:hover { box-shadow: 0 6px 16px rgba(19,163,194,.35); transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #0a4670; }

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--navy); color: var(--white);
  padding: 80px 48px 100px; position: relative; overflow: hidden;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  color: rgba(255,255,255,.75); text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--cyan); }
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.05; letter-spacing: -1.5px; margin-bottom: 18px; }
.hero h1 .accent { color: var(--cyan); }
.hero p.lead { font-size: 17px; color: rgba(255,255,255,.78); margin-bottom: 28px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.65); }
.trust-item::before { content: '✓'; color: var(--cyan); font-weight: 700; }

/* ── CALCULATOR ────────────────────────────────────────────────────────────── */
.calc-card {
  background: rgba(20,35,60,.6); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.calc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.calc-brand { font-size: 13px; font-weight: 800; color: var(--white); letter-spacing: .5px; }
.calc-badge {
  font-size: 11px; color: var(--cyan); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.calc-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 4px rgba(19,163,194,.25);
}
.calc-label {
  font-size: 11px; color: rgba(255,255,255,.6); font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase; margin-bottom: 6px;
}
.calc-field {
  display: flex; align-items: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 6px;
}
.calc-field input {
  background: transparent; border: none; outline: none;
  font-size: 22px; font-weight: 700; color: var(--white); width: 100%; font-family: inherit;
}
.calc-field input.recv { color: var(--cyan); }
.calc-ccy {
  background: rgba(255,255,255,.12); padding: 5px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap;
}
.calc-meta {
  display: flex; justify-content: space-between;
  font-size: 11px; color: rgba(255,255,255,.55); padding: 6px 2px 14px;
}
.calc-send-btn {
  width: 100%; padding: 14px; font-size: 14px; letter-spacing: 1px; border-radius: 8px;
  font-weight: 700; background: var(--cyan); color: var(--white); border: none; cursor: pointer; transition: all .15s;
}
.calc-send-btn:hover { box-shadow: 0 6px 16px rgba(19,163,194,.4); transform: translateY(-1px); }
.calc-disclaimer { font-size: 11px; color: rgba(255,255,255,.4); text-align: center; margin-top: 12px; font-style: italic; }

/* ── SLIDE STRIP ───────────────────────────────────────────────────────────── */
.slide-strip { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); }
.slide-strip-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.slide-item {
  padding: 24px 28px; border-right: 1px solid rgba(255,255,255,.07);
  cursor: pointer; transition: background .2s; position: relative;
}
.slide-item:last-child { border-right: none; }
.slide-item.active { background: rgba(255,255,255,.04); }
.slide-item::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: transparent; transition: background .2s;
}
.slide-item.active::after { background: var(--cyan); }
.slide-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 10px;
}
.slide-item.active .slide-tag { color: var(--cyan); }
.slide-h { font-size: 20px; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 6px; }
.slide-h em { color: var(--cyan); font-style: normal; }
.slide-p { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ── HOW IT WORKS ──────────────────────────────────────────────────────────── */
.howit { background: var(--offwhite); padding: 80px 48px; }
.howit-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { font-size: 12px; font-weight: 700; color: var(--cyan); letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 34px; font-weight: 800; color: var(--blue); letter-spacing: -1px; margin-bottom: 10px; }
.section-sub { font-size: 15px; color: var(--grey); margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 22px; left: 8%; right: 8%;
  height: 2px; background: var(--ltgrey); z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--cyan); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--blue); font-size: 16px; margin-bottom: 18px;
}
.step h5 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.step p  { font-size: 13px; color: var(--grey); }

/* ── DARK CARD ─────────────────────────────────────────────────────────────── */
.dark-card-section { padding: 0 48px 32px; background: var(--offwhite); }
.dark-card {
  max-width: 1200px; margin: 0 auto; background: var(--navy); border-radius: 16px;
  padding: 52px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
  align-items: center; color: var(--white);
}
.dark-card h3 { font-size: 34px; font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; line-height: 1.2; }
.dark-card h3 .accent { color: var(--cyan); }
.dark-card p { color: rgba(255,255,255,.72); font-size: 15px; margin-bottom: 8px; }
.island-list {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 18px 22px;
}
.island-list-title { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: rgba(255,255,255,.5); margin-bottom: 12px; text-transform: uppercase; }
.island-list ul { list-style: none; }
.island-list li { font-size: 14px; padding: 5px 0; display: flex; align-items: center; gap: 10px; }
.island-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.island-list li.muted { color: rgba(255,255,255,.4); }
.island-list li.muted::before { background: rgba(255,255,255,.2); }

/* ── CTA SECTION ───────────────────────────────────────────────────────────── */
.cta-section { padding: 0 48px 80px; background: var(--offwhite); }
.cta-card {
  max-width: 1200px; margin: 0 auto; background: var(--navy);
  border-radius: 16px; padding: 52px 48px; text-align: center; color: var(--white);
}
.cta-card h3 { font-size: 30px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.5px; }
.cta-card p  { color: rgba(255,255,255,.7); margin-bottom: 24px; }
.app-stores { display: flex; gap: 12px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.store-btn {
  background: var(--black); color: var(--white); padding: 12px 22px; border-radius: 8px;
  font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; transition: background .15s; border: none;
}
.store-btn:hover { background: #2a2a2a; }
.qr-placeholder {
  background: rgba(255,255,255,.05); border: 2px dashed rgba(255,255,255,.2);
  border-radius: 12px; padding: 20px; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 8px;
}
.qr-placeholder-box {
  width: 88px; height: 88px; background: rgba(255,255,255,.08); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: rgba(255,255,255,.4); text-align: center;
}
.qr-label { font-size: 11px; color: rgba(255,255,255,.5); }

/* ── PAGE HERO (inner pages) ───────────────────────────────────────────────── */
.page-hero { background: var(--navy); color: var(--white); padding: 72px 48px 80px; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-size: 46px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; line-height: 1.05; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 16px; margin-top: 6px; }
.accent { color: var(--cyan); }

/* ── TABS ──────────────────────────────────────────────────────────────────── */
.tabs-bar { background: var(--white); border-bottom: 1px solid var(--ltgrey); padding: 0 48px; position: sticky; top: 54px; z-index: 100; }
.tabs-inner { max-width: 1200px; margin: 0 auto; display: flex; }
.tab {
  padding: 18px 24px; font-size: 14px; font-weight: 600; color: var(--grey);
  border-bottom: 2px solid transparent; cursor: pointer; transition: all .15s;
  display: flex; align-items: center; gap: 8px;
}
.tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab .count { background: var(--cyan); color: var(--white); font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── ISLANDS GRID ──────────────────────────────────────────────────────────── */
.islands-section { background: var(--offwhite); padding: 56px 48px; }
.islands-inner { max-width: 1200px; margin: 0 auto; }
.islands-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 28px; }
.island-card {
  background: var(--white); border: 1px solid var(--ltgrey); border-radius: 10px;
  padding: 18px 20px; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: all .2s;
}
.island-card:hover { border-color: var(--cyan); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(19,163,194,.12); }
.island-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(19,163,194,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.island-card h6 { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.island-card .agent-count { font-size: 12px; color: var(--grey); }

/* ── NOTIFY BLOCK ──────────────────────────────────────────────────────────── */
.notify-block { background: var(--cyan); padding: 32px 48px; }
.notify-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.notify-text .section-eyebrow { color: rgba(255,255,255,.85); }
.notify-text h3 { font-size: 28px; font-weight: 800; color: var(--white); margin-bottom: 10px; letter-spacing: -.5px; }
.notify-text p  { color: rgba(255,255,255,.9); font-size: 15px; }
.notify-form { display: flex; gap: 10px; }
.notify-input { flex: 1; padding: 12px 16px; border-radius: 8px; border: none; background: var(--white); color: var(--black); font-size: 14px; font-family: inherit; outline: none; }
.notify-input::placeholder { color: var(--grey); }
.notify-input:focus { outline: 2px solid var(--navy); }

/* ── AGENT SEARCH & LIST ───────────────────────────────────────────────────── */
.agents-section { background: var(--white); padding: 52px 48px; }
.agents-inner { max-width: 1200px; margin: 0 auto; }
.agents-filters { display: grid; grid-template-columns: 1fr 200px 200px; gap: 12px; margin: 20px 0; }
.agents-filters input, .agents-filters select {
  border: 1px solid var(--ltgrey); border-radius: 8px; padding: 11px 16px;
  font-size: 13px; font-family: inherit; color: var(--black); background: var(--white); outline: none; transition: border-color .15s;
}
.agents-filters input:focus, .agents-filters select:focus { border-color: var(--cyan); }
.filter-chips { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(19,163,194,.12); color: var(--cyan); padding: 4px 12px; border-radius: 14px; font-size: 12px; font-weight: 500; cursor: pointer; }
.chip:hover { background: rgba(19,163,194,.2); }
.results-meta { font-size: 13px; color: var(--grey); }
.island-group { margin-bottom: 32px; }
.island-group-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--cyan); }
.island-group-header h6 { font-size: 17px; font-weight: 700; color: var(--blue); }
.island-group-header .badge { background: rgba(19,163,194,.12); color: var(--cyan); font-size: 11px; padding: 2px 10px; border-radius: 10px; font-weight: 600; }
.city-group { margin-bottom: 16px; }
.city-label { font-size: 12px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px; padding-left: 4px; }
.agent-row {
  display: flex; align-items: flex-start; gap: 12px; background: var(--offwhite);
  border: 1px solid var(--ltgrey); border-left: 3px solid var(--cyan);
  border-radius: 8px; padding: 12px 16px; margin-bottom: 6px;
}
.agent-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; margin-top: 4px; }
.agent-row-info { flex: 1; }
.agent-name { font-size: 14px; font-weight: 600; color: var(--blue); }
.agent-address { font-size: 12px; color: var(--grey); margin-top: 2px; }
.agent-city-badge {
  font-size: 11px; color: var(--cyan); font-weight: 600; background: rgba(19,163,194,.1);
  padding: 2px 8px; border-radius: 10px; white-space: nowrap; margin-left: auto; align-self: flex-start; flex-shrink: 0;
}

/* ── CAREERS ───────────────────────────────────────────────────────────────── */
.careers-section { background: var(--offwhite); padding: 52px 48px 80px; }
.careers-inner { max-width: 900px; margin: 0 auto; }
.mission-card {
  background: var(--navy); color: var(--white); border-radius: 12px;
  padding: 28px 32px; margin-bottom: 44px; border-left: 4px solid var(--cyan);
}
.mission-card .eyebrow { color: var(--cyan); margin-bottom: 10px; }
.mission-card p { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.85); }
.role-card {
  background: var(--white); border: 1px solid var(--ltgrey); border-radius: 12px;
  padding: 22px 26px; margin-bottom: 14px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; transition: all .15s;
}
.role-card:hover { border-color: var(--cyan); transform: translateY(-1px); }
.role-card h5 { font-size: 17px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.role-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 12px; }
.tag-cyan   { background: rgba(19,163,194,.12); color: var(--cyan); }
.tag-orange { background: rgba(255,157,0,.14); color: var(--orange); }
.tag-green  { background: rgba(16,185,129,.14); color: #059669; }

/* ── JOB DETAIL (single-jobs.php) ──────────────────────────────────────────── */
.job-breadcrumb {
  font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 12px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: color .15s;
}
.job-breadcrumb:hover { color: var(--cyan); }
.job-hero { background: var(--navy); color: var(--white); padding: 64px 48px; }
.job-hero-inner { max-width: 900px; margin: 0 auto; }
.job-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.job-hero .tags { display: flex; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.job-hero .reports-to { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 10px; }
.job-body { background: var(--offwhite); padding: 52px 48px 80px; }
.job-body-inner {
  max-width: 900px; margin: 0 auto; background: var(--white);
  border-radius: 12px; padding: 40px; border: 1px solid var(--ltgrey);
}
.job-body h2 { font-size: 20px; font-weight: 700; color: var(--blue); margin: 28px 0 12px; }
.job-body h2:first-child { margin-top: 0; }
.job-body p  { font-size: 14px; color: var(--grey); line-height: 1.7; margin-bottom: 10px; }
.job-body ul { padding-left: 20px; margin-bottom: 10px; }
.job-body li { font-size: 14px; color: var(--grey); line-height: 1.7; margin-bottom: 4px; }
.job-body a  { color: var(--cyan); }
.what-not-box { background: var(--offwhite); border-radius: 8px; padding: 16px 20px; margin-top: 8px; border-left: 3px solid var(--red); }
.what-not-box p { color: var(--grey); font-size: 13px; margin-bottom: 4px; }

/* ── CONTACT ───────────────────────────────────────────────────────────────── */
.contact-section { background: var(--offwhite); padding: 44px 48px 80px; }
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 28px; }
.contact-option {
  background: var(--white); border: 1px solid var(--ltgrey); border-radius: 12px;
  padding: 20px; cursor: pointer; transition: all .15s;
}
.contact-option:hover { border-color: var(--cyan); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.contact-option .opt-icon {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(19,163,194,.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 20px;
}
.contact-option h5 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.contact-option p  { font-size: 13px; color: var(--grey); margin-bottom: 12px; }
.link-cyan { color: var(--cyan); font-size: 13px; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form, .faq-card { background: var(--white); border: 1px solid var(--ltgrey); border-radius: 12px; padding: 28px; }
.highlight-section { box-shadow: 0 0 0 2px var(--orange); animation: highlightPulse 2s ease forwards; }
@keyframes highlightPulse {
  0%   { box-shadow: 0 0 0 2px var(--orange); }
  70%  { box-shadow: 0 0 0 2px var(--orange); }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.contact-form h4, .faq-card h4 { font-size: 18px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.contact-form > p { font-size: 13px; color: var(--grey); margin-bottom: 18px; }

/* ── FORM ──────────────────────────────────────────────────────────────────── */
.form-row { margin-bottom: 14px; position: relative; }
.form-row label { display: block; font-size: 12px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--ltgrey);
  font-family: inherit; font-size: 13px; color: var(--black); background: var(--white); outline: none; transition: border-color .15s;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--cyan); }
.form-row input.error, .form-row textarea.error { border-color: var(--red); }
.form-error { font-size: 11px; color: var(--red); margin-top: 4px; display: none; }
.form-error.show { display: block; }
.form-row textarea { resize: vertical; min-height: 90px; }
.form-consent { font-size: 12px; color: var(--grey); margin: 14px 0; line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; }
.form-consent input[type=checkbox] { margin-top: 2px; flex-shrink: 0; }
.form-success {
  display: none; background: rgba(19,163,194,.08); border: 1px solid var(--cyan);
  border-radius: 8px; padding: 16px; text-align: center; color: var(--blue); font-weight: 600; margin-top: 12px;
}
.form-success.show { display: block; }

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--ltgrey); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 600; color: var(--blue); cursor: pointer; padding: 14px 0; gap: 12px;
}
.faq-q .icon {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(19,163,194,.12);
  color: var(--cyan); display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; transition: transform .2s;
}
.faq-a { font-size: 13px; color: var(--grey); line-height: 1.6; padding: 0 0 14px; display: none; }
.faq-a ul { padding-left: 18px; margin: 8px 0; }
.faq-a li { margin-bottom: 4px; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-item.open .faq-a { display: block; }

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
.footer { background: var(--navy); color: var(--white); padding: 60px 48px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img, .footer-logo .custom-logo-link img { height: 28px; width: auto; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 20px; max-width: 260px; line-height: 1.6; }
.footer-stores { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.footer-store {
  background: transparent; border: 1px solid rgba(255,255,255,.2); padding: 8px 14px;
  border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--white); cursor: pointer; transition: all .15s;
}
.footer-store:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-store-note { font-size: 11px; color: rgba(255,255,255,.3); margin-bottom: 16px; font-style: italic; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 32px; height: 32px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--white); transition: all .15s; cursor: pointer;
}
.social-btn:hover { background: rgba(255,255,255,.08); }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--cyan); margin-bottom: 14px; text-transform: uppercase; }
.footer-col ul, .footer-col ul.footer-menu { list-style: none; }
.footer-col li,
.footer-col ul.footer-menu li { margin-bottom: 10px; }
.footer-col li,
.footer-col ul.footer-menu li a {
  font-size: 13px; color: rgba(255,255,255,.7); cursor: pointer; transition: color .15s; display: block;
}
.footer-col li:hover,
.footer-col ul.footer-menu li a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1200px; margin: 36px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; color: rgba(255,255,255,.4); line-height: 1.7;
}

/* ── ROLE CARD SUBTITLE ────────────────────────────────────────────────────── */
.role-subtitle {
  font-size: 13px; color: var(--grey); margin: 4px 0 8px; line-height: 1.5;
}

/* ── JOB CONTENT SECTIONS (single-job.php) ─────────────────────────────────── */
/* Each section rendered from a meta field; separated by a subtle top border   */
/* except the very first one which needs no top spacing.                        */
.job-section { margin-top: 32px; }
.job-section:first-child { margin-top: 0; }
.job-section > h2 { margin-top: 0 !important; }

/* ── JOB APPLY BLOCK (single-job.php) ─────────────────────────────────────── */
.job-apply-block {
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--ltgrey);
}
.job-apply-block h2 { font-size: 20px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.job-apply-block p  { font-size: 14px; color: var(--grey); }

/* ── NOTIFY BUTTON LOADING STATE ──────────────────────────────────────────── */
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── LEGAL / GENERIC PAGES (page.php) ─────────────────────────────────────── */
.legal-section { background: var(--offwhite); padding: 52px 48px 80px; }
.legal-container {
  max-width: 860px; margin: 0 auto;
  background: var(--white); border-radius: 12px; padding: 48px 52px;
  border: 1px solid var(--ltgrey);
}

/* Typography for content rendered by the_content() */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--blue); font-weight: 700; letter-spacing: -.4px;
  margin: 36px 0 14px; line-height: 1.25;
}
.entry-content h1 { font-size: 28px; }
.entry-content h2 { font-size: 22px; border-bottom: 1px solid var(--ltgrey); padding-bottom: 10px; }
.entry-content h3 { font-size: 18px; }
.entry-content h4 { font-size: 16px; }
.entry-content h5 { font-size: 15px; }
.entry-content h6 { font-size: 14px; color: var(--grey); }
.entry-content p {
  font-size: 15px; color: var(--grey); line-height: 1.85; margin-bottom: 18px;
}
.entry-content ul,
.entry-content ol { padding-left: 26px; margin-bottom: 18px; }
.entry-content li { font-size: 15px; color: var(--grey); line-height: 1.75; margin-bottom: 6px; }
.entry-content a  { color: var(--cyan); }
.entry-content a:hover { text-decoration: underline; }
.entry-content strong, .entry-content b { color: var(--black); font-weight: 700; }
.entry-content em, .entry-content i { font-style: italic; }
.entry-content hr {
  border: none; border-top: 1px solid var(--ltgrey); margin: 36px 0;
}
.entry-content blockquote {
  border-left: 3px solid var(--cyan); margin: 24px 0; padding: 14px 20px;
  background: rgba(19,163,194,.06); border-radius: 0 8px 8px 0;
  font-size: 15px; color: var(--grey); line-height: 1.75;
}
.entry-content table {
  width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px;
}
.entry-content table th,
.entry-content table td { padding: 10px 14px; border: 1px solid var(--ltgrey); text-align: left; }
.entry-content table th { background: var(--offwhite); color: var(--blue); font-weight: 700; }
.entry-content table tr:nth-child(even) td { background: #fafbfc; }
.entry-content img { border-radius: 8px; margin-bottom: 16px; }
/* First heading needs no top margin */
.entry-content > *:first-child { margin-top: 0; }

/* ── COOKIE SETTINGS PAGE ──────────────────────────────────────────────────── */

/* Category card */
.cookie-card {
  border: 1px solid var(--ltgrey); border-radius: 12px;
  padding: 24px 28px; margin-bottom: 14px;
  background: var(--white); transition: border-color .15s;
}
.cookie-card:hover { border-color: rgba(19,163,194,.4); }

.cookie-card-header {
  display: flex; align-items: flex-start; gap: 24px;
}
.cookie-card-info { flex: 1; }

.cookie-card-title-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
}
.cookie-card-title-row h3 {
  font-size: 16px; font-weight: 700; color: var(--blue); margin: 0;
}

.cookie-always-on {
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 10px;
  background: rgba(19,163,194,.12); color: var(--cyan); white-space: nowrap;
}

.cookie-card-info p {
  font-size: 14px; color: var(--grey); line-height: 1.7; margin: 0 0 8px;
}
.cookie-examples {
  font-size: 12px; color: rgba(100,116,139,.7); line-height: 1.5;
}
.cookie-examples span {
  font-weight: 600; color: var(--grey); margin-right: 4px;
}

/* Toggle switch */
.cookie-toggle {
  position: relative; display: inline-block;
  width: 46px; height: 26px; flex-shrink: 0; cursor: pointer; margin-top: 2px;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle-slider {
  position: absolute; inset: 0; border-radius: 26px;
  background: var(--ltgrey); transition: background .2s;
}
.cookie-toggle-slider::before {
  content: ''; position: absolute;
  width: 20px; height: 20px; left: 3px; top: 3px;
  background: var(--white); border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: transform .2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--cyan); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { opacity: .65; cursor: not-allowed; }
.cookie-toggle input:focus-visible + .cookie-toggle-slider {
  outline: 2px solid var(--cyan); outline-offset: 2px;
}

/* Action buttons row */
.cookie-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--ltgrey);
}
.cookie-btn-reject {
  background: transparent; color: var(--grey);
  border: 1.5px solid var(--ltgrey); font-size: 14px; font-weight: 600;
  padding: 10px 20px; border-radius: 8px; transition: all .15s;
}
.cookie-btn-reject:hover { border-color: var(--grey); color: var(--black); }

/* Save confirmation message */
.cookie-saved-msg {
  margin-top: 16px; padding: 12px 18px; border-radius: 8px;
  background: rgba(19,163,194,.1); border: 1px solid var(--cyan);
  color: var(--blue); font-size: 14px; font-weight: 600;
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .3s, max-height .3s;
}
.cookie-saved-msg.visible { opacity: 1; max-height: 80px; }

/* Responsive */
@media (max-width: 600px) {
  .cookie-card { padding: 18px 16px; }
  .cookie-card-header { flex-direction: row; gap: 16px; }
  .cookie-card-title-row { flex-wrap: wrap; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn,
  .cookie-actions .cookie-btn-reject { width: 100%; justify-content: center; }
}

/* ── COOKIE POLICY (EU) page-cookie-policy-eu.php ──────────────────────── */

/* Last-updated notice strip */
.cp-lastmod {
  font-size: 13px; color: var(--grey); background: var(--offwhite);
  border-radius: 8px; padding: 12px 18px; margin-bottom: 36px;
  border-left: 3px solid var(--cyan); line-height: 1.7;
}
.cp-lastmod a { color: var(--cyan); }

/* Cookie vendor block (Section 6) */
.cp-vendor-block {
  border: 1px solid var(--ltgrey); border-radius: 10px;
  margin-bottom: 18px; overflow: hidden;
}
.cp-vendor-block--pending { border-color: rgba(255,157,0,.35); }

.cp-vendor-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px; background: var(--offwhite);
  border-bottom: 1px solid var(--ltgrey);
}
.cp-vendor-header h4 {
  font-size: 14px; font-weight: 700; color: var(--blue); margin: 0; flex: 1;
}

/* Reuse existing .tag / .tag-* pill styles from makeba.css */
.cp-pending-badge {
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 10px;
  background: rgba(255,157,0,.12); color: var(--orange); white-space: nowrap;
}

.cp-vendor-body { padding: 16px 20px; }
.cp-vendor-meta {
  font-size: 13px; color: var(--grey); margin-bottom: 8px; line-height: 1.65;
}
.cp-vendor-meta:last-child { margin-bottom: 0; }
.cp-vendor-meta strong { color: var(--black); }
.cp-vendor-meta a { color: var(--cyan); }

.cp-misc-cookies {
  display: block; margin-top: 4px; font-size: 12px; color: rgba(100,116,139,.8);
  font-family: 'SFMono-Regular', Consolas, monospace; line-height: 1.7; word-break: break-word;
}

/* Cookie detail table */
.cp-vendor-table {
  width: 100%; border-collapse: collapse; margin-top: 14px;
  font-size: 13px; border-radius: 8px; overflow: hidden;
}
.cp-vendor-table th {
  background: rgba(14,85,135,.06); color: var(--blue); font-weight: 600;
  padding: 8px 12px; text-align: left; font-size: 11px;
  text-transform: uppercase; letter-spacing: .5px;
}
.cp-vendor-table td {
  padding: 9px 12px; border-bottom: 1px solid var(--ltgrey);
  color: var(--grey); vertical-align: top; line-height: 1.5;
}
.cp-vendor-table tr:last-child td { border-bottom: none; }
.cp-vendor-table td:first-child {
  font-weight: 600; color: var(--black);
  font-family: 'SFMono-Regular', Consolas, monospace; font-size: 12px;
  white-space: nowrap;
}
.cp-expiry { white-space: nowrap; color: var(--grey); font-size: 12px; }

/* Section 7.1 Complianz widget wrapper */
.cp-consent-widget {
  background: var(--offwhite); border: 1px solid var(--ltgrey);
  border-radius: 10px; padding: 20px 24px; margin: 16px 0;
}

/* Section 10 contact card */
.cp-contact-card {
  display: flex; align-items: flex-start; gap: 20px;
  background: var(--offwhite); border: 1px solid var(--ltgrey);
  border-radius: 10px; padding: 22px 24px; margin: 16px 0 28px;
}
.cp-contact-logo { flex-shrink: 0; opacity: .75; }
.cp-contact-logo img { height: 24px; width: auto; }
.cp-contact-info { flex: 1; }
.cp-contact-company {
  font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 6px;
}
.cp-contact-info p { font-size: 13px; color: var(--grey); line-height: 1.6; margin: 0 0 3px; }
.cp-contact-info a { color: var(--cyan); }

/* Sync note at the bottom */
.cp-sync-note {
  font-size: 12px; color: rgba(100,116,139,.65);
  font-style: italic; margin-top: 12px; text-align: center;
}

/* ── Cookie Policy responsive ────────────────────────────────────────────── */
@media (max-width: 680px) {
  .cp-vendor-header { flex-wrap: wrap; }
  .cp-vendor-table { font-size: 12px; }
  .cp-vendor-table th,
  .cp-vendor-table td { padding: 7px 8px; }
  .cp-vendor-table td:first-child { white-space: normal; }
  .cp-contact-card { flex-direction: column; gap: 14px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE SYSTEM
   Breakpoints: 1200px · 992px · 768px · 480px
   Strategy: override fixed values top-down; no redesign, only layout repair.
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── HAMBURGER BUTTON (hidden on desktop) ──────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 40px; height: 40px; gap: 5px;
  background: transparent; border: none; cursor: pointer;
  padding: 4px; border-radius: 6px; transition: background .15s; flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--offwhite); }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--black); border-radius: 2px; transition: all .25s;
}
/* Animate to × when open */
.nav.open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 1200px — Tighten horizontal padding ──────────────────────────────────── */
@media (max-width: 1200px) {
  .nav               { padding: 12px 32px; }
  .hero              { padding: 72px 32px 88px; }
  .hero h1           { font-size: 46px; }
  .howit             { padding: 72px 32px; }
  .dark-card-section { padding: 0 32px 32px; }
  .dark-card         { padding: 44px 40px; }
  .cta-section       { padding: 0 32px 72px; }
  .page-hero         { padding: 60px 32px 68px; }
  .tabs-bar          { padding: 0 32px; }
  .islands-section   { padding: 52px 32px; }
  .notify-block      { padding: 32px 32px; }
  .agents-section    { padding: 48px 32px; }
  .careers-section   { padding: 48px 32px 72px; }
  .contact-section   { padding: 40px 32px 72px; }
  .footer            { padding: 56px 32px 28px; }
  .legal-section     { padding: 48px 32px 72px; }
  .legal-container   { padding: 44px 48px; }
  .job-hero          { padding: 56px 32px; }
  .job-body          { padding: 48px 32px 72px; }
}

/* ── 992px — Tablet / small laptop ─────────────────────────────────────────── */
@media (max-width: 992px) {

  /* ── Navigation: show hamburger, collapse links ── */
  .nav {
    padding: 12px 24px;
    position: relative; /* containing block for the dropdown */
    flex-wrap: nowrap;
  }
  .nav-hamburger    { display: flex; }
  .nav-download-btn { display: none; }     /* hide Download btn; accessible from hero */

  /* Nav links slide out as full-width absolute dropdown */
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 199;
    background: var(--white);
    border-top: 1px solid var(--ltgrey);
    border-bottom: 2px solid var(--ltgrey);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    flex-direction: column; gap: 0;
    padding: 6px 24px 14px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a {
    padding: 13px 0; font-size: 15px;
    border-bottom: 1px solid var(--ltgrey); border-bottom-width: 1px;
    border-bottom-style: solid; border-bottom-color: var(--ltgrey);
  }
  .nav-links > li:last-child > a,
  .nav-links > a:last-child { border-bottom: none; }
  .nav-left { gap: 0; }   /* logo fills left; links detach to absolute */

  /* ── Hero ── */
  .hero            { padding: 56px 24px 72px; }
  .hero-inner      { grid-template-columns: 1fr; gap: 40px; }
  .hero h1         { font-size: 40px; letter-spacing: -1px; }

  /* ── Slide strip: 2-col ── */
  .slide-strip-inner { grid-template-columns: repeat(2,1fr); }
  .slide-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .slide-item:nth-child(odd)      { border-right: 1px solid rgba(255,255,255,.07); }
  .slide-item:nth-last-child(-n+2) { border-bottom: none; }

  /* ── How it works: 2×2 ── */
  .howit         { padding: 60px 24px; }
  .section-title { font-size: 28px; }
  .section-sub   { margin-bottom: 36px; }
  .steps         { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .steps::before { display: none; }  /* remove horizontal connector line */

  /* ── Dark card: single column ── */
  .dark-card-section { padding: 0 24px 28px; }
  .dark-card {
    grid-template-columns: 1fr;
    padding: 36px 28px; gap: 28px;
  }
  .dark-card h3 { font-size: 28px; }

  /* ── CTA ── */
  .cta-section { padding: 0 24px 64px; }
  .cta-card    { padding: 36px 28px; }

  /* ── Page hero ── */
  .page-hero    { padding: 52px 24px 60px; }
  .page-hero h1 { font-size: 36px; }

  /* ── Tabs: horizontal scroll ── */
  .tabs-bar  { padding: 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tabs-bar::-webkit-scrollbar { display: none; }
  .tabs-inner { min-width: max-content; }
  .tab   { padding: 16px 18px; }

  /* ── Islands grid: 2-col ── */
  .islands-section { padding: 48px 24px; }
  .islands-grid    { grid-template-columns: repeat(2,1fr); }

  /* ── Notify: stack ── */
  .notify-block  { padding: 32px 24px; }
  .notify-inner  { grid-template-columns: 1fr; gap: 24px; }
  .notify-form   { flex-direction: column; }
  .notify-input  { width: 100%; }

  /* ── Agents filters: 2-col ── */
  .agents-section  { padding: 44px 24px; }
  .agents-filters  { grid-template-columns: 1fr 1fr; }

  /* ── Careers ── */
  .careers-section { padding: 44px 24px 64px; }
  .role-card       { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* ── Contact: 2-col options, 1-col grid ── */
  .contact-section  { padding: 36px 24px 64px; }
  .contact-options  { grid-template-columns: repeat(2,1fr); }
  .contact-grid     { grid-template-columns: 1fr; }

  /* ── Footer: 2-col ── */
  .footer       { padding: 52px 24px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }

  /* ── Legal ── */
  .legal-section   { padding: 44px 24px 64px; }
  .legal-container { padding: 36px 32px; }

  /* ── Job pages ── */
  .job-hero          { padding: 48px 24px; }
  .job-hero h1       { font-size: 30px; }
  .job-body          { padding: 44px 24px 64px; }
  .job-body-inner    { padding: 28px 24px; }
}

/* ── 768px — Large phones / portrait tablets ────────────────────────────── */
@media (max-width: 768px) {

  /* ── Hero: smaller type, stacked CTA ── */
  .hero          { padding: 44px 20px 56px; }
  .hero h1       { font-size: 34px; letter-spacing: -.8px; }
  .hero p.lead   { font-size: 15px; }
  .hero-cta      { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* ── Calculator ── */
  .calc-field input { font-size: 18px; }
  .calc-meta        { flex-direction: column; gap: 2px; }

  /* ── Slide strip: 1-col ── */
  .slide-strip-inner               { grid-template-columns: 1fr; }
  .slide-item                      { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .slide-item:nth-child(odd)       { border-right: none; }
  .slide-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.07); }
  .slide-item:last-child           { border-bottom: none; }

  /* ── How it works ── */
  .howit         { padding: 48px 20px; }
  .section-title { font-size: 26px; }

  /* ── Dark card ── */
  .dark-card-section { padding: 0 20px 24px; }
  .dark-card         { padding: 28px 22px; gap: 22px; }
  .dark-card h3      { font-size: 26px; }

  /* ── CTA ── */
  .cta-section  { padding: 0 20px 56px; }
  .cta-card     { padding: 28px 22px; }
  .cta-card h3  { font-size: 26px; }

  /* ── Page hero ── */
  .page-hero    { padding: 40px 20px 48px; }
  .page-hero h1 { font-size: 30px; letter-spacing: -.8px; }
  .page-hero p  { font-size: 15px; }

  /* ── Tabs ── */
  .tabs-bar { padding: 0 20px; top: 52px; }

  /* ── Islands grid ── */
  .islands-section { padding: 40px 20px; }

  /* ── Notify ── */
  .notify-block   { padding: 28px 20px; }
  .notify-text h3 { font-size: 24px; }

  /* ── Agents: stacked filters ── */
  .agents-section { padding: 36px 20px; }
  .agents-filters { grid-template-columns: 1fr; }

  /* ── Careers ── */
  .careers-section { padding: 40px 20px 56px; }
  .mission-card    { padding: 22px 20px; }

  /* ── Contact: all 1-col ── */
  .contact-section { padding: 32px 20px 56px; }
  .contact-options { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer       { padding: 44px 20px 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }

  /* ── Legal ── */
  .legal-section   { padding: 36px 20px 56px; }
  .legal-container { padding: 28px 22px; }

  /* ── Job pages ── */
  .job-hero       { padding: 36px 20px; }
  .job-hero h1    { font-size: 26px; }
  .job-body       { padding: 36px 20px 56px; }
  .job-body-inner { padding: 22px 18px; }
}

/* ── 480px — Small phones (iPhone SE, Android compact) ─────────────────── */
@media (max-width: 480px) {

  /* ── Navigation ── */
  .nav { padding: 10px 16px; }
  .nav-logo img,
  .nav-logo .custom-logo-link img { height: 26px; }
  .lang-btn { font-size: 12px; padding: 5px 10px; }
  .nav-links { padding: 4px 16px 12px; }

  /* ── Hero ── */
  .hero          { padding: 36px 16px 48px; }
  .hero h1       { font-size: 28px; letter-spacing: -.5px; }
  .hero p.lead   { font-size: 14px; }
  .trust-row     { gap: 14px; }
  .trust-item    { font-size: 11px; }
  .calc-card     { padding: 18px 16px; }

  /* ── How it works: single column ── */
  .howit         { padding: 40px 16px; }
  .section-title { font-size: 24px; }
  .steps         { grid-template-columns: 1fr; gap: 24px; }

  /* ── Dark card ── */
  .dark-card-section { padding: 0 16px 20px; }
  .dark-card         { padding: 22px 16px; gap: 20px; }
  .dark-card h3      { font-size: 22px; letter-spacing: -.5px; }

  /* ── CTA ── */
  .cta-section        { padding: 0 16px 48px; }
  .cta-card           { padding: 24px 16px; }
  .cta-card h3        { font-size: 22px; }
  .app-stores         { flex-direction: column; align-items: stretch; }
  .store-btn          { justify-content: center; }

  /* ── Page hero ── */
  .page-hero    { padding: 32px 16px 40px; }
  .page-hero h1 { font-size: 24px; letter-spacing: -.4px; }
  .page-hero p  { font-size: 14px; }

  /* ── Tabs ── */
  .tabs-bar { padding: 0 16px; top: 46px; }
  .tab      { padding: 14px 14px; font-size: 13px; }

  /* ── Islands ── */
  .islands-section { padding: 32px 16px; }
  .islands-grid    { grid-template-columns: 1fr; }

  /* ── Notify ── */
  .notify-block   { padding: 24px 16px; }
  .notify-text h3 { font-size: 22px; }
  .notify-text p  { font-size: 14px; }

  /* ── Agents ── */
  .agents-section { padding: 28px 16px; }
  .agent-row      { flex-wrap: wrap; }
  .agent-city-badge { margin-left: 0; margin-top: 6px; }

  /* ── Careers ── */
  .careers-section { padding: 32px 16px 48px; }
  .mission-card    { padding: 18px 16px; }
  .role-card       { padding: 18px 16px; }

  /* ── Contact ── */
  .contact-section       { padding: 28px 16px 48px; }
  .contact-form, .faq-card { padding: 18px 16px; }

  /* ── Footer: single column ── */
  .footer        { padding: 36px 16px 16px; }
  .footer-inner  { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand  { grid-column: auto; }
  .footer-bottom { margin-top: 24px; }

  /* ── Legal ── */
  .legal-section   { padding: 24px 16px 48px; }
  .legal-container { padding: 18px 14px; border-radius: 8px; }

  /* ── Job pages ── */
  .job-hero       { padding: 28px 16px; }
  .job-hero h1    { font-size: 22px; }
  .job-body       { padding: 24px 16px 48px; }
  .job-body-inner { padding: 18px 14px; }

  /* ── Cookie settings ── */
  .cookie-card    { padding: 16px 14px; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn,
  .cookie-actions .cookie-btn-reject { width: 100%; justify-content: center; }

  /* ── Entry content ── */
  .entry-content h2 { font-size: 19px; }
  .entry-content h3 { font-size: 16px; }
  .entry-content p,
  .entry-content li { font-size: 14px; }
  .entry-content table { font-size: 13px; }
  .entry-content table th,
  .entry-content table td { padding: 8px 10px; }

  /* ── Buttons: full-width in hero CTA context ── */
  .hero-cta .btn-outline { color: rgba(255,255,255,.85); }
}
