:root {
  --ink: #1a2430;
  --ink-soft: #3d4a5c;
  --paper: #fff8f2;
  --paper-2: #ffe8d6;
  --coral: #ff6b4a;
  --amber: #ffb020;
  --teal: #2ec4b6;
  --teal-deep: #1a8f85;
  --cream: #fffdf9;
  --line: rgba(26, 36, 48, 0.12);
  --shadow: 0 18px 40px rgba(255, 107, 74, 0.12);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --max: 72rem;
  --header-h: 4.25rem;
}

*,
*::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(255, 176, 32, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(46, 196, 182, 0.28), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 107, 74, 0.18), transparent 55%),
    var(--paper);
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

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

.visually-hidden {
  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: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 0.5rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 248, 242, 0.85);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, var(--coral), var(--amber) 55%, var(--teal));
  box-shadow: 0 6px 16px rgba(255, 107, 74, 0.35);
  animation: mark-pulse 4s ease-in-out infinite;
}

@keyframes mark-pulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(6deg) scale(1.05); }
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

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

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

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

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Typography & sections */
.page-hero,
.section {
  padding: 3.5rem 0;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

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

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--coral), var(--amber));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 74, 0.35);
}

.btn-primary:hover { color: #fff; }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: rgba(46, 196, 182, 0.45);
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Home hero — full-bleed image plane */
.home-hero {
  position: relative;
  min-height: min(88vh, 42rem);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(26, 36, 48, 0.82) 0%, rgba(26, 36, 48, 0.45) 55%, rgba(255, 107, 74, 0.35) 100%),
    linear-gradient(to top, rgba(26, 36, 48, 0.75), transparent 45%);
}

.home-hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  animation: rise-in 0.9s ease both;
}

.home-hero h1 {
  max-width: 14ch;
  color: #fff;
}

.home-hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

.home-hero .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #fff, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

.shape-blob {
  position: absolute;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  filter: blur(0);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: blob-float 12s ease-in-out infinite;
}

.shape-a {
  width: 16rem;
  height: 16rem;
  background: linear-gradient(145deg, rgba(255, 176, 32, 0.5), rgba(255, 107, 74, 0.35));
  top: -4rem;
  right: -3rem;
}

.shape-b {
  width: 12rem;
  height: 12rem;
  background: linear-gradient(145deg, rgba(46, 196, 182, 0.45), rgba(255, 176, 32, 0.3));
  bottom: 10%;
  left: -4rem;
  animation-delay: -4s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(12px, -18px) rotate(8deg); }
}

/* Offer preview */
.offer-strip {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .offer-strip { grid-template-columns: repeat(3, 1fr); }
}

.offer-tile {
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.offer-tile::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 8rem;
  height: 8rem;
  background: linear-gradient(135deg, var(--teal), transparent);
  border-radius: 50%;
  opacity: 0.25;
}

.offer-tile h3 { position: relative; }
.offer-tile p { position: relative; color: var(--ink-soft); margin: 0; }

/* Media + text blocks */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split.reverse { grid-template-columns: 0.95fr 1.05fr; }
  .split.reverse .split-copy { order: 2; }
}

.split-visual {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.split-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.frame-accent {
  position: absolute;
  inset: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: calc(var(--radius) - 0.4rem);
  pointer-events: none;
}

/* Service cards (interaction containers) */
.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(26, 36, 48, 0.05);
  transition: transform 0.25s ease;
}

.service-card:hover { transform: translateY(-3px); }

.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.service-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.service-card-body p { margin: 0; color: var(--ink-soft); flex: 1; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.chip {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(46, 196, 182, 0.15);
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Quotes */
.quote-list {
  display: grid;
  gap: 1.25rem;
}

.quote-block {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 232, 214, 0.65));
  border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.35rem 1.5rem;
}

.quote-block p { margin-top: 0; }
.quote-meta {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.story-panel {
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

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

.steps li {
  counter-increment: step;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.1rem 1.1rem 4rem;
  position: relative;
  border: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--teal));
}

/* Pricing */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.rate-table th {
  background: linear-gradient(90deg, rgba(255, 107, 74, 0.12), rgba(46, 196, 182, 0.12));
  font-family: var(--font-display);
}

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

.note-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-sm);
  background: rgba(46, 196, 182, 0.12);
  border: 1px dashed rgba(26, 143, 133, 0.35);
}

/* Blog */
.post-list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .post-list { grid-template-columns: repeat(2, 1fr); }
}

.post-teaser {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.post-teaser img {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
}

.post-teaser-body { padding: 1.25rem; }
.post-teaser-body p { color: var(--ink-soft); }

.article-body {
  max-width: 42rem;
}

.article-body p + p { margin-top: 1rem; }

.article-hero img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

/* Forms */
.form-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

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

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(46, 196, 182, 0.45);
  border-color: var(--teal);
}

.field-error {
  color: #b42318;
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
  display: none;
}

.field.has-error .field-error { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b42318;
}

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

.form-status.is-success {
  display: block;
  background: rgba(46, 196, 182, 0.18);
  color: var(--teal-deep);
}

.form-status.is-error {
  display: block;
  background: rgba(180, 35, 24, 0.1);
  color: #b42318;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-block {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #fff, var(--paper-2));
  border: 1px solid var(--line);
}

.contact-block h3 { margin-bottom: 0.35rem; }
.contact-block p { margin: 0.25rem 0; color: var(--ink-soft); }

.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1.2fr 0.8fr; }
}

/* Legal */
.legal-prose {
  max-width: 46rem;
}

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

.legal-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
}

.legal-prose th,
.legal-prose td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-prose th {
  background: rgba(255, 176, 32, 0.15);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(255, 176, 32, 0.12) 20%, rgba(46, 196, 182, 0.15));
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 1.4fr 1fr 0.8fr; }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.footer-tag,
.footer-address {
  color: var(--ink-soft);
  margin: 0;
}

.footer-label {
  font-weight: 700;
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 0.35rem; }

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(26, 36, 48, 0.96);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
}

.cookie-banner[hidden] { display: none !important; }

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.92);
}

.cookie-inner a { color: var(--amber); }

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

.cookie-banner .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* 404 */
.error-page {
  text-align: center;
  padding: 6rem 0;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  background: linear-gradient(120deg, var(--coral), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.checklist {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.checklist li { margin-bottom: 0.4rem; }

.band {
  background: linear-gradient(105deg, rgba(255, 107, 74, 0.1), rgba(46, 196, 182, 0.14));
  border-block: 1px solid var(--line);
}
