/* 
  Lildetnex Origami Academy
  Brand theme: 紙 (kami), 折り (ori), 和 (wa)
  CSS custom properties use Japanese origami/washi inspired words
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@700&family=Roboto:wght@400;500&display=swap');

/* Brand color palette */
:root {
  --kami: #faf3e4;     /* washi paper off-white */
  --origami: #e77a42;  /* vibrant orange fold */
  --tsuru: #7097a5;    /* classic blue origami crane */
  --shibori: #51587a;  /* deep indigo accent */
  --shadow: rgba(49,40,29,0.14); 
  --fold: #efd6bc;     /* pale fold shadow */
  --text: #32241d;     /* main dark text */
  --text-muted: #463b2b;  /* slightly lighter text */
  --danger: #b84f16;
  --radius: 22px;
}

/* Reset & base */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background-color: var(--kami);
}

*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', '游ゴシック体', YuGothic, 'ヒラギノ角ゴ ProN', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--kami);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Kiwi Maru', serif;
  color: var(--shibori);
  line-height: 1.22;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.8rem;
  letter-spacing: 0.05em;
}

h3 {
  font-size: 1.26rem;
  margin-bottom: 1.1rem;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background: var(--kami);
  box-shadow: 0 2px 10px -7px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 48;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  font-family: 'Kiwi Maru', serif;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--origami);
  font-weight: 700;
  letter-spacing: 0.05em;
  gap: 10px;
}

.logo-svg {
  width: 36px;
  height: 36px;
}

#main-nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
#main-nav a {
  color: var(--shibori);
  text-decoration: none;
  font-size: 1.03rem;
  font-weight: 500;
  transition: color 0.18s;
  padding: 3px 0;
  border-bottom: 2px solid transparent;
}
#main-nav a:hover,
#main-nav a:focus {
  color: var(--origami);
  border-bottom: 2.5px solid var(--origami);
}

/* Mobile Menu */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span,
.burger span:before,
.burger span:after {
  display: block;
  height: 3.5px;
  width: 27px;
  background: var(--shibori);
  border-radius: 2.5px;
  transition: all .25s ease;
  position: relative;
}
.burger span:before,
.burger span:after {
  content: '';
  position: absolute;
  left: 0;
}
.burger span:before {
  top: -9px;
}
.burger span:after {
  top: 9px;
}
.burger.active span {
  background: rgba(0,0,0,0);
}
.burger.active span:before {
  transform: rotate(45deg) translate(5.5px,5.5px);
  top: 0;
}
.burger.active span:after {
  transform: rotate(-45deg) translate(5.5px,-5.5px);
  top: 0;
}

@media (max-width:850px) {
  #main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--kami);
    flex-direction: column;
    gap: 2.1rem;
    min-width: 73vw;
    padding: 38px 12vw 33px 32px;
    box-shadow: 0 12px 20px -13px var(--shadow);
    border-bottom-left-radius: var(--radius);
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-22px);
    transition: all 0.24s;
    z-index: 31;
  }
  #main-nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .burger {
    display: block;
    margin-left: 18px;
  }
}

