:root {
  --bg: #f4f2eb;
  --surface: #ffffff;
  --surface-alt: #e9efe8;
  --text: #16313c;
  --muted: #5d727d;
  --line: #d8dfdd;
  --primary: #0f4c5c;
  --primary-strong: #0a3540;
  --accent: #c59b45;
  --shadow: 0 20px 50px rgba(15, 76, 92, 0.08);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(197, 155, 69, 0.18), transparent 30%),
    linear-gradient(180deg, #f7f5ef 0%, #eef1ec 100%);
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }
.narrow { width: min(calc(100% - 2rem), 760px); }
.preview-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff6d8;
  border-bottom: 1px solid rgba(197, 155, 69, 0.45);
  color: var(--text);
  padding: 0.75rem 0;
}
.preview-banner strong,
.preview-banner small {
  display: block;
}
.preview-banner strong::before {
  content: "!";
  display: inline-grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.9rem;
}
.preview-banner small {
  margin-top: 0.2rem;
  color: var(--muted);
}
.preview-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0.35rem 0 0.6rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(197, 155, 69, 0.16);
  color: var(--primary-strong);
  font-size: 0.86rem;
  font-weight: 700;
}

.content-badge,
.tag-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: #eef6f2;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
}

.article-tags {
  margin-top: 2rem;
}

.article-region-relations {
  margin-top: 2rem;
}

.article-region-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(244, 242, 235, 0.92);
  border-bottom: 1px solid rgba(22, 49, 60, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
}
.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-nav a {
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a.is-active,
.site-nav a:hover { color: var(--text); border-color: var(--accent); }
.menu-toggle { display: none; }
.hero { padding: 2rem 0 4rem; }
.hero-grid, .split-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero-copy { text-align: center; }
.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}
h1, h2, h3, h4 { line-height: 1.1; margin-top: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 4.6rem); }
.hero-grid h1 { font-size: clamp(1.54rem, 3.5vw, 3.22rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
p { color: var(--muted); line-height: 1.7; }
.hero-actions, .header-actions, .form-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-actions { justify-content: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}
.button-primary { background: var(--primary); color: white; }
.button-primary:hover { background: var(--primary-strong); }
.button-secondary { background: transparent; border-color: var(--line); color: var(--text); }
.stats-card, .sidebar-card, .card, .panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 49, 60, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stats-card {
  display: grid;
  gap: 0.85rem;
  align-self: start;
  padding: 1.4rem;
}
.stats-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.stats-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.stats-row-two {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stats-row-two div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}
.stats-card strong {
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
}
.stats-card span { color: var(--muted); }
.stats-row-main strong { font-size: 2.15rem; }
.stats-row-main span { font-size: 1.05rem; }
@media (min-width: 1201px) {
  .stats-card { margin-top: 2rem; }
}
.section { padding: 2rem 0; }
.section-muted { background: rgba(233, 239, 232, 0.55); }
.section-head { margin-bottom: 1.8rem; max-width: 60rem; }
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 901px) {
  .card-grid .card h2,
  .card-grid .card h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  }
}
.card, .sidebar-card { padding: 1.5rem; }
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.testimonial-card p {
  margin: 0;
}
.testimonial-card footer {
  display: grid;
  gap: 0.15rem;
}
.testimonial-card footer span {
  color: var(--muted);
  font-size: 0.9rem;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
.client-logo {
  display: grid;
  place-items: center;
  min-height: 6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 1rem;
  text-align: center;
}
.client-logo a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--text);
  text-decoration: none;
}
.client-logo img {
  display: block;
  max-width: 100%;
  max-height: 4rem;
  object-fit: contain;
}
.card-media {
  display: block;
  margin: -1.5rem -1.5rem 1rem;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  aspect-ratio: 16 / 9;
  background: var(--surface-alt);
}
.card-media img,
.page-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-featured-image {
  margin: 1.5rem 0 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
}
.sidebar-card {
  text-align: center;
}
.sidebar-card .button {
  margin-inline: auto;
}
.sidebar-card h2 {
  font-size: 1.45rem;
  line-height: 1.2;
}
.sidebar-card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}
.article-cta-card {
  margin-top: 2rem;
}
.service-content-stack {
  display: grid;
  gap: 1.5rem;
  max-width: 760px;
}
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}
.form-field {
  display: grid;
  gap: 0.45rem;
}
.form-field label {
  font-weight: 700;
  color: var(--text);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 0.9rem 1rem;
}
.form-field textarea { resize: vertical; }
.form-field span { color: #9a3d2a; font-size: 0.92rem; }
.form-alert {
  padding: 1rem;
  border-radius: 14px;
}
.form-alert-success {
  color: #1f6f49;
  background: rgba(31, 111, 73, 0.12);
}
.form-alert-error {
  color: #9a3d2a;
  background: rgba(154, 61, 42, 0.12);
}
.form-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.service-icon {
  display: inline-grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--primary);
  font-size: 1.45rem;
}
.page-hero, .article-shell { padding: 2rem 0 1rem; }
.content-body p, .content-body li { color: var(--text); }
.content-body a { text-decoration: underline; }
.meta { color: var(--muted); font-size: 0.9rem; }
.search-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.search-form input {
  flex: 1;
  padding: 1rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.share-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  gap: 0.75rem;
  margin: 2.5rem 0 2rem;
  padding: 1.5rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.share-bar-title {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  white-space: nowrap;
}
.share-bar a, .share-bar button {
  background: var(--surface-alt);
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--text);
  cursor: pointer;
}
.site-footer {
  padding: 3rem 0;
  background: #112833;
}
.site-footer h3, .site-footer h4, .site-footer a { color: white; }
.site-footer p { color: rgba(255, 255, 255, 0.72); }
.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-whatsapp-icon {
  display: inline-grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  background: #1fa65a;
  color: white;
}
.footer-whatsapp-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.3fr 1fr 1fr;
}
.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  background: #1fa65a;
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.floating-whatsapp svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: currentColor;
}
@media (max-width: 900px) {
  .hero-grid, .split-grid, .card-grid, .contact-grid, .footer-grid, .article-region-list { grid-template-columns: 1fr; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav.is-open { display: flex; }
  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    padding: 0.75rem 1rem;
  }
  .search-form { flex-direction: column; }
}
