/*
Theme Name: UKIMMI Pro
Theme URI: https://ukimmi.com/
Author: UKIMMI
Description: Professional commercial website for UK immigration and visa planning.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: ukimmi-pro
*/

:root {
  --ink: #102033;
  --muted: #5d6b7a;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #dbe2ea;
  --navy: #071a2f;
  --blue: #1f5f96;
  --red: #b42335;
  --gold: #b88a44;
  --green: #1f7a5f;
  --shadow: 0 18px 45px rgba(10, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-size: 14px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #314357;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 750;
  line-height: 1.2;
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 24px rgba(180, 35, 53, 0.22);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.btn-light {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(7, 26, 47, 0.92) 0%, rgba(7, 26, 47, 0.78) 42%, rgba(7, 26, 47, 0.24) 72%), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 92px;
}

.eyebrow {
  color: #d9b46f;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 18px 0 20px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.subhero {
  padding: 92px 0 76px;
  color: var(--white);
  background: linear-gradient(135deg, #071a2f 0%, #12395b 58%, #7f1d2d 100%);
}

.subhero h1 {
  max-width: 860px;
  margin: 14px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
}

.subhero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-strip {
  width: min(1180px, calc(100% - 40px));
  margin: -48px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 116px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

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

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-head h2 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.price-card,
.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}

.service-card.featured,
.price-card.featured,
.article-card.featured {
  border-color: rgba(184, 138, 68, 0.55);
  box-shadow: var(--shadow);
}

.architecture-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.architecture-panel {
  padding: 30px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.architecture-panel h3 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.1;
}

.architecture-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.route-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.route-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
}

.route-list span {
  color: var(--muted);
  font-weight: 600;
}

.route-detail-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.route-detail {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.route-detail:first-child {
  padding-top: 0;
  border-top: 0;
}

.route-detail strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.route-detail p {
  margin: 5px 0 8px;
  color: var(--muted);
}

.route-detail span {
  display: block;
  color: #33475b;
  background: #f3f6fa;
  border-left: 3px solid var(--gold);
  padding: 9px 11px;
  font-size: 13px;
}

.content-stack {
  display: grid;
  gap: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.comparison-table th {
  color: var(--navy);
  background: #eef3f8;
  font-size: 13px;
  text-transform: uppercase;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.note-band {
  padding: 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #153c5f);
  border-radius: 8px;
}

.note-band h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.note-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
}

.metric span {
  color: var(--muted);
}

.service-card h3,
.price-card h3,
.article-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.2;
}

.service-card p,
.article-card p,
.price-card p {
  color: var(--muted);
  margin: 0;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  background: #eaf3fb;
  border: 1px solid #cfe3f3;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.pathway {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 850;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.lead-panel {
  background: var(--navy);
  color: var(--white);
  padding: 34px;
  border-radius: 8px;
}

.lead-panel h2 {
  margin: 8px 0 10px;
  font-size: 34px;
  line-height: 1.1;
}

.lead-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.form-grid option {
  color: var(--ink);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.consent input {
  width: auto;
  min-height: 0;
  margin-top: 5px;
}

.form-grid textarea,
.form-grid .full {
  grid-column: 1 / -1;
}

.price {
  margin: 18px 0;
  color: var(--navy);
  font-size: 36px;
  font-weight: 850;
}

.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.checklist {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  color: var(--muted);
}

.checklist li {
  padding: 8px 0 8px 26px;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.cta-band {
  padding: 72px 0;
  color: var(--white);
  background: var(--navy);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.08;
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  padding: 48px 0;
  background: #06111f;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 34px;
}

.site-footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav {
    height: auto;
    min-height: 70px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 680px;
    background-image: linear-gradient(90deg, rgba(7, 26, 47, 0.96), rgba(7, 26, 47, 0.72)), var(--hero-image);
  }

  .proof-strip,
  .grid-3,
  .pathway,
  .architecture-grid,
  .split,
  .metric-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav,
  .wrap,
  .hero-inner,
  .proof-strip {
    width: min(100% - 28px, 1180px);
  }

  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .section {
    padding: 70px 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
