/* Desert Eagle Operating — static rebuild matching the archived Divi one-pager */
:root {
  --burgundy: #7d241c;
  --burgundy-dark: #79231d;
  --orange: #e37323;
  --orange-2: #e37036;
  --orange-3: #e07425;
  --ink: #0a0a0a;
  --body: #3f3f3f;
  --muted: #bababa;
  --white: #ffffff;
  --blue-label: #0c71c3;
  --card: #fcfcfc;
  --shadow: 0 2px 18px rgba(0,0,0,.1);
  --shadow-strong: 0 2px 18px rgba(0,0,0,.21);
  --header-h: 66px;
  --topbar-h: 36px;
  --offset: calc(var(--topbar-h) + var(--header-h));
  --font-body: "Poppins", Helvetica, Arial, sans-serif;
  --font-nav: "Nunito", Helvetica, Arial, sans-serif;
  --font-head: Arial, Helvetica, sans-serif;
  --font-card: "Nunito", Helvetica, Arial, sans-serif;
  --font-market: "Fira Sans", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { opacity: .85; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  background: var(--burgundy);
  color: var(--white);
  padding: .6rem 1rem;
  z-index: 2000;
}
.skip-link:focus { top: 1rem; }

.shell {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

/* ----- Top bar ----- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem 1.1rem;
  padding: 11px 0;
  width: 100%;
  max-width: none;
  padding-left: 30px;
  padding-right: 30px;
}
.topbar a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.topbar a:hover { opacity: .7; }
.topbar .icon { width: 14px; height: 14px; flex: 0 0 auto; }

/* ----- Header / nav ----- */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 1090;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  font-family: var(--font-nav);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: 100%;
  max-width: none;
  padding: 0 30px;
  gap: 1.5rem;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 36px; width: auto; max-width: 260px; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: .15rem 1.35rem;
}
.site-nav a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  padding: .25rem 0;
}
.site-nav a:hover { color: var(--burgundy); opacity: 1; }
.site-nav a[aria-current="page"] { color: var(--burgundy); }
.site-nav .nav-cta a {
  display: inline-block;
  background: var(--burgundy);
  color: var(--white) !important;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 15px 25px;
  border-radius: 5px;
}
.site-nav .nav-cta a:hover { opacity: .9; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  position: absolute;
  left: 11px;
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { content: ""; top: -7px; }
.nav-toggle-bars::after { content: ""; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .02em;
  padding: 9px 30px;
  border-radius: 0;
  border: 1px solid transparent;
  transition: background-color .3s ease, color .3s ease, opacity .3s ease;
  text-align: center;
}
.btn:hover { opacity: 1; }
.btn-burgundy {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn-burgundy:hover { background: var(--burgundy-dark); color: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}
.btn-light:hover { background: var(--white); color: var(--orange); }

/* ----- Hero ----- */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: var(--offset);
  padding: 110px 0 130px;
  min-height: 560px;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(0,0,0,.3);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.26);
}
.hero-content { position: relative; padding: 20px 0 20px; }
.eyebrow {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 .4rem;
}
.hero h1 {
  font-size: 60px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 .6rem;
}
.hero-lead {
  max-width: 820px;
  margin: 0 auto 1.75rem;
  color: var(--muted);
  line-height: 1.5;
  text-shadow: 0 .1em .1em rgba(0,0,0,.4);
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hero .btn { padding: 9px 30px; }

/* ----- Feature cards ----- */
.features { padding: 90px 0 80px; background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}
.feature-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 36px 28px 40px;
  text-align: center;
  transition: background-color .3s ease, color .3s ease;
}
.feature-card h2 {
  font-family: var(--font-card);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 .6rem;
  line-height: 1.3;
  transition: color .3s ease;
}
.feature-card p {
  font-family: var(--font-card);
  color: rgba(0,0,0,.91);
  line-height: 1.4;
  margin: 0;
  transition: color .3s ease;
}
.feature-icon {
  width: 70px; height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 0;
  box-shadow: 0 2px 14px rgba(0,0,0,.12);
  background: #f7f7f7;
  color: var(--orange-2);
  display: grid;
  place-items: center;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-card:hover {
  background: var(--burgundy-dark);
}
.feature-card:hover h2,
.feature-card:hover p { color: var(--white); }

/* ----- About ----- */
.about { padding: 40px 0 60px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 2px 18px rgba(0,0,0,.3);
  padding: 40px 15px;
}
.about-photo img {
  border: 3px solid var(--orange-3);
  width: 100%;
  object-fit: cover;
}
.section-kicker {
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 20px;
  color: var(--blue-label);
  margin: 0 0 .35rem;
}
.about-copy h2,
.why-copy h2 {
  font-size: 35px;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 .6rem;
}
.why-copy h2 { font-size: 28px; color: var(--ink); }
.rule {
  display: block;
  width: 50%;
  max-width: 180px;
  height: 0;
  border: 0;
  border-top: 2px solid var(--burgundy);
  margin: 0 0 1.1rem;
}
.rule-center { margin-left: auto; margin-right: auto; width: 25%; }
.about-copy p,
.why-copy p { font-size: 15px; line-height: 1.6; }
.about-copy .btn,
.why-copy .btn { margin-top: 14px; padding: 8px 30px; text-transform: uppercase; }

/* ----- Markets ----- */
.markets { padding: 20px 0 50px; }
.section-head { margin-bottom: 2rem; }
.section-head-center { text-align: center; }
.section-head h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 .4rem;
}
.exploration .section-head h2 { font-size: 36px; }
.section-head p {
  font-size: 20px;
  color: var(--ink);
  margin: .6rem 0 0;
}
.exploration .section-head p { font-size: 18px; }
.markets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.market-card {
  background: var(--card);
  border-radius: 6px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  padding: 0 22px 30px;
}
.market-photo {
  margin: 22px 12px 4px;
  text-align: center;
  background: #fff;
  padding: 10px;
  box-shadow: 0 2px 18px #bcbcbc;
}
.market-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  box-shadow: none;
  background: transparent;
}
.market-card h3 {
  font-family: var(--font-market);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  margin: 18px 0 .6rem;
  padding-top: 8px;
}
.market-card p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  color: var(--body);
}

