@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:opsz,wght@9..144,500;9..144,650;9..144,700&display=swap");

:root {
  --ink: #0b1f24;
  --ink-soft: #1c353b;
  --fog: #e8f2f1;
  --mist: #c5ddd9;
  --paper: #f4faf8;
  --teal: #0f766e;
  --teal-deep: #0a4f4a;
  --copper: #c46b3a;
  --copper-soft: #e8a07a;
  --line: rgba(11, 31, 36, 0.12);
  --shadow: 0 24px 60px rgba(11, 31, 36, 0.14);
  --radius: 18px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1000px 520px at 85% -10%, rgba(15, 118, 110, 0.18), transparent 55%),
    radial-gradient(900px 480px at -10% 20%, rgba(196, 107, 58, 0.12), transparent 50%),
    linear-gradient(180deg, #f7fcfb 0%, var(--paper) 40%, #eef6f4 100%);
  line-height: 1.55;
  min-height: 100vh;
}

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

a {
  color: var(--teal-deep);
  text-underline-offset: 3px;
}

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

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 180px;
  height: auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1aa6a0, #0f766e 55%, #0a4f4a);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.28);
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% -10% auto auto;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 40%;
  background:
    linear-gradient(160deg, rgba(15, 118, 110, 0.2), rgba(196, 107, 58, 0.12)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath fill='none' stroke='%230f766e' stroke-opacity='.18' stroke-width='1' d='M0 80h160M80 0v160'/%3E%3C/svg%3E");
  filter: blur(0.2px);
  opacity: 0.9;
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-18px, 22px, 0) rotate(4deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-deep);
  background: linear-gradient(120deg, var(--teal-deep), var(--copper));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 1.6rem;
}

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

.hero-panel {
  background: linear-gradient(165deg, rgba(11, 31, 36, 0.96), #12363c 70%, #0f4f49);
  color: #e8f6f3;
  border-radius: 28px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  min-height: 280px;
  position: relative;
  overflow: hidden;
  animation: rise 0.8s ease both;
}

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

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 160, 122, 0.35), transparent 70%);
}

.hero-panel h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
  position: relative;
  z-index: 1;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}

.hero-panel li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.95rem;
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--copper-soft);
  box-shadow: 0 0 0 4px rgba(232, 160, 122, 0.18);
}

section {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head h2,
.legal h1,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.service {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.service:hover {
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
}

.service h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.messaging {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(11, 31, 36, 0.05);
}

.panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.65rem;
  font-size: 1.7rem;
}

.panel p {
  color: var(--ink-soft);
}

.disclosure {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #eef7f5;
  border: 1px solid rgba(15, 118, 110, 0.18);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.disclosure strong {
  color: var(--ink);
}

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

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fbfefe;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.35);
  border-color: var(--teal);
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0.85rem;
  border-radius: 12px;
  background: #f7fbfa;
  border: 1px solid var(--line);
}

.consent input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--teal);
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

.form-status {
  display: none;
  margin: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.form-status.ok {
  display: block;
  background: #e7f7ef;
  color: #14532d;
  border: 1px solid #86efac;
}

.form-status.err {
  display: block;
  background: #fef2f2;
  color: #7f1d1d;
  border: 1px solid #fecaca;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.contact-strip {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.1), rgba(196, 107, 58, 0.1));
  border: 1px solid var(--line);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  color: var(--ink);
}

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

.site-footer a {
  text-decoration: none;
}

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

.legal {
  padding-bottom: 3rem;
}

.legal .panel {
  max-width: 820px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 1.6rem 0 0.55rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal ul {
  padding-left: 1.2rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .messaging,
  .services,
  .footer-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }
}
