:root {
  --primary: #4e342e;
  --accent: #bcaaa4;
  --bg: #efebe9;
  --text: #1a0a00;
  --light: #fafafa;
  --border: #d7ccc8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.demo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.demo-bar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.demo-bar a:hover {
  text-decoration: underline;
}

body {
  padding-top: 2.5rem;
}

header {
  background-color: var(--light);
  border-bottom: 2px solid var(--border);
  padding: 1rem;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo::before {
  content: "🌿";
  margin-right: 0.5rem;
}

nav {
  display: none;
}

.menu-toggle {
  display: none;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ nav {
  display: block;
  position: absolute;
  top: 3.5rem;
  left: 0;
  right: 0;
  background-color: var(--light);
  border-bottom: 2px solid var(--border);
}

.menu-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

nav ul {
  list-style: none;
}

nav li {
  border-bottom: 1px solid var(--border);
}

nav a {
  display: block;
  padding: 1rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  background-color: var(--bg);
  color: var(--primary);
}

@media (min-width: 768px) {
  .menu-button {
    display: none;
  }

  nav {
    display: block !important;
    position: static;
    border: none;
    background: none;
  }

  nav ul {
    display: flex;
    gap: 2rem;
  }

  nav li {
    border: none;
  }

  nav a {
    padding: 0.5rem 0;
    display: inline;
  }

  nav a:hover {
    background-color: transparent;
    border-bottom: 2px solid var(--primary);
  }
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

section {
  margin-bottom: 3rem;
}

h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
}

h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #6d4c41 100%);
  color: white;
  padding: 3rem 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.hero h1 {
  color: white;
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--text);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #a1887f;
}

.card {
  background-color: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-top: 0;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 4rem 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

.doctor-card {
  background-color: var(--light);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.doctor-card .avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.doctor-card h3 {
  margin-top: 0;
}

.specialty {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background-color: var(--light);
}

.schedule-table th,
.schedule-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.schedule-table th {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
}

.schedule-table tr:hover {
  background-color: #fff3e0;
}

form {
  background-color: var(--light);
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background-color: white;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(78, 52, 46, 0.1);
}

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

button {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #3e2723;
}

footer {
  background-color: var(--primary);
  color: white;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--accent);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--accent);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.highlight {
  background-color: #fff9c4;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.service-list {
  list-style-position: inside;
  margin-left: 1rem;
}

.service-list li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.availability {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.availability.available {
  background-color: #c8e6c9;
  color: #1b5e20;
}

.availability.limited {
  background-color: #fff9c4;
  color: #f57f17;
}

.availability.full {
  background-color: #ffcdd2;
  color: #b71c1c;
}
