@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #1f6b64;
  --brand-dark: #174f4a;
  --brand-light: #dceeea;
  --accent: #c9863d;
  --accent-dark: #a9692c;
  --ink: #17252a;
  --ink-soft: #526267;
  --line: #dce4e2;
  --bg: #ffffff;
  --bg-alt: #f4f7f6;
  --bg-warm: #fbf7f0;
  --bg-dark: #102d2b;
  --max: 1180px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 10px 30px rgba(16, 45, 43, .08);
  --shadow-lg: 0 24px 70px rgba(16, 45, 43, .16);
  --font-head: 'Inter', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4.35rem); font-weight: 800; }
h2 { margin-bottom: .65em; font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 750; }
h3 { margin-bottom: .45em; font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; }
h4 { font-weight: 700; }
p { margin-bottom: 1.05rem; color: var(--ink-soft); }
a { color: var(--brand); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--brand-light); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(201, 134, 61, .55); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 15px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 700; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 8px 22px rgba(31, 107, 100, .2);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); box-shadow: 0 12px 28px rgba(31, 107, 100, .28); text-decoration: none; transform: translateY(-2px); }
.btn--ghost { background: transparent; box-shadow: none; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--lg { min-height: 54px; padding: 16px 31px; font-size: 1.02rem; }
.muted { color: var(--ink-soft); font-size: .9rem; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 228, 226, .9);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 5px 24px rgba(16, 45, 43, .05);
  backdrop-filter: blur(16px);
}
.nav {
  display: flex;
  width: min(100% - 40px, var(--max));
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-inline: auto;
}
.nav__logo { display: inline-flex; flex: 0 0 auto; align-items: center; line-height: 0; }
.nav__logo img { width: 250px; max-width: 100%; height: auto; }
.nav__links { display: flex; align-items: center; gap: 23px; list-style: none; }
.nav__links a { color: var(--ink); font-size: .9rem; font-weight: 650; white-space: nowrap; }
.nav__links a:hover { color: var(--brand); text-decoration: none; }
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.has-dropdown::after { position: absolute; top: 100%; right: 0; left: 0; display: none; height: 16px; content: ''; }
.has-dropdown:hover::after { display: block; }
.dropdown {
  position: absolute;
  top: calc(100% + 13px);
  left: -18px;
  display: none;
  min-width: 265px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 9px; font-size: .88rem; }
.dropdown a:hover { background: var(--bg-alt); }
.nav__call { padding: 10px 17px; border-radius: 999px; background: var(--brand); color: #fff !important; box-shadow: 0 7px 18px rgba(31, 107, 100, .18); }
.nav__call:hover { background: var(--brand-dark); text-decoration: none; }
.nav__toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg-alt); color: var(--ink); cursor: pointer; font-size: 1.45rem; }

