:root {
  --orange: #e85d04;
  --orange-deep: #c44500;
  --orange-soft: #f4a261;
  --green: #2d6a4f;
  --green-dark: #1b4332;
  --green-ink: #081c15;
  --cream: #fff8f0;
  --sand: #f3ebe1;
  --white: #ffffff;
  --muted: #5c6658;
  --line: rgba(27, 67, 50, 0.12);
  --shadow: 0 24px 60px rgba(8, 28, 21, 0.12);
  --radius: 18px;
  --header: 84px;
  --font: "Outfit", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--green-ink);
  background: var(--cream);
  line-height: 1.65;
}

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

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--green-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: .5rem 1rem;
  z-index: 2000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header);
  background: rgba(255, 248, 240, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(8, 28, 21, 0.06);
}

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

.brand img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.site-footer .brand {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: .4rem .75rem;
  margin-bottom: .9rem;
}
.site-footer .brand:hover { opacity: .92; }
.site-footer .brand img { height: 44px; max-width: 200px; }

.admin-bar .brand {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: .25rem .55rem;
}
.admin-bar .brand img { height: 32px; max-width: 150px; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul {
  display: flex;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: .45rem .7rem;
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green-dark);
  border-radius: 999px;
}
.site-nav a:hover,
.site-nav a.is-active,
.lang-switch a[aria-current="true"] {
  color: var(--orange);
}

