/* ========================================
   Cartilage Pro Thailand - Modern Medical CSS
   ======================================== */

/* CSS Variables */
:root {
  --color-arctic-white: #f8fafc;
  --color-deep-blue: #1e40af;
  --color-deep-blue-dark: #1e3a8a;
  --color-silver-metallic: #e2e8f0;
  --color-silver-dark: #94a3b8;
  --color-text-primary: #1e293b;
  --color-text-secondary: #64748b;
  --color-accent-red: #dc2626;
  --color-accent-purple: #7c3aed;
  --color-accent-green: #059669;
  --color-white: #ffffff;

  --font-kanit: "Kanit", sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-kanit);
  background-color: var(--color-arctic-white);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.q422k006 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-silver-metallic);
}

.f1s9fr4h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.wfz6pz2n {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mw886kxb {
  width: 45px;
  height: 45px;
}

.yjvtd32m {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-deep-blue);
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  gap: 32px;
}

.u9qwbwav {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.u9qwbwav:hover {
  color: var(--color-deep-blue);
}

/* ========================================
   Hero Section
   ======================================== */
.oyc6py1x {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.xzgj96ax {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tgd9x48i {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c9bmc4o6 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.9) 0%,
    rgba(30, 58, 138, 0.85) 100%
  );
}

.gbb1bb4n {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: var(--color-white);
}

.r61lj0dc {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sif4fd11 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.95;
}

.yeoanvlh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  font-family: var(--font-kanit);
}