/* ----- Why choose ----- */
.why { padding: 10px 0 50px; }
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.why-photo img {
  width: 100%;
  object-fit: cover;
}

/* ----- Exploration / gallery ----- */
.exploration { padding: 20px 0 60px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-item {
  display: block;
  overflow: hidden;
  position: relative;
  background: #111;
}
.gallery-item:hover { opacity: 1; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.span-tall { grid-row: auto; }
.span-wide { grid-column: auto; }

/* ----- Contact ----- */
.contact {
  position: relative;
  isolation: isolate;
  padding: 80px 0;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.contact-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.contact-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.contact-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
}
.contact h2 {
  color: var(--white);
  font-size: 43px;
  font-weight: 700;
  margin: 0 0 1rem;
}
.contact-content p {
  max-width: 820px;
  margin: 0 auto 1.75rem;
  color: rgba(255,255,255,.84);
  line-height: 1.6;
  font-size: 15px;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 260px;
  background: rgba(125,36,28,.55);
  border: 1px solid rgba(227,115,35,.55);
  color: var(--white);
  padding: 18px 28px;
}
.contact-detail:hover { opacity: 1; background: rgba(125,36,28,.8); }
.contact-label {
  font-family: var(--font-nav);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
}
.contact-value { font-size: 18px; font-weight: 600; color: var(--white); }

/* ----- Footer ----- */
.site-footer {
  background: var(--burgundy);
  color: var(--white);
  padding: 20px 0 16px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 4px 0 10px 50px;
}
.footer-phone,
.footer-email {
  color: var(--white);
  font-size: 16px;
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: 15px;
}
.footer-email .icon { width: 18px; height: 18px; }
.footer-rule {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.58);
  margin: 6px 0 10px;
}
.copyright {
  text-align: center;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  margin: 0;
}

/* ----- Lightbox ----- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox-figure img {
  max-height: 86vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 2.2rem;
  line-height: 1;
  padding: .3rem .6rem;
}
.lightbox-close { top: 12px; right: 16px; font-size: 2.6rem; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--orange); }

/* ----- 404 ----- */
.page-404 { padding: 80px 0 100px; text-align: center; }
.page-404 h1 { font-size: 42px; margin-bottom: .4rem; }
.page-404 p { font-size: 16px; max-width: 520px; margin: 0 auto 1.5rem; }

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 48px; }
}
@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .hero { padding: 90px 0 80px; min-height: 480px; }
  .contact h2 { font-size: 26px; }
  .hero h1 { font-size: 36px; }
  .eyebrow { font-size: 18px; }
  .features { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .about-grid,
  .why-grid,
  .markets-grid { grid-template-columns: 1fr; }
  .about-grid { padding: 24px 10px; }
  .section-head h2 { font-size: 34px; }
  .about-copy h2 { font-size: 30px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fcfcfc;
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 0 1rem;
  }
  .site-nav li a {
    display: block;
    padding: .85rem 1.5rem;
  }
  .site-nav .nav-cta { padding: .5rem 1.5rem 0; }
  .site-nav .nav-cta a { text-align: center; width: 100%; }
}
@media (max-width: 767px) {
  .topbar-inner { padding-left: 16px; padding-right: 16px; }
  .header-inner { padding: 0 16px; }
  .hero { padding: 56px 0 64px; min-height: 360px; }
  .hero h1 { font-size: 32px; }
  .eyebrow { font-size: 14px; }
  .hero-lead { display: none; }
  .hero-actions { flex-direction: row; gap: 16px; }
  .hero .btn { min-width: 0; padding: 10px 22px; }
  .topbar-inner { justify-content: center; padding: 8px 12px; font-size: 13px; }
  .logo img { height: 28px; max-width: 200px; }
  .footer-top { padding-left: 0; align-items: center; }
  .section-head p { font-size: 16px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
    gap: 10px;
  }
  .span-wide, .span-tall { grid-column: auto; grid-row: auto; }
  .contact { padding: 56px 0; }
  .footer-top { justify-content: center; text-align: center; }
  .footer-email { margin-left: 0; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .btn { min-width: 0; }
}

#about, #service, #gallery, #contact_us { scroll-margin-top: calc(var(--offset) + 12px); }
