@charset "UTF-8";

/* =========================================================
   FV styles (GEO & SEO design)
   ========================================================= */

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

/* --------------------------------------------
   FV Layout
   -------------------------------------------- */
.fv {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 20px 0;
}

.fv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.fv-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fvWrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 60px;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------
   Left Side Content
   -------------------------------------------- */
.fv-left {
  flex: 1;
  z-index: 2;
  position: relative;
}

.main-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 60px;
}

.free-badge {
  background: linear-gradient(135deg, #8B5CF6 0%, #3B82C2 100%);
  color: white;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.title-text {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: #1e40af;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.ampersand {
  font-size: 0.6em;
  vertical-align: middle;
  opacity: 0.8;
  margin: 0 -0.25em;
}

.diagnosis-text {
  color: #3B82C2;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-left: 10px;
}

.text-blocks {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.text-blocks .text-line.highlight + .text-line.highlight {
  margin-top: -25px;
}

.text-blocks .text-line.bold + .text-line.highlight {
  margin-top: -20px;
}

.text-blocks .text-line.highlight + .text-line.bold {
  margin-top: 10px;
}

.text-line {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: #000;
  font-weight: 500;
  line-height: 1.4;
}

.text-line.highlight {
  font-size: clamp(2.0rem, 3.5vw, 3.0rem);
  color: #3B82C2;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-line.bold {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: #000;
  font-weight: 700;
}

/* --------------------------------------------
   Right Side - Image
   -------------------------------------------- */
.fv-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.image-container {
  width: 100%;
  max-width: 500px;
  position: relative;
  animation: slideUpFromBottom 1.2s ease-out;
}


.image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Animation Keyframes */
@keyframes slideUpFromBottom {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUpFromBottomMobile {
  0% {
    transform: translateY(80px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =========================================================
   Responsive
   ========================================================= */

/* Tablet */
@media screen and (max-width: 1024px){
  .fvWrap {
    gap: 40px;
  }
  
  .image-container {
    max-width: 400px;
  }
  
  .main-title {
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .free-badge {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  
  .text-blocks {
    gap: 12px;
  }
}

/* Smartphone */
@media screen and (max-width: 768px){
  .fv {
    min-height: 300px;
    padding: 20px 0;
  }
  
  .fvWrap {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .main-title {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
  }
  
  .free-badge {
    width: 50px;
    height: 50px;
    font-size: 0.9rem;
  }
  
  .title-text {
    font-size: clamp(2.2rem, 8vw, 3rem);
    line-height: 1;
    white-space: nowrap;
  }
  
  .diagnosis-text {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-left: 8px;
  }
  
  .text-blocks {
    gap: 10px;
  }
  
  .text-blocks .text-line.highlight + .text-line.highlight {
    margin-top: -10px;
  }
  
  .text-blocks .text-line.bold + .text-line.highlight {
    margin-top: -5px;
  }
  
  .text-blocks .text-line.highlight + .text-line.bold {
    margin-top: 8px;
  }
  
  .text-line {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
  }
  
  .text-line.highlight {
    font-size: clamp(1.1rem, 5vw, 1.6rem);
  }
  
  .fv-right {
    order: -1;
  }
  
  .image-container {
    max-width: 300px;
    animation: slideUpFromBottomMobile 1.2s ease-out;
  }
}
