/* Pier to Downs Property Maintenance — draft site styles.
   Brand: charcoal #2C2E34 and coral #F26F4F.
   Domain placeholder used in HTML/SEO files: https://pier-to-downs.pages.dev
   (swap in index.html, sitemap.xml and robots.txt). */

:root {
  --charcoal: #2C2E34;
  --charcoal-2: #3A3C44;
  --ink: #2C2E34;
  --coral: #F26F4F;
  --coral-deep: #C94A32;
  --coral-darker: #B33E29;
  --paper: #F6F4F1;
  --paper-2: #EFECE7;
  --white: #fff;
  --muted: #5A5D66;
  --line: #E2DED8;
  --shadow: 0 14px 36px rgba(44, 46, 52, 0.10);
  --radius: 1rem;
  --max: 70rem;
  --header-h: 4.25rem;
  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.05rem;
  hyphens: manual;
  padding-bottom: 4.75rem;
}

@media (min-width: 800px) {
  body { padding-bottom: 0; }
}

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

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

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  background: var(--coral);
  color: var(--charcoal);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 0.4rem;
  z-index: 100;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

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

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

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

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img {
  width: auto;
  height: 2.35rem;
}
@media (min-width: 480px) {
  .brand img { height: 2.7rem; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle svg { width: 1.35rem; height: 1.35rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

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

.nav {
  display: none;
  position: absolute;
  top: calc(var(--header-h) + 5px);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0 1rem;
  box-shadow: var(--shadow);
}
.nav.is-open { display: block; }
.nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: min(100% - 1.6rem, var(--max));
  margin-inline: auto;
}
.nav a {
  display: block;
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  padding: 0.7rem 0.4rem;
  border-radius: 0.5rem;
}
.nav a:hover { background: var(--paper-2); color: var(--charcoal); }

@media (min-width: 980px) {
  .nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
    margin-left: auto;
  }
  .nav ul {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 0.1rem;
  }
  .nav a {
    padding: 0.45rem 0.48rem;
    font-size: 0.9rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0.75rem 1.15rem;
  border-radius: 0.7rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--coral-deep);
  color: var(--white);
  border-color: var(--coral-deep);
}
.btn-primary:hover {
  background: var(--coral-darker);
  border-color: var(--coral-darker);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--coral);
}
.btn-outline:hover {
  background: var(--coral);
  color: var(--charcoal);
}
.btn-outline-dark {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--line);
}
.btn-outline-dark:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

/* After .btn so specificity wins. Hide on small screens, show on desktop. */
a.btn.header-cta { display: none; }
@media (min-width: 980px) {
  a.btn.header-cta { display: inline-flex; margin-left: 0.6rem; }
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  background: var(--charcoal);
  color: var(--white);
}
.hero-copy {
  padding: 1.75rem 0 2rem;
  width: min(100% - 1.6rem, var(--max));
  margin-inline: auto;
}
.hero-media { width: 100%; }
.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 60%;
}

.eyebrow {
  color: var(--coral-deep);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.eyebrow-light { color: var(--coral); }

.hero h1 {
  font-size: clamp(1.7rem, 4.6vw, 3.05rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--white);
}
.lede {
  font-size: 1.05rem;
  color: #E4E1DC;
  max-width: 38rem;
  margin-bottom: 1.35rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(22rem, 0.95fr) 1.15fr;
    min-height: 36rem;
    align-items: stretch;
  }
  .hero-copy {
    padding: 4rem 2rem 4rem 0;
    width: auto;
    margin-left: max(0.8rem, calc((100vw - var(--max)) / 2));
    margin-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-media { height: 100%; }
  .hero-photo {
    height: 100%;
    aspect-ratio: auto;
    min-height: 36rem;
  }
}

/* Sections */
.section { padding: 3.2rem 0; }
.section-alt { background: var(--white); }
.section h2 {
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.section-intro {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.7rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  /* 3 columns so the remaining cards sit in one row under the full-width furniture card */
  .services-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.3rem;
  box-shadow: 0 1px 0 rgba(44, 46, 52, 0.03);
}
.section-alt .card { background: var(--paper); }
.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}
.card ul { list-style: none; }
.card li {
  position: relative;
  padding-left: 1.05rem;
  margin: 0.35rem 0;
  color: var(--muted);
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--coral);
}

.card h3 a,
.card li a {
  color: inherit;
  text-decoration: none;
}
.card h3 a:hover,
.card li a:hover { color: var(--coral-deep); text-decoration: underline; }
.card p { color: var(--muted); }

.card-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.card-flatpack {
  display: grid;
  gap: 1rem;
}
.card-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.7rem;
  background: var(--paper-2);
}
@media (min-width: 700px) {
  .card-flatpack {
    grid-column: 1 / -1;
    grid-template-columns: minmax(16rem, 1fr) minmax(16rem, 1.15fr);
    align-items: center;
    gap: 1.4rem;
  }
}


.who-grid {
  list-style: none;
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .who-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  /* 3 + 2, so titles like "Short-let and Airbnb hosts" have room */
  .who-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .who-grid li:nth-child(-n+3) { grid-column: span 2; }
  .who-grid li:nth-child(n+4) { grid-column: span 3; }
}
.who-grid li {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.2rem;
  border-top: 3px solid var(--coral);
}
.section:not(.section-alt) .who-grid li { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--coral); }
.who-grid h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
  text-wrap: balance;
}
.who-grid p { color: var(--muted); font-size: 0.95rem; }

.steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem 1.4rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--coral);
  color: var(--charcoal);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.steps h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.steps p { color: var(--muted); }

