/* ===================================================================
   ARKA CAHAYA FARM — DESIGN SYSTEM & STYLESHEET
   Based on prd.md and desain.md
   Aesthetic: Warm Farm + Modern Editorial + Trustworthy
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- 1. DESIGN TOKENS --- */
:root {
  /* Brand colors */
  --coffee: #3F2416;
  --coffee-2: #5C351F;
  --coffee-light: #6E452E;
  
  /* Text & Ink */
  --ink: #2C2521;
  --ink-secondary: #4A423C;
  --muted: #746C65;
  --muted-light: #9E968F;

  /* Neutral Backgrounds */
  --cream: #FBF7EF;
  --paper: #FFFDF9;
  --sand: #EFE3D1;
  --sand-light: #F7EFE4;
  --line: #E5DDD3;
  --line-strong: #D6CCC0;

  /* Balancing Slate Blue Accents (For Action & Navigation) */
  --blue: #315F7C;
  --blue-dark: #244D68;
  --blue-soft: #EDF3F6;
  --blue-border: #BCD0DC;

  /* Status & Accents */
  --green-soft: #EBF5EE;
  --green-text: #285A35;
  --amber-soft: #FCF4E6;
  --amber-text: #7A4E12;

  /* Geometry & Elevation */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-card: 20px;
  --radius-large: 26px;
  --radius-button: 999px;

  --shadow-sm: 0 4px 12px rgba(63, 36, 22, 0.04);
  --shadow: 0 14px 36px rgba(63, 36, 22, 0.08);
  --shadow-lg: 0 20px 48px rgba(63, 36, 22, 0.12);

  /* Typography Fonts */
  --font-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Container & Heights */
  --container-max: 1180px;
  --header-height: 86px;
  --header-height-mobile: 74px;
}

/* --- 2. CSS RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}

/* --- 3. TYPOGRAPHY SCALE --- */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--coffee);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.28;
}

h4 {
  font-size: 1.2rem;
  line-height: 1.35;
}

p {
  margin-bottom: 1rem;
  color: var(--ink-secondary);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-secondary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: var(--blue);
  border-radius: 2px;
}

.eyebrow-coffee {
  color: var(--coffee-2);
}
.eyebrow-coffee::before {
  background-color: var(--coffee-2);
}

/* --- 4. CONTAINER & SECTION LAYOUT --- */
.container {
  width: min(var(--container-max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 84px 0;
  position: relative;
}

.section-sm {
  padding: 56px 0;
}

.section-hero {
  padding: 44px 0 76px;
  background: radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.7) 0%, rgba(251,247,239,0) 65%), var(--cream);
}

.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  max-width: 680px;
  margin-inline: auto;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.06rem;
  color: var(--muted);
}

/* Background Rhythm */
.bg-cream {
  background-color: var(--cream);
}

.bg-sand {
  background-color: var(--sand-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bg-paper {
  background-color: var(--paper);
}

.bg-coffee {
  background-color: var(--coffee);
  color: var(--cream);
}

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

/* --- 5. BUTTONS & CHIPS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-button);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
  line-height: 1;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

/* Primary Action: Slate Blue (As per Design Spec) */
.btn-primary {
  background-color: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(49, 95, 124, 0.25);
}

.btn-primary:hover {
  background-color: var(--blue-dark);
  box-shadow: 0 6px 18px rgba(36, 77, 104, 0.35);
  transform: translateY(-1px);
  color: #FFFFFF;
}

/* Secondary Button: Coffee Outline */
.btn-outline {
  background-color: transparent;
  color: var(--coffee);
  border: 1.5px solid var(--coffee);
}

.btn-outline:hover {
  background-color: var(--coffee);
  color: var(--cream);
  transform: translateY(-1px);
}

/* Light Outline Button (for dark background) */
.btn-outline-light {
  background-color: transparent;
  color: var(--cream);
  border: 1.5px solid var(--sand);
}

.btn-outline-light:hover {
  background-color: var(--sand);
  color: var(--coffee);
}

/* Blue Soft Secondary */
.btn-soft {
  background-color: var(--blue-soft);
  color: var(--blue-dark);
  border: 1px solid var(--blue-border);
}

.btn-soft:hover {
  background-color: var(--blue);
  color: #FFFFFF;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-whatsapp-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Trust Chips */
.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-button);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--coffee);
  box-shadow: var(--shadow-sm);
}

.trust-chip svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

/* Badge Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-button);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-green {
  background-color: var(--green-soft);
  color: var(--green-text);
  border: 1px solid rgba(40, 90, 53, 0.2);
}

.badge-amber {
  background-color: var(--amber-soft);
  color: var(--amber-text);
  border: 1px solid rgba(122, 78, 18, 0.2);
}

.badge-blue {
  background-color: var(--blue-soft);
  color: var(--blue-dark);
  border: 1px solid var(--blue-border);
}

/* --- 6. NAVBAR --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 253, 249, 0.98);
  box-shadow: 0 4px 20px rgba(63, 36, 22, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  background: #feeec3;
  border: 1.5px solid rgba(63, 36, 22, 0.15);
  box-shadow: 0 4px 10px rgba(63, 36, 22, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.04);
  box-shadow: 0 6px 14px rgba(63, 36, 22, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--coffee);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link.active {
  color: var(--blue-dark);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--blue);
  border-radius: 2px;
}

/* Header Action */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--coffee);
}

.hamburger-btn svg {
  width: 26px;
  height: 26px;
}

