/* =================================================================
   RUMAH SAPI — Stylesheet
   Editorial Rustic Modern — Indonesian Cattle Portal
   ================================================================= */

:root {
  /* Palette */
  --cream: #FAF6F0;
  --cream-deep: #F4E5C8;
  --paper: #FFFCF6;
  --coffee: #3B2410;
  --coffee-soft: #5C3018;
  --bark: #6B3A1F;
  --terracotta: #C8521A;
  --terracotta-deep: #A8421A;
  --forest: #2C4A2E;
  --forest-deep: #1F361F;
  --sage: #7B8C4F;
  --moss: #5C6B3E;
  --gold: #D9A55C;
  --ink: #2C1810;
  --line: rgba(59, 36, 16, 0.15);
  --line-strong: rgba(59, 36, 16, 0.35);

  /* Fonts */
  --font-display: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --container: 1280px;
  --container-narrow: 980px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Effects */
  --shadow-soft: 0 4px 20px rgba(59, 36, 16, 0.08);
  --shadow-medium: 0 10px 40px rgba(59, 36, 16, 0.12);
  --shadow-strong: 0 20px 60px rgba(59, 36, 16, 0.18);
}

/* ========== RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--coffee);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

/* Subtle paper grain texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(59, 36, 16, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 75% 70%, rgba(59, 36, 16, 0.02) 1px, transparent 1px);
  background-size: 30px 30px, 50px 50px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--coffee);
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--terracotta);
}

.italic-accent {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--terracotta);
  font-weight: 400;
}

/* ========== LAYOUT ========== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

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

section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
}

/* ========== HEADER & NAV ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--coffee);
  letter-spacing: -0.02em;
}

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

.brand-text .accent {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--coffee);
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.active {
  color: var(--terracotta);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  background: var(--coffee);
  color: var(--cream) !important;
  border-radius: 100px;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  transition: all 0.25s ease;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--terracotta);
  color: var(--cream) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--coffee);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

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

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

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

.btn-secondary:hover {
  background: var(--coffee);
  color: var(--cream);
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--cream);
}

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

.btn .arrow {
  transition: transform 0.25s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ========== HERO ========== */
.hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.02;
  margin: 1.5rem 0 1.8rem;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
  position: relative;
  display: inline-block;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: -0.05em;
  right: -0.05em;
  height: 0.12em;
  background: var(--cream-deep);
  z-index: -1;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--coffee-soft);
  max-width: 520px;
  margin-bottom: 2.2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 540px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--coffee-soft);
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  transform: rotate(1.2deg);
  aspect-ratio: 4/5;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1.5px solid var(--coffee);
  border-radius: 12px;
  transform: rotate(-2deg);
  z-index: -1;
}

.hero-badge {
  position: absolute;
  top: -25px;
  right: -10px;
  width: 110px;
  height: 110px;
  background: var(--terracotta);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.1;
  transform: rotate(-12deg);
  box-shadow: var(--shadow-medium);
  z-index: 4;
  animation: float-badge 4s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-6px); }
}

.hero-badge-small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}

/* Decorative elements */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.deco-circle-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--cream-deep) 0%, transparent 70%);
  top: -100px;
  right: -80px;
  opacity: 0.6;
}

.deco-line {
  position: absolute;
  pointer-events: none;
  opacity: 0.4;
}

/* ========== SECTION TITLES ========== */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 1rem 0 1.2rem;
  letter-spacing: -0.03em;
}

.section-title em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}

