:root {
  --teal:#008b8b;
  --teal-dark:#006f6f;
  --teal-deep:#174747;
  --cream:#fff8c9;
  --cream-border:#f2e9a7;
  --white:#ffffff;
}

*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--teal);
  color:var(--teal-deep);
}

.site-shell{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.topbar{
  padding:18px 24px;
  background:var(--teal-dark);
  color:white;
}

.topbar-inner{
  width:min(1380px,100%);
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:white;
  text-decoration:none;
  font-weight:700;
  font-size:1.2rem;
}

.brand-mark{
  width:140px;
  height:auto;
  object-fit:contain;
  background:transparent;
  border-radius:0;
  padding:0;
}

.nav-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.nav-link,
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:8px;
  font-weight:700;
  padding:10px 15px;
}

.nav-link{
  background:var(--cream);
  color:var(--teal-deep);
}

main{
  flex:1;
}


/* --------------------------------------------------
   HOME PAGE HERO
-------------------------------------------------- */

.hero{
  width:min(1380px,calc(100% - 36px));
  margin:38px auto;
  background:var(--cream);
  border:3px solid var(--cream-border);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.18);

  display:grid;

  /* Slightly more room for text and buttons */
  grid-template-columns:.9fr 1.1fr;
}

.hero-image img{
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
  display:block;
}

.hero-content{
  padding:52px 44px;

  display:flex;
  flex-direction:column;

  /* Allows buttons to sit along bottom */
  justify-content:flex-start;
}

.eyebrow{
  margin:0 0 10px;
  color:var(--teal-dark);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.85rem;
}

h1{
  margin:0 0 18px;
  font-size:clamp(2.2rem,5vw,4rem);
  line-height:1.02;
}

.lead{
  margin:0;
  font-size:1.16rem;
  line-height:1.6;
  color:#315b5b;
}


/* --------------------------------------------------
   HOME PAGE BUTTONS
-------------------------------------------------- */

.actions{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;

  width:100%;

  /* Push row to bottom of cream panel */
  margin-top:auto;
  padding-top:30px;
}

.button{
  min-width:0;
  width:100%;

  border:2px solid var(--teal);

  text-align:center;
  white-space:nowrap;

  padding:11px 8px;
  font-size:.9rem;
}

.button-primary,
.button-secondary{
  background:var(--teal);
  color:white;
}

.button:hover{
  background:var(--teal-dark);
  border-color:var(--teal-dark);
}


/* --------------------------------------------------
   INFORMATION CARDS
-------------------------------------------------- */

.info-strip{
  width:min(1380px,calc(100% - 36px));
  margin:0 auto 42px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.info-card{
  background:var(--cream);
  border:2px solid var(--cream-border);
  border-radius:12px;
  padding:20px;
  box-shadow:0 5px 14px rgba(0,0,0,.12);
}

.info-card h2{
  margin:0 0 8px;
  font-size:1.05rem;
}

.info-card p{
  margin:0;
  line-height:1.5;
  color:#315b5b;
}


/* --------------------------------------------------
   CONTACT PAGE
-------------------------------------------------- */

.page-card{
  width:min(900px,calc(100% - 36px));
  margin:42px auto;
  background:var(--cream);
  border:3px solid var(--cream-border);
  border-radius:16px;
  padding:36px;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}

.contact-intro{
  font-size:1.08rem;
  line-height:1.6;
  color:#315b5b;
  margin-bottom:28px;
}

.contact-layout{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:28px;
}

.contact-details,
.contact-form{
  background:#fffdf0;
  border:1px solid #e7ddb0;
  border-radius:10px;
  padding:22px;
}

.form-row{
  margin-bottom:16px;
}

label{
  display:block;
  font-weight:700;
  margin-bottom:6px;
}

input,
textarea{
  width:100%;
  border:1px solid #9ab2b2;
  border-radius:7px;
  padding:11px 12px;
  font:inherit;
  background:white;
}

textarea{
  min-height:150px;
  resize:vertical;
}

.demo-note{
  font-size:.9rem;
  color:#5f6666;
}

footer{
  padding:18px;
  text-align:center;
  color:#e8ffff;
  font-size:.9rem;
}


/* --------------------------------------------------
   TABLET / MOBILE
-------------------------------------------------- */

@media(max-width:1000px){

  .hero{
    grid-template-columns:1fr;
  }

  .hero-image img{
    min-height:330px;
  }

  .hero-content{
    padding:34px 26px;
  }

  .actions{
    grid-template-columns:repeat(2,1fr);
    margin-top:28px;
  }

  .info-strip,
  .contact-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){

  .topbar-inner{
    align-items:flex-start;
    flex-direction:column;
  }

  .hero,
  .page-card,
  .info-strip{
    width:calc(100% - 20px);
  }

  .actions{
    grid-template-columns:1fr;
  }

  .nav-links{
    width:100%;
  }

  .nav-link{
    flex:1;
  }

  .button{
    white-space:normal;
  }
}