/* HERO */
.hero-section {
  min-height: 440px;
  display: flex;
  align-items: center;
  background: linear-gradient(110deg,rgba(247,236,219,0.65) 0%,rgba(234,176,116,0.21) 44%,rgba(206,228,240,0.19) 100%), url('images/hero.jpg') center/cover no-repeat;
}
.hero-section .container {
  padding-top: 58px;
  padding-bottom: 58px;
}
.hero-content {
  max-width: 520px;
  padding: 2.5rem 0;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius);
  box-shadow: 0 3px 22px -7px var(--shadow);
}
.hero-content h1 {
  margin-bottom: 0.6em;
}
.hero-content p {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 2.2em;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(100deg,var(--origami),var(--tsuru) 91%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.74em 2.15em;
  font-size: 1.13rem;
  font-family: 'Roboto',sans-serif;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 10px -6px var(--shadow);
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.18s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(110deg,var(--origami), var(--shibori) 100%);
  box-shadow: 0 7px 22px -10px var(--origami);
}

/* SERVICES */
.services-section {
  background: var(--fold);
  padding: 54px 0 38px;
}
.services-section .container {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.service-card {
  flex: 1 1 200px;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px 30px 28px;
  box-shadow: 0 1px 13px -5px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform .11s;
}
.service-card:hover {
  transform: translateY(-4px) scale(1.027);
  box-shadow: 0 8px 30px -11px var(--shadow);
}
.service-card .service-icon {
  margin-bottom: 18px;
}
.service-card h3 {
  margin-bottom: 10px;
  color: var(--origami);
}
.service-card p {
  color: var(--text-muted);
  font-size: 1.01rem;
  margin-bottom: 4px;
}
@media (max-width:900px) {
  .services-section .container {
    flex-direction: column;
    gap: 2.6rem;
    align-items: stretch;
  }
}

/* SPLIT */
.split-section {
  background: #fff;
}
.split-section .container {
  display: flex;
  gap: 54px;
  align-items: center;
  padding: 54px 0;
}
.split-image-col {
  flex: 0 0 43%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-image {
  width: 100%;
  max-width: 390px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  box-shadow: 0 2px 20px -7px var(--shadow);
  object-fit: cover;
  background: var(--fold);
}
.split-text-col {
  flex: 1 1 0;
}
.split-text-col h2 {
  color: var(--tsuru);
  margin-bottom: 1.24em;
}
.split-text-col p {
  margin-bottom: 1.25em;
  color: var(--text-muted);
}
.split-cta-btn {
  display: inline-block;
  background: var(--shibori);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.56em 1.7em;
  font-size: 1.01rem;
  font-family: 'Roboto',sans-serif;
  font-weight: 500;
  text-decoration: none;
  margin-top: 4px;
  cursor: pointer;
  transition: background 0.15s;
}
.split-cta-btn:hover,
.split-cta-btn:focus {
  background: var(--origami);
}
@media (max-width:900px) {
  .split-section .container {
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
    padding: 44px 0 36px;
  }
  .split-image-col {
    margin-bottom: 22px;
  }
}

/* BENEFITS */
.benefits-section {
  background: var(--kami);
  padding: 46px 0;
}
.benefits-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.benefit-card {
  background: #fff;
  border-radius: var(--radius);
  flex: 1 1 180px;
  min-width: 200px;
  padding: 30px 24px 22px 22px;
  box-shadow: 0 1px 14px -7px var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.benefit-num {
  font-family: 'Kiwi Maru', serif;
  color: var(--origami);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 13px;
}
.benefit-label {
  color: var(--shibori);
  font-size: 1.08rem;
  margin-bottom: 5px;
}
.benefit-desc {
  color: var(--text-muted);
  font-size: 0.99rem;
  margin-top: 0.7em;
}
@media (max-width:900px) {
  .benefits-grid {
    flex-direction: column;
    gap: 29px;
  }
}

/* INFO BLOCK */
.info-block-section {
  background: var(--fold);
  padding: 60px 0 44px;
}
.info-block-section .container {
  max-width: 780px;
}
.info-block-section h2 {
  margin-bottom: 1em;
}
.info-block-section h3 {
  color: var(--origami);
  margin-top: 1.15em;
}
.info-block-section p,
.info-block-section ul {
  color: var(--text-muted);
  font-size: 1.09rem;
  margin-bottom: 1.1em;
}
.info-block-section ul {
  margin-left: 1.8em;
}
.info-block-section li {
  margin-bottom: 0.36em;
}

/* TESTIMONIALS */
.testimonials-section {
  background: #fff;
  padding: 53px 0 41px;
}
.testimonials-grid {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.testimonial-card {
  background: var(--kami);
  border-radius: var(--radius);
  padding: 29px 24px 23px 20px;
  box-shadow: 0 1.5px 12px -8px var(--shadow);
  min-width: 225px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
}
.testimonial-text {
  color: var(--tsuru);
  font-size: 1.04rem;
  margin-bottom: 23px;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 13px;
}
.testimonial-name {
  font-weight: 500;
  color: var(--shibori);
}
.testimonial-date {
  color: var(--text-muted);
  font-size: 0.96rem;
}
@media (max-width:800px){
  .testimonials-grid {
    flex-direction: column;
    gap: 23px;
  }
}

/* BLOG PREVIEW */
.blog-preview-section {
  background: var(--fold);
  padding: 54px 0 40px;
}
.blog-cards-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 3px 19px -10px var(--shadow);
  overflow: hidden;
  min-width: 250px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.12s, transform 0.11s;
}
.blog-card:hover {
  box-shadow: 0 8px 24px -8px var(--shadow);
  transform: translateY(-3px) scale(1.019);
}
.blog-img-box {
  width: 100%;
  height: 160px;
  background: var(--kami);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-content {
  padding: 22px 23px 21px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-content h3 {
  margin-bottom: 0.6em;
  font-size: 1.1rem;
  color: var(--shibori);
}
.blog-card-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.25em;
  flex-grow: 1;
}
.read-more {
  align-self: flex-start;
  color: var(--origami);
  font-weight: 500;
  text-decoration: none;
  font-size: 1.03rem;
  transition: color 0.15s, border-bottom 0.13s;
  border-bottom: 1.5px dashed var(--origami);
}
.read-more:hover,
.read-more:focus {
  color: var(--shibori);
  border-bottom: 1.5px solid var(--shibori);
}
@media (max-width:900px) {
  .blog-cards-row {
    flex-direction: column;
    gap: 27px;
  }
}

/* FAQ */
.faq-section {
  background: #fff;
  padding: 56px 0 44px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--fold);
  cursor: pointer;
  transition: background 0.11s;
  background: #fff;
  margin-bottom: 0;
  border-radius: 0;
}
.faq-item.active {
  background: #f6eada;
}
.faq-question {
  padding: 22px 40px 22px 0;
  color: var(--shibori);
  font-size: 1.13rem;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  user-select: none;
}
.faq-question::after {
  content: "";
  position: absolute;
  right: 0;
  top: 26px;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--origami);
  border-bottom: 3px solid var(--origami);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}
.faq-item.active .faq-question::after{
  transform: rotate(-135deg) translateY(2px);
}
.faq-answer {
  display: none;
  color: var(--text-muted);
  font-size: 1.03rem;
  padding: 0 0 18px 3px;
  background: none;
}
.faq-item.active .faq-answer {
  display: block;
  animation: fadeDown .4s;
}
@keyframes fadeDown {
  from { opacity:0; transform: translateY(-8px);}
  to   {opacity:1; transform: translateY(0);}
}

/* CONTACT */
.contact-section {
  background: var(--kami);
  padding: 57px 0 44px;
}
.contact-section .container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.contact-form-col {
  flex: 1 1 320px;
  max-width: 440px;
}
.contact-info-col {
  flex: 1 1 220px;
}
#contact-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 18px -8px var(--shadow);
  padding: 30px 23px 27px 23px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#contact-form label {
  color: var(--shibori);
  font-weight: 500;
  margin-bottom: 7px;
  display: block;
}
#contact-form input,
#contact-form textarea {
  width: 100%;
  font-family: 'Roboto',sans-serif;
  padding: 11px 10px;
  font-size: 1.01rem;
  margin-top: 3px;
  background: #f8f4e8;
  color: var(--text);
  border: 1.6px solid var(--fold);
  border-radius: var(--radius);
  resize: vertical;
  outline: none;
  transition: border-color 0.13s;
}
#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--origami);
}
#contact-form button {
  background: var(--origami);
  color: #fff;
  padding: 0.7em 2em;
  border: none;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
