:root {
  --color-navy: #0f1f3a;
  --color-blue: #1e3a63;
  --color-sky: #4a90d9;
  --color-orange: #e76f22;
  --color-orange-dark: #c85a18;
  --color-white: #ffffff;
  --color-cream: #f7f7f5;
  --color-text: #333333;
  --color-muted: #666666;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
  overflow-x: hidden;
}

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

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

:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-orange-dark);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #e8eef5;
}

.btn-small {
  padding: 0.5rem 1rem;
  background: var(--color-orange);
  color: var(--color-white);
}

.btn-small:hover,
.btn-small:focus-visible {
  background: var(--color-orange-dark);
}

.btn-full {
  width: 100%;
}

/* Header */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid #e4e4e4;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.logo::after {
  content: ".UK";
  color: var(--color-orange);
  font-weight: 700;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-list a:not(.btn) {
  font-weight: 500;
  color: var(--color-text);
}

.nav-list a:not(.btn):hover,
.nav-list a:not(.btn):focus-visible {
  color: var(--color-orange);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  color: var(--color-white);
  padding: 5rem 0 6rem;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: #c8d6e8;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-actions .btn {
  min-height: 3rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
}

.hero-badges li {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-navy);
  margin-bottom: 2.5rem;
}

/* Services */
.services {
  background: var(--color-cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Trust */
.trust {
  background: var(--color-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.trust-item {
  padding: 1.5rem;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
}

.trust-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
}

.trust-label {
  display: block;
  margin-top: 0.5rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.testimonial {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  background: var(--color-cream);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-orange);
}

.testimonial p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.testimonial footer {
  color: var(--color-muted);
  font-weight: 600;
}

/* Quote */
.quote {
  background: linear-gradient(180deg, var(--color-blue) 0%, var(--color-navy) 100%);
  color: var(--color-white);
}

.quote-box {
  max-width: 640px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.06);
  padding: 2.5rem;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}

.quote-box h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.quote-box > p {
  color: #c8d6e8;
  margin-bottom: 1.75rem;
}

.quote-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-row input,
.form-row textarea {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font: inherit;
}

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

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  background: rgba(255, 255, 255, 0.15);
}

.form-note {
  margin-top: 1rem;
  min-height: 1.5rem;
  text-align: center;
}

/* Footer */
.site-footer {
  background: #0a1628;
  color: #9fb0c7;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-orange);
}

/* Responsive */
@media (min-width: 540px) {
  .quote-form {
    grid-template-columns: 1fr 1fr;
  }

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

  .quote-form .btn-full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-bottom: 1px solid #e4e4e4;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.open {
    max-height: 300px;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    align-items: stretch;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 0;
    text-align: center;
  }

  .nav-list .btn {
    margin-top: 0.5rem;
    padding-inline: 1rem;
  }

  .hero {
    padding: clamp(2.75rem, 10vw, 3.5rem) 0 clamp(3rem, 12vw, 4rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    text-wrap: balance;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-badges {
    gap: 0.5rem;
  }

  .hero-badges li {
    font-size: 0.82rem;
    padding-inline: 0.75rem;
  }

  section {
    padding: 3rem 0;
  }

  .quote-box {
    padding: 1.5rem;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .header-inner {
    padding-block: 0.75rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-badges li {
    text-align: center;
  }

  .hero-badges li:last-child {
    grid-column: 1 / -1;
  }

  section {
    padding-block: 2.5rem;
  }
}
