/* Sugar Watch México - Mexican Flag Inspired Theme */
/* Medical Professional Portal Styles */

/* CSS Variables - Mexican Color Palette */
:root {
  --primary-white: #ffffff;
  --mexican-green: #006847;
  --mexican-green-dark: #004d35;
  --mexican-green-light: #008a5f;
  --mexican-red: #ce1126;
  --mexican-red-dark: #a30f1f;
  --mexican-red-light: #e63946;
  --warm-sand: #f5f5f0;
  --light-gray: #e8eceb;
  --medium-gray: #a8b5b0;
  --dark-gray: #4a5d57;
  --text-primary: #1b3a36;
  --text-secondary: #3d5a55;
  --border-color: #c5d3ce;
  --shadow-light: 0 2px 8px rgba(0, 104, 71, 0.1);
  --shadow-medium: 0 4px 16px rgba(0, 104, 71, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--primary-white);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

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

a:hover {
  color: var(--mexican-green-dark);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--primary-white);
  border-bottom: 1px solid var(--light-gray);
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

.xjb7eivh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.lk03575h {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--mexican-green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sej1tqaz {
  width: 40px;
  height: 40px;
  background: var(--mexican-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

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

.meg86uwo a {
  color: var(--text-secondary);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.meg86uwo a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mexican-green);
  transition: var(--transition);
}

.meg86uwo a:hover::after,
.meg86uwo a.active::after {
  width: 100%;
}

/* Hero Section */
.rwm4u1s2 {
  padding: 160px 0 100px;
  background: linear-gradient(
    135deg,
    var(--primary-white) 0%,
    var(--warm-sand) 100%
  );
  position: relative;
  overflow: hidden;
}

.rwm4u1s2::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 104, 71, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

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

.ak97g7fi {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.zszjudo1 {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.vxcv39d2 {
  width: 100%;
  max-width: 900px;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  margin: 40px auto;
  display: block;
}

/* Buttons */
.wyaxk1ed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: "Prompt", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.o4k2hs9j {
  background: var(--mexican-green);
  color: white;
}

.o4k2hs9j:hover {
  background: var(--mexican-green-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.lo40xx0a {
  background: var(--light-gray);
  color: var(--text-primary);
}

.lo40xx0a:hover {
  background: var(--medium-gray);
  color: white;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.jv7c4mzh {
  background: var(--light-gray);
}

.wdb09lvc {
  text-align: center;
  margin-bottom: 50px;
}

.wdb09lvc h2 {
  margin-bottom: 15px;
}

.wdb09lvc p {
  max-width: 600px;
  margin: 0 auto;
}

/* Info Cards Grid */
.g27jobfy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.ekqrtpvg {
  background: var(--primary-white);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

.seew9osp {
  width: 70px;
  height: 70px;
  background: rgba(0, 104, 71, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.ekqrtpvg h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

/* Food Table Section */
.x280f5xk {
  overflow-x: auto;
  background: var(--primary-white);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.s6l6h9n6 {
  width: 100%;
  border-collapse: collapse;
}

.s6l6h9n6 th,
.s6l6h9n6 td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.s6l6h9n6 th {
  background: var(--light-gray);
  font-family: "Sarabun", sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 1rem;
}

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

.s6l6h9n6 tr:last-child td {
  border-bottom: none;
}

.s6l6h9n6 tr:hover td {
  background: rgba(33, 150, 243, 0.03);
}

.ravvkvsq {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 104, 71, 0.1);
  color: var(--mexican-green);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 400;
}

/* Contact Form Section */
.himj0bxp {
  background: linear-gradient(
    135deg,
    var(--warm-sand) 0%,
    var(--primary-white) 100%
  );
}

.qrucv9lo {
  max-width: 600px;
  margin: 0 auto;
  background: var(--primary-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-color);
}

.qqo5wwy7 {
  margin-bottom: 25px;
}

.qqo5wwy7 label {
  display: block;
  margin-bottom: 8px;
  font-family: "Sarabun", sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.qqo5wwy7 input,
.qqo5wwy7 textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: "Prompt", sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--primary-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
}

.qqo5wwy7 input:focus,
.qqo5wwy7 textarea:focus {
  outline: none;
  border-color: var(--mexican-green);
  box-shadow: 0 0 0 3px rgba(0, 104, 71, 0.1);
}

.qqo5wwy7 textarea {
  min-height: 120px;
  resize: vertical;
}

.otb37e3a {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

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

.d04eejgq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.pcrqyo4w h4 {
  color: var(--primary-white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.pcrqyo4w p,
.pcrqyo4w a {
  color: var(--medium-gray);
  font-size: 0.9rem;
  line-height: 1.8;
}

.pcrqyo4w a:hover {
  color: var(--primary-white);
}

.xfsfok9a {
  list-style: none;
}

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

.bdd8qa0r {
  border-top: 1px solid var(--dark-gray);
  padding-top: 30px;
  text-align: center;
}

.bdd8qa0r p {
  color: var(--medium-gray);
  font-size: 0.85rem;
}

/* Modal */
.q7nxxwmp {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(38, 50, 56, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.hq7dsqzv {
  background: var(--primary-white);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.yk8278t9 {
  width: 80px;
  height: 80px;
  background: rgba(0, 104, 71, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
}

.hq7dsqzv h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.hq7dsqzv p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

.cwh1xodx {
  background: var(--mexican-green);
  color: white;
  border: none;
  padding: 14px 40px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.cwh1xodx:hover {
  background: var(--mexican-green-dark);
}

/* Legal Pages */
.jkp3ad2w {
  padding: 120px 0 80px;
}

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

.a87knxci h1 {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--light-gray);
}

.a87knxci h2 {
  margin: 30px 0 15px;
  color: var(--mexican-green);
}

.a87knxci p,
.a87knxci li {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.a87knxci ul,
.a87knxci ol {
  margin-left: 25px;
  margin-bottom: 20px;
}

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

/* Responsive */
@media (max-width: 768px) {
  .xjb7eivh {
    flex-direction: column;
    gap: 15px;
  }

  .meg86uwo {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .rwm4u1s2 {
    padding: 120px 0 60px;
  }

  .ak97g7fi {
    font-size: 2rem;
  }

  .zszjudo1 {
    font-size: 1rem;
  }

  .vxcv39d2 {
    height: 250px;
  }

  .section {
    padding: 50px 0;
  }

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

  .qrucv9lo {
    padding: 25px;
  }

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

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

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }

  .meg86uwo {
    gap: 10px;
  }

  .meg86uwo a {
    font-size: 0.85rem;
  }

  .wyaxk1ed {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* Utility Classes */
.my2chxdm {
  text-align: center;
}
.text-teal {
  color: var(--mexican-green);
}
.vjjtgs8e {
  margin-top: 20px;
}
.dv7dxens {
  margin-top: 40px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-40 {
  margin-bottom: 40px;
}

/* Chart/Pseudo-graphic CSS */
.eztvyf6l {
  height: 20px;
  background: linear-gradient(
    90deg,
    var(--mexican-green) 0%,
    rgba(0, 104, 71, 0.5) 100%
  );
  border-radius: 10px;
  transition: width 0.5s ease;
}

.mpzyhku8 {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 15px;
  margin: 10px 0;
}

.ogq4uuzh {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
