/* ========================================
   Heart Guard Thailand - Medical Premium
   ======================================== */

/* CSS Variables */
:root {
  --color-white: #ffffff;
  --color-deep-red: #b71c1c;
  --color-deep-red-light: #d32f2f;
  --color-silver: #e0e0e0;
  --color-silver-light: #f5f5f5;
  --color-text-dark: #212121;
  --color-text-medium: #616161;
  --shadow-soft: 0 4px 20px rgba(183, 28, 28, 0.1);
  --shadow-medium: 0 8px 40px rgba(183, 28, 28, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sarabun", sans-serif;
  background-color: var(--color-white);
  color: var(--color-text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.p3mc3tne {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
.ixau23rv {
  font-size: 2.5rem;
  color: var(--color-deep-red);
  text-align: center;
  margin-bottom: 1rem;
}

.bbaefqnc {
  font-size: 1.1rem;
  color: var(--color-text-medium);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* ECG Pulse Line Divider */
.v0emdf07 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2rem 0;
  opacity: 0.6;
}

.v0emdf07::before,
.v0emdf07::after {
  content: "";
  width: 100px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-deep-red),
    transparent
  );
}

.ogbue2i7 {
  width: 60px;
  height: 30px;
  position: relative;
}

.ogbue2i7 svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-deep-red);
  stroke-width: 2;
  fill: none;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  padding: 15px 0;
}

.header .p3mc3tne {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.gou829tm {
  width: 50px;
  height: 50px;
  position: relative;
}

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

.vxma4mql {
  font-family: "Kanit", sans-serif;
  font-size: 1.5rem;
  color: var(--color-deep-red);
  font-weight: 700;
}

.mjtj9grd {
  display: flex;
  gap: 30px;
  list-style: none;
}

.mjtj9grd a {
  font-family: "Kanit", sans-serif;
  font-size: 1rem;
  color: var(--color-text-dark);
  position: relative;
  padding: 5px 0;
}

.mjtj9grd a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-deep-red);
  transition: var(--transition);
}

.mjtj9grd a:hover {
  color: var(--color-deep-red);
}

.mjtj9grd a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.hyld6cyo {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hyld6cyo span {
  width: 25px;
  height: 3px;
  background: var(--color-deep-red);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.ettcy8z8 {
  padding: 160px 0 100px;
  background: linear-gradient(
    135deg,
    var(--color-white) 0%,
    var(--color-silver-light) 100%
  );
  position: relative;
  overflow: hidden;
}

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

.bvycvs25 {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mim8qkrk {
  font-size: 3.5rem;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.mim8qkrk span {
  color: var(--color-deep-red);
}

.r902whzv {
  font-size: 1.3rem;
  color: var(--color-text-medium);
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.ybxe3fh1 {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--color-deep-red) 0%,
    var(--color-deep-red-light) 100%
  );
  color: var(--color-white);
  font-family: "Kanit", sans-serif;
  font-size: 1.2rem;
  padding: 18px 45px;
  border-radius: 50px;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.ybxe3fh1:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 50px rgba(183, 28, 28, 0.25);
}

.n0cnxiw5 {
  margin-top: 60px;
  position: relative;
}

.unleyul2 {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.15);
  }
  30% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.15);
  }
  60% {
    transform: scale(1);
  }
}

/* ========================================
   Section: ความสำคัญของระบบหลอดเลือด
   ======================================== */
.e1tb9fh6 {
  padding: 100px 0;
  background: var(--color-white);
}

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

.fz0dd3of h3 {
  font-size: 2rem;
  color: var(--color-deep-red);
  margin-bottom: 1.5rem;
}

.fz0dd3of p {
  font-size: 1.1rem;
  color: var(--color-text-medium);
  margin-bottom: 1.5rem;
}

