/* =========================================================
   Elbrun Ventures — rebuilt static stylesheet
   Recreated from the Elementor/WordPress mirror's own CSS
   (kit post-6, page post-10, popup post-174) — plain CSS only.
   ========================================================= */

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/roboto-condensed.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/roboto-slab.woff2") format("woff2");
}

:root {
  --color-primary: #10162b;   /* dark navy */
  --color-secondary: #9ba3c4; /* muted blue-grey */
  --color-white: #ffffff;
  --color-text: #000000;
  --font-heading: "Roboto Condensed", Arial, Helvetica, sans-serif;
  --font-body: "Roboto Slab", Georgia, "Times New Roman", serif;
  --content-width: 1140px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.25;
  color: var(--color-text);
  background: var(--color-white);
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}
h1 { font-size: 65px; }
h2 { font-size: 55px; }
h3 { font-size: 45px; }
h4 { font-size: 35px; }
h5 { font-size: 25px; }
h6 { font-size: 16px; font-weight: 600; letter-spacing: 0.02em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-white);
  color: var(--color-primary);
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

.section {
  padding: 75px 25px;
}
.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}
.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex-direction: row-reverse;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  background: transparent;
  border: 1px solid var(--color-white);
  padding: 15px 20px 15px 25px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn svg { width: 12px; height: auto; fill: currentColor; }
.btn:hover, .btn:focus {
  background-color: var(--color-white);
  color: var(--color-primary);
}
.btn--outline {
  font-size: 16px;
  border-width: 2px;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  padding: 10px 15px 10px 20px;
}
.btn--outline:hover, .btn--outline:focus {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
  text-align: center;
  padding: 50px 25px;
  background-color: var(--color-primary);
  background-image: linear-gradient(rgba(16,22,43,.55), rgba(16,22,43,.55)), url("images/hero-bg.webp");
  background-position: bottom center;
  background-size: cover;
  color: var(--color-white);
}
.hero__logo {
  width: 200px;
  margin: 0 auto;
}
.hero__eyebrow {
  margin: 0 0 -15px;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--color-white);
}
.hero__title {
  color: var(--color-white);
  margin-top: 40px;
}
.hero .btn {
  margin-top: 25px;
}

/* ---------- Our Approach ---------- */
.approach__eyebrow {
  margin: 0 0 -15px;
  color: var(--color-secondary);
}
.approach__heading {
  margin-top: 25px;
  max-width: 800px;
}
.approach__text {
  margin-top: 25px;
  max-width: 800px;
  font-size: 16px;
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.image-box img {
  width: 100%;
  transition: transform 0.3s ease;
  height: auto;
}
.image-box:hover img { transform: scale(1.03); }
.image-box__title {
  margin: 5px 0 0;
  color: var(--color-secondary);
}
.image-box__desc {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 23px;
  margin: 0;
}

/* ---------- Our Philosophy ---------- */
.philosophy {
  background-image: linear-gradient(rgba(16,22,43,.72), rgba(16,22,43,.72)), url("images/climber.webp");
  background-position: top left;
  background-size: cover;
}
.philosophy__eyebrow {
  margin: 0 0 -15px;
  color: var(--color-white);
}
.philosophy__heading {
  margin-top: 25px;
  color: var(--color-white);
  max-width: 800px;
  white-space: pre-line;
}

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 25px;
  background-color: rgba(255, 255, 255, 0.25);
}
.philosophy-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
  border: 1px dashed var(--color-secondary);
  padding: 35px;
  color: var(--color-white);
}
.philosophy-card h6 { color: var(--color-white); }
.philosophy-card h5 { color: var(--color-white); }
.philosophy-card p { color: var(--color-white); margin: 0; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 20px;
}
.footer-col h5 {
  font-size: 22px;
  color: var(--color-white);
  margin-bottom: 15px;
}
.footer-col p, .footer-col a {
  font-size: 16px;
  color: var(--color-secondary);
  line-height: 1.6;
}
.footer-col a:hover { color: var(--color-white); }
.footer-col .btn { margin-top: 10px; }

.footer-divider {
  border: 0;
  border-top: 1px solid var(--color-secondary);
  margin: 0;
}
.footer-divider-wrap { padding: 15px 0; }

.copyright {
  text-align: center;
  font-size: 14px;
  color: var(--color-secondary);
  padding: 25px;
  margin: 0;
}

/* ---------- Modals ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(16, 22, 43, 0.89);
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--color-white);
  width: 640px;
  max-width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 15px 25px 25px;
  position: relative;
  color: var(--color-text);
}
.modal--wide { width: 800px; }
.modal h3 {
  text-align: center;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.modal p { font-size: 15px; line-height: 1.6; }
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  line-height: 1;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
}

/* ---------- Contact form ---------- */
.contact-form { margin-top: 15px; }
.contact-form__row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.contact-form__row .field { flex: 1 1 45%; }
.field label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.field input,
.field textarea {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--color-primary);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 15px;
}
.field textarea { resize: vertical; }
.contact-form button[type="submit"] {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  border: none;
  padding: 15px;
  cursor: pointer;
}
.contact-form button[type="submit"]:hover { background-color: #262e4e; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section-inner { max-width: 100%; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2x2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 600px) {
  h1 { font-size: 40px; }
  h3 { font-size: 30px; }
  .section { padding: 50px 20px; }
  .contact-form__row .field { flex: 1 1 100%; }
  .modal { padding: 15px; }
}
