/* Prime Wall Ltd — stylesheet
   Tokens first, then layout, then components. Mobile-first breakpoints at
   768px (tablet), 1024px (laptop), 1440px (desktop). */

:root {
  --navy: #102A43;
  --navy-deep: #0B1F33;
  --grey: #64748B;
  --grey-light-bg: #F3F5F7;
  --grey-border: #D8DEE5;
  --white: #FFFFFF;
  --text: #1F2933;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --shadow-card: 0 1px 2px rgba(16, 42, 67, 0.06), 0 4px 12px rgba(16, 42, 67, 0.06);
  --container-width: 1200px;
  --space-section: clamp(3rem, 6vw, 6rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

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

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

section { padding-block: var(--space-section); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 0.75rem; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; color: var(--text); }
.lede { color: var(--grey); font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  z-index: 200;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-on-dark { background: var(--white); color: var(--navy); }
.btn-on-dark:hover { background: var(--grey-light-bg); }
.btn-outline-on-dark { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-on-dark:hover { background: rgba(255,255,255,0.12); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5375rem;
}
.logo-link { display: inline-flex; color: var(--navy); }

.main-nav {
  display: none;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
  padding-block: 0.25rem;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a:focus-visible { border-bottom-color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-actions .btn-primary { display: none; }

.menu-toggle {
  background: none;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--grey-border);
  background: var(--white);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a,
.mobile-nav .btn {
  display: block;
  width: 100%;
  padding: 0.9rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--grey-border);
}
.mobile-nav .btn-primary { text-align: center; }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-actions .btn-primary { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  min-height: 560px;
  display: flex;
  align-items: center;
  padding-block: 0;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,31,51,0.82) 0%, rgba(11,31,51,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding-block: 3.5rem;
}
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,0.88); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }

.hero-contact { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.5rem; }
.hero-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-contact a:hover { color: var(--white); text-decoration: underline; }
.hero-contact svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Trust strip */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  background: var(--white);
}
.trust-item svg { flex-shrink: 0; width: 80px; height: 80px; color: var(--navy); margin-bottom: 0.5rem; }
.trust-item h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1em;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
.trust-item p { color: var(--grey); margin: 0; }

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Services */
.section-heading { max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: 2.5rem; }
.section-heading p { color: var(--grey); }
.intro-copy { max-width: 820px; }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.service-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.service-card-body { padding: 1.25rem 1.25rem 1.5rem; }
.service-card-icon { color: var(--navy); width: 28px; height: 28px; margin-bottom: 0.5rem; }
.service-card p { color: var(--grey); margin: 0; }

/* Why choose us */
.why-us { background: var(--grey-light-bg); }
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .why-us-grid { grid-template-columns: 1fr 1fr; column-gap: 5rem; }
}
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.checklist li { display: flex; gap: 0.65rem; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--navy); flex-shrink: 0; margin-top: 2px; }

/* Service area */
.service-area .container { text-align: center; }
.service-area-text { max-width: 640px; margin-inline: auto; }
.placeholder-note { font-size: 0.85rem; color: var(--grey); font-style: italic; }

.service-area-map {
  margin: 2rem auto 0;
  max-width: 1040px;
}
.service-area-map img {
  width: 100%;
  border-radius: var(--radius);
}

/* CTA banner */
.cta-banner {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
}
.cta-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner .container { position: relative; z-index: 1; max-width: 640px; text-align: center; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 1.1fr 0.9fr; }
}

.form-field { margin-bottom: 1.1rem; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-field .required { color: var(--navy); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  font: inherit;
  color: var(--text);
  background: var(--white);
  min-height: 44px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:invalid[aria-invalid="true"],
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #B3261E;
}
.field-error {
  display: none;
  color: #B3261E;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}
.form-field.has-error .field-error { display: block; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 0 1.25rem; }
@media (min-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}

.consent-field { display: flex; align-items: flex-start; gap: 0.6rem; }
.consent-field input { width: auto; min-height: auto; margin-top: 4px; }
.consent-field label { font-weight: 400; font-size: 0.9rem; }

.form-status {
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { background: #E3F3E7; color: #205C2E; border: 1px solid #B7DFC2; }
.form-status.error { background: #FBEAE9; color: #8A2A24; border: 1px solid #F0C4C1; }

.contact-side {
  background: var(--grey-light-bg);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: fit-content;
}
.contact-side h3 { margin-bottom: 0.5rem; }
.contact-side .fallback-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.contact-side .fallback-list a { text-decoration: none; font-weight: 600; color: var(--navy); }
.contact-side .fallback-list a:hover { text-decoration: underline; }
.contact-side .privacy-note { font-size: 0.85rem; color: var(--grey); margin-top: 1.25rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.85); }
.site-footer .container {
  padding-block: var(--space-section);
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer .container { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-brand .logo-link { display: inline-block; color: var(--white); font-size: 1.25rem; letter-spacing: 0.02em; text-decoration: none; margin-bottom: 0.75rem; }
.footer-brand p { color: rgba(255,255,255,0.7); max-width: 32ch; }
.footer-heading { color: var(--white); font-size: 0.95rem; margin-bottom: 0.85rem; }
.footer-nav ul, .footer-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-nav a, .footer-contact a { text-decoration: none; color: rgba(255,255,255,0.8); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-bottom .container {
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom a { text-decoration: none; color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }

/* Privacy page */
.legal-content { max-width: 760px; }
.legal-content h2 { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