.gmf84pk8 {
  background: linear-gradient(135deg, #ffffff 0%, #e8eef7 100%);
  color: var(--color-deep-blue);
  box-shadow: var(--shadow-lg);
}

.gmf84pk8:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.hs3uamqb {
  background: var(--color-white);
  color: var(--color-deep-blue);
  box-shadow: var(--shadow-lg);
}

.hs3uamqb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.upvsewbw {
  padding: 20px 48px;
  font-size: 1.1rem;
}

.jmxtynml {
  width: 100%;
}

.sixb33ja {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}

.sixb33ja svg {
  width: 32px;
  height: 32px;
  color: var(--color-white);
  opacity: 0.8;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ========================================
   Section Styles
   ======================================== */
section {
  padding: 100px 0;
}

.mw7gc6ip {
  text-align: center;
  margin-bottom: 64px;
}

.orm2iy8t {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(
    135deg,
    var(--color-deep-blue) 0%,
    var(--color-deep-blue-dark) 100%
  );
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.qwz1r4zt {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: var(--color-deep-blue);
}

.w0xum2by {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: var(--color-accent-green);
}

.m2ekflhh {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.bwikn4x0 {
  color: var(--color-white);
}

/* ========================================
   Signs Section
   ======================================== */
.werg6s6b {
  background: var(--color-arctic-white);
}

.d53orhoz {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.g6yi32aa {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--color-silver-metallic);
}

.g6yi32aa:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.n704o7e7 {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.n704o7e7 svg {
  width: 100%;
  height: 100%;
}

.eat64dmj {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.vdycisio {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   Mechanisms Section
   ======================================== */
.kn38tsm5 {
  background: linear-gradient(
    135deg,
    var(--color-deep-blue) 0%,
    var(--color-deep-blue-dark) 100%
  );
  position: relative;
  overflow: hidden;
}

.kn38tsm5::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(
    ellipse,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.s5xr0gbf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.d8l417sl {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.d8l417sl:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
}

.gs5ylopz {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.la265b95 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blvq6jor {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(30, 64, 175, 0.8) 100%
  );
}

.dhqa2cdk {
  padding: 32px;
  color: var(--color-white);
  position: relative;
}

.j2xoqcly {
  font-size: 3rem;
  font-weight: 700;
  opacity: 0.2;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.ry9s67sc {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.toshx93a {
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: 16px;
}

.digs0owc {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 24px;
}

.s9j2zg2b {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.s9j2zg2b svg {
  width: 28px;
  height: 28px;
}

/* ========================================
   Ingredients Section
   ======================================== */
.j3z492jy {
  background: var(--color-arctic-white);
}

.pwsi9w3z {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.xo7jy906 {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-silver-metallic);
  transition: all 0.3s ease;
}

.xo7jy906:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.u56fpeck {
  border: 2px solid var(--color-accent-green);
  position: relative;
}

.y43h1m53 {
  height: 200px;
  overflow: hidden;
}

.y43h1m53 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.xo7jy906:hover .y43h1m53 img {
  transform: scale(1.05);
}

.qwc1rk3g {
  padding: 32px;
}

.n31riawo {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(
    135deg,
    var(--color-accent-green) 0%,
    #047857 100%
  );
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.a1h0r4bw {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.jmyccscd {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-style: italic;
  margin-bottom: 16px;
}

.rtdlmimb {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.ormj2x9e {
  list-style: none;
}

.ormj2x9e li {
  font-size: 0.95rem;
  color: var(--color-text-primary);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-silver-metallic);
}

.ormj2x9e li:last-child {
  border-bottom: none;
}

/* ========================================
   Lifestyle Section
   ======================================== */
.lmel31zz {
  background: var(--color-white);
}

.zifkb33y {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mcja51yt {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}

.gbureoh3 {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.f5tfzkrj {
  display: flex;
  gap: 48px;
}

.sbhza98p {
  display: flex;
  flex-direction: column;
}

.cmr2kzaw {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-deep-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.ntg9zbdm {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.pgim132a {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.pgim132a img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ========================================
   Check Health Section
   ======================================== */
.rj7b55vu {
  background: linear-gradient(
    135deg,
    var(--color-deep-blue) 0%,
    var(--color-deep-blue-dark) 100%
  );
  padding: 80px 0;
}

.dytv5nk0 {
  text-align: center;
  color: var(--color-white);
}

.v2n107qk {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.yrn1nweg {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-arctic-white);
  border-top: 1px solid var(--color-silver-metallic);
  padding: 64px 0 32px;
}

.ennqfk5q {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.tlgewj1m .wfz6pz2n {
  margin-bottom: 16px;
}

.bix409r3 {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

.al2qhog3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.n37fntrx {
  font-style: normal;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.rndrvrdd {
  list-style: none;
}

.rndrvrdd li {
  margin-bottom: 12px;
}

.rndrvrdd a {
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.rndrvrdd a:hover {
  color: var(--color-deep-blue);
}

.j2ox5vwb {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--color-silver-metallic);
}

.j2ox5vwb p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* ========================================
   Modal
   ======================================== */
.duvfu7yx {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.uswhfewh {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.indme51v {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.bgsu0ok8 {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-silver-metallic);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.bgsu0ok8:hover {
  background: var(--color-silver-dark);
}

.bgsu0ok8 svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-primary);
}

.q4hjtvel {
  padding: 48px 40px 40px;
}

.xvblnxmj {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
}

.xvblnxmj svg {
  width: 100%;
  height: 100%;
}

.v976wthc {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.xllujh5b {
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.rdhurfj4 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.y7y75esb {
  width: 100%;
}

.ahmwostn {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: var(--font-kanit);
  border: 2px solid var(--color-silver-metallic);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  background: var(--color-arctic-white);
}

.ahmwostn:focus {
  outline: none;
  border-color: var(--color-deep-blue);
  background: var(--color-white);
}

.ahmwostn::placeholder {
  color: var(--color-silver-dark);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
  .zifkb33y {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pgim132a img {
    height: 400px;
  }

  .ennqfk5q {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .r61lj0dc {
    text-align: center;
  }

  .sif4fd11 {
    text-align: center;
  }

  .gbb1bb4n {
    text-align: center;
  }

  .d53orhoz,
  .s5xr0gbf,
  .pwsi9w3z {
    grid-template-columns: 1fr;
  }

  .f5tfzkrj {
    flex-direction: column;
    gap: 24px;
  }

  .ennqfk5q {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .tlgewj1m .wfz6pz2n {
    justify-content: center;
  }

  .n37fntrx {
    text-align: center;
  }

  .q4hjtvel {
    padding: 40px 24px 32px;
  }
}

@media (max-width: 480px) {
  .q422k006 {
    padding: 0 16px;
  }

  .yeoanvlh {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .upvsewbw {
    padding: 18px 32px;
    font-size: 1rem;
  }

  .cmr2kzaw {
    font-size: 2.25rem;
  }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.g6yi32aa,
.d8l417sl,
.xo7jy906 {
  animation: fadeInUp 0.6s ease forwards;
}

.g6yi32aa:nth-child(2) {
  animation-delay: 0.1s;
}

.g6yi32aa:nth-child(3) {
  animation-delay: 0.2s;
}
