/* ========================================
   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 */
.mxer13sl {
  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);
}

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

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

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

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

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

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

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

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

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

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

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

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

.i00fj1us {
  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);
}

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

.zvxszv2h {
  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);
}

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

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

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

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

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

.mfyv2thg {
  width: 100%;
}

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

.c9nn1bpp 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;
}

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

.vwkoe1oo {
  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;
}

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

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

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

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

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

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

.uhv6dtps {
  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);
}

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

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

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

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

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

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

.qbtmyn5i::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;
}

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

.izdirazx {
  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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.imhx6z0l {
  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;
}

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

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

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

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

.imhx6z0l:hover .oq6z5oau img {
  transform: scale(1.05);
}

.nx2d4grq {
  padding: 32px;
}

.fg9eabpe {
  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;
}

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

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

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

.w3nf4ez3 {
  list-style: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.z92wo36v {
  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;
}

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

.m2z3skr8 .qeenmu6a {
  margin-bottom: 16px;
}

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

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

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

.suvzhtem {
  list-style: none;
}

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

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

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

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

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

/* ========================================
   Modal
   ======================================== */
.uat083ye {
  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;
}

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

.cmlihz55 {
  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;
}

.xaz7gpto {
  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;
}

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

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

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

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

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

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

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

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

.iq1itgxj {
  width: 100%;
}

.flluy1sa {
  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);
}

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

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

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

  .uvtl6iby img {
    height: 400px;
  }

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

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

  .i00fj1us {
    text-align: center;
  }

  .emis10i0 {
    text-align: center;
  }

  .gl2nntdz {
    text-align: center;
  }

  .y8b8j8p0,
  .pq15tbg0,
  .xkb2ioft {
    grid-template-columns: 1fr;
  }

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

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

  .m2z3skr8 .qeenmu6a {
    justify-content: center;
  }

  .y8xi7olq {
    text-align: center;
  }

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

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

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

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

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

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

.uhv6dtps,
.izdirazx,
.imhx6z0l {
  animation: fadeInUp 0.6s ease forwards;
}

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

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