/* ---------- ROOT VARIABLES ---------- */
:root {
  --bg: #f0e6d8;
  --ink: #3b2f2a;
  --muted: #6e5b50;
  --accent: #8b6b47;
  --accent-2: #c9a06a;
  --card: #fffaf3;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--ink); text-decoration: none; }
a:hover { opacity: .85; }
img { max-width: 100%; display: block; }

/* ---------- CONTAINERS ---------- */
.container { width: min(1100px, 92%); margin-inline: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: .7rem 1rem;
  border: 1px solid white;
  border-radius: 999px;
  background: transparent;
  transition: .2s;
  color: white;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn.primary:hover { filter: brightness(.95); }

/* ---------- NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(240, 230, 216, .8);
  backdrop-filter: blur(6px);
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
}
.brand {
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 1.8em;
}
.brand-big {
  font-size: 1.5em;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.nav nav {
  display: flex;
  gap: .5rem;
}
.pill {
  padding: .5rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 20vh, 900px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: url('assets/hero-otter.png') center / cover no-repeat;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.hero-inner {
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin: 0;
  font-weight: 400;
  color: white;
}
.hero-text h2 {
  font-size: clamp(2.2rem, 6vw, 3rem);
  margin: .2rem 0 1rem;
  font-weight: 800;
  color: var(--accent);
}
.hero-text p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color:white;
}
.cta-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* ---------- SECTIONS ---------- */
.section { padding: 4rem 0; }
.section.alt {
  background: var(--card);
  box-shadow: var(--shadow);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.card h3 { margin-top: 0; }
.contact .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
input, textarea {
  width: 100%;
  padding: .75rem;
  border-radius: 12px;
  border: 1px solid #cdb9a8;
  background: #fff;
}
label span {
  display: block;
  margin: .25rem 0 .35rem;
  font-weight: 600;
}

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(0, 0, 0, .06);
  background: #f7efe3;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.links a { margin-left: 1rem; color: white; }

/* Desktop/default: NO panel behind hero text */
.hero-text { position: relative; background: none; box-shadow: none; }
.hero-text::before { content: none; }

.warning {
  color: red;
}

.future-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  font-style: italic;
}

@media (min-width: 1600px) {
  .hero {
    background-size: contain; /* no cropping */
    background-position: bottom center;
    background-repeat: no-repeat;
  }
}

/* Desktop hero image fix */
@media (min-width: 901px) {
  .hero {
    background: url('assets/hero-otter.png') center / cover no-repeat;
  }
}


/* ===== MOBILE FIXES (<= 900px) ===== */
@media (max-width: 900px){

  /* Header: make pills comfortable and non-buggy */
  .site-header { height: auto; }                /* allow header to grow naturally */
  .nav { gap: .5rem; padding: .6rem 0; }

  .brand { font-size: 1.35rem; }               /* smaller brand on mobile */

  /* Make pills smaller and keep them on one line with horizontal scroll */
  .nav nav{
    display: flex;
    gap: .5rem;
    overflow-x: auto;                          /* scroll horizontally instead of wrapping */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 70vw;                           /* don’t collide with brand */
  }
  .nav nav::-webkit-scrollbar{ display: none; }

  .pill{
    flex: 0 0 auto;                            /* behave like chips */
    padding: .4rem .8rem;
    font-size: .95rem;
    border-radius: 999px;
  }

  /* Hero: remove big empty gap and keep text readable */
  .hero{
    min-height: 72vh;                          /* not too tall */
    border-bottom: none;
  }

  /* Use full width for the hero container so nothing is squeezed */
  .hero .container{
    width: 100%;
    max-width: none;
    padding-inline: 5vw;
    margin: 0;
  }

  /* Readable text “card” centered over the image */
  .hero-inner{ text-align: center; padding: 5vh 0 4vh; }
  .hero-text{
    position: relative;
    display: inline-block;
    max-width: clamp(320px, 90vw, 560px);
    padding: 1rem 1.2rem;
    border-radius: 16px;
  }
  /*.hero-text::before{*/
  /*  content:"";*/
  /*  position:absolute; inset:-12px -14px -14px;*/
  /*  background: rgba(255,248,240,.88);*/
  /*  border-radius: 20px;*/
  /*  box-shadow: 0 10px 30px rgba(0,0,0,.12);*/
  /*  backdrop-filter: saturate(110%) blur(2px);*/
  /*  z-index:-1;*/
  /*}*/
  .hero-text h1,
  .hero-text .brand-big,
  .hero-text p{ color:white; }

  .cta-row{ justify-content:center; gap:.6rem; margin-top:.6rem; }
  .btn{ padding:.65rem .95rem; color:white; border:1px solid white;}
}

/* Ultra‑small screens */
@media (max-width: 360px){
  .pill{ padding:.35rem .7rem; font-size:.9rem; }
  .btn{ padding:.6rem .85rem; }
}


