:root {
  --green: #16392e;
  --gold: #986038;
  --gold-light: #dfbf9d;
  --ink: #252b25;
  --muted: #555c51;
  --line: #d2ccbd;
  --paper: #f9f5eb;
  --cream: #efe6d4;
  --container: 1180px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:99px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button{cursor:pointer}a{color:inherit;text-decoration:none}
a,button,input,select,textarea{ -webkit-tap-highlight-color:transparent }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
img,svg{max-width:100%}img{display:block}
[hidden]{display:none!important}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.icon-defs{position:absolute;width:0;height:0;overflow:hidden}
.container{width:min(calc(100% - 80px),var(--container));margin-inline:auto}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 2px 12px #20382e0d; }
.header-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; max-inline-size: 31%; flex-shrink: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-inline-end: 1px solid var(--line);
  color: var(--green);
}
.brand-mark .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.brand-text { display: flex; flex-direction: column; gap: 3px; overflow-wrap: anywhere; }
.brand-text b { font: 900 19px/1.3 var(--display); }
.brand-text small { font-size: 12px; color: var(--muted); }
.main-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px clamp(12px, 1.7vw, 24px); padding-block: 8px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.header-cta, .text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.header-cta { white-space: nowrap; color: var(--green); padding: 8px 12px; border: 1px solid var(--line); }
.header-cta:hover, .text-link:hover, .hero-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-cta .icon, .text-link .icon { width: 16px; height: 16px; }
.menu-toggle, .nav-mobile-cta { display: none; }

