.cabin-normal {
  font-family: "Cabin", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: "Cabin", sans-serif;
}

h1, h3, h4, h5, h6, p, button {
  margin: 0;
  padding: 0;
}

body {
  background-color: white;
}

/* ========== MENU ========== */
.menu {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: 100%;
  padding: 1rem;  
}

.menu-logo-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-block; 
}

.menu-logo {
  height: 180px;
  width: auto;
}

.menu-items {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
  width: 100%; 
  padding: 0 2rem;
  color: #000;
}

.menu-item {
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-item:hover {
  background-image: url('images/brush.webp');
  background-size: cover;
  background-position: center;
}

.menu-item button {
  width: 150px;
  min-height: 80px;
  font-size: 1.6rem;
  font-family: "Cabin", sans-serif;
  font-weight: bold;
  background: none;
  border: 0px;
  color: #222; 
  transition: all 0.4s ease-in-out;
}

.menu-item button:hover {
  color: #FFF;
  cursor: pointer;
}


/* ========== HEAD ========== */
.head {
  display: grid;
  padding: 20px;
  width: 100%;
  gap: 10px;
  font-size: 30px;
}

.head .heading {
  text-align: center;
  align-self: center;
  font-weight: bold;
  h1 {
    font-weight: 400px;
    
  }
}

/* ========== PROFILE ========== */

.profile-section-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.profile-section-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/bambu.webp") center/cover no-repeat;
  opacity: 0.28;
  z-index: 0;
}

.profile-section-wrapper > * {
  position: relative;
  z-index: 1;
}

.profile {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.3fr;
  align-items: center;
  width: 100%;
  position: relative;
  padding: 2rem;
  gap: 3rem;
}

.profile > * {
  position: relative;
  z-index: 1;
}

.photo-frame {
  max-width: 500px;
  width: 100%;
  margin: auto;
  position: relative;
  border-radius: 1rem;
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  position: relative;
  z-index: 2;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 2px solid #e6b760;
  border-radius: inherit;
  z-index: 1;
}

.profile-text {
  max-width: 600px;
  text-align: center;
  .name {
    font-weight: 500px;
    font-size: 1.6rem;
  }

  .role {
    color: #828282;
    font-weight: normal;
    margin-bottom: .5rem;
    font-size: 1.2rem;
  }
}


.profile-text p {
  text-align: center;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #2D2D2D;
}

.line-2 {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 5px;
  margin-bottom: 3rem;
}

/* ========== HERO ========== */

.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 2rem;
  margin-bottom: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 7rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  align-items: flex-end;
}

.hero-content {
  flex: 1;
  text-align: center;
}

.hero-content p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #2D2D2D;
  font-size: 18px;
}

.hero-img-frame {
  position: relative;
  border-radius: 1rem;
  width: 100%;
  max-width: 540px;
  flex: 0 0 auto;
}

.hero-img-frame::after {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 2px solid #e6b760;
  border-radius: inherit;
  z-index: 0;
}

.hero-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  position: relative;
  z-index: 2;
}

.obi-logo {
  max-width: 200px;
  margin: 20px auto 0;
  display: block;
}

/* ========== VIDEO ========== */

.video-container {
  width: 100%;
  padding: 0;
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
}

video {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/* ========== SHAPES ========== */

.shapes-wrapper {
  position: relative;
  overflow: hidden;
  height: 400px;
  margin-top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shape-under,
.shape-upper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  object-fit: fill;
}

.shape-under {
  top: 0;
  z-index: 1;
}

.shape-upper {
  top: 0;
  z-index: 2;
}

.shapes-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  font-size: 3rem;
  padding: 0;
}

.shapes-content h2 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.text-line {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

/* ========== TEAM ========== */

.team-section-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 2rem;
}

.team-section-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/japanesetree.png") center/cover no-repeat;
  opacity: 0.12;
  z-index: 0;
  background-size: 350%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 100%);
}

.team-section-wrapper > * {
  position: relative;
  z-index: 1;
}

.team-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 20px;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.64px;
  margin-top: 1rem;
}

.team-content > * {
  position: relative;
  z-index: 1;
}

.team-frame {
  position: relative;
  max-width: 1071px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
}

