/* Displayhuset — base + responsive overrides.
   Page content uses inline styles; the media queries below override them. */

* { box-sizing: border-box; }
body { margin: 0; background: #F4F1EA; color: #16181C; font-family: Manrope, sans-serif; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.page { width: 1440px; margin: 0 auto; background: #F4F1EA; }

nav { display: flex; align-items: center; justify-content: space-between; gap: 24px;
      padding: 24px 60px; background: #0E5A46; color: #F4F1EA; }
nav .brand { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
nav .navlinks { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; }
nav .navcta { display: flex; align-items: center; gap: 20px; }
nav .navphone { font-size: 14.5px; opacity: 0.8; }
nav .navbtn { font-size: 14.5px; font-weight: 700; background: #F4F1EA; color: #0E5A46;
              padding: 11px 20px; border-radius: 100px; white-space: nowrap; }

footer { display: flex; justify-content: space-between; gap: 20px;
         padding: 28px 60px; background: #16181C; color: rgba(244,241,234,0.55); font-size: 13.5px; }

/* ---- Tablet ---- */
@media (max-width: 1439px) {
  .page { width: 100%; }
}

@media (max-width: 1080px) {
  .page [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }
  .page [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr 1fr !important; }
  .page [style*="padding:96px 60px"],
  .page [style*="padding:88px 60px"],
  .page [style*="padding:80px 60px"] { padding: 56px 32px !important; }
  .page [style*="padding:0 60px 96px"],
  .page [style*="padding:0 60px 88px"],
  .page [style*="padding:0 60px 80px"] { padding: 0 32px 56px !important; }
  nav, footer { padding-left: 32px; padding-right: 32px; }
}

/* ---- Mobile ---- */
@media (max-width: 780px) {
  nav { flex-wrap: wrap; row-gap: 16px; padding: 18px 20px; }
  nav .navlinks { order: 3; width: 100%; flex-wrap: wrap; gap: 14px 20px; }
  nav .navphone { display: none; }
  footer { flex-direction: column; gap: 8px; padding: 24px 20px; }

  .page [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .page [style*="min-height:640px"] { min-height: 0 !important; }
  .page [style*="min-height:560px"] { min-height: 300px !important; }
  .page [style*="min-height:520px"] { min-height: 260px !important; }
  .page [style*="height:640px"] { height: 460px !important; }
  .page [style*="height:520px"] { height: 300px !important; }
  .page [style*="height:460px"] { height: 280px !important; }
  .page [style*="height:440px"] { height: 260px !important; }
  .page [style*="height:420px"] { height: 250px !important; }
  .page [style*="height:320px"],
  .page [style*="height:300px"],
  .page [style*="height:280px"],
  .page [style*="height:260px"] { height: 230px !important; }

  .page [style*="padding:96px 60px"],
  .page [style*="padding:88px 60px"],
  .page [style*="padding:80px 60px"] { padding: 44px 20px !important; }
  .page [style*="padding:0 60px 96px"],
  .page [style*="padding:0 60px 88px"],
  .page [style*="padding:0 60px 80px"] { padding: 0 20px 44px !important; }
  .page [style*="padding:88px 60px 72px"],
  .page [style*="padding:88px 60px 0"] { padding: 44px 20px 0 !important; }
  .page [style*="padding:64px 56px"] { padding: 36px 24px !important; }
  .page [style*="padding:72px 56px"] { padding: 40px 24px !important; }
  .page [style*="padding:52px 52px 56px"],
  .page [style*="padding:48px 46px"],
  .page [style*="padding:46px 46px"],
  .page [style*="padding:44px 46px"],
  .page [style*="padding:40px 38px"],
  .page [style*="padding:38px 36px"],
  .page [style*="padding:36px 38px 40px"],
  .page [style*="padding:32px 36px 36px"] { padding: 28px 22px !important; }
  .page [style*="padding:56px"] { padding: 28px 22px !important; }

  .page h1 { font-size: 40px !important; }
  .page h2 { font-size: 30px !important; }
  .page h3 { font-size: 22px !important; }
  .page p, .page [style*="font-size:19px"], .page [style*="font-size:20px"] { font-size: 17px !important; }
  .page [style*="font-size:44px"], .page [style*="font-size:46px"] { font-size: 30px !important; }
  .page [style*="font-size:32px"] { font-size: 26px !important; }

  /* CTA banners: stack instead of pushing the button off-screen */
  .page [style*="justify-content:space-between"][style*="gap:40px"] {
    flex-wrap: wrap !important; gap: 24px !important;
  }
  .page [style*="border-radius:100px"] { white-space: normal !important; }

  /* hero overlays become readable blocks */
  .page [style*="position:absolute"][style*="bottom:72px"] {
    position: static !important; padding: 28px 20px 36px; width: auto !important; background: #16181C;
  }
  .page [style*="linear-gradient(90deg"] { display: none !important; }
}
