:root {
  --ivory: #fff7ec;
  --ivory-deep: #f6ead7;
  --champagne: #e8c99a;
  --gold: #c9954a;
  --coral: #e8a07a;
  --coral-deep: #d17a58;
  --pale-blue: #d7e7f2;
  --sea: #b7d0e2;
  --ink: #2a2a28;
  --ink-soft: #5a564f;
  --pearl: #fffdf8;
  --sun: #ffe6b5;
  --line: rgba(42, 42, 40, 0.12);
  --shadow: 0 18px 40px rgba(201, 149, 74, 0.12);
  --radius: 18px;
  --font-display: "Archivo", "Avenir Next Condensed", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--sun) 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, var(--pale-blue) 0%, transparent 50%),
    linear-gradient(180deg, var(--ivory) 0%, var(--pearl) 42%, var(--ivory-deep) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 253, 248, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

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

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, var(--champagne) 42%, var(--coral) 100%);
  box-shadow: 0 0 0 3px rgba(232, 201, 154, 0.35);
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 14rem;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--pearl);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

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

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

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--coral-deep));
  box-shadow: 0 10px 24px rgba(209, 122, 88, 0.28);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.85);
  border: 1px solid var(--line);
}

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

.btn-primary::before,
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  animation: pearl-ripple 1.1s ease-out;
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  animation: pearl-ripple 1.1s ease-out 0.18s;
}

@keyframes pearl-ripple {
  0% {
    opacity: 0.7;
    width: 8px;
    height: 8px;
  }
  100% {
    opacity: 0;
    width: 180px;
    height: 180px;
  }
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  color: var(--ink);
}

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

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

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 247, 236, 0.94) 0%, rgba(255, 247, 236, 0.82) 38%, rgba(42, 42, 40, 0.18) 68%, rgba(42, 42, 40, 0.35) 100%),
    radial-gradient(500px 280px at 18% 30%, rgba(255, 230, 181, 0.45), transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 5rem 0;
  max-width: 32rem;
  animation: fade-up 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--ink);
  max-width: 12ch;
}

.hero-line {
  font-size: clamp(1.05rem, 2.1vw, 1.3rem);
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.hero-support {
  color: var(--ink-soft);
  max-width: 30rem;
  margin-bottom: 1.6rem;
}

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

.plan-rail {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan-rail article {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.plan-rail article:last-child {
  border-bottom: 0;
}

.plan-rail .plan-code {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

@keyframes slow-rise {
  from {
    transform: scale(1.05) translateY(0);
  }
  to {
    transform: scale(1.12) translateY(-2%);
  }
}

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

.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 230, 181, 0.18), transparent 45%);
  pointer-events: none;
}

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

.offer-list {
  display: grid;
  gap: 1.25rem;
}

.offer-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.offer-item:last-child {
  border-bottom: 1px solid var(--line);
}

.offer-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
}

.service-grid,
.blog-grid,
.team-grid,
.step-grid {
  display: grid;
  gap: 1.5rem;
}

.service-grid,
.blog-grid {
  grid-template-columns: repeat(2, 1fr);
}

.team-grid,
.step-grid {
  grid-template-columns: repeat(3, 1fr);
}

.media-tile {
  display: grid;
  gap: 0.9rem;
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-tile h3 {
  font-size: 1.2rem;
  margin: 0;
}

.media-tile h3 a {
  color: inherit;
  text-decoration: none;
}

.media-tile h3 a:hover {
  color: var(--coral-deep);
}

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

.quote-band {
  padding: 3.5rem 0;
  background:
    linear-gradient(120deg, rgba(215, 231, 242, 0.7), rgba(255, 230, 181, 0.55));
  border-block: 1px solid var(--line);
}

.quote {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  color: var(--ink);
  line-height: 1.35;
}

.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.page-hero p {
  max-width: 40rem;
}

.prose {
  max-width: 44rem;
}

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

.prose ul {
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 0.45rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}

.side-panel {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
}

.side-panel h2 {
  font-size: 1.1rem;
}

.step {
  padding-top: 0.25rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--champagne), var(--coral));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 0 4px rgba(232, 201, 154, 0.28);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  max-width: 180px;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid var(--line);
}

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

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

.form-row label {
  font-weight: 600;
  font-size: 0.92rem;
}

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

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(201, 149, 74, 0.45);
  outline-offset: 1px;
}

.field-error {
  color: #a1432d;
  font-size: 0.86rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 500;
}

.form-status[data-state="success"] {
  background: rgba(183, 208, 226, 0.45);
  color: var(--ink);
}

.form-status[data-state="error"] {
  background: rgba(232, 160, 122, 0.35);
  color: #7a3a28;
}

.form-status[hidden] {
  display: none;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(215, 231, 242, 0.35));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

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

.footer-nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-nav a:hover {
  color: var(--ink);
}

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

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 420px;
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 253, 248, 0.96), rgba(246, 234, 215, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: fade-up 0.5s ease both;
}

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

.cookie-banner p {
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
}

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

.island-error {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(232, 160, 122, 0.3);
  color: #7a3a28;
}

.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.not-found h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

@media (max-width: 900px) {
  .split,
  .service-grid,
  .blog-grid,
  .team-grid,
  .step-grid,
  .detail-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.1rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .hero {
    min-height: min(86vh, 700px);
  }

  .plan-rail article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .brand-text {
    max-width: 11rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-media img {
    transform: none;
  }
}
