:root {
  --bg: #FFFFFF;
  --sand: #F5F3EC;
  --forest: #1E5631;
  --mustard: #E09F1F;
  --bath: #256D85;
  --ink: #18241C;
  --moss: #526056;
  --border: #E2DFD5;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  margin: 0;
  line-height: 1.12;
}

.container {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

/* Neighborhood Bar */
.neighborhood-bar {
  background: var(--forest);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 0;
}

.bar-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}

.btn-mustard {
  text-decoration: none;
  background: var(--mustard);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Hero */
.hero-campina {
  padding: 44px 0 64px;
}

.hero-double {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.petlife-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sand);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.seal-img {
  height: 22px;
  width: auto;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-sub {
  color: var(--moss);
  font-size: 1.05rem;
  margin: 0 0 26px;
  max-width: 56ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-forest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--forest);
  color: #FFFFFF;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
}

.btn-bath {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  color: var(--bath);
  border: 2px solid var(--bath);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 12px;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 32px 12px 32px 12px;
  box-shadow: 0 22px 44px -14px rgba(30, 86, 49, 0.22);
}

/* Interactive Tabs */
.tabs-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 10px;
}

.section-head p {
  margin: 0;
  color: var(--moss);
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-btn {
  border: 1.5px solid var(--border);
  background: var(--sand);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--forest);
  color: #FFFFFF;
  border-color: var(--forest);
}

.tab-panel {
  display: none;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr;
}

.panel-img img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 380px;
  object-fit: cover;
}

.panel-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}

.panel-body h3 {
  font-size: 1.55rem;
}

.panel-body p {
  margin: 0;
  color: var(--moss);
}

.panel-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 600;
}

/* Trust Sand */
.trust-sand {
  background: var(--sand);
  padding: 64px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.trust-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.trust-card strong {
  display: block;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 8px;
}

.trust-card p {
  margin: 0;
  color: var(--moss);
  font-size: 0.94rem;
}

/* Contact */
.contact-section {
  padding: 64px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.location-info h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}

.location-info > p {
  color: var(--moss);
  margin: 0 0 20px;
}

.info-card {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
}

.info-card p {
  margin: 0;
}

.caopina-form {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.form-row {
  margin-bottom: 16px;
}

.form-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-row label, .field-lbl {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 7px;
}

.form-row input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.form-row input:focus {
  outline: 2px solid var(--forest);
  border-color: var(--forest);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.chip.active {
  background: var(--bath);
  color: #FFFFFF;
  border-color: var(--bath);
}

.btn-submit {
  width: 100%;
  border: none;
  background: var(--forest);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 20px;
  border-radius: 12px;
  cursor: pointer;
}

.form-feedback {
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 1.2em;
}

/* Footer */
.caopina-footer {
  background: var(--ink);
  color: #E2DFD5;
  padding: 26px 0;
  font-size: 0.88rem;
}

.footer-flex {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.footer-flex p {
  margin: 0;
}

@media (min-width: 768px) {
  .bar-inner {
    flex-direction: row;
    justify-content: space-between;
  }
  .nav-links {
    display: flex;
  }
  .tab-panel.active,
  .contact-grid,
  .form-split {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-double {
    grid-template-columns: 1.12fr 0.88fr;
  }
  .footer-flex {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
