/* Corporate Home Away — shared styles
   Faithful rebuild of the Squarespace site (navy + Benton Sans look),
   hand-written, no framework. Benton Sans -> Libre Franklin (closest free match). */

:root {
  --navy:       #3c5080;   /* top bar */
  --navy-dark:  #324676;   /* buttons */
  --navy-hover: #29375d;
  --amber:      #f5bc00;   /* offset feature boxes — matched to original (rgb 245,188,0) */
  --amber-dark: #d9a600;
  --ink:        #222222;
  --muted:      #555555;
  --line:       #e6e6e6;
  --bg:         #ffffff;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);   /* smooth, slick easing (matches PlumEdits feel) */
  --shadow:     0 18px 44px -14px rgba(20, 28, 48, .30);
  --maxw:       1140px;
  --font: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 22px rgba(0, 0, 0, .20); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1280px;
}
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  opacity: .92;
}
.nav a:hover { opacity: 1; }

/* dropdown */
.has-menu { position: relative; }
.has-menu > .menu-toggle { cursor: pointer; background: none; border: 0; padding: 0;
  color: #fff; font-family: inherit; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; opacity: .92; }
.has-menu > .menu-toggle:hover { opacity: 1; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  background: #fff; min-width: 250px; border-radius: 4px;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  padding: 8px 0; display: none;
}
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { display: block; }
.dropdown a {
  display: block; color: var(--ink); opacity: 1;
  letter-spacing: .4px; text-transform: none; font-size: 15px; font-weight: 600;
  padding: 10px 22px; white-space: nowrap;
}
.dropdown a:hover { background: #f3f5f9; color: var(--navy-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--navy-dark); color: #fff;
  text-decoration: none; border-radius: 3px;
  padding: 13px 28px; font-size: 12px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--navy-hover); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(50,70,118,.6); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 640px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--navy) center/cover no-repeat;
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(12,18,34,.55), rgba(12,18,34,.70));
}
.hero .hero-inner { position: relative; z-index: 1; max-width: 760px; padding: 40px 24px; }
.hero h1 {
  font-size: 48px; font-weight: 700; letter-spacing: 1px; margin: 0 0 12px;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.hero p { font-size: 15px; line-height: 1.5; margin: 0 auto; max-width: 540px; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-intro { text-align: center; max-width: 760px; margin: 0 auto; }
.section-intro h2 { font-size: 30px; font-weight: 700; line-height: 1.25; margin: 0 0 22px; }
.section-intro p { color: var(--muted); margin: 0; }

.divider { border: 0; border-top: 1px solid var(--line); max-width: var(--maxw); margin: 48px auto 0; }

/* ---------- Property cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 40px; }
.card { display: flex; flex-direction: column; }
.card .ph { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .ph { transform: translateY(-5px); box-shadow: var(--shadow); }
.card:hover .ph img { transform: scale(1.05); }
.card h3 { font-size: 18px; font-weight: 700; margin: 0 0 14px; }   /* title above image (matches original) */
.card p { color: var(--muted); font-size: 16px; margin: 18px 0 18px; flex: 1; }
.card .btn { align-self: flex-start; padding: 9px 18px; font-size: 11px; letter-spacing: 1.2px; }   /* small, left-aligned (matches original) */

/* ---------- Photo + amber offset-box features ---------- */
.feature { padding: 46px 0; }
.feature-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; min-height: 400px;
}
.feature .photo { width: 70%; }
.feature .photo img { width: 100%; height: 400px; object-fit: cover; display: block; }
.feature .box {
  position: absolute; top: 0; bottom: 0; height: max-content; margin-block: auto; z-index: 2;
  width: 38%; background: var(--amber); color: #fff;
  padding: 40px 36px; box-shadow: 0 18px 44px rgba(0,0,0,.16);
}
.feature .box h2 { font-size: 30px; font-weight: 700; line-height: 1.2; margin: 0 0 16px; color: #fff; }
.feature .box p { font-size: 15px; line-height: 1.6; margin: 0 0 22px; opacity: .96; }
.feature .box p:last-child { margin-bottom: 0; }
/* photo left, box right */
.feature-photo-left  .photo { margin-right: auto; }
.feature-photo-left  .box   { right: 24px; }
/* photo right, box left */
.feature-photo-right .photo { margin-left: auto; }
.feature-photo-right .box   { left: 24px; }

.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,.9); }
.btn-outline:hover { background: rgba(255,255,255,.16); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Testimonial ---------- */
.quote { background: #f6f7f9; padding: 70px 24px; text-align: center; }
.quote blockquote {
  max-width: 760px; margin: 0 auto; font-size: 21px; line-height: 1.55; color: var(--ink);
  font-weight: 400; font-style: italic;
}
.quote cite { display: block; margin-top: 22px; font-style: normal; font-weight: 700; font-size: 15px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding: 46px 24px; text-align: center; color: var(--muted); font-size: 14px; }
.site-footer a { color: var(--muted); }
.site-footer .foot-links { margin-bottom: 12px; }
.site-footer .foot-links a { margin: 0 10px; text-decoration: none; font-weight: 600; }
.footer-badges { display: flex; gap: 56px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 8px 24px 40px; }
.footer-badges img { height: 56px; width: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .site-header .wrap { flex-direction: row-reverse; }  /* mobile: burger left, logo right (matches original) */
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy); align-items: stretch; padding: 8px 0 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; }
  .nav .menu-toggle { display: block; width: 100%; text-align: left; padding: 14px 24px; }
  .has-menu { position: static; }
  .dropdown { position: static; transform: none; display: block; box-shadow: none; background: transparent; padding: 0; min-width: 0; }
  .dropdown a { color: #cdd6ea; padding-left: 44px; }
  .dropdown a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .cards { grid-template-columns: 1fr; }
  .hero { min-height: 380px; }                 /* squarer hero on portrait, like the original */
  .hero h1 { font-size: 32px; }
  .hero p { display: none; }                    /* original hides the hero subtext on portrait phones */
  .section-intro h2 { font-size: 24px; }

  /* feature banners: stack photo, overlap amber box below */
  .feature { padding: 30px 0; }
  .feature-inner { display: block; padding: 0; min-height: 0; }
  .feature .photo { width: 100%; }
  .feature .photo img { height: 260px; }
  .feature .box {
    position: static; transform: none; width: 88%;
    margin: -54px auto 0; padding: 32px 28px;
  }
  .feature-photo-left .box, .feature-photo-right .box { left: auto; right: auto; }
  .feature .box h2 { font-size: 24px; }
}

/* ========== Property pages ========== */
.prop-hero {
  position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--navy) center/cover no-repeat; color: #fff;
}
.prop-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(20,28,48,.25), rgba(20,28,48,.55)); }
.prop-hero .wrap { position: relative; z-index: 1; }
.prop-hero h1 { font-size: 44px; font-weight: 700; letter-spacing: .5px; margin: 0; text-shadow: 0 2px 16px rgba(0,0,0,.4); }

