:root {
  --bg: #f4efe6;
  --paper: #fbf8f2;
  --ink: #1f2a33;
  --accent: #c37a2c;
  --accent-deep: #915312;
  --sea: #2f5f73;
  --muted: #6d7780;
  --line: #d7cbb7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--sea);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.notice-bar {
  background: #e7d7be;
  color: #3e3021;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.92rem;
  border-bottom: 1px solid #cfb998;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  padding: 14px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.top-nav a {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid transparent;
}

.ad-label {
  background: #f2e3ca;
  color: #5c4427;
  border: 1px solid #d8bf99;
  border-radius: 20px;
  padding: 8px 12px;
  font-weight: 700;
}

.top-nav a:hover {
  border-color: var(--line);
  text-decoration: none;
}

.hero {
  min-height: 66vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-home {
  background-image: url("https://images.unsplash.com/photo-1494526585095-c41746248156?w=1400&q=80");
}

.hero-about {
  background-image: url("https://images.pexels.com/photos/33915039/pexels-photo-33915039.jpeg");
}

.hero-services {
  background-image: url("https://images.pexels.com/photos/25642176/pexels-photo-25642176.jpeg");
}

.hero-contact {
  background-image: url("https://images.unsplash.com/photo-1464146072230-91cabc968266?w=1400&q=80");
}

.hero-thanks {
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1400&q=80");
}

.legal-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 18px 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 35, 0.2), rgba(10, 25, 35, 0.68));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #f6f1e7;
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 56px;
  text-align: center;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.2;
}

.hero p {
  margin: 0 auto 20px;
  max-width: 60ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-main {
  background: var(--accent);
  color: #fff8ee;
}

.btn-main:hover {
  background: var(--accent-deep);
  text-decoration: none;
}

.btn-alt {
  background: transparent;
  border-color: #f1dfc1;
  color: #fff3de;
}

.btn-alt:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.stack-section {
  padding: 58px 18px;
}

.stack-section:nth-child(odd) {
  background: var(--paper);
}

.stack-section:nth-child(even) {
  background: #efe4d2;
}

.shell {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.split > * {
  flex: 1 1 320px;
}

.media-box {
  background: #d5c2a7;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #d9c4a5;
}

.media-box img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.story-line {
  border-left: 4px solid var(--accent);
  padding-left: 14px;
  margin: 4px 0;
}

.quote-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.quote {
  flex: 1 1 260px;
  background: #fffaf1;
  border: 1px solid #e2d2b6;
  border-radius: 12px;
  padding: 16px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.service-card {
  flex: 1 1 240px;
  background: #fff9ef;
  border-radius: 14px;
  border: 1px solid #e5d4b8;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card .media-box {
  border: none;
  border-radius: 0;
}

.service-card .copy {
  padding: 14px;
}

.price {
  font-weight: 700;
  color: #6b3602;
}

.reveal {
  border: 2px dashed #b47f3d;
  border-radius: 16px;
  padding: 18px;
  background: #fff4de;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9b79e;
  border-radius: 10px;
  background: #fffdf9;
  color: #27323b;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #d39a53;
  border-color: #d39a53;
}

.inline-cta {
  font-weight: 700;
}

.sticky-cta {
  position: sticky;
  bottom: 14px;
  margin-left: auto;
  margin-right: 14px;
  width: fit-content;
  z-index: 8;
}

.footer {
  margin-top: auto;
  background: #213847;
  color: #eaf0f3;
  padding: 26px 18px;
}

.footer a {
  color: #cde3ef;
}

.footer-cols {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-cols > * {
  flex: 1 1 260px;
}

.refs li {
  margin-bottom: 8px;
}

.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: #1f2a33;
  color: #f3f6f8;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  z-index: 20;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 280px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions button {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.cookie-accept {
  background: #d79a4a;
  color: #fff;
}

.cookie-decline {
  background: #d4dde2;
}

.page-lead {
  max-width: 860px;
  margin: 0 auto;
}

.contact-list {
  background: #fff9ef;
  border: 1px solid #e5d4b8;
  border-radius: 12px;
  padding: 16px;
}

@media (max-width: 720px) {
  .hero-content {
    padding: 56px 16px 40px;
  }

  .sticky-cta {
    margin-right: 8px;
  }
}