#contact-form button:hover,
#contact-form button:focus {
  background: var(--shibori);
}
#form-success {
  display: none;
  margin-top: 12px;
  color: var(--origami);
  font-weight: 500;
  font-size: 1.09rem;
}
#form-success.active {
  display: block;
  animation: fadeDown .5s;
}
.contact-info-block {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 17px -10px var(--shadow);
  padding: 29px 23px 27px 23px;
  font-size: 1.04rem;
  color: var(--text-muted);
}
.contact-info-block strong {
  color: var(--shibori);
  font-weight: 600;
  font-size: 1.09em;
}
.contact-info-row {
  margin-bottom: 17px;
  display: flex;
  gap: 13px;
  align-items: center;
}
.contact-info-block svg {
  width: 23px;
  height: 23px;
  stroke: var(--origami);
  fill: none;
  margin-right: 9px;
  vertical-align: middle;
}
@media (max-width:900px) {
  .contact-section .container {
    flex-direction: column;
    gap: 37px;
  }
}

/* FOOTER */
.footer {
  background: var(--shibori);
  color: #fff;
  padding: 44px 0 0;
  font-size: 1.02rem;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 65px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 340px;
}
.footer-logo-link {
  display: flex;
  align-items: center;
  font-family: 'Kiwi Maru', serif;
  font-size: 1.23rem;
  color: var(--origami);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
  text-decoration: none;
  gap: 9px;
}
.footer-tagline {
  font-size: 1.03rem;
  color: #c6d3da;
}
.footer-email {
  color: #eae3cd;
  font-size: 1.01rem;
  margin-top: 2px;
  margin-bottom: 2px;
  word-break: break-all;
}
.footer-right {
  margin-top: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #fbbb92;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
}
.footer-bottom {
  border-top: 1.5px solid #465065;
  text-align: center;
  color: #dae7f7;
  font-size: 0.97rem;
  padding: 19px 0 12px;
  margin-top: 29px;
}
@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    gap: 33px;
    align-items: stretch;
    padding: 0 17px;
  }
  .footer-right {
    margin-top: 0;
    margin-left: 0;
  }
  .footer-tagline {
    font-size: 0.98rem;
  }
  .footer-nav {
    flex-direction: row;
    gap: 17px;
  }
  .footer-bottom {
    font-size: 0.92rem;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  background: #fff9ea;
  color: var(--text-muted);
  width: 100%;
  z-index: 100;
  box-shadow: 0 -2px 17px -7px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8em;
  font-size: 1.1rem;
  padding: 17px 7vw 16px 7vw;
  border-top: 1.5px solid var(--fold);
}
.cookie-banner span {
  color: var(--shibori);
}
.cookie-banner a {
  color: var(--origami);
  text-decoration: underline;
  font-weight: 500;
}
.cookie-banner button {
  padding: 0.28em 1.3em;
  background: var(--origami);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  margin-left: 11px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-banner button#cookie-decline {
  background: var(--shibori);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  opacity: 0.9;
}

@media (max-width:600px){
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.99rem;
    padding: 15px 4vw 13px 4vw;
    gap: 1.05em;
  }
}

/* Focus and Selection */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2.5px solid var(--origami);
  outline-offset: 2px;
}
::selection {
  background: var(--origami);
  color: #fff;
}
::-webkit-input-placeholder { color: #af9f81; }
::-moz-placeholder { color: #af9f81;}
:-ms-input-placeholder { color: #af9f81;}
::placeholder { color: #af9f81;}
/* End */