.section-subtitle {
  color: var(--coffee-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ========== FEATURES STRIP ========== */
.features-strip {
  background: var(--coffee);
  color: var(--cream);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.features-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(200, 82, 26, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(44, 74, 46, 0.2) 0%, transparent 50%);
}

.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(250, 246, 240, 0.1);
  border: 1px solid rgba(250, 246, 240, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-deep);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.feature-desc {
  font-size: 0.84rem;
  color: rgba(250, 246, 240, 0.7);
  line-height: 1.5;
}

/* ========== KATALOG SAPI ========== */
.katalog-section {
  background: var(--paper);
  position: relative;
}

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

.cattle-card {
  background: var(--cream);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.cattle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: var(--terracotta);
}

.cattle-image {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
  aspect-ratio: 4/3;
}

.cattle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.cattle-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--cream);
  color: var(--coffee);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cattle-tag.import {
  background: var(--forest);
  color: var(--cream);
}

.cattle-tag.lokal {
  background: var(--terracotta);
  color: var(--cream);
}

.cattle-body {
  padding: 1.6rem 1.7rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cattle-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.cattle-meta {
  font-size: 0.82rem;
  color: var(--coffee-soft);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.cattle-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.cattle-desc {
  color: var(--coffee-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
  flex: 1;
}

.cattle-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.3rem;
  border-top: 1px dashed var(--line);
}

.cattle-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--terracotta);
}

.cattle-price small {
  font-size: 0.75rem;
  color: var(--coffee-soft);
  font-weight: 400;
  display: block;
  font-family: var(--font-body);
}

.cattle-link {
  color: var(--coffee);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.cattle-link:hover {
  color: var(--terracotta);
}

.cattle-link:hover .arrow {
  transform: translateX(3px);
}

.cattle-link .arrow {
  transition: transform 0.2s ease;
}

/* ========== SERVICES ========== */
.services-section {
  background: var(--cream);
}

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

.service-card {
  background: var(--paper);
  padding: 2rem 1.8rem 2.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--cream-deep);
  line-height: 1;
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-weight: 600;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--cream-deep);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--coffee-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.service-link {
  color: var(--terracotta);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========== ABOUT / STORY ========== */
.story-section {
  background: var(--coffee);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(200, 82, 26, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(44, 74, 46, 0.15) 0%, transparent 40%);
}

.story-section .container {
  position: relative;
  z-index: 2;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.story-section .eyebrow {
  color: var(--cream-deep);
}

.story-section .eyebrow::before {
  background: var(--cream-deep);
}

.story-section h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 1rem 0 1.5rem;
}

.story-section h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.story-text {
  color: rgba(250, 246, 240, 0.85);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.story-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cream);
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 3px solid var(--terracotta);
  margin: 2rem 0;
  line-height: 1.5;
}

.story-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--cream-deep);
  margin-top: 0.8rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.story-visual {
  position: relative;
}

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--paper);
  color: var(--coffee);
  border-radius: 14px;
  overflow: hidden;
}

.story-stat {
  padding: 2rem 1.8rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.story-stat:nth-child(2n) { border-right: none; }
.story-stat:nth-last-child(-n+2) { border-bottom: none; }

.story-stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.story-stat-label {
  font-size: 0.85rem;
  color: var(--coffee-soft);
  line-height: 1.3;
}

/* ========== ARTICLES ========== */
.articles-section {
  background: var(--cream);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.8rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.35s ease;
}

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

.article-card.featured {
  grid-row: span 2;
}

.article-image {
  overflow: hidden;
  background: var(--cream-deep);
  aspect-ratio: 16/10;
}

.article-card.featured .article-image {
  aspect-ratio: 4/3;
}

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

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

.article-body {
  padding: 1.5rem 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card.featured .article-body {
  padding: 2rem 2.2rem 2.3rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--coffee-soft);
  margin-bottom: 0.8rem;
  align-items: center;
}

.article-category {
  background: var(--cream-deep);
  color: var(--terracotta);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.article-card.featured .article-title {
  font-size: 1.8rem;
}

.article-card:hover .article-title {
  color: var(--terracotta);
}

.article-excerpt {
  color: var(--coffee-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.article-readmore {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: var(--cream-deep);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'RUMAH SAPI';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.05em;
  opacity: 0.5;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 1rem 0 1.3rem;
}

.cta-content h2 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}

.cta-content p {
  font-size: 1.08rem;
  color: var(--coffee-soft);
  margin-bottom: 2.2rem;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  background: var(--paper);
}

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

.testimonial-card {
  background: var(--cream);
  padding: 2rem 1.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--terracotta);
  position: absolute;
  top: -10px;
  left: 16px;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.testimonial-text {
  font-size: 0.96rem;
  color: var(--coffee);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--line);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--terracotta);
  border-radius: 50%;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--coffee);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--coffee-soft);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--coffee);
  color: var(--cream);
  padding: 4.5rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1.2rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(250, 246, 240, 0.7);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.7rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(250, 246, 240, 0.1);
  border: 1px solid rgba(250, 246, 240, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: all 0.25s ease;
}

.footer-socials a:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-2px);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
  color: var(--cream);
  letter-spacing: -0.01em;
}

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

.footer-links a {
  color: rgba(250, 246, 240, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--terracotta);
}

.footer-contact {
  font-size: 0.9rem;
  color: rgba(250, 246, 240, 0.75);
  line-height: 1.7;
}

.footer-contact strong {
  color: var(--cream);
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.footer-contact p {
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  padding: 1.8rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(250, 246, 240, 0.55);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: rgba(250, 246, 240, 0.7);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--terracotta);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: all 0.25s ease;
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ========== PAGE HEADER (untuk halaman lain) ========== */
.page-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4rem);
  background: var(--cream-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(200, 82, 26, 0.08) 0%, transparent 50%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin: 1rem 0;
  letter-spacing: -0.03em;
}

.page-header h1 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--coffee-soft);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--coffee-soft);
  margin-bottom: 0.5rem;
}

.breadcrumb a:hover {
  color: var(--terracotta);
}

