:root {
  --navy: #123348;
  --navy-2: #0a2636;
  --lake: #167d8f;
  --lake-dark: #0f6674;
  --sage: #8aa899;
  --sage-light: #eef5f1;
  --sand: #f4eadb;
  --sand-deep: #d8b98b;
  --wood: #9a6b43;
  --white: #ffffff;
  --ink: #26333a;
  --muted: #65757c;
  --line: rgba(18, 51, 72, 0.12);
  --shadow: 0 24px 70px rgba(18, 51, 72, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body::selection {
  background: var(--sage);
  color: var(--navy);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(840px, calc(100% - 40px));
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: linear-gradient(180deg, var(--sage-light), #ffffff);
}

.section-dark {
  color: var(--white);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(20px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(18, 51, 72, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--lake));
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.logo-roof,
.logo-house,
.logo-door,
.logo-wave {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-roof {
  stroke: var(--white);
  stroke-width: 6;
}

.logo-house {
  stroke: var(--white);
  stroke-width: 5;
}

.logo-door {
  stroke: var(--white);
  stroke-width: 4.5;
}

.logo-wave {
  stroke: #bce9e6;
  stroke-width: 6;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.08;
}

.brand strong {
  font-size: 0.96rem;
}

.brand small {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a,
.header-call {
  text-decoration: none;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--lake);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(22, 125, 143, 0.26);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 132px 0 72px;
  overflow: hidden;
}

.hero-bg,
.hero-overlay,
.final-bg,
.final-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(10, 38, 54, 0.32), rgba(10, 38, 54, 0.08)),
    url("assets/port-stanley-cottage-hero.webp") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 38, 54, 0.78) 0%, rgba(10, 38, 54, 0.53) 45%, rgba(10, 38, 54, 0.16) 100%),
    linear-gradient(180deg, rgba(10, 38, 54, 0.25), rgba(10, 38, 54, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-left: max(20px, calc((100vw - 1120px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lake);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: #bce9e6;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

h1 {
  max-width: 840px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
}

h2 {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.55rem);
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.hero-subtitle {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 2.2vw, 1.33rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--lake), #128069);
  box-shadow: 0 18px 42px rgba(18, 128, 105, 0.28);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(10, 38, 54, 0.18);
}

.button-light {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(10, 38, 54, 0.18);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.trust-bar li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bce9e6;
}

.two-column {
  display: grid;
  grid-template-columns: 0.78fr 1.1fr;
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.copy-block p,
.content-panel p,
.offer p,
.final-cta p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--lake-dark);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(22, 125, 143, 0.25);
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.founder-card {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 340px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.founder-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.founder-card figcaption {
  display: grid;
  gap: 5px;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.founder-card strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.founder-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.content-panel {
  padding: clamp(8px, 2vw, 24px) 0;
}

.trust-note {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 5px solid var(--sage);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 45px rgba(18, 51, 72, 0.08);
  color: var(--navy);
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.why-grid article,
.accordion details,
.assessment-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(18, 51, 72, 0.07);
}

.service-card {
  padding: clamp(24px, 4vw, 34px);
}

.card-icon,
.why-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--lake-dark);
  background: var(--sage-light);
}

.card-icon svg,
.why-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p {
  margin: 10px 0 18px;
  color: var(--muted);
}

.service-card ul,
.check-grid {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-card li,
.check-grid li {
  position: relative;
  padding-left: 28px;
  margin-top: 12px;
  color: var(--ink);
}

.service-card li::before,
.check-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--lake), #128069);
  box-shadow: inset 0 0 0 4px var(--white);
}

.shared-services {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr;
  gap: 26px 44px;
  align-items: start;
  margin-top: 24px;
  padding: clamp(26px, 5vw, 44px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sage-light), #fff8ee);
  border: 1px solid rgba(138, 168, 153, 0.35);
}

.shared-services .button {
  justify-self: start;
}

.check-grid {
  columns: 2;
  column-gap: 34px;
}

.check-grid li {
  break-inside: avoid;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.why-grid article {
  padding: 24px 18px;
}

.why-grid h3 {
  font-size: 1.05rem;
}

.why-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.offer {
  padding: 58px 0;
}

.offer-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 51, 72, 0.96), rgba(18, 93, 93, 0.92)),
    url("https://images.unsplash.com/photo-1499793983690-e29da59ef1c2?auto=format&fit=crop&w=1600&q=76") center / cover;
  box-shadow: var(--shadow);
}

.offer-band h2,
.offer-band p {
  color: var(--white);
}

.offer-band p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.offer-band .urgency {
  display: inline-flex;
  margin: 6px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--navy);
  background: #f5d7a4;
  font-weight: 800;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  padding: 0;
  overflow: hidden;
}

.accordion summary {
  position: relative;
  display: block;
  padding: 22px 54px 22px 22px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--lake-dark);
  font-size: 1.4rem;
}

