/* ==========================================================================
   Root Boot - rootboot.com.au
   Faithful static recreation of the 2023 Soledad/Elementor design.
   Palette and type pulled from the original Elementor and theme settings.
   ========================================================================== */

:root {
  --orange:        #EC670E;   /* fancy heading titles */
  --orange-btn:    #ED7621;   /* buttons, header bar */
  --orange-hover:  #B95208;   /* button hover */
  --orange-accent: #fb8c00;   /* subtitles, separators, link hover */
  --orange-block:  #EC670B;   /* orange section backgrounds */
  --header:        #ec670b;
  --bg-body:       #161616;
  --bg-hero:       #202020;
  --bg-dark:       #242424;
  --bg-darker:     #1D1D1D;
  --bg-band:       #1B1B1B;
  --bg-gallery:    #2A2A2A;
  --bg-footer:     #1F1F1F;
  --bg-copyright:  #111111;
  --bg-dropdown:   #3f3f3f;
  --text:          #8f8f8f;   /* original was #666666; lifted slightly for legibility on dark */
  --text-light:    #cfcfcf;
  --white:         #ffffff;
  --font-title:    "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-sub:      "Merriweather", Georgia, serif;
  --font-body:     "PT Serif", Georgia, serif;
  --font-ui:       "Raleway", "Helvetica Neue", Arial, sans-serif;
  --header-h:      92px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-body);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-accent); text-decoration: none; }