/* ========== CONTACT FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info {
  background: var(--coffee);
  color: var(--cream);
  padding: 2.5rem 2.3rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(200, 82, 26, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.contact-info > * {
  position: relative;
  z-index: 2;
}

.contact-info h2 {
  color: var(--cream);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.contact-info p {
  color: rgba(250, 246, 240, 0.8);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.contact-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(250, 246, 240, 0.1);
  border: 1px solid rgba(250, 246, 240, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail strong {
  display: block;
  font-size: 0.78rem;
  color: var(--cream-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.contact-detail span {
  color: var(--cream);
  font-size: 0.94rem;
  line-height: 1.5;
}

.contact-form {
  background: var(--paper);
  padding: 2.5rem 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.contact-form h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-form > p {
  color: var(--coffee-soft);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--coffee);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--coffee);
  transition: border-color 0.2s ease;
}

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

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

.form-submit {
  width: 100%;
  padding: 1.1rem;
  background: var(--coffee);
  color: var(--cream);
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-submit:hover {
  background: var(--terracotta);
  transform: translateY(-1px);
}

/* ========== TIMELINE (untuk about page) ========== */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line-strong);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 6px;
  width: 20px;
  height: 20px;
  background: var(--terracotta);
  border-radius: 50%;
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 1px var(--terracotta);
}

.timeline-year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.timeline-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--coffee-soft);
  line-height: 1.65;
  font-size: 0.96rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .katalog-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card.featured { grid-row: span 1; grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .story-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem var(--gutter);
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .menu-toggle { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .nav-cta { align-self: stretch; justify-content: center; }
  
  .katalog-grid,
  .services-grid,
  .articles-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: span 1; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .stat-number { font-size: 1.4rem; }
  .stat-label { font-size: 0.72rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .features-row { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: 1fr; }
  .story-stat { border-right: none; border-bottom: 1px solid var(--line); }
  .story-stat:last-child { border-bottom: none; }
  .contact-form, .contact-info { padding: 2rem 1.5rem; }
  .hero-badge { width: 90px; height: 90px; font-size: 0.78rem; top: -15px; right: 0; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.fade-up[data-delay="1"] { animation-delay: 0.12s; }
.fade-up[data-delay="2"] { animation-delay: 0.24s; }
.fade-up[data-delay="3"] { animation-delay: 0.36s; }
.fade-up[data-delay="4"] { animation-delay: 0.48s; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ADDITIONAL PAGE STYLES ========== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-pill {
  padding: 0.55rem 1.15rem;
  background: var(--cream-deep);
  color: var(--coffee);
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-pill:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.filter-pill.active {
  background: var(--coffee);
  color: var(--cream);
  border-color: var(--coffee);
}
.info-block {
  margin-top: 4rem;
  padding: 2.2rem 2rem;
  background: var(--cream-deep);
  border-radius: 16px;
  border-left: 4px solid var(--terracotta);
}
.info-block h3 { margin-bottom: 0.8rem; }
.info-block p {
  color: var(--coffee-soft);
  line-height: 1.7;
  max-width: 800px;
}

/* Service detail blocks */
.service-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:nth-child(even) .service-detail-visual {
  order: -1;
}
.service-detail-text .eyebrow { margin-bottom: 1rem; }
.service-detail-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.service-detail-text h2 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400;
}
.service-detail-text p {
  color: var(--coffee-soft);
  line-height: 1.7;
  font-size: 1.02rem;
  margin-bottom: 1.2rem;
}
.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0;
}
.service-detail-list li {
  padding: 0.6rem 0 0.6rem 1.8rem;
  position: relative;
  color: var(--coffee);
  border-bottom: 1px dashed var(--line);
}
.service-detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--terracotta);
  font-weight: 700;
}
.service-detail-list li:last-child { border-bottom: none; }
.service-detail-visual {
  background: var(--coffee);
  color: var(--cream);
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-detail-visual::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(200, 82, 26, 0.35) 0%, transparent 70%);
}
.service-detail-visual > * { position: relative; z-index: 2; }
.service-detail-visual .big-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}
.service-detail-visual h4 {
  color: var(--cream);
  font-size: 1.4rem;
  margin: 0.8rem 0;
}
.service-detail-visual p {
  color: rgba(250, 246, 240, 0.78);
  line-height: 1.6;
  font-size: 0.96rem;
}

/* About vision/mission cards */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
.vm-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  transition: all 0.25s ease;
}
.vm-card:hover {
  transform: translateY(-3px);
  border-color: var(--terracotta);
}
.vm-card .vm-icon {
  width: 52px;
  height: 52px;
  background: var(--cream-deep);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 1.2rem;
}
.vm-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}
.vm-card p {
  color: var(--coffee-soft);
  line-height: 1.65;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem;
  text-align: center;
}
.team-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--coffee));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}
.team-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.team-card .team-role {
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 0.7rem;
}
.team-card p {
  font-size: 0.92rem;
  color: var(--coffee-soft);
  line-height: 1.55;
}

/* Article list (artikel page) */
.article-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Page CTA-section trim for inner pages — reuse main one */

@media (max-width: 1024px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-visual { order: 0; }
  .vm-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .article-list-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; }
  .article-list-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