/* Gallery */
.gallery {
  list-style: none;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .gallery { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.gallery figure {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-2);
}
.gallery figcaption {
  padding: 0.7rem 0.85rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

/* Areas */
.areas {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.areas li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.areas-note { color: var(--muted); }

/* Quote */
.quote-section { padding-top: 1.25rem; padding-bottom: 3.2rem; }
.quote-panel {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 1.25rem;
  padding: 1.8rem 1.35rem 1.6rem;
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 800px) {
  .quote-panel {
    padding: 2.6rem 2.4rem 2.2rem;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 2rem;
    align-items: center;
  }
}
.quote-panel h2 { color: var(--white); margin-bottom: 0.7rem; }
.quote-copy > p { color: #E4E1DC; max-width: 40rem; margin-bottom: 1.3rem; }

.btn-whatsapp {
  background: #25D366;
  color: var(--charcoal);
  border-color: #25D366;
  font-weight: 800;
}
.btn-whatsapp:hover {
  background: #1EBE5A;
  border-color: #1EBE5A;
  color: var(--charcoal);
}
.btn-whatsapp svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}
.quote-copy .btn-whatsapp {
  width: 100%;
  padding: 0.9rem 1.2rem;
}
@media (min-width: 800px) {
  .quote-copy .btn-whatsapp { width: auto; }
}

.quote-form-placeholder {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 0.9rem;
  padding: 1.25rem 1.15rem 1.3rem;
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-form-label {
  color: var(--coral);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.quote-form-placeholder p {
  color: #E4E1DC;
  margin: 0;
}
.quote-form-placeholder p + p { margin-top: 0.45rem; }
.quote-form-placeholder a {
  color: var(--coral);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.quote-form-placeholder a:hover { color: var(--white); }

/* Mobile floating WhatsApp button, sits above the sticky contact bar */
.wa-float {
  position: fixed;
  right: 0.85rem;
  bottom: calc(5.15rem + env(safe-area-inset-bottom));
  z-index: 36;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  color: var(--charcoal);
  box-shadow: 0 8px 20px rgba(44, 46, 52, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.wa-float svg { width: 1.7rem; height: 1.7rem; }
.wa-float:hover,
.wa-float:focus-visible {
  background: #1EBE5A;
  color: var(--charcoal);
}
@media (min-width: 800px) { .wa-float { display: none; } }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* FAQ */
.faq-list { margin-top: 1.2rem; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.15rem 0.2rem;
  margin-bottom: 0.65rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  color: var(--coral-deep);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  padding: 0 1rem 1rem;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.2rem;
}
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.contact-grid h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.contact-grid a { font-weight: 700; text-decoration: none; color: var(--charcoal); }
.contact-grid a:hover { color: var(--coral-deep); }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #D8D5D0;
  padding: 2.2rem 0 1.4rem;
  border-top: 4px solid var(--coral);
}
.foot-inner {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .foot-inner { grid-template-columns: 1.6fr 1fr 1fr; align-items: start; }
}
.foot-brand img {
  width: auto;
  height: 2.6rem;
  background: var(--white);
  border-radius: 0.5rem;
  padding: 0.35rem 0.55rem;
  margin-bottom: 0.8rem;
}
.foot-brand p { max-width: 28rem; }
.foot-col h3 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--coral); }
.foot-legal {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: #9A9792;
}

/* Mobile sticky bar */
.mobibar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(44, 46, 52, 0.08);
}
.mobibar .btn { flex: 1; padding: 0.7rem 0.4rem; font-size: 0.92rem; }
@media (min-width: 800px) { .mobibar { display: none; } }

@media (max-width: 699px) {
  .btn-extra { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}


/* Area pills as links */
.areas a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
}
.areas a:hover { color: var(--coral-deep); }

/* Inner pages (areas, services, 404) */
.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.breadcrumb li {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #9A9792;
  margin-left: 0.1rem;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--coral-deep); }
.page-hero .breadcrumb,
.page-hero .breadcrumb a { color: #C8C4BE; }
.page-hero .breadcrumb a:hover { color: var(--coral); }
.page-hero .breadcrumb li:not(:last-child)::after { color: #8B8883; }
.page-hero .breadcrumb li:last-child { color: var(--white); }

.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 1.8rem 0 2.2rem;
}
.page-hero h1 {
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.7rem;
}
.page-hero .lede {
  margin-bottom: 0;
  max-width: 40rem;
}

.prose { max-width: 46rem; }
.prose p { margin-bottom: 1rem; color: var(--muted); }
.prose h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 1.8rem 0 0.7rem;
}
.prose h3 {
  font-size: 1.05rem;
  margin: 1.3rem 0 0.45rem;
}
.prose ul, .prose ol {
  margin: 0 0 1.1rem 1.15rem;
  color: var(--muted);
}
.prose li { margin: 0.35rem 0; }
.prose a { font-weight: 600; }

.service-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
}
@media (min-width: 700px) {
  .service-list { grid-template-columns: 1fr 1fr; }
}
.service-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
}
.section-alt .service-list li { background: var(--paper); }
.service-list a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 700;
}
.service-list a:hover { color: var(--coral-deep); }
.service-list span {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.92rem;
  margin-top: 0.15rem;
}

.related-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}
.related-links a {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.section:not(.section-alt) .related-links a { background: var(--white); }
.section-alt .related-links a { background: var(--paper); }
.related-links a:hover { border-color: var(--coral); color: var(--coral-deep); }

.page-photo {
  width: 100%;
  max-width: 46rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.9rem;
  margin: 0 0 1.4rem;
  background: var(--paper-2);
}

.card-more {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.card-more:hover { text-decoration: underline; }

.areas-note a { font-weight: 700; }

.error-page {
  text-align: left;
  padding: 3rem 0 4rem;
}
.error-page h1 { margin-bottom: 0.7rem; }
.error-page .lede { color: var(--muted); max-width: 36rem; margin-bottom: 1.4rem; }