.hero { position: relative; display: grid; min-height: clamp(560px, 72vh, 720px); align-items: center; overflow: hidden; color: #fff; }
.hero__media { position: absolute; z-index: 0; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.01); }
.hero::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(10, 35, 33, .9) 0%, rgba(10, 35, 33, .72) 48%, rgba(10, 35, 33, .28) 100%), linear-gradient(0deg, rgba(10, 35, 33, .3), transparent 45%); content: ''; }
.hero__inner { position: relative; z-index: 2; width: min(100% - 40px, var(--max)); margin-inline: auto; padding: 92px 0; }
.hero__eyebrow { display: inline-flex; margin-bottom: 4px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(9px); }
.hero h1 { max-width: 14ch; margin: 13px 0 18px; color: #fff; text-wrap: balance; }
.hero p:not(.hero__eyebrow) { max-width: 51ch; color: rgba(255,255,255,.9); font-size: clamp(1.04rem, 2vw, 1.22rem); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 30px; }
.hero .btn { border-color: var(--accent); background: var(--accent); box-shadow: 0 10px 28px rgba(0,0,0,.2); }
.hero .btn:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.hero .btn--ghost { border-color: rgba(255,255,255,.7) !important; background: rgba(255,255,255,.08); box-shadow: none; backdrop-filter: blur(8px); }
.hero .btn--ghost:hover { border-color: #fff !important; background: #fff; color: var(--bg-dark) !important; }

.section { padding: 86px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.78); }
.section__lead { max-width: 68ch; font-size: 1.05rem; }
.center { text-align: center; }
.center.section__lead, .center .section__lead { margin-inline: auto; }
.site-header + .section { position: relative; overflow: hidden; padding-top: 92px; background: linear-gradient(145deg, var(--bg-warm) 0%, #fff 58%); }
.site-header + .section::before { position: absolute; top: -160px; right: -170px; width: 420px; height: 420px; border: 70px solid rgba(31,107,100,.055); border-radius: 50%; content: ''; pointer-events: none; }
.site-header + .section h1 { max-width: 19ch; margin-bottom: 20px; font-size: clamp(2.25rem, 4.5vw, 3.85rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(38px, 6vw, 76px); }
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 29px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(16, 45, 43, .045);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card::before { position: absolute; top: 0; left: 0; width: 54px; height: 4px; border-radius: 0 0 5px 0; background: var(--accent); content: ''; }
.card:hover { border-color: rgba(31,107,100,.32); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.card p:last-child { margin-bottom: 0; }
.card a { font-weight: 700; }

.linklist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; list-style: none; }
.linklist a { display: flex; min-height: 58px; align-items: center; justify-content: space-between; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 650; transition: border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.linklist a::after { color: var(--accent); content: '\2192'; font-size: 1.1rem; }
.linklist a:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); color: var(--brand); text-decoration: none; transform: translateY(-2px); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 16px 19px; border-bottom: 1px solid var(--line); text-align: left; font-size: .95rem; }
th { background: var(--bg-dark); color: #fff; font-family: var(--font-body); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--bg-alt); }

.faq details { margin-bottom: 13px; padding: 4px 21px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 5px 20px rgba(16,45,43,.035); }
.faq details[open] { border-color: rgba(31,107,100,.34); box-shadow: var(--shadow-sm); }
.faq summary { padding: 17px 0; cursor: pointer; font-family: var(--font-head); font-size: 1.04rem; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { float: right; color: var(--accent); content: '+'; font-size: 1.45rem; line-height: 1; }
.faq details[open] summary::after { content: '\2013'; }
.faq details > p { margin-bottom: 0; padding: 0 0 17px; }

.cta-band { position: relative; padding: 76px 20px; overflow: hidden; background: linear-gradient(125deg, var(--brand-dark), var(--brand)); color: #fff; text-align: center; }
.cta-band::before, .cta-band::after { position: absolute; width: 320px; height: 320px; border: 64px solid rgba(255,255,255,.055); border-radius: 50%; content: ''; }
.cta-band::before { top: -205px; left: -95px; }
.cta-band::after { right: -115px; bottom: -230px; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { margin-inline: auto; color: #fff; text-wrap: balance; }
.cta-band p { max-width: 650px; margin-inline: auto; color: rgba(255,255,255,.86); }
.cta-band .btn { border-color: #fff; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.14); color: var(--brand-dark); }
.cta-band .btn:hover { border-color: var(--bg-warm); background: var(--bg-warm); }

.form-card { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .88rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1px solid #cfdad7; border-radius: 10px; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31,107,100,.1); outline: none; }
.field textarea { min-height: 140px; resize: vertical; }

.site-footer { padding: 68px 0 28px; background: var(--bg-dark); color: rgba(255,255,255,.74); }
.site-footer h4 { margin-bottom: 15px; color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: .02em; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr 1.1fr 1.15fr; gap: 38px; }
.site-footer p { color: rgba(255,255,255,.72) !important; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.77); font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.48); font-size: .82rem; }
.footer-disclaimer { margin-top: 10px; color: rgba(255,255,255,.5) !important; font-size: .79rem; line-height: 1.55; }

.article { max-width: 860px; }
.article h1 { margin-bottom: 17px; }
.article h2 { margin-top: 45px; }
.article h3 { margin-top: 28px; }
.article ul:not(.linklist), .article ol { margin: 0 0 1rem 1.35em; color: var(--ink-soft); }
.article li { margin-bottom: .48rem; }
.article__date { margin-top: -5px; }
.faq-page h2 { margin-top: 34px; padding-top: 27px; border-top: 1px solid var(--line); font-size: 1.32rem; }
.contact-list { margin: 24px 0; list-style: none; }
.contact-list li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.team-grid { margin-top: 26px; }
.team-card .avatar { display: flex; width: 62px; height: 62px; align-items: center; justify-content: center; margin-bottom: 15px; border-radius: 50%; background: linear-gradient(145deg, var(--brand), var(--brand-dark)); color: #fff; font-weight: 750; }
.team-card .role { margin-bottom: 8px; color: var(--brand); font-size: .88rem; font-weight: 700; }
.wc-phone { font-weight: 700; }

section.section[style*='padding:18px'] { padding: 26px 0; background: var(--bg); }
section.section[style*='padding:18px'] img { width: 100% !important; max-height: 570px; border-radius: var(--radius-lg) !important; box-shadow: var(--shadow-sm); object-fit: cover; }

@media (max-width: 1080px) {
  .nav { width: min(100% - 32px, var(--max)); gap: 18px; }
  .nav__links { gap: 16px; }
  .nav__links a { font-size: .84rem; }
}
@media (max-width: 930px) {
  .nav { min-height: 82px; }
  .nav__logo img { width: 250px; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__links { position: absolute; top: 100%; right: 0; left: 0; display: none; max-height: calc(100vh - 82px); align-items: stretch; gap: 0; padding: 13px 20px 22px; overflow-y: auto; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 18px 35px rgba(16,45,43,.12); }
  .nav__links.open { display: flex; flex-direction: column; }
  .nav__links li { width: 100%; }
  .nav__links > li > a { display: block; padding: 11px 5px; font-size: .96rem; }
  .nav__call { margin-top: 7px; padding-inline: 16px !important; text-align: center; }
  .dropdown { position: static; display: block; min-width: 0; padding: 2px 0 5px 15px; border: 0; box-shadow: none; }
  .dropdown a { font-size: .9rem; }
  .has-dropdown > a::after { display: none; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 800px) {
  .section { padding: 70px 0; }
  .hero { min-height: 590px; }
  .hero::after { background: linear-gradient(90deg, rgba(10,35,33,.9), rgba(10,35,33,.65)); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .linklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .wrap, .nav, .hero__inner { width: min(100% - 30px, var(--max)); }
  .nav__logo img { width: min(250px, calc(100vw - 92px)); }
  .section { padding: 60px 0; }
  .hero { min-height: 610px; }
  .hero__inner { padding: 72px 0; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3.35rem); }
  .hero__cta { align-items: stretch; flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .grid--2, .grid--3, .grid--4, .linklist, .form-row { grid-template-columns: 1fr; }
  .card { padding: 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 65px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