/* two-column property body (mirrors the original) */
.prop-body { padding: 56px 0; }
.prop-cols { display: grid; grid-template-columns: 1fr 330px; gap: 56px; align-items: start; }
.prop-main .facts-inline { font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.prop-main .prop-lead { font-size: 26px; font-weight: 700; margin: 0 0 18px; }
.prop-main h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.prop-main h3 { font-size: 17px; font-weight: 700; margin: 28px 0 8px; }
.prop-main p { color: var(--muted); margin: 0 0 14px; }
.map { margin-top: 24px; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: 4px; display: block; }
.prop-side { position: sticky; top: 92px; }
.prop-side > .book-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; margin-bottom: 26px; }
.prop-side > h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.prop-side > h3 ~ h3 { margin-top: 28px; }
.room-list { list-style: none; margin: 0; padding: 0; }
.room-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.room-list li b { display: block; font-weight: 700; }
.prop-side .amen-cat { margin: 0; }
.prop-side .amen-cat h3 { border: 0; padding: 0; margin: 14px 0 6px; font-size: 14px; }
@media (max-width: 860px) {
  .prop-cols { grid-template-columns: 1fr; gap: 36px; }
  .prop-side { position: static; }
}

/* landlords: hero subtitle + icon columns */
.prop-hero .sub { font-size: 18px; opacity: .95; margin: 14px auto 0; max-width: 640px; }
.icon-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 36px; margin-top: 44px; }
.icon-col { text-align: center; }
.icon-col img { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 16px; display: block; }
.icon-col h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.icon-col p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 760px) { .icon-cols { grid-template-columns: 1fr; gap: 34px; } }