/* Mobile Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 24px 20px;
  box-shadow: 0 16px 32px rgba(63, 36, 22, 0.1);
  z-index: 999;
}

.mobile-nav.open {
  display: block;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.mobile-menu-list .nav-link {
  font-size: 1.05rem;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-list .nav-link.active::after {
  display: none;
}

.mobile-menu-list .nav-link.active {
  color: var(--blue);
  font-weight: 700;
}

/* --- 7. HERO COMPONENT (DESKTOP & INNER) --- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  min-height: 580px;
}

.hero-copy {
  max-width: 580px;
}

.hero-copy h1 {
  margin-bottom: 18px;
}

.hero-supporting {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--coffee-2);
  margin-bottom: 16px;
  line-height: 1.45;
}

.hero-copy .lead {
  margin-bottom: 28px;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-media-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background-color: var(--paper);
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(63, 36, 22, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--blue-soft);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--coffee);
}

.floating-text span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Inner Page Hero */
.page-hero {
  padding: 48px 0 54px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--sand-light) 0%, var(--cream) 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.page-hero-portrait-stack {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.portrait-preview-card {
  width: 180px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--paper);
}

.portrait-preview-card:nth-child(2) {
  margin-top: 24px;
}

.portrait-preview-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* --- 8. FEATURE CARDS (KEUNGGULAN) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--blue-border);
}

.feature-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-circle svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* --- 9. PORTRAIT ANIMAL GALLERY CARDS (9:16) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gallery-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.animal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.animal-media {
  position: relative;
  overflow: hidden;
  background-color: var(--sand);
}

.animal-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.animal-card:hover .animal-media img {
  transform: scale(1.03);
}

.animal-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.animal-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.animal-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--coffee-2);
  margin-bottom: 4px;
}

.animal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--coffee);
  margin-bottom: 6px;
  line-height: 1.2;
}

.animal-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.animal-footer {
  margin-top: auto;
}

.animal-footer .btn {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.86rem;
}

/* --- 10. DISCLAIMER & INFO BANNERS --- */
.disclaimer-banner {
  background-color: var(--sand-light);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.disclaimer-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.disclaimer-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.disclaimer-text h4 {
  color: var(--coffee);
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.disclaimer-text p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 0;
}

/* --- 11. PROCESS / STEPS COMPONENT --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(49, 95, 124, 0.25);
}

.step-icon {
  color: var(--muted-light);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Arrow between horizontal steps */
.step-arrow-right {
  display: none;
}

/* --- 12. FAQ ACCORDION COMPONENT --- */
.faq-wrap {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: var(--blue-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--coffee);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(45deg);
  background-color: var(--blue);
  color: #FFFFFF;
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--ink-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  border-top: 1px solid var(--line);
  margin-top: -4px;
  padding-top: 16px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --- 13. CTA FINAL PANEL --- */
.cta-panel {
  background: linear-gradient(135deg, var(--coffee) 0%, #2A170C 100%);
  border-radius: var(--radius-large);
  padding: 64px 48px;
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(239, 227, 209, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-panel h2 {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.cta-panel p {
  color: var(--sand);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.cta-panel .btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- 14. CONTACT FORM & INFO --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 18px;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-body h4 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.contact-card-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-card-body a {
  font-weight: 600;
  color: var(--blue);
}

.contact-card-body a:hover {
  text-decoration: underline;
}

.form-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.form-box h3 {
  margin-bottom: 8px;
}

.form-box p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--coffee);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--blue);
  background-color: #FFFFFF;
}

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

/* Map Card */
.map-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.map-card iframe {
  width: 100%;
  height: 320px;
  border: none;
}

/* --- 15. FILTER TABS (GALERI) --- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.active {
  background-color: var(--blue);
  border-color: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(49, 95, 124, 0.2);
}

/* --- 16. FOOTER --- */
.site-footer {
  background-color: var(--coffee);
  color: var(--cream);
  padding: 72px 0 32px;
  border-top: 1px solid #4F3222;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(239, 227, 209, 0.15);
}

.footer-brand .brand-logo {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  object-fit: cover;
  background: #feeec3;
  border: 1.5px solid rgba(239, 227, 209, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  margin-bottom: 16px;
}

.footer-brand .brand-title {
  color: #FFFFFF;
}

.footer-brand .brand-tagline {
  color: var(--sand);
}

.footer-brand p {
  color: rgba(251, 247, 239, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(251, 247, 239, 0.8);
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: rgba(251, 247, 239, 0.8);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--sand);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--sand);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: rgba(251, 247, 239, 0.6);
}

/* --- 17. RESPONSIVE BREAKPOINTS --- */

/* Tablet (820px to 1050px) */
@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile (< 820px) */
@media (max-width: 820px) {
  :root {
    --header-height: var(--header-height-mobile);
  }
  
  .section {
    padding: 62px 0;
  }
  .section-sm {
    padding: 44px 0;
  }

  .nav-menu, .nav-actions .btn {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }

  .hero-image-card img {
    aspect-ratio: 16 / 11;
  }

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

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

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero-portrait-stack {
    justify-content: center;
  }

  .disclaimer-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .disclaimer-banner .btn {
    width: 100%;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-grid-6 {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 44px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Small Mobile (< 560px) */
@media (max-width: 560px) {
  .container {
    width: calc(100% - 30px);
  }

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

  .animal-body {
    padding: 12px 10px 14px;
  }

  .animal-title {
    font-size: 1.08rem;
  }

  .animal-desc {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }

  .animal-footer .btn {
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .hero-btn-group .btn {
    width: 100%;
  }

  .chips-wrap {
    gap: 8px;
  }

  .trust-chip {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .portrait-preview-card {
    width: 140px;
  }
}
