/* =========================================================================
   Saujana Agro — public site stylesheet
   Sections: tokens, reset, base, buttons, topbar, header, nav, footer,
   layout utilities, editbar
   ========================================================================= */

/* ---- tokens ------------------------------------------------------------ */
:root {
  --dark: #14352A; --dark-2: #1D4534; --green: #47A857; --green-soft: #C9DFA9;
  --yellow: #F4C542; --pink: #FBE4EC; --cream: #FBF1DF; --mint: #E4F3EA; --peach: #FDEBDD;
  --ink: #24312B; --muted: #6B7A72; --line: #E5EDE8; --radius: 14px;
  --font: 'Jost', 'Avenir Next', 'Trebuchet MS', sans-serif;
  --script: 'Caveat', 'Snell Roundhand', cursive;
  --shadow: 0 10px 30px rgba(20, 53, 42, .08);
}

/* ---- reset --------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

/* ---- base ---------------------------------------------------------------*/
body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.15;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.25rem, 1.75rem + 2.2vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.5rem + 1.1vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
h4 { font-size: 1.125rem; }

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

main { display: block; overflow-x: clip; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* ---- buttons --------------------------------------------------------- */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 28px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--dark); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: var(--dark); color: #fff; }

.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--green); }

.btn--sm { padding: 8px 20px; font-size: 13px; }

/* ---- topbar ------------------------------------------------------------ */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 40px;
}
.topbar__in > span:first-child {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; align-items: center; gap: 20px; }
@media (max-width: 700px) {
  .topbar__contact { display: none; }
}

.topbar__right { display: flex; align-items: center; gap: 20px; }

