/*
Theme Name: A & M Visa Services
Theme URI: https://aandmvisa.co.uk
Author: A & M Visa Services Ltd
Description: A bespoke WordPress theme for A & M Visa Services, specialising in Saudi visa and document support.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: am-visa-services
*/

:root {
  --am-ink: #171515;
  --am-burgundy: #5b1425;
  --am-burgundy-dark: #3d0b18;
  --am-gold: #c7a15b;
  --am-gold-light: #e1c78f;
  --am-ivory: #f6f1e8;
  --am-paper: #fffdf9;
  --am-muted: #726c65;
  --am-line: #ddd4c7;
  --am-shadow: 0 24px 60px rgba(43, 18, 21, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--am-paper);
  color: var(--am-ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .am-site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.am-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto !important; width: auto; height: auto; padding: 14px 20px;
  left: 8px; top: 8px; z-index: 100000; background: #fff; color: #000;
}

.am-topbar {
  background: var(--am-burgundy-dark);
  color: #ead9cd;
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.am-topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.am-topbar a { color: #f0d89f; text-transform: none; letter-spacing: .04em; }
.am-site-header {
  background: rgba(255, 253, 249, .97);
  border-bottom: 1px solid rgba(81, 35, 39, .12);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.am-nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.am-brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.am-brand img, .am-custom-logo-link img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(32, 24, 24, .15);
}
.am-brand-copy { display: flex; flex-direction: column; }
.am-brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing: .06em;
  line-height: 1;
}
.am-brand-copy small {
  color: var(--am-muted);
  font-size: 8px;
  letter-spacing: .27em;
  margin-top: 6px;
}
.am-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.am-nav ul { list-style: none; display: flex; gap: 32px; padding: 0; margin: 0; }
.am-nav a { color: #494342; font-size: 13px; font-weight: 700; }
.am-nav a:hover, .am-nav a:focus { color: var(--am-burgundy); }
.am-menu-toggle {
  display: none; width: 44px; height: 44px; padding: 10px; border: 0;
  background: var(--am-burgundy); color: #fff; cursor: pointer;
}
.am-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; }
.am-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  transition: transform .25s ease, background .25s ease;
}
.am-button:hover, .am-button:focus { transform: translateY(-2px); }
.am-button-dark { background: var(--am-burgundy); color: #fff; }
.am-button-dark:hover, .am-button-dark:focus { background: var(--am-burgundy-dark); }
.am-button-gold {
  background: var(--am-gold);
  color: #28170f;
  box-shadow: 0 12px 32px rgba(112, 68, 25, .18);
}
.am-button-gold:hover, .am-button-gold:focus { background: #d5b36f; }

.am-hero {
  color: #fff;
  background: radial-gradient(circle at 70% 30%, #79243a 0, var(--am-burgundy) 33%, var(--am-burgundy-dark) 100%);
  position: relative;
  overflow: hidden;
}
.am-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image: linear-gradient(30deg, transparent 45%, rgba(255, 255, 255, .2) 46%, transparent 47%);
  background-size: 44px 44px;
}
.am-hero-grid {
  min-height: 660px;
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: 60px;
  position: relative;
}
.am-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--am-gold-light);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
}
.am-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--am-gold); }
.am-eyebrow-dark { color: var(--am-burgundy); }
.am-hero h1, .am-section-title, .am-contact-box h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.am-hero h1 {
  font-size: clamp(49px, 5.2vw, 75px);
  line-height: .99;
  letter-spacing: -.035em;
  margin: 27px 0 25px;
}
.am-hero h1 em, .am-section-title em, .am-contact-box h2 em {
  color: var(--am-gold-light);
  font-weight: 400;
}
.am-hero-copy > p {
  max-width: 590px;
  color: #e4d9d7;
  font-size: 17px;
  line-height: 1.75;
}
.am-hero-actions { display: flex; align-items: center; gap: 31px; margin-top: 35px; }
.am-text-link {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  padding-bottom: 5px;
}
.am-text-link span { color: var(--am-gold); margin-left: 7px; }
.am-trust-line { display: flex; align-items: center; gap: 12px; margin-top: 38px; }
.am-trust-icon {
  width: 35px; height: 35px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(225, 199, 143, .5);
  color: var(--am-gold-light);
}
.am-trust-copy { display: flex; flex-direction: column; gap: 4px; }
.am-trust-copy strong { font-size: 12px; }
.am-trust-copy span { color: #cbbfc0; font-size: 10px; }
.am-hero-photo-wrap { position: relative; padding: 16px; border: 1px solid rgba(239, 213, 159, .42); }
.am-hero-photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.85) contrast(1.02);
  box-shadow: 0 35px 65px rgba(23, 1, 8, .35);
}
.am-hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 16px;
  background: linear-gradient(90deg, rgba(61, 11, 24, .32), transparent 52%);
  pointer-events: none;
}
.am-photo-label {
  position: absolute;
  z-index: 2;
  right: -18px;
  bottom: 38px;
  padding: 15px 20px;
  background: rgba(39, 8, 17, .9);
  border-left: 3px solid var(--am-gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}
.am-photo-label small {
  display: block; color: #c8babc; font-size: 7px;
  letter-spacing: .2em; margin-bottom: 5px;
}
.am-photo-label strong { font-family: Georgia, serif; font-size: 17px; }
.am-hero-footer { border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(26, 2, 9, .18); }
.am-credentials {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #dfd0cd;
  font-size: 9px;
  letter-spacing: .18em;
}
.am-credentials i { width: 4px; height: 4px; border-radius: 50%; background: var(--am-gold); }

.am-services { padding: 105px 0 95px; background: var(--am-paper); }
.am-section-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 52px;
}
.am-section-title {
  margin: 19px 0 0;
  font-size: clamp(39px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -.03em;
}
.am-section-title em { color: var(--am-burgundy); }
.am-section-heading > p, .am-body-copy {
  color: var(--am-muted);
  line-height: 1.8;
  font-size: 14px;
}
.am-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--am-line);
  border-left: 1px solid var(--am-line);
}
.am-service-card {
  padding: 31px 27px 29px;
  border-right: 1px solid var(--am-line);
  border-bottom: 1px solid var(--am-line);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .35);
  transition: .3s ease;
}
.am-service-card:hover {
  background: #fff;
  box-shadow: var(--am-shadow);
  transform: translateY(-5px);
  z-index: 2;
}
.am-service-top { display: flex; justify-content: space-between; align-items: start; }
.am-service-top > span { font-family: Georgia, serif; color: #baa983; font-size: 13px; }
.am-service-icon {
  width: 55px; height: 55px; display: grid; place-items: center;
  background: #f0e7d8; color: var(--am-burgundy);
}
.am-service-icon svg {
  width: 29px; height: 29px; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.am-service-card h3 { font-family: Georgia, serif; font-size: 22px; margin: 31px 0 13px; }
.am-service-card p { color: var(--am-muted); font-size: 13px; line-height: 1.7; margin: 0; }
.am-service-card a { margin-top: auto; color: var(--am-burgundy); font-size: 11px; font-weight: 800; }
.am-service-card a span { margin-left: 8px; color: var(--am-gold); }
.am-support-strip {
  margin-top: 28px;
  padding: 24px 28px;
  background: #f0e9dd;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 27px;
}
.am-support-mark {
  font-family: Georgia, serif; font-size: 27px; color: var(--am-burgundy);
  border-right: 1px solid #cfc2af; padding-right: 27px;
}
.am-support-mark span { color: var(--am-gold); }
.am-support-strip small {
  display: block; color: var(--am-burgundy); font-size: 8px;
  letter-spacing: .18em; font-weight: 800; margin-bottom: 6px;
}
.am-support-strip strong { font-family: Georgia, serif; font-size: 15px; }
.am-support-strip a { font-size: 10px; color: var(--am-burgundy); font-weight: 800; }

.am-feature-pair {
  padding: 0 0 105px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.am-feature-card {
  min-height: 390px;
  padding: 42px;
  color: #fff;
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.am-feature-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(35, 5, 13, .91) 0, rgba(35, 5, 13, .18) 70%);
}
.am-feature-content { position: relative; z-index: 1; max-width: 470px; }
.am-feature-card h3 { font-family: Georgia, serif; font-size: 31px; margin: 12px 0; font-weight: 400; }
.am-feature-card p { color: #e2d6d5; font-size: 13px; line-height: 1.7; margin: 0 0 18px; }
.am-feature-card a { color: var(--am-gold-light); font-size: 11px; font-weight: 800; }

.am-process {
  background: var(--am-burgundy-dark);
  color: #fff;
  padding: 104px 0;
  position: relative;
  overflow: hidden;
}
.am-process::after {
  content: "A&M"; position: absolute; left: -40px; bottom: -70px;
  color: rgba(255, 255, 255, .025); font-family: Georgia, serif; font-size: 270px;
}
.am-process-grid {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: 100px; position: relative; z-index: 1;
}
.am-process .am-section-title { color: #fff; }
.am-process .am-section-title em { color: var(--am-gold-light); }
.am-process-intro p {
  color: #d1c3c1; font-size: 14px; line-height: 1.8;
  max-width: 390px; margin-bottom: 31px;
}
.am-steps { border-top: 1px solid rgba(255, 255, 255, .2); }
.am-step {
  display: grid; grid-template-columns: 70px 1fr; gap: 18px;
  padding: 25px 0; border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.am-step > span { color: var(--am-gold); font-family: Georgia, serif; font-size: 14px; }
.am-step h3 { margin: 0 0 8px; font-family: Georgia, serif; font-weight: 400; font-size: 21px; }
.am-step p { margin: 0; color: #cabdbb; font-size: 12px; line-height: 1.65; max-width: 520px; }

.am-about { padding: 115px 0; background: var(--am-ivory); }
.am-about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 110px; }
.am-photo-frame { height: 510px; border: 1px solid #c6b79e; padding: 15px; position: relative; }
.am-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.am-experience-badge {
  position: absolute; right: -47px; bottom: 36px; width: 145px; height: 100px;
  background: var(--am-burgundy); color: #fff; display: flex; align-items: center;
  gap: 12px; justify-content: center; box-shadow: 0 18px 35px rgba(48, 16, 23, .2);
}
.am-experience-badge strong { font-family: Georgia, serif; font-size: 30px; color: var(--am-gold-light); }
.am-experience-badge span { font-size: 8px; letter-spacing: .15em; line-height: 1.6; }
.am-about .am-lead {
  font-family: Georgia, serif; font-size: 20px; line-height: 1.55;
  color: #453e39; margin-top: 28px;
}
.am-values { margin-top: 36px; border-top: 1px solid #d5c7b4; }
.am-values div { display: flex; gap: 22px; align-items: center; padding: 15px 0; border-bottom: 1px solid #d5c7b4; }
.am-values span { color: var(--am-gold); font-family: Georgia, serif; }
.am-values strong { font-size: 12px; letter-spacing: .04em; }

.am-contact { padding: 70px 0; background: var(--am-paper); }
.am-contact-box {
  padding: 54px 62px;
  background: var(--am-burgundy);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.am-contact-box::after {
  content: ""; position: absolute; width: 300px; height: 300px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%;
  right: -100px; top: -135px;
}
.am-contact-box h2 { font-size: clamp(38px, 4vw, 50px); line-height: 1.07; margin: 15px 0 10px; }
.am-contact-box p { color: #d9ccca; margin: 0; font-size: 13px; }
.am-contact-actions {
  display: flex; flex-direction: column; gap: 12px; text-align: center;
  position: relative; z-index: 1;
}
.am-contact-actions span { color: #e2d6d2; font-size: 11px; }

.am-site-footer { background: #161313; color: #d6ceca; padding: 54px 0 25px; }
.am-footer-grid { display: grid; grid-template-columns: .85fr 1.15fr 1fr; align-items: center; gap: 38px; }
.am-footer-brand { gap: 10px; width: fit-content; }
.am-footer-brand img {
  width: 46px;
  height: 46px;
  box-shadow: none;
}
.am-footer-brand .am-brand-copy strong {
  font-size: 20px;
  letter-spacing: .05em;
}
.am-footer-brand .am-brand-copy small {
  font-size: 7px;
  letter-spacing: .23em;
  margin-top: 5px;
}
.am-footer-brand .am-brand-copy strong { color: #fff; }
.am-footer-brand .am-brand-copy small { color: #a89f9b; }
.am-footer-grid > p { font-family: Georgia, serif; font-size: 15px; color: #aaa19d; text-align: center; }
.am-footer-nav ul {
  list-style: none; display: flex; justify-content: flex-end;
  gap: 23px; padding: 0; margin: 0; font-size: 10px; font-weight: 800;
}
.am-legal {
  border-top: 1px solid #312d2b; margin-top: 38px; padding-top: 21px;
  display: flex; justify-content: space-between; color: #8d8581; font-size: 9px;
}

.am-content-shell { min-height: 60vh; padding: 90px 0; }
.am-page-header { background: var(--am-burgundy); color: #fff; padding: 70px 0; }
.am-page-header h1 { font-family: Georgia, serif; font-size: clamp(42px, 6vw, 70px); font-weight: 400; margin: 14px 0 0; }
.am-entry-content { max-width: 820px; font-size: 16px; line-height: 1.8; color: #49413d; }
.am-entry-content h2, .am-entry-content h3 { font-family: Georgia, serif; color: var(--am-burgundy); }
.am-entry-content a { color: var(--am-burgundy); text-decoration: underline; }
.am-entry-content img { margin: 30px 0; }

@media (max-width: 1000px) {
  .am-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fffdf9; padding: 25px; box-shadow: var(--am-shadow); }
  .am-nav.is-open { display: block; }
  .am-nav ul { flex-direction: column; gap: 20px; }
  .am-menu-toggle { display: block; margin-left: auto; }
  .am-nav-cta { display: none; }
  .am-hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .am-service-grid { grid-template-columns: 1fr 1fr; }
  .am-process-grid { gap: 55px; }
  .am-about-grid { gap: 65px; }
}

@media (max-width: 782px) {
  body.admin-bar .am-site-header { top: 46px; }
}

@media (max-width: 760px) {
  .am-container { width: min(100% - 32px, 1180px); }
  .am-topbar-inner span { display: none; }
  .am-topbar-inner { justify-content: center; }
  .am-nav-wrap { min-height: 72px; }
  .am-brand img { width: 46px; height: 46px; }
  .am-brand-copy strong { font-size: 20px; }
  .am-hero-grid { grid-template-columns: 1fr; padding-top: 60px; }
  .am-hero h1 { font-size: 50px; }
  .am-hero-photo { height: 430px; }
  .am-photo-label { right: -8px; }
  .am-credentials { flex-wrap: wrap; justify-content: center; gap: 17px; padding: 20px 0; }
  .am-section-heading, .am-process-grid, .am-about-grid, .am-contact-box, .am-footer-grid { grid-template-columns: 1fr; }
  .am-section-heading { gap: 15px; }
  .am-services, .am-process, .am-about { padding: 75px 0; }
  .am-service-grid, .am-feature-pair { grid-template-columns: 1fr; }
  .am-feature-pair { padding-bottom: 75px; }
  .am-support-strip { grid-template-columns: auto 1fr; }
  .am-support-strip > a { grid-column: 1 / -1; }
  .am-process-grid { gap: 48px; }
  .am-about-visual { padding-right: 24px; }
  .am-experience-badge { right: -15px; }
  .am-photo-frame { height: 430px; }
  .am-contact-box { padding: 40px 31px; }
  .am-contact-actions { align-items: flex-start; text-align: left; }
  .am-footer-grid > p { text-align: left; }
  .am-footer-nav ul { justify-content: flex-start; }
  .am-footer-brand img { width: 46px; height: 46px; }
}

@media (max-width: 440px) {
  .am-brand-copy { display: none; }
  .am-hero h1 { font-size: 43px; }
  .am-hero-actions { flex-direction: column; align-items: flex-start; }
  .am-hero-photo { height: 360px; object-position: 62% center; }
  .am-photo-label { bottom: 25px; }
  .am-feature-card { min-height: 340px; padding: 28px; }
  .am-support-mark { display: none; }
  .am-support-strip { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