.lang-switch { display: flex; gap: .35rem; font-size: .8rem; font-weight: 600; }
.lang-switch a {
  padding: .25rem .45rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--green-dark);
  margin: 6px 0;
  transition: .25s;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-carousel img {
  object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 16s ease-out forwards;
}
@keyframes kenburns {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 21, .78) 0%, rgba(8, 28, 21, .35) 52%, rgba(8, 28, 21, .15) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 5rem;
  max-width: 860px;
  margin-left: 0;
  margin-right: auto;
}
.hero-content h1,
.page-hero h1 { color: #fff; }
.hero-lead {
  font-size: 1.15rem;
  max-width: 38rem;
  color: rgba(255, 248, 240, .9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.kicker {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: .6rem;
}
.kicker.light { color: var(--orange-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: .9rem 1.5rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .78rem;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-deep); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--green-dark); }
.btn-trash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid #b42318;
  border-radius: 8px;
  background: #fff;
  color: #b42318;
  cursor: pointer;
}
.btn-trash:hover,
.btn-trash:focus-visible {
  background: #b42318;
  color: #fff;
  outline: 2px solid #b42318;
  outline-offset: 2px;
}
.msg-delete-form { margin: 0; display: inline; }
.msg-delete-cell { width: 3.2rem; text-align: center; vertical-align: middle; }
.btn-dark { background: var(--green-dark); color: #fff; }
.btn-dark:hover { background: var(--green); color: #fff; }
.btn-light { background: #fff; color: var(--green-dark); }

.indicators {
  background: var(--green-dark);
  color: #fff;
  padding: 2.5rem 0 2rem;
}
.indicator strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: #fff;
}
.indicator span { color: rgba(255,248,240,.72); font-size: .9rem; }
.hint { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.indicators .hint { color: rgba(255,248,240,.55); }

.section { padding: 5.5rem 0; }
.section-muted { background: var(--sand); }
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem;
  align-items: center;
}
.media-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

.card-soft,
.product-card,
.post-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--line);
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.card-soft:hover,
.product-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.badge-soft {
  display: inline-block;
  background: rgba(232, 93, 4, .1);
  color: var(--orange-deep);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 999px;
  margin-bottom: .8rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.text-link { font-weight: 600; border-bottom: 1px solid currentColor; }
.post-card { padding: 0; overflow: hidden; }
.post-card img { width: 100%; height: 190px; object-fit: cover; }
.post-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.post-card h2, .post-card h3 { font-size: 1.35rem; }

.featured-product { background: var(--green-ink); color: #fff8f0; }
.featured-product h2 { color: #fff; }

.cta-band {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }

.page-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 3.5rem;
  background:
    linear-gradient(90deg, rgba(8,28,21,.8), rgba(8,28,21,.28)),
    var(--hero-image) center/cover no-repeat;
  color: #fff;
}
.page-hero.compact { min-height: 36vh; }
.page-hero-carousel {
  min-height: 56vh;
  padding: 0;
  overflow: hidden;
  background: #081c15;
}
.page-hero-slides,
.page-hero-slides .carousel-inner,
.page-hero-slides .carousel-item,
.page-hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-hero-slides img { object-fit: cover; }
.page-hero-carousel .hero-overlay { z-index: 1; }
.page-hero-carousel .page-hero-copy {
  position: relative;
  z-index: 2;
  padding: 6rem 0 3.5rem;
}
.page-hero-carousel .carousel-control-prev,
.page-hero-carousel .carousel-control-next,
.page-hero-carousel .carousel-indicators { z-index: 3; }
.plain-list { padding-left: 1.1rem; }
.placeholder-box {
  background: rgba(232, 93, 4, .08);
  border-left: 3px solid var(--orange);
  padding: .9rem 1rem;
  color: var(--green-dark);
}
.stack-cards { display: grid; gap: 1rem; }

.spec-table table { width: 100%; border-collapse: collapse; background: #fff; }
.spec-table th, .spec-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  vertical-align: top;
}
.spec-table th { background: var(--green-dark); color: #fff; font-weight: 500; }

.process-timeline,
.process-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}
.process-card {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.75rem 1.75rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 10px 28px rgba(27, 67, 50, .06);
}
.process-card-top {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.process-timeline li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.4rem 0;
  width: 100%;
  position: relative;
}
.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--orange);
}
.process-card .step-icon {
  position: static;
  flex: 0 0 3.4rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 16px;
}
.step-icon svg { width: 36px; height: 36px; }
.process-card .step-icon svg { width: 1.7rem; height: 1.7rem; }
.step-num { color: var(--orange); font-weight: 700; letter-spacing: .16em; font-size: .75rem; }
.process-card h2 { margin: 0; font-size: 1.55rem; line-height: 1.25; }
.process-card p { margin: 0; width: 100%; max-width: none; line-height: 1.65; }
.process-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.certs-empty { background: #fff; padding: 2rem; border-radius: var(--radius); }
.cert-slots { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.cert-slots span {
  border: 1px dashed var(--green);
  color: var(--green);
  padding: .6rem 1rem;
  border-radius: 10px;
  opacity: .7;
}

.stylized-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stylized-map svg { width: 100%; height: auto; display: block; }

.contact-form label { display: block; font-weight: 600; font-size: .88rem; margin: .85rem 0 .35rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem 1rem;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
  min-height: 3.1rem;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--orange);
  border-color: transparent;
}
.contact-form .row { width: 100%; }
.phone-intl {
  display: flex;
  flex-direction: row;
  gap: .5rem;
  align-items: stretch;
  width: 100%;
}
.contact-form .phone-intl select {
  flex: 0 0 19.8rem;
  width: 19.8rem;
  max-width: 19.8rem;
  min-width: 0;
  height: 3.1rem;
  padding-right: 2rem;
}
.contact-form .phone-intl input {
  flex: 1 1 auto;
  width: auto;
  min-width: 10rem;
  height: 3.1rem;
}
@media (max-width: 576px) {
  .phone-intl { flex-direction: column; }
  .contact-form .phone-intl select,
  .contact-form .phone-intl input {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
  }
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.field-error { color: #9b2226; font-size: .8rem; }
.alert-ok, .alert-err { padding: 1rem 1.1rem; border-radius: 12px; }
.alert-ok { background: #d8f3dc; color: #1b4332; }
.alert-err { background: #fde2e1; color: #9b2226; }
.contact-aside {
  background: var(--green-dark);
  color: #fff8f0;
  padding: 2rem;
  border-radius: var(--radius);
}
.contact-aside h2 { color: #fff; }

.article.narrow, .narrow { max-width: 820px; }
.article-cover { margin: 1.5rem 0 2rem; border-radius: var(--radius); overflow: hidden; }
.article-body p { margin-bottom: 1rem; }
.lead-text { font-size: 1.15rem; color: var(--muted); }

.site-footer {
  background: var(--green-ink);
  color: rgba(255,248,240,.82);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer-title { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font); font-weight: 600; }
.footer-links, .footer-contact, .social { list-style: none; padding: 0; margin: 0 0 1rem; }
.footer-links a, .footer-contact a, .social a { color: rgba(255,248,240,.8); }
.contact-aside a { color: #f4a261; }
.footer-desc { max-width: 28rem; }
.footer-note { font-size: .8rem; opacity: .65; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-size: .88rem;
}

.admin-body { background: var(--sand); }
.admin-bar { background: var(--green-dark); color: #fff; }
.admin-bar a { color: #fff; }

@media (max-width: 991px) {
  .split, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .hero { min-height: 86vh; }
  .hero-content { padding: 4.5rem 0 3rem; }
}

@media (max-width: 575px) {
  .hero-actions, .section-head, .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .process-flow,
  .process-photos { grid-template-columns: 1fr; }
  .page-hero-carousel { min-height: 42vh; }
  .page-hero-carousel .page-hero-copy { padding: 4.5rem 0 2.5rem; }
}
