:root {
  --bg: #e9eef2;
  --bg-deep: #d5dee6;
  --surface: #f7f9fb;
  --ink: #152029;
  --ink-soft: #3d4d5c;
  --muted: #6a7a8a;
  --line: #c5d0da;
  --accent: #1b4d4a;
  --accent-hover: #143b39;
  --copper: #b86a3a;
  --copper-soft: #e8b86d;
  --highlight: #f0e6d4;
  --danger: #9b2c2c;
  --ok: #1b5e40;
  --shadow: 0 18px 40px rgba(21, 32, 41, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1120px;
  --header-h: 78px;
  --font-display: "Syne", "Avenir Next", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(232, 184, 109, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(27, 77, 74, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--copper);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(247, 249, 251, 0.82);
  border-bottom: 1px solid rgba(197, 208, 218, 0.7);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background:
    linear-gradient(145deg, var(--copper-soft), var(--copper) 45%, var(--accent));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  place-items: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.05rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent) !important;
  color: #f7f9fb !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
}

@media (max-width: 920px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(247, 249, 251, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .site-nav.is-open { max-height: 420px; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.35rem;
  }
  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #f7f9fb;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: #fff;
}

.btn-copper {
  background: var(--copper);
  color: #fff;
}

.btn-copper:hover {
  background: #9a5530;
  color: #fff;
}

/* Hero variants */
.hero {
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-home {
  display: grid;
  gap: 2rem;
  align-items: end;
}

.hero-stage {
  position: relative;
  min-height: clamp(320px, 52vw, 520px);
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

.hero-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 32, 41, 0.72) 0%, rgba(21, 32, 41, 0.35) 48%, rgba(21, 32, 41, 0.15) 100%),
    linear-gradient(0deg, rgba(21, 32, 41, 0.45), transparent 40%);
}

.hero-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  color: #f7f9fb;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  animation: rise 0.9s var(--ease) both;
}

.hero-copy .brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  margin: 0 0 0.85rem;
  color: #fff;
  max-width: 14ch;
}

.hero-copy h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--copper-soft);
  margin: 0 0 0.75rem;
  max-width: 28ch;
}

.hero-copy p {
  color: rgba(247, 249, 251, 0.88);
  max-width: 42ch;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero .lede {
  max-width: 52ch;
  font-size: 1.08rem;
}

.split-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 1rem;
}

.split-hero img {
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 800px) {
  .split-hero { grid-template-columns: 1fr; }
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.75rem;
}

.section-head p {
  max-width: 42ch;
  margin: 0;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.panel {
  background: rgba(247, 249, 251, 0.88);
  border: 1px solid rgba(197, 208, 218, 0.8);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.offer-grid,
.card-grid,
.story-grid,
.blog-grid,
.rate-grid {
  display: grid;
  gap: 1.25rem;
}

.offer-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(2, 1fr); }
.story-grid { grid-template-columns: 1.2fr 0.8fr; }
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.rate-grid { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .offer-grid,
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .offer-grid,
  .card-grid,
  .blog-grid,
  .rate-grid { grid-template-columns: 1fr; }
}

.offer-item {
  display: grid;
  gap: 0.85rem;
}

.offer-item img,
.blog-card img,
.service-media img,
.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.offer-item h3 a,
.blog-card h3 a {
  text-decoration: none;
  color: var(--ink);
}

.offer-item h3 a:hover,
.blog-card h3 a:hover {
  color: var(--accent);
}

.meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 1rem;
}

.quote-author {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 4rem;
  background: rgba(247, 249, 251, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.feature-row img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 760px) {
  .feature-row { grid-template-columns: 1fr; }
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: rgba(27, 77, 74, 0.08);
  font-family: var(--font-display);
}

tr:last-child td { border-bottom: 0; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.faq details p {
  margin-top: 0.6rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row.two { grid-template-columns: 1fr; }
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(27, 77, 74, 0.35);
  border-color: var(--accent);
}

.field-error {
  color: var(--danger);
  font-size: 0.86rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(27, 94, 64, 0.12);
  color: var(--ok);
  border: 1px solid rgba(27, 94, 64, 0.25);
}

.form-status.is-error {
  display: block;
  background: rgba(155, 44, 44, 0.1);
  color: var(--danger);
  border: 1px solid rgba(155, 44, 44, 0.25);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.legal {
  max-width: 72ch;
}

.legal h2 {
  margin-top: 2rem;
}

.inline-error {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  background: rgba(155, 44, 44, 0.1);
  color: var(--danger);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(155, 44, 44, 0.2);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
  background: rgba(21, 32, 41, 0.96);
  color: #f0f3f6;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
}

.cookie-banner.is-visible { display: block; animation: rise 0.45s var(--ease); }

.cookie-banner p {
  color: rgba(240, 243, 246, 0.88);
  margin-bottom: 0.9rem;
  font-size: 0.94rem;
}

.cookie-banner a { color: var(--copper-soft); }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-actions .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.cookie-actions .btn-reject {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: #132029;
  color: rgba(247, 249, 251, 0.82);
  padding: 3rem 0 0;
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 1.75rem;
  padding-bottom: 2rem;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer-tag,
.footer-address,
.site-footer p {
  color: rgba(247, 249, 251, 0.72);
}

.footer-heading {
  font-family: var(--font-display);
  color: var(--copper-soft);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: rgba(247, 249, 251, 0.85);
  text-decoration: none;
}

.site-footer a:hover { color: var(--copper-soft); }

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0 1.4rem;
}

.footer-base p {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* Prose / article */
.prose {
  max-width: 68ch;
}

.prose h2 { margin-top: 2rem; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.tag-list li {
  background: var(--highlight);
  color: var(--ink);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.schedule-list {
  display: grid;
  gap: 1rem;
}

.schedule-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  background: rgba(247, 249, 251, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.schedule-date {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 700px) {
  .schedule-item {
    grid-template-columns: 1fr;
  }
}

.portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .team-grid { grid-template-columns: 1fr; }
}

.stat-note {
  display: inline-block;
  background: var(--highlight);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.center-404 {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}
