*,
*::before,
*::after{
  box-sizing:border-box;
}

:root{
  --text:#2f2f2f;
  --panel:#ffffff;
  --line:rgba(0,0,0,.08);
}

html,
body{
  margin:0;
  padding:0;
}

body{
  font-family:'Montserrat', 'Yu Gothic', 'Hiragino Sans', sans-serif;
  background:#f5f1e8;
  color:#2f2f2f;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

main{
  display:block;
}

.container{
  width:min(1180px, calc(100% - 56px));
  margin:0 auto;
}

/* =========================
   HEADER
========================= */
.site-header{
  position:relative;
  background:#ffffff;
  border-bottom:1px solid rgba(0,0,0,.06);
  z-index:100;
}

.header-shell{
  width:min(1280px, calc(100% - 56px));
  min-height:80px;
  margin:0 auto;
  display:grid;
  grid-template-columns:190px 1fr 100px;
  align-items:center;
  column-gap:24px;
  position:relative;
}

.site-logo{
  display:flex;
  align-items:center;
}

.site-logo img{
  width:130px;
  height:auto;
  display:block;
}

.site-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:48px;
}

.site-nav a{
  font-size:15px;
  font-weight:500;
  letter-spacing:.01em;
  color:#383838;
  transition:opacity .2s ease;
}

.site-nav a:hover{
  opacity:.65;
}

.site-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
}

.tool-btn{
  width:26px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#313131;
}

.tool-btn svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.tool-btn:hover{
  opacity:.65;
}

.menu-toggle{
  display:none;
  width:42px;
  height:42px;
  padding:0;
  border:none;
  background:transparent;
  cursor:pointer;
  position:relative;
  flex:0 0 auto;
}

.menu-toggle span{
  position:absolute;
  left:50%;
  width:22px;
  height:2px;
  background:#2f2f2f;
  transform:translateX(-50%);
  transition:top .25s ease, transform .25s ease, opacity .25s ease;
}

.menu-toggle span:nth-child(1){
  top:14px;
}

.menu-toggle span:nth-child(2){
  top:22px;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1){
  top:18px;
  transform:translateX(-50%) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2){
  top:18px;
  transform:translateX(-50%) rotate(-45deg);
}

/* =========================
   COMMON
========================= */
.section{
  padding:80px 0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  background:#67bfdc;
  color:#fff;
  font-weight:700;
  letter-spacing:.06em;
  transition:.2s ease;
}

.btn:hover{
  opacity:.88;
  transform:translateY(-2px);
}

.site-footer{
  border-top:1px solid rgba(0,0,0,.06);
  background:#efe7da;
  padding:28px 0 40px;
  margin-top:40px;
}

.footer-inner{
  width:min(1180px, calc(100% - 56px));
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  gap:24px;
}

.footer-copy{
  margin:0;
  color:rgba(58,50,44,.62);
}

/* =========================
   SEARCH
========================= */
.search-btn{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:none;
  padding:0;
  cursor:pointer;
}

.search-btn svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.header-search{
  max-height:0;
  overflow:hidden;
  background:#ffffff;
  border-top:1px solid rgba(0,0,0,.06);
  transition:max-height .35s ease;
}

.header-search.is-open{
  max-height:140px;
}

.header-search__form{
  display:flex;
  align-items:center;
  gap:12px;
  padding:18px 0;
}

.header-search__box{
  position:relative;
  flex:1;
}

.header-search__input{
  width:100%;
  height:52px;
  padding:0 16px;
  background:#fff;
  color:#2f2f2f;
  border:1px solid rgba(0,0,0,.10);
  font:inherit;
}

.header-search__input::placeholder{
  color:rgba(58,50,44,.42);
}

.header-search__submit{
  height:52px;
  padding:0 20px;
  border:none;
  background:#2f2f2f;
  color:#fff;
  font:inherit;
  font-weight:600;
  cursor:pointer;
}

.header-search__suggest{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:0;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 14px 30px rgba(0,0,0,.08);
  display:none;
  z-index:30;
}

.header-search__suggest.is-open{
  display:block;
}

.header-search__suggest-item{
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px 14px;
  color:#111;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.header-search__suggest-item:last-child{
  border-bottom:none;
}

.header-search__suggest-item:hover{
  background:#f7f7f7;
}

.header-search__suggest-type{
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(0,0,0,.45);
  min-width:72px;
}

.header-search__suggest-label{
  font-size:14px;
}

/* =========================
   TABLET
========================= */
@media (max-width:900px){
  .header-shell{
    width:min(100%, calc(100% - 28px));
    min-height:78px;
    grid-template-columns:1fr auto;
    align-items:center;
    column-gap:12px;
    row-gap:0;
    padding:12px 0;
  }

  .site-logo img{
    width:132px;
  }

  .container,
  .footer-inner{
    width:min(100%, calc(100% - 28px));
  }

  .header-search__form{
    flex-direction:column;
    align-items:stretch;
  }

  .header-search__submit{
    width:100%;
  }
}

/* =========================
   MOBILE MENU
========================= */
@media (max-width:768px){
  .menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .site-nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    margin:0;
    padding:0;
    background:#ffffff;
    border-top:1px solid rgba(0,0,0,.08);
    box-shadow:0 14px 30px rgba(0,0,0,.08);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-8px);
    transition:
      opacity .25s ease,
      visibility .25s ease,
      transform .25s ease;
    z-index:50;
  }

  .site-header.is-menu-open .site-nav{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
  }

  .site-nav a{
    display:block;
    width:100%;
    padding:14px 20px;
    border-bottom:1px solid rgba(0,0,0,.08);
    font-size:14px;
  }

  .site-nav a:last-child{
    border-bottom:none;
  }
}