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

:root {
  --primary: #D4A574;
  --primary-dark: #B8834A;
  --primary-light: #E8C9A0;
  --dark: #3C2415;
  --darker: #2C1810;
  --light: #FFF8F0;
  --cream: #F5E6D3;
  --white: #FFFFFF;
  --text: #2C1810;
  --text-light: #6B5B4E;
  --accent: #8B5E3C;
  --success: #4CAF50;
  --error: #f44336;
  --shadow: 0 4px 20px rgba(60, 36, 21, 0.1);
  --shadow-lg: 0 10px 40px rgba(60, 36, 21, 0.15);
  --transition: all 0.3s ease;
  --radius: 12px;
  --radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

::selection {
  background-color: var(--primary);
  color: var(--white);
}

/* ==========================================================================
   2. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--darker);
  line-height: 1.2;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; }
h3 { font-size: 2rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 500; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

p, span {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

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

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--darker);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ==========================================================================
   3. Layout Utilities
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

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

/* ==========================================================================
   4. Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0;
  box-shadow: 0 2px 20px rgba(60, 36, 21, 0.08);
  transition: var(--transition);
  z-index: 1000;
}

.navbar.scrolled {
  background-color: #FFFFFF;
  padding: 12px 0;
  box-shadow: 0 4px 25px rgba(60, 36, 21, 0.12);
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--dark);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.nav-logo span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu a.nav-link,
.nav-link {
  color: var(--dark) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-menu a.nav-link:hover,
.nav-link:hover {
  color: var(--primary) !important;
}

.nav-menu a.nav-link.active,
.nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3C2415 0%, #5A3821 100%) !important;
  color: #FFFFFF !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  border: 2px solid #3C2415;
  box-shadow: 0 4px 15px rgba(60, 36, 21, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  background: linear-gradient(135deg, #D4A574 0%, #B8834A 100%) !important;
  color: #FFFFFF !important;
  border-color: #D4A574;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2.5px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(60,36,21,0.8) 0%, rgba(139,94,60,0.6) 50%, rgba(212,165,116,0.8) 100%);
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 2;
  padding: 0 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-family: 'Inter', sans-serif;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ==========================================================================
   6. Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border: none;
  text-align: center;
}

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

.btn-primary {
  background-color: var(--primary);
  color: var(--dark);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--dark);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark);
}

.btn-dark {
  background-color: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background-color: var(--darker);
}

/* ==========================================================================
   7. Cards
   ========================================================================== */
.card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   8. Menu Page Styles
   ========================================================================== */
.menu-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid var(--primary);
  background-color: transparent;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.menu-card {
  /* Inherits from .card */
}

.menu-card-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  display: block;
  margin-top: 0.5rem;
}

.menu-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   9. Gallery Page Styles
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(60, 36, 21, 0.7);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 2rem;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0,0,0,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--white);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   10. About Page Styles
   ========================================================================== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 auto 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

/* ==========================================================================
   11. Contact Page Styles
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0d5c9;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-info-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  margin-top: 2rem;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   12. Chatbot Widget Styles
   ========================================================================== */
.chat-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--dark);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-toggle:hover {
  transform: scale(1.1);
}

.chat-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 380px;
  max-height: 500px;
  height: 500px;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: scale(0) translateY(20px);
  opacity: 0;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
  pointer-events: none;
}

.chat-window.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  background-color: var(--dark);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 16px 16px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-message.bot {
  background-color: var(--cream);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-message.user {
  background-color: var(--primary);
  color: var(--dark);
  border-bottom-right-radius: 4px;
  margin-left: auto;
  align-self: flex-end;
}

.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input {
  flex: 1;
  border: 2px solid #e0d5c9;
  border-radius: 24px;
  padding: 10px 16px;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.chat-input:focus {
  border-color: var(--primary);
}

.chat-send {
  background-color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.chat-send:hover {
  background-color: var(--primary-dark);
}

/* ==========================================================================
   13. Toast Notification
   ========================================================================== */
.toast {
  position: fixed;
  top: 30px;
  right: 30px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  color: var(--white);
  z-index: 3000;
  transform: translateX(120%);
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background-color: var(--success);
}

.toast.error {
  background-color: var(--error);
}

/* ==========================================================================
   14. Page Header (for inner pages)
   ========================================================================== */
.page-header {
  height: 40vh;
  min-height: 300px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  position: relative;
  margin-top: 0;
  padding-top: 80px; /* Offset for navbar */
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.page-header > * {
  z-index: 1;
  position: relative;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ==========================================================================
   15. Features / Highlights Section
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ==========================================================================
   16. Testimonials
   ========================================================================== */
.testimonials {
  background-color: var(--dark);
  color: var(--white);
  padding: 100px 0;
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   17. CTA Section
   ========================================================================== */
.cta-section {
  background-color: var(--primary);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--dark);
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.5rem;
}

.cta-section .btn {
  background-color: var(--dark);
  color: var(--white);
}

.cta-section .btn:hover {
  background-color: var(--darker);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-title span {
  color: var(--primary);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
  color: var(--white);
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-col i {
  margin-right: 8px;
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.footer-social a:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  color: var(--dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ==========================================================================
   19. Scroll to Top Button
   ========================================================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--dark);
  color: var(--white);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 998;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow);
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background-color: var(--primary);
  color: var(--dark);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate-up { animation: fadeInUp 0.8s ease forwards; }
.animate-fade { animation: fadeIn 1s ease forwards; }
.animate-left { animation: slideInLeft 0.8s ease forwards; }
.animate-right { animation: slideInRight 0.8s ease forwards; }

/* ==========================================================================
   21. All Responsive Media Queries
   ========================================================================== */

/* Desktop small */
@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* Tablet */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .nav-toggle { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #FFFFFF;
    box-shadow: -5px 0 25px rgba(60, 36, 21, 0.15);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 1.8rem;
    padding: 40px 20px;
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }

  .nav-menu a.nav-link,
  .nav-menu .nav-link {
    color: var(--dark) !important;
    font-size: 1.2rem;
    font-weight: 500;
  }

  .nav-menu a.nav-link.active,
  .nav-menu .nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
  }

  .nav-menu .nav-btn {
    width: 100%;
    max-width: 220px;
    text-align: center;
    margin-top: 1rem;
  }
  
  .hero-title { font-size: 3rem; }
  
  .about-story, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  
  .page-header { height: 30vh; min-height: 250px; }
  .page-header h1 { font-size: 2.5rem; }
}

/* Mobile */
@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .hero-title { font-size: 2.5rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  
  .menu-grid, .values-grid, .team-grid, .features-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  .chat-window {
    width: calc(100% - 30px);
    right: 15px;
    bottom: 90px;
  }
  
  .chat-toggle {
    bottom: 20px;
    right: 15px;
  }
  
  .scroll-top {
    bottom: 20px;
    left: 15px;
  }
  
  .toast {
    top: 20px;
    right: 15px;
    left: 15px;
    padding: 12px 16px;
  }
}
