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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Buttons */
.u3kodk7t {
  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);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.bz2eyupn {
  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 */
.q5ye5iy8 {
  background: linear-gradient(
    135deg,
    var(--warm-sand) 0%,
    var(--primary-white) 100%
  );
}

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

.tdpryxt9 {
  margin-bottom: 25px;
}

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

.tdpryxt9 input,
.tdpryxt9 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);
}

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

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

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

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

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

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

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

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

.sdb6d7xi {
  list-style: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .urpkxf29 {
    font-size: 2rem;
  }

  .p4ucoz9y {
    font-size: 1rem;
  }

  .hnxcrrj3 {
    height: 250px;
  }

  .section {
    padding: 50px 0;
  }

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

  .v81dlzyu {
    padding: 25px;
  }

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

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

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

  .g9inwupb {
    gap: 10px;
  }

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

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

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

/* Chart/Pseudo-graphic CSS */
.swyusy11 {
  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;
}

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

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