: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;
}


/* --------------------------------------------------
   PUBLIC LANDING PAGE THEME

   Scoped to index.html so the shared Contact page
   keeps its existing teal colour scheme.
-------------------------------------------------- */

body.landing-page{
  background:#fff0bd;
  color:#34445a;
}

.landing-page .topbar{
  background:#fff8e5;
  color:#34445a;
  border-bottom:4px solid #efbb3f;
  box-shadow:0 3px 12px rgba(125,82,12,.12);
}

.landing-page .nav-link{
  background:#407db9;
  color:#ffffff;
  border:1px solid #407db9;
}

.landing-page .nav-link:hover{
  background:#2e6398;
  color:#ffffff;
}

.landing-page .hero,
.landing-page .info-card{
  background:#fff9e8;
  border-color:#efbb3f;
}

.landing-page .eyebrow{
  color:#cf6145;
}

.landing-page h1,
.landing-page .info-card h2{
  color:#2f659d;
}

.landing-page .lead,
.landing-page .info-card p{
  color:#46566b;
}

.landing-page .actions .action-primary{
  background:#e86649;
  color:#ffffff;
  border-color:#e86649;
}

.landing-page .actions .action-primary:hover{
  background:#d44f33;
  border-color:#d44f33;
}

.landing-page .actions .action-secondary{
  background:#407db9;
  color:#ffffff;
  border-color:#407db9;
}

.landing-page .actions .action-secondary:hover{
  background:#2e6398;
  border-color:#2e6398;
}

.landing-page .actions .action-option{
  background:#e8f4fb;
  color:#2f659d;
  border-color:#8fc8e6;
}

.landing-page .actions .action-option:hover{
  background:#cfeaf8;
  border-color:#5eacd3;
}

.landing-page footer{
  color:#2f659d;
}


/* --------------------------------------------------
   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(6,minmax(0,1fr));
  gap:12px;

  width:100%;

  /* Push row to bottom of cream panel */
  margin-top:auto;
  padding-top:30px;
}

.actions .action-primary,
.actions .action-secondary{
  grid-column:span 3;
  min-height:50px;
  font-size:1rem;
}

.actions .action-option{
  grid-column:span 2;
  min-height:44px;
}

.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;
  }

  .actions .action-primary,
  .actions .action-secondary,
  .actions .action-option{
    grid-column:span 1;
  }

  .actions .action-option:last-child{
    grid-column:1 / -1;
  }

  .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;
  }

  .actions .action-option:last-child{
    grid-column:auto;
  }

  .nav-links{
    width:100%;
  }

  .nav-link{
    flex:1;
  }

  .button{
    white-space:normal;
  }
}