.team-frame::after {
  content: "";
  position: absolute;
  inset: 20px -12px -12px 25px;
  border: 2px solid #e6b760;
  border-radius: inherit;
  z-index: 0;
}

.team-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  position: relative;
  z-index: 1;
}

.text-content {
  max-width: 900px;
  margin: 0 auto;
}

.text-content p {
  line-height: 1.7;
  color: #504f4f;
}

.sekkei-img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.team-content-2 {
  display: flex;
  gap: 9rem;
  text-align: left; 
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem 1rem;
  max-width: 1400px; 
  margin: 0 auto;
}

.team-nat {
  max-width: 680px;
  width: 100%;
  flex: 1; 
  min-width: 300px; 
  border-radius: 20px;
}

.text {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.64px;
  line-height: 1.7;
  flex: 1; 
  min-width: 300px;
  max-width: 600px; 
}

.text p {
  line-height: 1.7;
  color: #504f4f;
  text-align: left;
}

/* ========== FOOTER ========== */

.footer-container {
  width: 100%;
  min-height: 288px;
  position: relative;
  background: white;
  overflow: hidden;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: #E6E6E6;
  position: absolute;
  left: 0;
  top: 0;
}
.footer-main {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo {
  width: auto;
  max-width: 280px;
  height: 180px;
  border-radius: 20px;
  object-fit: contain;
}
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-title {
  color: black;
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  text-align: center;
  word-wrap: break-word;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: #f0f0f0;
}

.social-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  text-decoration: none;
}
.footer-menu-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-menu-left a {
  color: black;
  font-weight: 500;
  line-height: 24px;
  word-wrap: break-word;
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: none;
}

.footer-menu-left a:hover {
  color: #666;
}
.footer-credits {
  text-align: center;
  color: black;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  margin-top: 2rem;
}

/* ========== whatsapp ========== */

.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn img {
  width: 100%;
  height: 100%;
}

