/* STUACCO: the navy and the gold of the STUACCO logo (taken from the company's own logo and cover picture).
   No scripts, no outside fonts: the menu on a phone opens with a checkbox. */
:root {
  --navy: #052137; --navy-2: #0c3352; --blue: #0b4f8a; --blue-soft: #e6eef6; --amber: #eaa91a; --amber-deep: #c98e0c;
  --amber-soft: #fdf3d8; --ink: #052137; --text: #2f3d4c; --muted: #5f6f80; --line: #e3e7ec; --page: #f6f7f9;
  --card: #ffffff; --green: #15803d; --radius: 14px; --wide: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 16.5px/1.6 "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif; }
img { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.01em; }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }
a:focus-visible, .btn:focus-visible, .menu-btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---- the top of every page ---- */
.previewbar { background: var(--amber-soft); color: #78350f; font-size: 13px; text-align: center; padding: 6px 12px; }
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand { flex-direction: column; align-items: flex-start; gap: 4px; }
.brand .logo { display: block; height: 30px; width: auto; }
.brand small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 420px) { .brand .logo { height: 24px; } }
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn { display: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--navy); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.nav a:hover { background: var(--page); }
.nav a.here { color: var(--blue); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 0; }
.nav a.contact { color: var(--navy); }
.nav a.cta { background: var(--amber); color: var(--navy); font-weight: 800; margin-left: 6px; padding: 10px 16px; }
.nav a.cta:hover { background: var(--amber-deep); color: #fff; }
@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 12px; }
  .menu-toggle:checked ~ .nav { display: flex; }
  .nav a { border-top: 1px solid var(--line); border-radius: 0; padding: 12px 4px; }
  .nav a.here { box-shadow: inset 4px 0 0 var(--amber); padding-left: 14px; }
  .nav a.cta { margin: 10px 0 0; text-align: center; border-radius: 10px; border-top: 0; }
}

