/* =========================
   Coast Service Theme (logo-match blue/grey)
   ========================= */

:root{
  --bg: #0f1416;
  --surface: rgba(255,255,255,.05);
  --surface-2: rgba(255,255,255,.075);
  --border: rgba(214, 226, 234, .18);
  --shadow: rgba(0,0,0,.40);

  --brand-primary: #6f8fa3;
  --brand-accent:  #b9c9d4;
  --brand-ink:     #0b1012;
  --brand-muted:   #7f96a5;
  --brand-fog:     #e6edf2;

  --text: rgba(230,237,242,.96);
  --text-muted: rgba(185,201,212,.78);
  --text-invert: #0b1012;

  --hero-top:    rgba(14,20,26,.38);
  --hero-mid:    rgba(14,20,26,.62);
  --hero-bottom: rgba(14,20,26,.92);
}

html, body { margin:0; }
body{
  min-height:100vh;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

a{ color: inherit; }

/* Buttons */
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9999px;
  padding:.78rem 1.75rem;
  font-weight:650;
  letter-spacing:.01em;
  color: var(--text-invert);

  background: linear-gradient(180deg, rgba(185,201,212,1), rgba(111,143,163,1));
  border: 1px solid rgba(185,201,212,.40);
  box-shadow: 0 10px 24px rgba(0,0,0,.24);

  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
}
.btn-primary:hover{
  transform: translateY(-1px);
  border-color: rgba(185,201,212,.65);
  box-shadow: 0 14px 30px rgba(0,0,0,.34);
  filter: brightness(1.02);
}

.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9999px;
  padding:.78rem 1.75rem;
  font-weight:650;

  color: rgba(230,237,242,.92);
  border: 1px solid rgba(214,226,234,.18);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);

  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}
.btn-secondary:hover{
  transform: translateY(-1px);
  border-color: rgba(214,226,234,.34);
  color: rgba(255,255,255,.96);
  background: rgba(255,255,255,.08);
}

.btn{ border:0; cursor:pointer; }
.btn-lg{ padding:.9rem 1.95rem; border-radius:9999px; }
.btn-row{ margin-top:1.25rem; display:flex; gap:.8rem; flex-wrap:wrap; }

/* =========================
   Scroll reveal (subtle)
   ========================= */

.reveal{
  opacity: 0;
  transform: translateY(14px) scale(.985);
  filter: blur(2px);
  transition: opacity .55s ease, transform .55s ease, filter .55s ease;
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-in{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* Sections / Containers */
.section{ padding: 3.5rem 0; }

.container{
  width:100%;
  max-width:72rem;
  margin:0 auto;
  padding:0 1.5rem;
}

/* Headings / text helpers */
.kicker{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  color: rgba(185,201,212,.70);
}

.lead{
  font-size:1.05rem;
  line-height:1.65;
  color: var(--text-muted);
}

/* Hero */
.hero-bleed{
  position:relative;
  overflow:hidden;
  background-size:cover;
  background-position:center;
  width:100vw;
  margin-left: 0;
  margin-right: 0;
}

.hero-bleed::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    var(--hero-top) 0%,
    var(--hero-mid) 45%,
    var(--hero-bottom) 100%
  );
}

.hero-inner{
  position:relative;
  z-index:1;
  max-width:72rem;
  margin:0 auto;
  padding: 5.25rem 1.5rem;
}

@media (min-width: 768px){
  .hero-inner{ padding: 6.5rem 1.5rem; }
}

.h1{
  margin-top:.75rem;
  font-size:2.6rem;
  line-height:1.08;
  font-weight:750;
  letter-spacing:-.02em;
  color: rgba(230,237,242,.98);
}
@media (min-width: 768px){
  .h1{ font-size:3.2rem; }
}

.hero-copy{
  max-width: 42rem;
}
.hero-copy .text-panel{
  display:inline-block;
  padding: .25rem 0;
  border-radius: 1rem;
}

/* Cards */
.card{
  border: 1px solid rgba(214,226,234,.16);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  box-shadow: 0 14px 30px rgba(0,0,0,.30);
}

.listing-card{
  border: 1px solid rgba(214,226,234,.16);
  background: rgba(255,255,255,.04);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.24);
}

/* Contact page bits */
.contact-container{ max-width: 60rem; }

.contact-split{
  display:grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items:start;
  margin-top:.5rem;
}
@media (min-width: 960px){
  .contact-split{
    grid-template-columns: 18rem 30rem;
    justify-content:center;
    column-gap: 1rem;
    row-gap: 0;
  }
}

.contact-info{ padding: 0; }

.ci-block + .ci-block{ margin-top: 1.05rem; }

.ci-title{
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: rgba(185,201,212,.75);
  margin-bottom:.45rem;
}

.ci-row{
  display:flex;
  gap:.65rem;
  align-items:flex-start;
  color: rgba(185,201,212,.78);
}

.ci-ico{ color: rgba(185,201,212,.92); margin-top:.05rem; }

.ci-link{ color: rgba(230,237,242,.92); text-decoration:none; }
.ci-link:hover{ text-decoration: underline; }

.ci-text{ color: rgba(185,201,212,.78); line-height:1.5; }

.ci-rule{
  width: 180px;
  max-width: 100%;
  height: 1px;
  background: rgba(214,226,234,.14);
  margin-top:.85rem;
}

.contact-form{
  border: 1px solid rgba(214,226,234,.16);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 1.35rem;
  box-shadow: 0 14px 30px rgba(0,0,0,.30);
}

.form-grid-2{
  display:grid;
  grid-template-columns: 1fr;
  gap: .95rem;
}
@media (min-width: 640px){
  .form-grid-2{
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
    align-items:end;
  }
  .form-grid-2 .field{ margin-top: 0; }
}

.field{ margin-top: 1rem; }
.field:first-child{ margin-top: 0; }

.field label{
  display:block;
  font-size:.85rem;
  font-weight:650;
  color: rgba(185,201,212,.72);
  margin-bottom:.4rem;
}

.field .hint{
  font-weight: 500;
  opacity:.85;
}

.field input,
.field textarea{
  width:100%;
  display:block;
  box-sizing:border-box;
  border-radius: 1rem;
  border: 1px solid rgba(214,226,234,.14);
  background: rgba(10,14,16,.35);
  color: rgba(230,237,242,.92);
  padding: .75rem .9rem;
  outline:none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field textarea{ resize:vertical; min-height:150px; }

.field input:focus,
.field textarea:focus{
  border-color: rgba(111,143,163,.60);
  box-shadow: 0 0 0 3px rgba(111,143,163,.16);
  background: rgba(10,14,16,.45);
}

.map-wrap{ padding-top: 1.25rem; }
.map-title{
  text-align:center;
  margin: .75rem 0 1.25rem;
  font-size:1.6rem;
  font-weight:750;
  color: rgba(230,237,242,.94);
}

.map-section{
  border-top: 1px solid rgba(214,226,234,.12);
  border-bottom: 1px solid rgba(214,226,234,.12);
}
.map-section iframe{
  display:block;
  width:100%;
  height:420px;
}

html {
  scroll-behavior: smooth;
}