/* GMTgroups — shared styles */

:root {
  --brand: #3651a2;      /* h1 / primary brand blue, from the original theme */
  --ink: #2b2c27;         /* heading / dark text */
  --muted: #575853;       /* paragraph text */
  --steel: #566d8f;       /* dark-heading label color */
  --teal: #65bec2;        /* link color */
  --teal-hover: #6799b2;  /* link hover */
  --paper: #eff4f7;       /* alternating section background */
  --white: #ffffff;
  --rule: #e0e9ef;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--muted);
  font-family: "Lato", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--brand);
}

h2, h3 { color: var(--ink); }

h1 { font-size: 2.5rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; color: var(--steel); }

p { margin: 0 0 1em; max-width: 68ch; }

a { color: var(--teal); }
a:hover { color: var(--teal-hover); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header / nav */
.site-header {
  background: var(--white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header .logo-link {
  display: block;
  padding: 8px 0 4px;
}

.site-header img.logo { height: 68px; width: auto; display: block; }

.site-header .tagline {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--steel);
  margin: 0.35rem 0 0;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 20px 24px;
  border-bottom: 4px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* Hero */
.hero {
  position: relative;
  padding: 75px 0;
  background-color: #ccc;
  background-image: url("../images/GMTbackground.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero-panel {
  display: inline-block;
  background-color: rgba(239, 244, 247, 0.55);
  padding: 10px 16px;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--brand);
  margin: 0;
}

.hero p.lede {
  font-size: 1.15rem;
  max-width: 60ch;
  color: var(--ink);
  font-weight: 700;
}

/* Specialization blocks */
.specialties {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.specialties h3 { margin-bottom: 0.5em; }

@media (max-width: 760px) {
  .specialties { grid-template-columns: 1fr; gap: 2rem; }
}

/* Brand strip */
.brands {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.brands h2 { font-size: 1.1rem; color: var(--steel); margin-bottom: 1rem; }

.brands ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  color: var(--muted);
}

/* Generic page section */
.page-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--rule);
}

.section { padding: 3rem 0; }

/* Contact page layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.info-list dt {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--steel);
  margin-top: 1.5rem;
}

.info-list dt:first-child { margin-top: 0; }

.info-list dd { margin: 0.2em 0 0; }

/* Form */
.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--rule);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--teal-hover);
  outline-offset: 1px;
}

.btn {
  display: inline-block;
  background: var(--teal-hover);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.75rem;
  font-family: "Lato", Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover { background: var(--steel); color: var(--white); }

/* Minibar strengths list */
.strengths {
  columns: 2;
  column-gap: 2.5rem;
  padding: 0;
  margin: 0 0 1.5rem;
  list-style: none;
  max-width: 60ch;
}

.strengths li {
  break-inside: avoid;
  margin-bottom: 0.7rem;
  padding-left: 1rem;
  position: relative;
}

.strengths li::before {
  content: "\2013"; /* en dash */
  position: absolute;
  left: 0;
  color: var(--steel);
}

@media (max-width: 600px) {
  .strengths { columns: 1; }
}

.minibar-note {
  background: var(--paper);
  border-left: 3px solid var(--brand);
  padding: 1rem 1.25rem;
  max-width: 60ch;
}

/* Footer */
.site-footer {
  background-color: var(--brand);
  padding-bottom: 1.75rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 20px 24px 16px;
  border-top: 4px solid transparent;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--white);
  border-top-color: var(--white);
}

.site-footer .operator {
  text-align: center;
  color: #bcafaf;
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

/* Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