.uqoz383f {
  background: linear-gradient(
    135deg,
    var(--color-silver-light) 0%,
    var(--color-white) 100%
  );
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.xn3jp6mp {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.fmhqcvho {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.fmhqcvho:hover {
  transform: translateX(10px);
}

.jbehxqqc {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--color-deep-red) 0%,
    var(--color-deep-red-light) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.jbehxqqc svg {
  width: 30px;
  height: 30px;
  fill: var(--color-white);
}

.izxzc8ck h4 {
  font-family: "Kanit", sans-serif;
  font-size: 1.2rem;
  color: var(--color-deep-red);
  margin-bottom: 5px;
}

.izxzc8ck p {
  font-size: 0.95rem;
  color: var(--color-text-medium);
}

/* ========================================
   Section: 3 กลไกการดูแล
   ======================================== */
.d56yr0gl {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    var(--color-silver-light) 0%,
    var(--color-white) 100%
  );
}

.wh7wxu9k {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.i7mcxw4x {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 2px solid transparent;
}

.i7mcxw4x:hover {
  transform: translateY(-10px);
  border-color: var(--color-deep-red);
  box-shadow: var(--shadow-medium);
}

.q93nd3jh {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  background: linear-gradient(
    135deg,
    var(--color-silver-light) 0%,
    var(--color-silver) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.q93nd3jh::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--color-deep-red);
  opacity: 0.3;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.q93nd3jh svg {
  width: 45px;
  height: 45px;
  fill: var(--color-deep-red);
}

.i7mcxw4x h3 {
  font-size: 1.4rem;
  color: var(--color-deep-red);
  margin-bottom: 15px;
}

.i7mcxw4x p {
  font-size: 1rem;
  color: var(--color-text-medium);
  line-height: 1.8;
}

/* ========================================
   Section: สารอาหารบำรุงหัวใจ
   ======================================== */
.ohx72vsx {
  padding: 100px 0;
  background: var(--color-white);
}

.h3t91tcx {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.fks5qv4v {
  background: linear-gradient(
    135deg,
    var(--color-silver-light) 0%,
    var(--color-white) 100%
  );
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.fks5qv4v:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.aebz76x5 {
  height: 200px;
  background: linear-gradient(
    135deg,
    var(--color-deep-red) 0%,
    var(--color-deep-red-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.aebz76x5 svg {
  width: 80px;
  height: 80px;
  fill: var(--color-white);
  opacity: 0.9;
}

.tu3jtv9x {
  padding: 30px;
}

.tu3jtv9x h3 {
  font-size: 1.4rem;
  color: var(--color-deep-red);
  margin-bottom: 15px;
}

.tu3jtv9x p {
  font-size: 1rem;
  color: var(--color-text-medium);
  line-height: 1.8;
}

.mf2m8mg3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--color-silver);
}

.mf2m8mg3 svg {
  width: 20px;
  height: 20px;
  fill: var(--color-deep-red);
  flex-shrink: 0;
}

.mf2m8mg3 span {
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

/* ========================================
   Section: ลงทะเบียนรับคำแนะนำ (Form)
   ======================================== */
.x4jrvr32 {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--color-deep-red) 0%,
    var(--color-deep-red-light) 100%
  );
  position: relative;
  overflow: hidden;
}

.x4jrvr32::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-16.569-13.431-30-30-30v60c16.569 0 30-13.431 30-30zm30 30c0-16.569-13.431-30-30-30v60c16.569 0 30-13.431 30-30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.x4jrvr32 .p3mc3tne {
  position: relative;
  z-index: 1;
}

.x4jrvr32 .ixau23rv,
.x4jrvr32 .bbaefqnc {
  color: var(--color-white);
}

.x4jrvr32 .bbaefqnc {
  opacity: 0.9;
}

.qdyyl3n4 {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 25px;
  padding: 50px;
  box-shadow: var(--shadow-medium);
}

.lyner5t7 {
  margin-bottom: 25px;
}

.lyner5t7 label {
  display: block;
  font-family: "Kanit", sans-serif;
  font-size: 1rem;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.lyner5t7 input,
.lyner5t7 select {
  width: 100%;
  padding: 15px 20px;
  font-family: "Sarabun", sans-serif;
  font-size: 1rem;
  border: 2px solid var(--color-silver);
  border-radius: 12px;
  transition: var(--transition);
  background: var(--color-white);
}

.lyner5t7 input:focus,
.lyner5t7 select:focus {
  outline: none;
  border-color: var(--color-deep-red);
  box-shadow: 0 0 0 4px rgba(183, 28, 28, 0.1);
}

.lyner5t7 input::placeholder {
  color: var(--color-text-medium);
}

.zgkiw2xi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.krxt1uyg {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--color-deep-red) 0%,
    var(--color-deep-red-light) 100%
  );
  color: var(--color-white);
  font-family: "Kanit", sans-serif;
  font-size: 1.2rem;
  padding: 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.krxt1uyg:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(183, 28, 28, 0.3);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-text-dark);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.njnu18yc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.ruuxravu {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.ruuxravu .gou829tm {
  width: 60px;
  height: 60px;
}

.ruuxravu .vxma4mql {
  color: var(--color-white);
  font-size: 1.8rem;
}

.sfvfecqf p {
  color: var(--color-silver);
  line-height: 2;
  font-size: 1rem;
}

.sfvfecqf p svg {
  width: 18px;
  height: 18px;
  fill: var(--color-deep-red);
  margin-right: 10px;
  vertical-align: middle;
}

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

.rr20bzt4 h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-silver);
}

.rr20bzt4 a {
  color: var(--color-silver);
  transition: var(--transition);
}

.rr20bzt4 a:hover {
  color: var(--color-deep-red);
}

.pkhaqq0e {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.pkhaqq0e p {
  color: var(--color-silver);
  font-size: 0.95rem;
}

/* ========================================
   Modal
   ======================================== */
.oq9j7g8h {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.d8qkyqin {
  background: var(--color-white);
  border-radius: 25px;
  padding: 50px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.xthbnnqf {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--color-silver-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.xthbnnqf:hover {
  background: var(--color-deep-red);
}

.xthbnnqf svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text-dark);
  transition: var(--transition);
}

.xthbnnqf:hover svg {
  fill: var(--color-white);
}

.qy2n9d6p {
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  background: linear-gradient(
    135deg,
    var(--color-deep-red) 0%,
    var(--color-deep-red-light) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-pulse 2s ease-in-out infinite;
}

@keyframes modal-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(183, 28, 28, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(183, 28, 28, 0);
  }
}

.qy2n9d6p svg {
  width: 50px;
  height: 50px;
  fill: var(--color-white);
}

.oq9j7g8h h2 {
  font-size: 1.8rem;
  color: var(--color-deep-red);
  margin-bottom: 20px;
}

.oq9j7g8h p {
  font-size: 1.1rem;
  color: var(--color-text-medium);
  line-height: 1.8;
}

/* ========================================
   Legal Pages
   ======================================== */
.xgq9u78j {
  padding: 120px 0 60px;
  background: var(--color-white);
  min-height: 100vh;
}

.dspn3vpv {
  max-width: 800px;
  margin: 0 auto;
}

.dspn3vpv h1 {
  font-size: 2.5rem;
  color: var(--color-deep-red);
  margin-bottom: 30px;
}

.dspn3vpv h2 {
  font-size: 1.5rem;
  color: var(--color-text-dark);
  margin: 30px 0 15px;
}

.dspn3vpv p,
.dspn3vpv li {
  font-size: 1.05rem;
  color: var(--color-text-medium);
  line-height: 1.9;
  margin-bottom: 15px;
}

.dspn3vpv ul {
  margin-left: 25px;
  margin-bottom: 20px;
}

.dspn3vpv li {
  margin-bottom: 10px;
}

.z41adw76 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-deep-red);
  font-family: "Kanit", sans-serif;
  margin-bottom: 30px;
}

.z41adw76:hover {
  gap: 15px;
}

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

  .wh7wxu9k,
  .h3t91tcx {
    grid-template-columns: repeat(2, 1fr);
  }

  .njnu18yc {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mjtj9grd {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-medium);
  }

  .hyld6cyo {
    display: flex;
  }

  .mim8qkrk {
    font-size: 2.2rem;
  }

  .r902whzv {
    font-size: 1.1rem;
  }

  .ixau23rv {
    font-size: 1.8rem;
  }

  .wh7wxu9k,
  .h3t91tcx {
    grid-template-columns: 1fr;
  }

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

  .qdyyl3n4 {
    padding: 30px 20px;
  }

  .d8qkyqin {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .mim8qkrk {
    font-size: 1.8rem;
  }

  .ybxe3fh1 {
    padding: 15px 30px;
    font-size: 1rem;
  }

  .fmhqcvho {
    flex-direction: column;
    text-align: center;
  }
}
