/* =========================================================
   INNER PAGES (Contact, About, Solutions ...)
   Loaded after style.css. The homepage does not use this file.
   ========================================================= */

/* ---------- Page banner at the top of every inner page ---------- */
.page-hero {
  /* The banner photo: change this one line to change it on every inner page */
  --hero-img: url("../assets/images/hero.webp");
  padding: 150px 0 70px;
  background:
    linear-gradient(90deg, rgba(5, 11, 28, 0.96) 0%, rgba(5, 11, 28, 0.75) 45%, rgba(5, 11, 28, 0.3) 100%),
    linear-gradient(180deg, rgba(5, 11, 28, 0.55) 0%, rgba(5, 11, 28, 0) 30%, var(--navy-900) 100%),
    var(--hero-img) right center / cover no-repeat,
    var(--navy-900);
}
/* The Contact page keeps its own banner (the Email / Call / Live Chat / Office picture) */
.page-hero--contact { --hero-img: url("../assets/images/cta-bg.webp"); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-hero .lead { margin-top: 16px; }

/* ---------- Contact page ---------- */
.contact-section { padding: 70px 0 100px; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 70px;
  align-items: start;
}
.contact-section h2 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-section .sub { color: var(--text-muted); margin-bottom: 28px; max-width: 44ch; }

.contact-list li {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.contact-list li:first-child { border-top: 1px solid var(--border); }
.contact-list svg {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px;
  fill: none; stroke: #d5dbe8;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.contact-list small {
  display: block; font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue-300); margin-bottom: 2px;
}
.contact-list a:hover { color: #fff; }

.map-wrap {
  margin-top: 30px; height: 250px;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: var(--navy-800);
}
.map-wrap iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(0.4) invert(0.9) hue-rotate(180deg) brightness(0.9);
}

/* ---------- Form: minimal, underline-only fields ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { display: flex; flex-direction: column; margin-bottom: 26px; }
.field label {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--border);
  border-radius: 0; color: var(--text); font: inherit; font-size: 0.98rem;
  padding: 8px 0 10px; outline: 0; transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--blue-400); }
.field select option { background: var(--navy-800); color: var(--text); }
.field textarea { resize: vertical; min-height: 110px; }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }   /* spam trap, keep hidden */

#request-a-quote { scroll-margin-top: 100px; }
.contact-hero-quote { margin-top: 20px; }
.form-privacy, .form-alternatives {
  max-width: 66ch; margin-bottom: 14px; color: var(--text-muted); font-size: 0.88rem;
}
.form-privacy a, .form-alternatives a { color: var(--blue-300); text-decoration: underline; }

.form-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-status { font-size: 0.88rem; color: var(--text-muted); }
.form-status.ok { color: #7fd6a4; }
.form-status.error { color: #ff9b9b; }

/* ---------- Content sections shared by inner pages (About, Solutions ...) ---------- */
.page-section { padding: 90px 0; }
.page-section.alt { background: var(--navy-800); }
.section-head { max-width: 580px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 0; }

/* Text on one side, photo on the other */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--text-muted); }
.split p + p { margin-top: 16px; }
.split .btn { margin-top: 28px; }
.split-image {
  min-height: 400px; border-radius: var(--radius); border: 1px solid var(--border);
  background: url("../assets/images/about-journey.webp") center / cover no-repeat, var(--navy-800);
}

/* Row of links, e.g. the solutions list */
.link-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.link-grid a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 26px 22px; border-right: 1px solid var(--border); transition: 0.2s;
}
.link-grid a:last-child { border-right: 0; }
.link-grid a:hover { color: var(--blue-300); background: rgba(30, 107, 255, 0.07); }

/* Four values */
.value-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.value { padding: 36px 26px; border-right: 1px solid var(--border); }
.value:last-child { border-right: 0; }
.value svg {
  width: 30px; height: 30px; fill: none; stroke: var(--blue-300);
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.value h3 { font-size: 1rem; font-weight: 500; margin: 16px 0 6px; letter-spacing: 0.02em; }
.value p { color: var(--text-muted); font-size: 0.9rem; }

/* Offices */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.office { border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.office small {
  display: block; font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue-300);
}
.office h3 { font-weight: 400; font-size: 1.35rem; margin: 8px 0 12px; }
.office p { color: var(--text-muted); }
.office a { display: inline-block; margin-top: 14px; border-bottom: 1px solid var(--blue-400); padding-bottom: 2px; }
.office a:hover { color: var(--blue-300); }

/* Closing banner */
.cta-band {
  padding: 90px 0;
  background:
    linear-gradient(90deg, rgba(8, 19, 48, 0.96) 0%, rgba(8, 19, 48, 0.8) 40%, rgba(8, 19, 48, 0) 72%),
    url("../assets/images/cta-bg.webp") right center / cover no-repeat,
    #0a1a4a;
}
.cta-band .container { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta-band h2 { margin-bottom: 0; }

@media (max-width: 900px) {
  .page-section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-image { min-height: 260px; }
  .link-grid { grid-template-columns: 1fr; }
  .link-grid a { border-right: 0; border-bottom: 1px solid var(--border); }
  .link-grid a:last-child { border-bottom: 0; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(2) { border-right: 0; }
  .value:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .office-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .page-hero { padding: 130px 0 50px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .form-row { grid-template-columns: 1fr; }
}
