:root {
  /* Brand colors from logo */
  --bg: #f7f7f4;
  --bg-alt: #ffffff;
  --accent-green: #245731;
  --accent-red: #8f3238;
  --accent: var(--accent-green);
  --accent-soft: rgba(36, 87, 49, 0.1);
  --success: var(--accent-green);
  --danger: var(--accent-red);
  --text: #1a1a1a;
  --muted: #666666;
  --card-bg: #ffffff;
  --border: #cccccc;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;
  --transition-fast: 0.2s ease-out;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing scale - mobile-first */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout Helpers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    #fcfcfc 50%,
    var(--bg) 100%
  );
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.02em;
  margin: 0 0 var(--space-sm);
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1rem);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header.left p {
  margin-left: 0;
  margin-right: 0;
}

/* Navbar - Mobile-first */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 3px solid var(--accent-green);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  gap: var(--space-md);
  min-height: 64px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  max-width: 100%;
}

/* Mobile Navigation */
.nav-links {
  position: fixed;
  top: 67px;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: var(--space-md);
  flex-direction: column;
  gap: var(--space-xs);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.nav-links.open {
  max-height: 500px;
  opacity: 1;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition-fast);
  font-weight: 500;
  font-size: 1rem;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  display: block;
  text-align: left;
  background: var(--bg);
  margin-bottom: var(--space-xs);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-green);
  background: var(--accent-soft);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1001;
}

.nav-toggle:hover {
  background: var(--accent-soft);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

.hamburger-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text);
  left: 0;
  transition: all 0.3s ease;
}

.hamburger-icon::before {
  top: -7px;
}

.hamburger-icon::after {
  bottom: -7px;
}

/* Hamburger animation when menu is open */
.nav-toggle.active .hamburger-icon {
  background: transparent;
}

.nav-toggle.active .hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Buttons - Mobile optimized */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-smooth);
  white-space: nowrap;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
}

.btn-primary {
  background: var(--accent-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(36, 87, 49, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  background: #1e4a28;
  box-shadow: 0 8px 20px rgba(36, 87, 49, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: transparent;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(143, 50, 56, 0.08);
  border-color: var(--accent-red);
}

.btn-primary.small,
.btn-secondary.small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  min-height: 40px;
}

.full-width {
  width: 100%;
}

/* WhatsApp & Email Buttons */
.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #1fb85a;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-email {
  background: #2f6b3c;
}

.btn-email:hover,
.btn-email:focus {
  background: #275a33;
}

.btn-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Hero Section - Mobile-first */
.hero-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(to bottom, rgba(36, 87, 49, 0.03) 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.hero-text h1 {
  font-size: clamp(1.75rem, 5vw, 2.8rem);
  margin: 0 0 var(--space-md);
  line-height: 1.2;
  font-weight: 700;
}

.hero-text > p {
  margin: 0 0 var(--space-lg);
  color: var(--muted);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.7;
}

.hero-actions-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
}

.hero-highlights span {
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-pill);
  background: var(--accent-green);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  font-weight: 600;
  white-space: nowrap;
}

.hero-contact-note {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.hero-card {
  background: linear-gradient(145deg, var(--bg-alt) 0%, rgba(143, 50, 56, 0.03) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(143, 50, 56, 0.15);
}

.hero-card h2 {
  margin: 0 0 var(--space-lg);
  font-size: clamp(1.2rem, 3vw, 1.3rem);
  color: var(--accent-red);
}

.hero-booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Cards & Grids - Mobile-first */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-green);
}

.card h3 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--accent-green);
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Lists */
.list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.list li {
  margin-bottom: var(--space-xs);
  padding-left: 1.5em;
  position: relative;
}

.list li::before {
  content: '✓';
  color: var(--accent-green);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1rem;
}

/* Highlights - Mobile-first */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.highlight {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(36, 87, 49, 0.04) 0%, rgba(143, 50, 56, 0.04) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-smooth);
}

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