.hero { background: #102e26; color: #f9f0dd; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 94px);
  padding-block: clamp(42px, 5vw, 74px);
}
.hero-layout:has(.hero-visual[hidden]) { grid-template-columns: minmax(0, 1fr); }
.hero-kicker { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: #efd09e; margin: 0 0 21px; }
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: #c69a64; flex-shrink: 0; }
.hero h1 {
  font: 900 clamp(57px, 7vw, 101px)/1.11 var(--display);
  color: #fff2d6;
  margin: 0 0 22px;
  text-wrap: balance;
  max-inline-size: 6.5em;
  overflow-wrap: anywhere;
}
.hero-description { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.8; color: #e1e6d9; max-width: 39ch; margin: 0 0 28px; }
.hero-buttons { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-phone { display: inline-flex; align-items: center; gap: 8px; color: #f7ead0; font-size: 14px; font-weight: 600; }
.hero-phone .icon { width: 16px; height: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 12px 17px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
}
.btn .icon { width: 17px; height: 17px; }
.btn-dark { background: var(--green); color: white; }
.btn-dark:hover { background: #385345; }
.hero .btn-dark { background: #f0cf97; color: #152f26; }
.hero .btn-dark:hover { background: #ffdfa8; }
.btn-gold { background: var(--gold-light); color: var(--ink); }
.btn-gold:hover { background: #ecd3ba; }
.hero-visual { margin: 0; min-width: 0; border-top: 1px solid #b88f60; padding-top: 9px; }
.portrait-image { width: 100%; aspect-ratio: 1.05; object-fit: cover; object-position: center 32%; background: #1c4639; }
.hero-visual figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #6f7865;
  padding: 12px 0 8px;
  font-size: 13px;
  color: #f7ead0;
}
.hero-visual figcaption span + span { color: #cfd9c9; }

.section { padding-block: clamp(48px, 6.2vw, 90px); }
.section-heading { font: 900 clamp(37px, 4.1vw, 59px)/1.2 var(--display); margin: 0 0 30px; color: var(--green); overflow-wrap: anywhere; }
.section-text { font-size: 17px; line-height: 2; color: var(--muted); margin: 0 0 16px; }
.about-section { background: #eee3ce; border-bottom: 1px solid #d7c7ad; }
.about-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 35px; align-items: baseline; }
.about-layout .section-heading { margin: 0; border-top: 1px solid #9a7048; padding-top: 12px; }
.text-link { color: var(--green); }

.services-layout { display: grid; grid-template-columns: minmax(210px, .48fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.services-heading { border-top: 1px solid var(--gold); padding-top: 16px; }
.services-heading .section-heading { text-wrap: balance; margin-bottom: 18px; }
.service-grid { border-top: 1px solid var(--green); }
.service-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 3px 18px;
  min-height: 80px;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
}
.service-card:hover { background: var(--cream); }
.service-card h3 { font-size: 21px; line-height: 1.5; color: var(--green); margin: 0; }
.hero-description, .section-text, .service-card, .approach-layout, .values-grid, .contact-layout { overflow-wrap: anywhere; }
.service-card p { grid-column: 2; font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0; }
.service-symbol { display: flex; align-items: center; color: #754925; }
.service-symbol .icon { width: 24px; height: 24px; }
.service-arrow { grid-column: 3; grid-row: 1 / span 2; color: var(--green); display: flex; justify-content: end; }

.approach-section { background: #214638; color: white; }
.approach-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(34px, 8vw, 105px); }
.approach-heading .section-heading { color: #fff; margin-bottom: 14px; }
.approach-heading p { font-size: 16px; line-height: 1.9; color: #e0e6de; margin: 0 0 24px; max-width: 32ch; }
.approach-step {
  display: grid;
  grid-template-columns: 3ch 1fr;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid #65776b;
}
.approach-step > span { font-size: 15px; color: #f0cf97; padding-top: 3px; }
.approach-step h3 { font-size: 17px; margin: 0 0 4px; }
.approach-step p { font-size: 15px; line-height: 1.75; color: #e0e6de; margin: 0; }

.values-section { border-bottom: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.value-item { border-top: 1px solid var(--line); padding-top: 14px; }
.value-item h3 { font: 700 26px/1.3 var(--display); margin: 0 0 7px; color: var(--green); }
.value-item p { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 0; }

.articles-section { background: #e7ece1; border-bottom: 1px solid #c7d1c4; }
.articles-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
.article-filters { display: flex; gap: 8px 16px; flex-wrap: wrap; }
.filter-pill {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
}
.filter-pill:hover, .filter-pill.active { color: var(--green); border-color: var(--green); }
.search-field { display: flex; align-items: center; gap: 9px; background: var(--paper); border: 1px solid var(--line); padding: 0 12px; width: 230px; min-height: 42px; flex-shrink: 0; }
.search-field .icon { width: 16px; height: 16px; color: var(--muted); }
.search-field input { min-width: 0; border: 0; outline: none; background: transparent; width: 100%; font-size: 14px; color: var(--ink); }
.search-field:focus-within { outline: 2px solid var(--gold); }
.articles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 66px); }
.article-card { display: flex; flex-direction: column; padding: 22px 0; border-top: 1px solid #abbcae; }
.article-card-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.article-category { font-size: 12px; color: #754925; }
.article-date { font-size: 12px; color: var(--muted); white-space: nowrap; }
.article-card h3 { font: 700 clamp(25px, 2.45vw, 34px)/1.35 var(--display); color: var(--green); margin: 0 0 8px; text-wrap: pretty; }
.article-card p { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0 0 12px; }
.article-card > a { color: var(--green); display: inline-flex; align-items: center; align-self: start; gap: 7px; margin-top: auto; font-size: 14px; font-weight: 600; }
.article-card > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.article-card > a .icon { width: 16px; height: 16px; }
.no-results { color: var(--muted); padding-block: 24px; }
.article-content { overflow-wrap: anywhere; }
.article-card { overflow-wrap: anywhere; }

.contact-section { padding-block: clamp(48px, 7vw, 96px); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 8vw, 110px); align-items: start; }
.contact-details > a, .contact-details > div { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.contact-details > :last-child { border-bottom: 1px solid var(--line); }
.detail-icon { display: flex; color: #754925; }
.detail-icon .icon { width: 20px; height: 20px; }
.contact-details small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 3px; }
.contact-details b { display: block; font-size: 16px; font-weight: 500; }
.tail-arrow { margin-inline-start: auto; width: 15px; height: 15px; color: var(--green); }
.contact-details a:hover b { text-decoration: underline; }
.contact-form-wrap { border-top: 2px solid var(--green); background: #efe7d7; padding: 21px 24px; }
.form-header h3 { font: 700 31px/1.4 var(--display); color: var(--green); margin: 0 0 3px; }
.form-header p { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0 0 19px; }
.form-group { margin: 0 0 14px; }
.form-group label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid #a79e8e;
  background: transparent;
  color: var(--ink);
  padding: 10px;
  width: 100%;
  font-size: 16px;
  min-height: 44px;
  border-radius: 0;
}
.form-group textarea { min-height: 94px; resize: vertical; }
.form-group textarea::placeholder { color: var(--muted); }
.form-submit { width: 100%; justify-content: space-between; }
.form-note { display: flex; align-items: start; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; margin: 12px 0 0; }
.form-note .icon { height: 15px; width: 15px; margin-top: 2px; }

/* Footer */
.footer { background: #172a22; color: #fff; }
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr .8fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-block: 56px 40px;
}
.footer-main > div { min-width: 0; }
.brand-footer .brand-mark { color: var(--gold-light); border-color: #637269; }
.brand-footer { max-inline-size: 100%; }
.brand-footer .brand-text b { font-size: 20px; font-weight: 700; line-height: 1.7; }
.brand-footer .brand-text small { font-size: 13px; line-height: 1.8; }
.brand-footer .brand-text small, .footer-brand-col > p, .footer-nav-col > a { color: #bdc9bf; }
.footer-brand-col > p { font-size: 15px; line-height: 1.95; max-width: 30ch; margin: 17px 0 0; }
.footer-nav-col h2, .footer-cta-col h2 { font: 600 17px/1.8 var(--display); color: #f6eddf; margin: 4px 0 16px; }
.footer-nav-col > a { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 44px; margin: 0; padding-block: 7px; font-size: 15px; line-height: 1.8; }
.footer-nav-col > a:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; }
.footer-nav-col > a[dir=ltr] { direction: ltr; unicode-bidi: isolate; font-family: Tahoma, Arial, sans-serif; font-size: 14px; letter-spacing: .02em; }
.inline-arrow { width: 13px; height: 13px; margin-inline-start: 5px; }
.footer-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 1px solid #bfa583; border-radius: 8px; background: #e4c9a5; color: #172a22; padding: 11px 16px; font-size: 15px; line-height: 1.6; font-weight: 600; }
.footer-whatsapp:hover { background: #f1dbbe; }
.footer-whatsapp .icon { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid #3c5145; min-height: 82px; padding-block: 18px; display: flex; align-items: center; gap: 16px 24px; font-size: 13px; line-height: 1.9; color: #bac9bf; }
.footer-bottom > span:first-child { max-width: 55ch; }
.footer-bottom > a { flex-shrink: 0; }
.footer-privacy { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.footer-bottom > span:nth-child(2) { margin-inline-start: auto; }
.to-top { margin-inline-start: auto; width: 44px; height: 44px; border: 1px solid #637269; border-radius: 8px; display: grid; place-items: center; color: var(--gold-light); flex-shrink: 0; }
.to-top .icon { width: 18px; height: 18px; }

/* Article */
.article-view { min-height: 70vh; }
.article-page-hero { background: #e9ede3; border-bottom: 1px solid var(--line); padding-block: 45px 55px; }
.back-articles { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--green); margin-bottom: 32px; }
.back-articles:hover { text-decoration: underline; text-underline-offset: 4px; }
.back-articles .icon { width: 16px; height: 16px; }
.article-page-tag { display: block; color: #754925; font-size: 14px; font-weight: 600; margin-bottom: 13px; }
.article-page-hero h1 { max-width: 840px; font: 700 clamp(37px, 4.8vw, 70px)/1.25 var(--display); color: var(--green); margin: 0 0 18px; text-wrap: balance; overflow-wrap: anywhere; }
.article-page-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.article-page-meta .icon { width: 16px; height: 16px; }
.meta-divider { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.article-page-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: clamp(35px, 7vw, 96px); padding-block: 55px 88px; }
.article-content { max-width: 740px; }
.article-content .article-lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.85; color: var(--green); margin: 0 0 25px; }
#articleDetailBody { color: var(--ink); margin: 0 0 25px; }
.aside-card { background: #e9ede3; padding: 22px; border-top: 2px solid var(--green); }
.aside-card > .icon { color: #754925; width: 26px; height: 26px; }
.aside-card h3 { font: 700 26px/1.25 var(--display); margin: 12px 0 8px; }
.aside-card p { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0 0 13px; }
.aside-card a { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.aside-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.aside-card a .icon { width: 16px; height: 16px; }
.toast{position:fixed;bottom:25px;left:25px;z-index:80;background:#16362c;color:white;padding:13px 18px;min-width:200px;font-size:12px;box-shadow:0 9px 25px #0002;opacity:0;pointer-events:none;transform:translateY(10px);transition:all .3s}.toast.visible{opacity:1;transform:translateY(0)}
@media (max-width: 960px) {
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 70px; }
  .site-header .brand { max-inline-size: 78%; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--line); background: transparent; color: var(--ink); }
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 8px 24px 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .nav-link { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .nav-mobile-cta { display: flex; align-items: center; justify-content: space-between; background: var(--green); padding: 12px; margin-top: 12px; color: white; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .article-page-body { gap: 35px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 80px; }
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text b { font-size: 18px; }
  .brand-text small { font-size: 10px; }
  .hero-layout { grid-template-columns: 1fr; gap: 30px; padding-block: 36px; }
  .hero-kicker { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(45px, 11.2vw, 73px); margin-bottom: 17px; }
  .hero-description { font-size: 16px; margin-bottom: 19px; }
  .hero-buttons { gap: 12px 17px; }
  .hero-visual { max-width: 460px; }
  .section-heading { margin-bottom: 18px; }
  .about-layout, .services-layout, .approach-layout, .contact-layout { grid-template-columns: 1fr; }
  .about-layout { gap: 12px; }
  .services-heading { border-top: 0; padding-top: 0; }
  .section-text { font-size: 16px; }
  .service-card { grid-template-columns: 24px minmax(0, 1fr) 20px; gap: 5px 12px; padding: 14px 4px; }
  .service-symbol .icon { width: 21px; height: 21px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .articles-controls { flex-direction: column; align-items: stretch; }
  .search-field { width: 100%; }
  .contact-form-wrap { padding: 16px; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-main { padding-block: 42px; gap: 24px; }
  .footer-brand-col, .footer-cta-col { grid-column: 1 / -1; }
  .footer-bottom { padding-block: 16px; flex-wrap: wrap; }
  .footer-bottom > span:nth-child(2) { margin-inline-start: 0; }
  .article-page-hero { padding: 36px 0 44px; }
  .back-articles { margin-bottom: 27px; }
  .article-page-body { grid-template-columns: 1fr; padding-block: 36px 54px; }
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