/* ========== animacion ========== */
.menu {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.menu.menu-loaded {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.team-frame.scroll-animate {
  transform: translateY(80px) scale(0.95);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.team-frame.animate-in {
  transform: translateY(0) scale(1);
}

.photo-frame.scroll-animate,
.hero-img-frame.scroll-animate {
  transform: translateX(-40px) translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.photo-frame.animate-in,
.hero-img-frame.animate-in {
  transform: translateX(0) translateY(0);
}

.profile-text.scroll-animate,
.hero-content.scroll-animate {
  transform: translateX(40px) translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.profile-text.animate-in,
.hero-content.animate-in {
  transform: translateX(0) translateY(0);
}

.sekkei-img.scroll-animate {
  transform: scale(0.9) translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.sekkei-img.animate-in {
  transform: scale(1) translateY(0);
}

.head.scroll-animate {
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.head.animate-in {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-animate {
    transform: none;
    transition: opacity 0.3s ease-out;
  }
  
  .menu {
    transform: none;
  }
}

/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 1024px) {
  .menu-item button {
    width: 120px;
    min-height: 60px;
    font-size: 1.3rem;
  }
  .hero-inner {
    gap: 3rem;
  }

  .hero-img-frame {
    max-width: 400px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .footer-logo {
    grid-column: 1;
    grid-row: 1 / 3;
    max-width: 220px;
  }
  
  .footer-title {
    grid-column: 2;
    grid-row: 1;
  }
  
  .footer-social {
    grid-column: 2;
    grid-row: 2;
  }
  
  .footer-menu-left {
    grid-column: 1 / 3;
    grid-row: 3;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    justify-self: center;
  }
  
  .footer-divider {
    grid-column: 1 / 3;
    grid-row: 4;
  }
  
  .footer-credits {
    grid-column: 1 / 3;
    grid-row: 5;
  }
}

@media (max-width: 768px) {

  .menu {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0.5rem;
  }

  .menu-logo {
    height: 100px;
  }

  .menu-items {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin-top: 1rem;
    justify-content: center;
  }

  .menu-item {
    min-width: auto;
  }

  .menu-item button {
    width: 100px;
    min-height: 50px;
    font-size: 1.1rem;
    padding: 0.5rem;
  }

  .menu-item:hover {
    background-size: contain;
  }

  .head {
    font-size: 24px;
    padding: 15px;
  }

  .profile {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .profile-text {
    max-width: 100%;
  }

  .photo-frame {
    max-width: 400px;
  }

  .hero {
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .hero-inner {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-img-frame {
    max-width: 100%;
    width: 95%;
  }

  .obi-logo {
    max-width: 150px;
  }

  .video-container {
    margin: 60px 0;
  }

  video {
    width: 100%;
  }

  .shapes-content {
    padding-top: 5rem;
    font-size: 2rem;
  }

  .shapes-wrapper {
    height: 200px;
  }

  .team-section-wrapper {
    margin-top: 3rem;
  }

  .team-content {
    font-size: 24px;
    padding: 30px 15px;
  }

  .team-content-2 {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center; 
  }

  .team-nat {
    max-width: 100%;
  }

  .text {
    font-size: 24px;
    max-width: 100%;
  }

  .text p {
    text-align: center; 
  }
  .footer {
    padding: 2rem 1rem;
}

.footer-container {
  min-height: auto;
  padding: 2rem 1rem;
}

.footer-main {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

  .footer-logo {
    grid-column: 1;
    grid-row: 1;
    max-width: 200px;
    margin: 0 auto;
  }

  .footer-title {
    grid-column: 1;
    grid-row: 2;
    font-size: 1.25rem;
  }

  .footer-social {
    grid-column: 1;
    grid-row: 3;
  }

  .footer-menu-left {
    grid-column: 1;
    grid-row: 4;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    gap: 1rem;
  }

  .footer-divider {
    grid-column: 1;
    grid-row: 5;
  }

  .footer-credits {
    grid-column: 1;
    grid-row: 6;
  }
}

@media (max-width: 480px) {

  .menu {
    padding: 0.25rem;
  }

  .menu-logo {
    height: 80px;
  }

  .menu-items {
    gap: 0.25rem;
    margin-top: 0.5rem;
  }

  .menu-item button {
    width: 70px;
    min-height: 40px;
    font-size: 0.85rem;
    padding: 0.25rem;
  }
  
  .head .heading h1 {
    font-size: 1.4rem;
    text-align: center;
  } 
  .liner {
    display: none;
  }
  .profile {
    padding: 1rem 0.75rem;
    gap: 1rem;
  }

  .profile-text {
    font-size: 15px;
  }

  .profile-text p {
    text-align: center;
  }

  .profile-text .name,
  .profile-text .role {
    text-align: center;
  }

  .photo-frame {
    max-width: 280px;
  }

  .photo-frame::after {
    inset: 8px -8px -8px 8px;
  }

  .hero {
    padding: 1.5rem 1rem;
    min-height: auto;
    margin-bottom: 30px;
  }

  .hero-bg {
    display: none;
  }

  .hero-inner {
    gap: 1.5rem;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-img-frame {
    width: 100%;
  }

  .hero-img-frame::after {
    inset: 8px -8px -8px 8px;
  }

  .obi-logo {
    max-width: 120px;
  }

  .video-container {
    margin: 20px 0;
  }

  .shapes-wrapper {
    height: 150px;
  }

  .shapes-content {
    padding-top: 1rem;
    margin-bottom: 3rem;
  }

  .shapes-content h2 {
    font-size: 1.2rem;
    text-align: center;
  }

  .team-section-wrapper {
    margin-top: 0;
  }

  .text-line {
    max-width: 240px;
  }

  .team-content {
    padding: 20px 10px;
    gap: 16px;
    font-size: 18px;
  }

  .team-frame::after {
    inset: 10px -6px -6px 12px;
  }

  .sekkei-img {
    max-width: 100%;
  }

  .team-content-2 {
    gap: 1rem;
    padding: 1rem 0.5rem;
  }

  .text {
    font-size: 18px;
    min-width: auto;
    text-align: center;
  }

  .text p {
    text-align: center;
  }

  .footer-container {
    padding: 1.5rem 1rem;
    min-height: auto;
  }

  .footer-main {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-logo {
    max-width: 130px;
    height: auto;
  }

  .footer-title {
    font-size: 1rem;
  }

  .footer-menu-left {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .social-icon {
    width: 20px;
    height: 20px;
  }
}
