/* Corporate Casa owner landing page.
   Brand values taken from corporatecasa.com (Brizy global palette + font vars):
   black #000000 (color2), white #FFFFFF (color8), grey #666666 (color7),
   light grey #EBEBEB (color6), turquoise #05CAB6 (color3, buttons), mint #B8E6E1 (color4).
   Fonts: Montserrat (headings + body), Overpass (buttons). */

:root {
  --brand-black: #000000;
  --brand-white: #ffffff;
  --brand-teal: #05cab6;
  --brand-mint: #b8e6e1;
  --brand-grey: #666666;
  --brand-light: #ebebeb;

  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --surface: #ffffff;
  --text: #111111;
  --muted: #555555;
  --line: #e2e2e2;
  --link: #00756a;          /* darker teal so body links pass WCAG AA on white */
  --focus: #05cab6;

  --radius: 10px;
  --wrap: 1120px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-btn: "Overpass", "Montserrat", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0d;
    --bg-alt: #161616;
    --surface: #1c1c1c;
    --text: #f2f2f2;
    --muted: #b5b5b5;
    --line: #2c2c2c;
    --link: #3fe0cf;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--brand-teal); color: #000; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.small { font-size: .875rem; color: var(--muted); }

/* Header + hero + footer are brand black in both colour schemes (white logo). */
.site-header { background: var(--brand-black); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand img { width: 132px; height: auto; }
.header-link { color: var(--brand-white); font-family: var(--font-btn); font-weight: 600; text-decoration: none; padding: 8px 0; border-bottom: 2px solid var(--brand-teal); }
.header-link:hover { color: var(--brand-teal); }

.hero { background: var(--brand-black); color: var(--brand-white); padding: 32px 0 48px; }
.hero-inner { display: grid; gap: 32px; align-items: center; }
.eyebrow { color: var(--brand-teal); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8125rem; margin-bottom: .75em; }
.lead { font-size: 1.0625rem; color: #d9d9d9; max-width: 38em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-photo { margin: 0; }
.hero-photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-btn); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border-radius: 6px; border: 2px solid var(--brand-teal);
}
/* Black text on brand turquoise: 10.5:1 contrast (the main site uses white text, which is ~2:1). */
.btn-primary { background: var(--brand-teal); color: var(--brand-black); }
.btn-primary:hover { background: var(--brand-mint); border-color: var(--brand-mint); }
.btn-ghost { background: transparent; color: var(--brand-white); }
.btn-ghost:hover { background: rgba(5, 202, 182, .15); }
.btn-ghost-dark { background: transparent; color: var(--text); }
.btn-ghost-dark:hover { background: rgba(5, 202, 182, .15); }

.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 44em; }

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step p { color: var(--muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px;
  border-radius: 50%; background: var(--brand-teal); color: var(--brand-black); font-weight: 700;
}

.homes { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.home { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.home img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.home-body { padding: 16px 18px 18px; }
.home-body h3 { margin-bottom: .2em; }
.home-place { color: var(--muted); margin: 0 0 .5em; font-size: .9375rem; }
.home-body a { font-weight: 600; }
.more { margin-top: 24px; }

.receive { display: grid; gap: 32px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.brochure { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand-teal); border-radius: var(--radius); padding: 24px; align-self: start; }
.brochure .btn { margin: 8px 0 16px; }

.site-footer { background: var(--brand-black); color: #d9d9d9; padding: 40px 0; }
.site-footer a { color: var(--brand-teal); }
.site-footer .small { color: #a6a6a6; }
.footer-inner { display: grid; gap: 16px; }
.footer-name { color: var(--brand-white); font-weight: 700; margin-bottom: .25em; }
address { font-style: normal; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }

@media (min-width: 640px) {
  .homes { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .brand img { width: 150px; }
  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1.15fr 1fr; gap: 48px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .homes { grid-template-columns: repeat(3, 1fr); }
  .receive { grid-template-columns: 1.3fr 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; align-items: end; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .header-link { transition: background-color .15s, color .15s, border-color .15s; }
}