/* ---- language dropdown ------------------------------------------------- */
.lang { display: inline-flex; align-items: center; gap: 6px; }
.lang svg { opacity: .7; flex-shrink: 0; }
.lang__select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 4px;
  color: inherit;
  font: inherit;
  padding: 2px 22px 2px 8px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23ffffff' stroke-opacity='.7' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
}
.lang__select:hover { border-color: rgba(255, 255, 255, .5); }
.lang__select:disabled { opacity: .5; cursor: not-allowed; }
.lang__select option { color: var(--dark, #222); background: #fff; }

/* ---- google translate chrome (widget hidden behind our dropdown) ------- */
#google_translate_element { display: none; }
iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt { display: none !important; }
/* Google's banner script pushes the page down via an inline body top; pin it. */
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ---- header -------------------------------------------------------------*/
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  transition: box-shadow .2s ease;
}
/* When the admin edit bar is present it occupies the first 44px of the
   viewport, so the sticky header must park itself just below it. */
body:has(.editbar) .header { top: 44px; }
.header.is-scrolled { box-shadow: var(--shadow); }
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.logo { color: var(--dark); display: inline-flex; align-items: center; }
.logo img { height: 32px; width: auto; }

/* ---- nav ----------------------------------------------------------------*/
.nav-toggle {
  display: none;
  font-size: 24px;
  line-height: 1;
  color: var(--dark);
  padding: 4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 4px;
  text-underline-offset: 6px;
  transition: color .15s ease;
}
.nav a:hover { color: var(--green); }
.nav a.is-active {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    height: 100vh;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 96px 32px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 80;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
}
body.nav-locked { overflow: hidden; }

/* ---- footer ---------------------------------------------------------- */
.footer {
  background: var(--dark);
  color: #CBD9CF;
  font-size: 14px;
}
.footer .logo { color: #E4F3EA; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 64px 48px;
}
.footer__about-text { margin-top: 20px; max-width: 34ch; }
.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD9CF;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.social-icon:hover { background: var(--green); border-color: var(--green); color: #fff; }

.footer__title {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { color: #CBD9CF; font-size: 14px; }
.footer__links a:hover { color: #fff; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__bottom-in {
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}
.footer__copyright { color: #9FB3A8; margin: 0; }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---- layout utilities ---------------------------------------------------*/
.container { max-width: 1280px; margin-inline: auto; padding-inline: 20px; }

.section { padding-block: 72px; }
@media (max-width: 640px) {
  .section { padding-block: 48px; }
}

.accent {
  display: block;
  font-family: var(--script);
  color: var(--green);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.pill-arrows {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--mint);
  border-radius: 999px;
  padding: 4px;
  flex-shrink: 0;
}
.pill-arrows button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.pill-arrows button:hover { background: var(--green); color: #fff; }

.cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 18px);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.cards::-webkit-scrollbar { display: none; }
.cards > * { scroll-snap-align: start; }
@media (max-width: 1024px) {
  .cards { grid-auto-columns: calc(50% - 12px); }
}
@media (max-width: 640px) {
  .cards { grid-auto-columns: 90%; }
}

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---- hero slider (Task 7) --------------------------------------------- */
.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
}
.hero__slide.is-on {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .35) 55%, rgba(255, 255, 255, 0) 80%);
}
.hero__in { position: relative; z-index: 1; width: 100%; }
/* Copy must clear the 44px round arrows parked at the left/right edges;
   reverts to normal container padding once arrows are hidden (<=640px). */
.hero .hero__in { padding-inline: 84px; }
.hero__copy { max-width: 46%; }
.hero__copy .accent { font-size: 1.6rem; }
.hero__copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__copy p {
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 28px;
}
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  transition: background .2s ease, color .2s ease;
}
.hero__arrow:hover { background: var(--dark); color: #fff; }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }
@media (max-width: 899px) {
  .hero__copy { max-width: 64%; }
}
@media (max-width: 640px) {
  .hero { min-height: 460px; }
  .hero__copy { max-width: 100%; }
  .hero__arrow { display: none; }
  .hero .hero__in { padding-inline: 20px; }
}

/* ---- promo tile grid (Task 7) ------------------------------------------ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.promo {
  position: relative;
  grid-column: span 2;
  min-height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
}
.promo--t4 { grid-column: span 4; }
.promo__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  object-fit: cover;
}
.promo__copy {
  position: relative;
  z-index: 1;
  max-width: 55%;
  padding: 28px;
}
.promo__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 8px;
}
.promo__copy h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.promo__copy p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}
@media (max-width: 1024px) {
  .promo, .promo--t4 { grid-column: span 3; }
}
@media (max-width: 720px) {
  .promo, .promo--t4 { grid-column: span 6; }
  .promo__img { width: 40%; }
  .promo__copy { max-width: 60%; }
}

/* ---- item cards (Task 8) ------------------------------------------------ */
.card {
  background: #fff;
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__imgwrap {
  display: block;
  aspect-ratio: 1 / 1;
  background: #F3F8F4;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.card__imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.card__title {
  margin: 0;
  padding: 16px 4px 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.card__title a { color: var(--dark); transition: color .15s ease; }
.card__title a:hover { color: var(--green); }
.card__text {
  padding: 6px 4px 0;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card__more {
  display: block;
  padding: 10px 4px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.section-foot {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.section-foot a { color: var(--green); font-weight: 600; margin-left: 6px; }
.section-foot a:hover { text-decoration: underline; }

/* ---- feature split (Task 8) --------------------------------------------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-split__image { height: 100%; min-height: 480px; }
.feature-split__image img { width: 100%; height: 100%; object-fit: cover; }
.feature-split__panel {
  padding: 48px;
  color: #F2EFE9;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-split__panel h2, .feature-split__panel h3, .feature-split__panel h4 { color: #fff; }
.feature-split__panel .accent { color: var(--green-soft); }
.feature-split__panel p { color: #F2EFE9; opacity: .9; }
.feature-split__icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-block: 32px;
}
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-item__body h4 { font-size: 15px; margin-bottom: 4px; }
.feature-item__body p { font-size: 13px; margin: 0; opacity: .85; }
@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split__image { min-height: 260px; }
  .feature-split__panel { padding: 32px 24px; }
}

/* ---- cta banner (Task 8) -------------------------------------------------*/
.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
}
.cta__media { min-height: 380px; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__copy { padding: 48px; align-self: center; }
@media (max-width: 800px) {
  .cta { grid-template-columns: 1fr; }
  .cta__media { min-height: 220px; }
  .cta__copy { padding: 32px 24px; }
}

/* ---- editbar --------------------------------------------------------- */
.editbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--dark);
  color: #fff;
  height: 44px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-inline: 20px;
}
.editbar__toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.editbar__spacer { flex: 1; }
.editbar a { color: #fff; opacity: .85; font-size: 13px; }
.editbar a:hover { opacity: 1; text-decoration: underline; }

/* ---- testimonials (Task 9) --------------------------------------------- */
.tsl-section {
  position: relative;
  padding-block: 88px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.tsl-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 30, 23, .82);
}
.tsl-section__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: center;
}
.tsl-rating {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  background: transparent;
}
.tsl-rating__num {
  font-family: var(--font);
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}
.tsl-rating__stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--yellow);
  margin-bottom: 16px;
}
.tsl-rating__caption {
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  margin: 0;
}
.tsl__viewport {
  position: relative;
  min-height: 200px;
}
.tsl__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
}
.tsl__item.is-on {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.tsl__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}
.tsl__quote {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 20px;
  max-width: 56ch;
}
.tsl__author { font-weight: 600; color: #fff; }
.tsl__role { font-size: 14px; color: rgba(255, 255, 255, .6); margin: 0; }
.tsl__arrows { display: flex; gap: 12px; margin-top: 24px; }
.tsl__arrows button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease;
}
.tsl__arrows button:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
@media (max-width: 900px) {
  .tsl-section__in { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- features strip (Task 9) ------------------------------------------- */
.features-strip { background: var(--dark); padding-block: 56px; }
.features-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.fstrip-item { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fstrip-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fstrip-item h4 { color: #fff; font-size: 1rem; margin-bottom: 2px; }
.fstrip-item p { color: rgba(255, 255, 255, .65); font-size: 14px; margin: 0; }
@media (max-width: 900px) {
  .features-strip__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-strip__grid { grid-template-columns: 1fr; }
}

/* ---- about page (Task 9) ------------------------------------------------ */
.page-banner {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 53, 42, .78), rgba(20, 53, 42, .78));
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; margin-bottom: 12px; }
.page-banner p { color: rgba(255, 255, 255, .85); max-width: 60ch; margin-inline: auto; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: var(--radius); }
.two-col__copy p, .two-col__copy div { color: var(--muted); }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col__media img { min-height: 240px; }
}

.mission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mission-card { border-radius: var(--radius); padding: 32px; }
.mission-card--mint { background: var(--mint); }
.mission-card--cream { background: var(--cream); }
.mission-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.mission-card h3 { margin-bottom: 10px; }
.mission-card p { color: var(--muted); margin: 0; }
@media (max-width: 700px) {
  .mission-cards { grid-template-columns: 1fr; }
}

/* .fstrip-item__icon is already yellow-on-dark by default; only the text
   colors need to flip for the white-background values strip. */
.values-strip .fstrip-item h4 { color: var(--dark); }
.values-strip .fstrip-item p { color: var(--muted); }

/* ---- catalog detail pages (Task 10) -------------------------------------- */
.detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.detail__img {
  position: sticky;
  top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #F3F8F4;
  box-shadow: var(--shadow);
}
.detail__img img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.detail__lead { color: var(--muted); font-size: 1.1rem; }
.detail__desc { color: var(--ink); }
/* Rich-text description content (tables, images, headings from the editor) */
.detail__desc { overflow-wrap: break-word; }
.detail__desc p { margin: 0 0 1em; }
.detail__desc img { max-width: 100%; height: auto; border-radius: var(--radius); }
.detail__desc table { border-collapse: collapse; width: 100%; margin: 0 0 1em; }
.detail__desc th, .detail__desc td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.detail__desc th { background: var(--mint); }
.detail__desc h1, .detail__desc h2, .detail__desc h3,
.detail__desc h4, .detail__desc h5, .detail__desc h6 { margin: 1.2em 0 .5em; color: var(--dark); }
.detail__desc ul, .detail__desc ol { margin: 0 0 1em; padding-left: 1.4em; }
.detail__desc blockquote { border-left: 3px solid var(--line); margin: 0 0 1em; padding: 4px 0 4px 14px; color: var(--muted); }
.detail__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .detail__img { position: static; }
}

/* ---- 404 page (Task 10) --------------------------------------------------- */
.notfound { text-align: center; padding-block: 40px; }
.notfound__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.notfound__text { color: var(--muted); max-width: 46ch; margin-inline: auto 24px; }

/* ---- contact page (Task 11) ----------------------------------------------- */
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.info-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.info-card__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.info-card__value { color: var(--ink); font-weight: 600; word-break: break-word; }
.info-card__value a:hover { color: var(--green); }

.contact-form-section .form-wrap { max-width: 720px; margin-inline: auto; }
.contact-form-section h2 { text-align: center; margin-bottom: 28px; }

.form-success {
  background: var(--mint);
  color: var(--dark);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-weight: 600;
}

.enquiry-form .field { margin-bottom: 20px; }
.enquiry-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--dark);
}
.enquiry-form input[type="text"],
.enquiry-form input[type="email"],
.enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  transition: border-color .2s ease;
}
.enquiry-form input[type="text"]:focus,
.enquiry-form input[type="email"]:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.enquiry-form textarea { resize: vertical; }
.field-error { color: #C0392B; font-size: 13px; margin-top: 6px; margin-bottom: 0; }

/* Honeypot: visually hidden off-screen, but still present/submittable in the
   DOM so it does its job of trapping bots that fill every field. */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.map-embed {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-embed iframe { display: block; width: 100%; height: 360px; border: 0; }
.notfound__actions { margin-top: 24px; }