.highlight h3 {
  margin: 0 0 var(--space-xs);
  color: var(--accent-red);
  font-size: 1.05rem;
  font-weight: 600;
}

.highlight p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing - Mobile-first */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.price-card .price {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  font-weight: 700;
  margin: var(--space-sm) 0;
  color: var(--accent-red);
  display: block;
}

.section-footer-text {
  margin-top: var(--space-xl);
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0 var(--space-md);
}

/* Gallery - Mobile-first */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  cursor: pointer;
  transition: all var(--transition-smooth);
  background: var(--card-bg);
  aspect-ratio: 4/3;
}

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

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--transition-smooth);
}

.photo-card:hover img {
  opacity: 0.85;
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #ffffff;
  padding: var(--space-lg) var(--space-md) var(--space-sm);
  transition: background var(--transition-smooth);
}

.photo-overlay h3 {
  margin: 0;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 600;
  color: #ffffff;
}

.photo-card:hover .photo-overlay {
  background: linear-gradient(
    to top,
    var(--accent-green) 0%,
    rgba(36, 87, 49, 0.7) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Reviews */
.review-text {
  margin: 0 0 var(--space-md);
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
}

.review-author {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent-green);
  font-weight: 600;
}

/* Booking Section - Mobile-first */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.booking-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.quick-contact-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.booking-form-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Forms - Mobile optimized */
.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-row-inline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

input,
select,
textarea {
  padding: 0.75rem var(--space-md);
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: all var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 44px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--bg-alt);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

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

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.form-message {
  min-height: 1.2rem;
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  font-weight: 600;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.form-message.success,
.form-message.error {
  opacity: 1;
}

.form-message.success {
  color: var(--success);
  background: rgba(36, 87, 49, 0.1);
  border: 1px solid var(--success);
}

.form-message.error {
  color: var(--danger);
  background: rgba(143, 50, 56, 0.1);
  border: 1px solid var(--danger);
}

/* Footer */
.footer {
  border-top: 4px solid var(--accent-red);
  background: #ffffff;
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--accent-green);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-grid p {
  margin: var(--space-xs) 0;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

/* Social Media Icons */
.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-green);
  transition: all var(--transition-smooth);
  -webkit-tap-highlight-color: transparent;
}

.social-links a:hover {
  background: var(--accent-green);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(36, 87, 49, 0.3);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* Floating WhatsApp Button - Mobile optimized */
.whatsapp-float {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: #25D366;
  color: #ffffff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all var(--transition-smooth);
  animation: pulse 2s infinite;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}

.whatsapp-float:hover {
  background: #1fb85a;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-text {
  display: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Small phones (360px+) */
@media (min-width: 360px) {
  .hero-highlights span {
    font-size: 0.85rem;
  }
}

/* Large phones (480px+) */
@media (min-width: 480px) {
  .form-row-inline {
    grid-template-columns: 1fr 1fr;
  }
  
  .quick-actions {
    flex-direction: row;
  }
  
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .whatsapp-text {
    display: inline;
  }
}

/* Tablets (640px+) */
@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-lg);
  }
  
  .logo-img {
    height: 55px;
  }
  
  .cards-grid,
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-actions-cta {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .quick-contact-buttons {
    flex-direction: row;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop (769px+) */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
  
  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: var(--space-lg);
    max-height: none;
    opacity: 1;
    overflow: visible;
  }
  
  .nav-links a {
    padding: var(--space-xs) var(--space-sm);
    margin-bottom: 0;
    background: transparent;
  }
  
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
  }
  
  .hero-card {
    position: sticky;
    top: 90px;
  }
  
  .booking-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
  }
  
  .booking-info {
    position: sticky;
    top: 100px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large desktop (1024px+) */
@media (min-width: 1024px) {
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .cards-grid,
  .highlights-grid,
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
*:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .navbar,
  .nav-toggle,
  .whatsapp-float,
  .hero-actions-cta,
  .quick-contact-buttons,
  .btn-primary,
  .btn-secondary {
    display: none !important;
  }
  
  * {
    box-shadow: none !important;
  }
}