a:hover { color: var(--white); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #000; padding: 8px 12px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- containers ---------- */
.container { margin: 0 auto; padding-left: 15px; padding-right: 15px; width: 100%; }
.container--800  { max-width: 830px; }
.container--1170 { max-width: 1200px; }
.container--1200 { max-width: 1230px; }
.container--1230 { max-width: 1260px; }

.grid-2 { display: flex; flex-wrap: wrap; }
.grid-2__col { flex: 0 0 50%; max-width: 50%; }
.gap-extended .grid-2__col { padding: 15px; }
.gap-wider .grid-2__col { padding: 30px; }

/* ---------- header (Soledad header-10, orange bar, overflowing logo) ---------- */
.site-header {
  background: var(--header);
  position: relative;
  z-index: 50;
  height: var(--header-h);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo { display: block; flex: 0 0 auto; width: 45%; max-width: 480px; line-height: 0; align-self: flex-start; }
.site-logo__desktop { width: 100%; max-width: 480px; position: relative; top: 4px; }
.site-logo__mobile { display: none; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
  display: block;
  padding: 10px 14px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav .menu > li > a:hover,
.site-nav .menu > li.is-active > a { color: #ffe3c9; }
.site-nav .menu > li.has-sub > a { padding-right: 26px; }
.site-nav .menu > li.has-sub > a::after {
  content: ""; position: absolute; right: 12px; top: 50%; margin-top: -3px;
  border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0;
}
.sub-toggle { display: none; }
.sub-menu {
  list-style: none; margin: 0; padding: 6px 0;
  position: absolute; left: 0; top: 100%; min-width: 210px;
  background: var(--bg-dropdown);
  border-top: 2px solid var(--orange-accent);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu,
.site-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { padding: 9px 18px; font-size: 13px; text-transform: none; }
.sub-menu a:hover, .sub-menu a.is-active { color: var(--orange-accent); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--white); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- fancy heading (penci-fancy_heading) ---------- */
.fancy-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 73px;
  line-height: 0.9;
  color: var(--orange);
  letter-spacing: 0.01em;
}
.fancy-title--white { color: var(--white); }
.fancy-title--center { text-align: center; max-width: 900px; margin: 0 auto; }
.fancy-title--separator::after {
  content: ""; display: block; width: 60px; height: 2px; margin-top: 20px; background: var(--orange-accent);
}
.fancy-title--separator-white::after { background: var(--white); }
.fancy-subtitle {
  font-family: var(--font-sub); font-style: italic; font-weight: 700; font-size: 22px;
  color: var(--orange-accent); margin-bottom: 15px;
}
.fancy-text { color: var(--text); line-height: 1.5; }
.fancy-text p:last-child { margin-bottom: 0; }
.fancy-text--white, .fancy-text--white a { color: var(--white); }
.fancy-text--light { color: var(--text-light); }
.fancy-text--preline { white-space: pre-line; }
.fancy-text--preline strong { color: var(--white); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--bg-hero) url("/assets/img/hero-bg.jpg") center center / cover no-repeat fixed;
  padding: 180px 0 0;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.82); }
.hero__grid { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.hero__col { padding: 30px; }
.hero__col--66 { flex: 0 0 66.666%; max-width: 66.666%; }
.hero__col--33 { flex: 0 0 33.333%; max-width: 33.333%; }
.hero__image img { margin: 0 auto; max-height: 720px; width: auto; }
.hero__image--razor img { max-height: 640px; }
.hero__image--razor-large img { max-height: 620px; }
.hero__text .fancy-title { font-size: 73px; }
.hero--reverse .hero__text { padding-right: 0; }

/* ---------- generic sections ---------- */
.section { padding: 60px 0; }
.section--theory, .section--intro { background: transparent; }
.section--theory .fancy-title, .section--intro .fancy-title { font-size: 64px; }
.section--orange { background: var(--orange); }
.section--graph { padding: 0; }
.section--graph img { margin: 0 auto; }
.section--team { padding: 70px 0; }
.section--team .fancy-title { font-size: 60px; }
.section--touch { padding: 0; }
.section--posts { padding: 50px 0 70px; }

/* ---------- gallery (2-column grid, orange hover overlay) ---------- */
.section--gallery { background: var(--bg-gallery); padding: 10px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery__item { margin: 0; position: relative; overflow: hidden; }
.gallery__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: var(--orange-accent); opacity: 0; transition: opacity .3s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:hover::after { opacity: .35; }

/* ---------- button bars ---------- */
.button-bar { padding: 20px 15px; text-align: center; }
.button-bar--dark { background: var(--bg-dark); }
.button-bar--orange { background: var(--orange-block); }
.btn {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 53px;
  line-height: 1;
  color: var(--white);
  background: var(--orange-btn);
  padding: 16px 44px 12px;
  letter-spacing: 0.02em;
  transition: background .2s;
}
.btn:hover, .btn:focus { background: var(--orange-hover); color: var(--white); }
.button-bar--orange .btn { background: var(--orange-hover); }
.button-bar--orange .btn:hover { background: #8f3f05; }

/* ---------- feature rows (image | text, alternating) ---------- */
.feature { display: flex; flex-wrap: wrap; }
.feature--dark { background: var(--bg-dark); }
.feature__text, .feature__image { flex: 0 0 50%; max-width: 50%; }
.feature__text { display: flex; align-items: center; justify-content: center; }
.feature__inner { max-width: 540px; padding: 60px 30px; }
.feature__inner--600 { max-width: 600px; }
.feature__inner .fancy-title { margin-bottom: 20px; font-size: 64px; }
.feature__image img { width: 100%; height: 100%; object-fit: cover; }
.feature--info .feature__text--orange { background: var(--orange-block); }
.feature--info .feature__image--padded { padding: 15px; display: flex; align-items: center; justify-content: center; }
.feature--info .feature__image--padded img { width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.feature__text--orange .fancy-title { font-size: 73px; }

/* ---------- split contact row (form | photo) ---------- */
.split { display: flex; flex-wrap: wrap; }
.split__col { flex: 0 0 50%; max-width: 50%; }
.split__col--dark { background: var(--bg-darker); }
.split__col--image img { width: 100%; height: 100%; object-fit: cover; }
.split__inner { padding: 60px 50px; max-width: 640px; margin-left: auto; }
.split__inner .fancy-title { margin-bottom: 25px; }
.stripe { background: var(--orange-block); height: 24px; }

/* ---------- bands (page title strips) ---------- */
.band { padding: 60px 0; }
.band--dark { background: var(--bg-band); }
.band--orange { background: var(--orange); }

/* ---------- contact page "get in touch" ---------- */
.touch__image img { margin: 0 auto; max-height: 640px; width: auto; }
.touch__box { background: var(--orange-block); }
.touch__box .fancy-title { margin-bottom: 20px; }
.touch__box .fancy-text { white-space: pre-line; }

/* ---------- forms (Contact Form 7 look) ---------- */
.rb-form { font-family: var(--font-ui); }
.rb-form__row { display: flex; gap: 10px; }
.rb-form__row input { width: 50%; }
.rb-form input, .rb-form textarea {
  width: 100%;
  margin: 0 0 10px;
  padding: 12px 14px;
  background: #2b2b2b;
  border: 1px solid #3a3a3a;
  color: var(--white);
  font: 14px/1.4 var(--font-ui);
  border-radius: 0;
}
.rb-form input::placeholder, .rb-form textarea::placeholder { color: #8a8a8a; }
.rb-form input:focus, .rb-form textarea:focus { outline: none; border-color: var(--orange-accent); }
.rb-form textarea { resize: vertical; min-height: 160px; }
.rb-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 4px 0 14px; min-height: 65px; }
.rb-form__submit {
  display: inline-block;
  background: var(--orange-btn);
  color: var(--white);
  border: 0;
  padding: 12px 34px;
  font: 600 13px/1 var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .2s;
}
.rb-form__submit:hover { background: var(--orange-hover); }
.rb-form__submit[disabled] { opacity: .6; cursor: wait; }
.rb-form__status { margin: 14px 0 0; font-size: 14px; min-height: 1.4em; }
.rb-form__status.is-ok { color: #8fd48f; }
.rb-form__status.is-error { color: #ff9b7a; }
.rb-form input.is-invalid, .rb-form textarea.is-invalid { border-color: #ff6a3d; }

/* ---------- posts grid + single ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.post-card { background: var(--bg-darker); }
.post-card__thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__body { padding: 24px 26px 28px; }
.post-card__cat {
  display: inline-block; font: 700 11px/1 var(--font-ui); letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-accent); margin-bottom: 12px;
}
.post-card__title { font: 600 22px/1.3 var(--font-ui); margin-bottom: 8px; }
.post-card__title a { color: var(--white); }
.post-card__title a:hover { color: var(--orange-accent); }
.post-card__meta { font: 12px/1 var(--font-ui); color: #9a9a9a; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.post-card__excerpt { color: var(--text); margin-bottom: 16px; }
.post-card__more { font: 700 12px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-accent); }
.post-card__more:hover { color: var(--white); }

.single__header { background: var(--bg-band); padding: 60px 0 40px; }
.single__title { font: 600 27px/1.35 var(--font-ui); color: var(--white); max-width: 900px; }
.single__meta { font: 12px/1 var(--font-ui); color: #9a9a9a; text-transform: uppercase; letter-spacing: .05em; margin: 14px 0 0; }
.single__content { padding: 40px 15px 70px; color: var(--text-light); font-size: 17px; line-height: 1.7; }
.single__content h3 { font: 600 20px/1.4 var(--font-ui); color: var(--white); margin: 1.6em 0 .6em; }
.single__content p { margin-bottom: 1.2em; }
.single__figure { margin: 30px 0; }
.single__back { margin-top: 40px; font-family: var(--font-ui); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-footer); color: var(--text-light); }
.site-footer__inner {
  max-width: 1200px; margin: 0 auto; padding: 60px 15px 50px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px;
}
.site-footer__contact { flex: 1 1 520px; }
.fancy-title--footer { color: var(--orange-btn); font-size: 60px; margin-bottom: 20px; }
.footer-cards { display: flex; flex-wrap: wrap; gap: 40px 60px; }
.footer-card__text { white-space: pre-line; margin: 0 0 14px; line-height: 1.7; }
.footer-card__text a { color: var(--text-light); }
.footer-card__text a:hover { color: var(--orange-accent); }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: #2c2c2c; color: var(--white);
  transition: background .2s;
}
.social a:hover { background: var(--orange-accent); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer__logo { flex: 0 1 380px; }
.site-footer__logo img { width: 100%; max-width: 380px; margin-left: auto; }
.site-footer__copyright { background: var(--bg-copyright); text-align: center; padding: 16px 15px; }
.site-footer__copyright p { margin: 0; font: 10px/1.6 var(--font-ui); color: #8a8a8a; letter-spacing: .04em; }
.site-footer__copyright a { color: var(--orange-accent); }

/* ---------- go to top ---------- */
.go-top {
  position: fixed; right: 20px; bottom: 20px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange-accent); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 40;
}
.go-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.go-top svg { width: 22px; height: 22px; fill: currentColor; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .fancy-title, .hero__text .fancy-title, .feature__text--orange .fancy-title { font-size: 60px; }
  .section--theory .fancy-title, .section--intro .fancy-title, .feature__inner .fancy-title { font-size: 54px; }
  .btn { font-size: 42px; padding: 14px 34px 10px; }
  .site-logo { width: 38%; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .site-logo { width: auto; }
  .site-logo__desktop { display: none; }
  .site-logo__mobile { display: block; height: 46px; width: auto; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-dropdown);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav.is-open { max-height: 480px; border-bottom: 3px solid var(--orange-accent); }
  .site-nav .menu { flex-direction: column; align-items: stretch; padding: 8px 0; }
  .site-nav .menu a { padding: 13px 22px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-nav .menu > li.has-sub > a::after { display: none; }
  .sub-toggle {
    display: block; position: absolute; right: 8px; top: 4px; width: 40px; height: 36px;
    background: none; border: 0; cursor: pointer;
  }
  .sub-toggle::after {
    content: ""; position: absolute; left: 50%; top: 50%; margin: -3px 0 0 -5px;
    border: 5px solid transparent; border-top-color: #fff; border-bottom: 0; transition: transform .2s;
  }
  .has-sub.is-open > .sub-toggle::after { transform: rotate(180deg); }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; border: 0;
    background: #333; display: none; padding: 0;
  }
  .has-sub.is-open > .sub-menu { display: block; }
  .sub-menu a { padding-left: 40px; }

  .hero { padding-top: 60px; background-attachment: scroll; }
  .hero__col--66, .hero__col--33 { flex: 0 0 100%; max-width: 100%; }
  .hero__text { text-align: center; }
  .hero--reverse .hero__grid { flex-direction: column-reverse; }
  .hero__image img { max-height: 480px; }
  .grid-2__col { flex: 0 0 100%; max-width: 100%; }
  .gap-extended .grid-2__col, .gap-wider .grid-2__col { padding: 15px; }
  .feature__text, .feature__image, .split__col { flex: 0 0 100%; max-width: 100%; }
  .feature--reverse .feature__image { order: 2; }
  .feature__inner { padding: 40px 30px; max-width: none; }
  .split__inner { padding: 40px 30px; max-width: none; }
  .touch__box { padding: 30px; }
  .post-grid { grid-template-columns: 1fr; }
  .site-footer__logo { flex-basis: 100%; }
  .site-footer__logo img { margin: 0 auto; }
}

@media (max-width: 600px) {
  .fancy-title, .hero__text .fancy-title, .feature__text--orange .fancy-title,
  .section--theory .fancy-title, .section--intro .fancy-title, .feature__inner .fancy-title,
  .section--team .fancy-title, .fancy-title--footer { font-size: 44px; }
  .btn { font-size: 30px; padding: 12px 24px 8px; }
  .gallery { grid-template-columns: 1fr; }
  .rb-form__row { flex-direction: column; gap: 0; }
  .rb-form__row input { width: 100%; }
  .hero__col { padding: 20px 15px; }
  .section { padding: 40px 0; }
  .band { padding: 40px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