.prop-section { padding: 60px 0; }
.prop-section h2 { font-size: 26px; font-weight: 700; margin: 0 0 22px; }
.prop-section h3 { font-size: 17px; font-weight: 700; margin: 26px 0 10px; }
.prop-section p { color: var(--muted); margin: 0 0 16px; }
.prop-narrow { max-width: 820px; }
.alt { background: #f6f7f9; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 3px; cursor: pointer; transition: opacity .15s ease; }
.gallery img:hover { opacity: .9; }
@media (max-width: 680px){ .gallery { grid-template-columns: repeat(2, 1fr); } .gallery img { height: 160px; } }

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; z-index: 200; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 88vh; border-radius: 4px; }
.lb .lb-close, .lb .lb-nav { position: absolute; color: #fff; background: none; border: 0; cursor: pointer; user-select: none; }
.lb .lb-close { top: 20px; right: 28px; font-size: 40px; line-height: 1; }
.lb .lb-nav { top: 50%; transform: translateY(-50%); font-size: 56px; padding: 0 24px; opacity: .8; }
.lb .lb-nav:hover { opacity: 1; }
.lb .lb-prev { left: 6px; } .lb .lb-next { right: 6px; }

/* rooms + amenities */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 760px){ .cols2 { grid-template-columns: 1fr; gap: 8px; } }
.amen-cat { margin-bottom: 22px; }
.amen-cat h3 { margin: 0 0 8px; }
.amen-cat ul { list-style: none; margin: 0; padding: 0; }
.amen-cat li { padding: 4px 0; color: var(--ink); font-size: 15px; }
.amen-cat li::before { content: "✓"; color: var(--navy); font-weight: 700; margin-right: 10px; }
.rooms ul { list-style: none; margin: 0; padding: 0; }
.rooms li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rooms li b { display: block; font-weight: 700; }

/* reviews */
.reviews { display: grid; gap: 22px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 28px; }
.review .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 10px; }
.review p { color: var(--ink); font-style: italic; margin: 0 0 14px; }
.review cite { font-style: normal; font-weight: 700; font-size: 14px; color: var(--muted); }
.award { display: inline-flex; align-items: center; gap: 12px; background: #f6f7f9; border: 1px solid var(--line); border-radius: 6px; padding: 16px 22px; font-size: 15px; }
.award b { color: var(--navy-dark); }

/* book button + CTA band */
.book-btn { font-size: 14px; padding: 16px 34px; }
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 64px 24px; }
.cta-band h2 { font-size: 28px; font-weight: 700; margin: 0 0 22px; color: #fff; }

@media (max-width: 860px){
  .prop-hero h1 { font-size: 32px; }
  .prop-hero .wrap { padding-top: 96px; }
}

/* ========== Forms ========== */
.form { display: grid; gap: 14px; max-width: 560px; position: relative; }
.form label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 4px; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  font: inherit; color: var(--ink); background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(60,80,128,.12); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button { justify-self: start; cursor: pointer; border: 0; }
.form-status { font-size: 14px; margin-top: 4px; min-height: 20px; }
.form-status.ok { color: #1c7a3f; } .form-status.err { color: #b23a3a; }

/* ========== Legal / prose ========== */
.legal { max-width: 820px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; }

/* ========== Contact ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 760px){ .contact-grid { grid-template-columns: 1fr; gap: 30px; } }
.contact-info p { margin: 0 0 16px; color: var(--muted); }
.contact-info a { color: var(--navy-dark); font-weight: 600; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-info .big { font-size: 20px; font-weight: 700; color: var(--ink); }

/* ========== Landlord pitch ========== */
.pill-points { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.pill-points span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  padding: 8px 16px; border-radius: 40px; font-size: 14px; font-weight: 600; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 14px; }
@media (max-width: 760px){ .benefits { grid-template-columns: 1fr; } }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.benefit h3 { margin: 0 0 8px; font-size: 17px; }
.benefit p { margin: 0; font-size: 14px; color: var(--muted); }
