/* Milpa San Lucas — brand styles */

:root {
  --dark-green: #1c3a2b;
  --green: #2d5a41;
  --green-light: #3f6b4f;
  --gold: #d9a441;
  --gold-dark: #b8842a;
  --cream: #f2e6c9;
  --cream-light: #f8f0dc;
  --text: #2a2a1f;
  --max-width: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 58, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream-light);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--dark-green);
  line-height: 1.15;
  margin-top: 0;
}

a {
  color: var(--green);
}

img, svg {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream-light);
  border-bottom: 1px solid rgba(28, 58, 43, 0.1);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-green);
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--gold);
}

.lang-toggle {
  background: none;
  border: 2px solid var(--dark-green);
  color: var(--dark-green);
  border-radius: 999px;
  padding: 5px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  letter-spacing: 0.03em;
}

.lang-toggle:hover {
  background: var(--dark-green);
  color: var(--cream-light);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--dark-green);
  border-radius: 2px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

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

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

.btn-outline {
  background: transparent;
  border-color: var(--cream-light);
  color: var(--cream-light);
}

.btn-outline:hover {
  background: var(--cream-light);
  color: var(--dark-green);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(20,35,25,0.55), rgba(20,35,25,0.7)), url('/images/site/hero-bg-cornfield.jpg') center/cover;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
  gap: 40px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 16px;
  color: var(--cream-light);
}

.hero p.lead {
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 28px;
  color: var(--cream-light);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  background: var(--gold);
  padding: 10px;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  width: 92%;
  margin-left: auto;
}

.hero-image img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* Page hero (interior pages) */

.page-hero {
  background: var(--dark-green);
  color: var(--cream-light);
  padding: 56px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--cream-light);
}

.page-hero p {
  max-width: 60ch;
  margin: 12px auto 0;
  color: var(--gold);
  opacity: 1;
}

/* Sections */

section {
  padding: 64px 0;
}

.photo-strip {
  padding: 0;
}

.photo-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.photo-strip-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-embed iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.section-intro {
  max-width: 70ch;
  margin: 0 auto 40px;
  text-align: center;
}

.section-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

/* Borderless data table */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}

.products-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.products-table th,
.products-table td {
  border: none;
  padding: 10px 18px;
  text-align: left;
}

.products-table thead th {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--dark-green);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.products-table tbody tr:nth-child(even) {
  background: var(--cream-light);
}

.products-table td.product-photo {
  font-size: 1.5rem;
  text-align: center;
}

.products-table td.product-photo img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  display: inline-block;
}

.products-table td.product-photo img.photo-thumb {
  cursor: zoom-in;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.products-table th:nth-child(2),
.products-table th:nth-child(3) {
  text-align: center;
}

.products-table td:nth-child(3) {
  text-align: center;
  font-weight: 700;
  color: var(--green);
}

/* Highlight / feature cards */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.stacked-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.stacked-cards .card {
  padding: 22px 26px;
}

.card h3 {
  margin-bottom: 10px;
}

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

/* Experience cards */

.exp-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.exp-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.exp-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.exp-meta {
  display: flex;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 10px;
}

.exp-card p {
  flex: 1;
}

/* Alternating about sections */

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

.split.top-align {
  align-items: start;
}

.split.top-align .split-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
}

.split.reverse .split-media {
  order: 2;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.l-shape {
  align-items: stretch;
}

.l-shape .split-media {
  height: 100%;
}

.l-shape .split-media img {
  height: 100%;
  object-fit: cover;
}

.l-shape .split-text {
  display: flex;
  flex-direction: column;
}

.stacked-photo {
  margin-top: 28px;
  flex: 1;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stacked-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 16px;
}

.values-list li {
  padding-left: 32px;
  position: relative;
}

.values-list li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
}

/* Contact / booking */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info {
  background: var(--dark-green);
  color: var(--cream-light);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.contact-photo {
  margin-top: auto;
  width: 100%;
  flex: 1;
  min-height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
}

.contact-info h3 {
  color: var(--cream-light);
}

.contact-info .info-row {
  margin-bottom: 18px;
}

.contact-info .info-row strong {
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-info .info-row a {
  color: var(--cream-light);
  text-decoration: underline;
}

.contact-info .info-row a:hover {
  color: var(--gold);
}

form.booking-form {
  display: grid;
  gap: 18px;
}

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

label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--dark-green);
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #d8c99a;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
}

.phone-row {
  display: flex;
  gap: 10px;
}

.phone-row select {
  width: auto;
  flex: 0 0 110px;
}

.phone-row input {
  flex: 1;
}

.form-note {
  font-size: 0.85rem;
  opacity: 0.75;
}

.form-success {
  display: none;
  background: var(--green-light);
  color: #fff;
  padding: 16px 20px;
  border-radius: 10px;
  margin-top: 16px;
}

.form-success.visible {
  display: block;
}

/* Footer */

.site-footer {
  background: var(--dark-green);
  color: var(--cream-light);
  padding: 48px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: var(--cream-light);
  margin-bottom: 12px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid ul li {
  margin-bottom: 8px;
}

.footer-grid a {
  color: var(--cream-light);
  text-decoration: none;
  opacity: 0.85;
}

.footer-grid a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(242, 230, 201, 0.15);
  padding-top: 20px;
  font-size: 0.85rem;
  opacity: 0.7;
  text-align: center;
}

/* Responsive */

@media (max-width: 880px) {
  .hero-inner, .split, .split.reverse .split-media, .contact-wrap, .footer-grid {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media {
    order: 0;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-strip-grid img {
    height: 200px;
  }
  .hero-image {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(28,58,43,0.1);
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .grid-3, .grid-2, .form-row {
    grid-template-columns: 1fr;
  }
  .products-table th,
  .products-table td {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  .products-table td.product-photo {
    font-size: 1.3rem;
  }
  .products-table td.product-photo img {
    width: 34px;
    height: 34px;
  }
}