.accordion details[open] summary::after {
  content: "-";
}

.accordion p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.final-cta {
  position: relative;
  overflow: hidden;
}

.final-bg {
  background:
    linear-gradient(90deg, rgba(10, 38, 54, 0.74), rgba(10, 38, 54, 0.38)),
    url("assets/footer-cottage-original.png") center / cover;
}

.final-overlay {
  background: linear-gradient(135deg, rgba(10, 38, 54, 0.84), rgba(10, 38, 54, 0.42));
}

.final-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 0.78fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.final-cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
}

.final-cta .service-area-note {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
}

.assessment-form {
  padding: clamp(24px, 4vw, 34px);
  color: var(--ink);
}

.assessment-form h3 {
  margin-bottom: 18px;
  color: var(--navy);
}

.assessment-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.assessment-form input,
.assessment-form select,
.assessment-form textarea {
  width: 100%;
  border: 1px solid rgba(18, 51, 72, 0.18);
  border-radius: var(--radius);
  padding: 13px 13px;
  color: var(--ink);
  background: #fbfcfb;
  font: inherit;
}

.assessment-form input:focus,
.assessment-form select:focus,
.assessment-form textarea:focus {
  outline: 3px solid rgba(22, 125, 143, 0.17);
  border-color: var(--lake);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.form-note a {
  color: var(--lake-dark);
  font-weight: 800;
}

.mobile-call {
  display: none;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .two-column,
  .media-grid,
  .shared-services,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-grid {
    columns: 1;
  }

  .offer-band {
    grid-template-columns: 1fr;
  }

  .offer-band .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
  }

  .header-call {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 760px;
    padding: 116px 0 86px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 38, 54, 0.74), rgba(10, 38, 54, 0.52)),
      linear-gradient(90deg, rgba(10, 38, 54, 0.72), rgba(10, 38, 54, 0.42));
  }

  .hero-content {
    margin: 0 auto;
    width: min(100% - 56px, 1120px);
  }

  .hero-actions,
  .trust-bar {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
  }

  .trust-bar li {
    justify-content: flex-start;
  }

  .service-cards,
  .why-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.82rem, 8.8vw, 2.46rem);
    line-height: 1.1;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    max-width: 96%;
    font-size: 0.98rem;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .founder-card img {
    aspect-ratio: 1 / 1;
  }

  .founder-card {
    max-width: 280px;
  }

  .shared-services .button {
    justify-self: stretch;
  }

  .mobile-call {
    position: fixed;
    z-index: 60;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, var(--lake), #128069);
    box-shadow: 0 18px 40px rgba(10, 38, 54, 0.26);
    font-weight: 800;
    text-decoration: none;
  }

  body {
    padding-bottom: 78px;
  }
}

@media (max-width: 420px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 1.82rem;
  }

  h2 {
    font-size: 1.94rem;
  }

  .hero {
    min-height: 800px;
  }

  .service-card,
  .assessment-form,
  .shared-services {
    padding: 22px 18px;
  }
}