/* ---- buttons ---- */
.btn { display: inline-block; padding: 13px 22px; border-radius: 12px; font-weight: 800; text-decoration: none; border: 2px solid transparent; font-size: 15.5px; }
.btn.amber { background: var(--amber); color: var(--navy); }
.btn.amber:hover { background: var(--amber-deep); color: #fff; }
.btn.blue { background: var(--navy); color: #fff; }
.btn.blue:hover { background: var(--navy-2); }
.btn.ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.btn.line { border-color: var(--line); color: var(--navy); background: #fff; }
.btn.line:hover { border-color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.actions.middle { justify-content: center; }
.gap { margin-top: 24px; }
.after { margin-top: 26px; }

/* ---- the cover picture at the top of the home page ("Study Hard. Live Easy."), the navy band under it, and
   the head of the other pages ---- */
.cover-band { background: var(--navy); }
.cover { display: block; width: 100%; height: auto; max-height: 540px; object-fit: cover; object-position: center 62%; }
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { background: var(--navy); color: #d9e2ec; border-top: 5px solid var(--amber); }
.hero .wrap { display: grid; gap: 10px 40px; align-items: center; padding-top: 40px; padding-bottom: 104px; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.3fr auto; } }
.hero .lead { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; }
.hero p { font-size: 18.5px; max-width: 38em; margin: 0; }
.hero .actions { margin-top: 0; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 800; color: var(--amber); margin-bottom: 14px; }
.page-head { background: var(--navy); color: #dbe5f5; border-bottom: 5px solid var(--amber); }
.page-head .wrap { padding-top: 54px; padding-bottom: 60px; }
.page-head h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); }
.page-head p { font-size: 18.5px; max-width: 42em; margin: 0; }

/* ---- the three cards that sit over the bottom of the big picture ---- */
.lift { margin-top: -64px; position: relative; }
.lift .card { box-shadow: 0 18px 40px rgba(11, 31, 58, .14); border: 0; }

/* ---- sections ---- */
section { padding: 72px 0; }
section.alt { background: var(--page); }
.center { text-align: center; }
.intro { font-size: 18.5px; color: var(--muted); max-width: 44em; }
.center .intro { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 20px; margin-top: 30px; }
@media (min-width: 700px) { .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-align: left; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--amber-soft); color: var(--amber-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icon.blue { background: var(--blue-soft); color: var(--blue); }
.icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.more { font-weight: 800; text-decoration: none; }
.more:hover { text-decoration: underline; }
.notice { background: var(--amber-soft); border: 1px solid #fcd34d; color: #78350f; border-radius: 12px; padding: 14px 18px; margin: 0; }
.split { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
ul.ticks li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--green); font-weight: 900; }

/* ---- "Living with us": a picture of the app's own screen, in a phone's frame ---- */
.screens .card { text-align: center; padding-top: 30px; }
.screen { display: block; width: 100%; max-width: 250px; height: auto; margin: 0 auto 20px; border: 7px solid var(--navy);
          border-radius: 28px; box-shadow: 0 16px 34px rgba(5, 33, 55, .2); background: #f1f5f9; }
.small { font-size: 14px; color: var(--muted); }

/* ---- the residences ---- */
.residence { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.residence img, .residence .nophoto { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--navy-2); }
.residence .nophoto { display: flex; align-items: center; justify-content: center; color: var(--amber); }
.residence .nophoto svg { width: 70px; height: 70px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.residence .body { padding: 20px 22px 22px; }
.residence .where { color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.residence .rooms { color: var(--blue); font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }

/* ---- About Us: the company information and its management ---- */
.prose { max-width: 46em; font-size: 17.5px; }
.gap-under { margin-bottom: 26px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; text-align: center; }
.person img, .person .initials { display: block; width: 136px; height: 136px; border-radius: 50%; margin: 0 auto 18px; object-fit: cover; }
.person img { border: 4px solid var(--amber-soft); }
.person .initials { display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--amber); font-size: 42px; font-weight: 800; letter-spacing: .04em; }
.person h3 { margin-bottom: 4px; }
.person .role { color: var(--blue); font-weight: 700; font-size: 14.5px; margin-bottom: 10px; }
.person p:last-child { margin-bottom: 0; }

/* ---- the privacy policy ---- */
.doc { max-width: 860px; padding-top: 44px; padding-bottom: 68px; }
.doc h2 { font-size: 23px; margin-top: 1.7em; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15.5px; background: #fff; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { background: var(--page); color: var(--ink); }
.scroll { overflow-x: auto; }

/* ---- steps ---- */
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 64px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 22px; left: 24px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--amber); font-weight: 900; display: flex; align-items: center; justify-content: center; }

/* ---- a band that asks for the next step ---- */
.band { display: grid; gap: 18px; align-items: center; background: var(--navy); color: #dbe5f5; border-radius: 22px; padding: 36px 34px; }
@media (min-width: 800px) { .band { grid-template-columns: 1fr auto; } }
.band h2 { color: #fff; margin-bottom: 6px; }
.band p { margin: 0; }
.band.light { background: var(--amber-soft); color: #78350f; }
.band.light h2 { color: var(--navy); }

/* ---- contact ---- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: block; color: var(--ink); }
.whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 20; background: #16a34a; color: #fff; text-decoration: none; font-weight: 800; padding: 12px 18px; border-radius: 30px; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }

/* ---- the foot of every page ---- */
.foot { background: var(--navy); color: #a9b8d0; padding: 50px 0 30px; font-size: 15px; }
.foot .wrap { display: grid; gap: 26px; }
@media (min-width: 820px) { .foot .wrap { grid-template-columns: 1.6fr 1fr 1fr; } }
.foot b { color: #fff; display: block; margin-bottom: 8px; }
.foot a { color: #dbe5f5; text-decoration: none; display: block; padding: 3px 0; }
.foot a:hover { color: var(--amber); }
.foot .logo { display: block; height: 26px; width: auto; margin-bottom: 14px; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; font-size: 13.5px;
               display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.foot.with-chat { padding-bottom: 92px; } /* room for the green WhatsApp button */
/* the small social media icons, at the bottom left */
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.foot .social a, .social .nolink { display: flex; padding: 0; color: #c3cfdf; }
.foot .social a:hover { color: var(--amber); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
@media print { .top, .foot, .whatsapp, .previewbar, .actions { display: none; } }
