/* City Place Punta Cana, a lead domain of Conte Real Estate (DEC-027).
   The look follows the developer's site (cityplacepc.com/home-es/): Playfair Display SC titles, Inter text,
   Mulish buttons, gold, slate and a terracotta wash on a light ground. Gold buttons carry ink text, not white,
   so they pass contrast (6.1:1); gold text uses the deeper gold-ink (5.2:1 on white). */

@font-face { font-family: "Playfair Display SC"; src: url("/assets/fonts/playfair-display-sc.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Mulish"; src: url("/assets/fonts/mulish.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --cp-ink: #1A1A1A;
  --cp-brown: #372D2D;
  --cp-gold: #B5963F;
  --cp-gold-ink: #86692A;
  --cp-slate: #425E6B;
  --cp-paper: #F9F9F9;
  --cp-sand: #F3F2EC;
  --cp-line: #E2DED2;
  --cp-muted: #5E6670;
  --cp-terracotta: rgba(201, 137, 108, 0.66);
  --cp-serif: "Playfair Display SC", Georgia, serif;
  --cp-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cp-button: "Mulish", "Inter", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cp-paper); color: var(--cp-ink); font-family: var(--cp-sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cp-gold-ink); }
h1, h2, h3 { font-family: var(--cp-serif); font-weight: 400; color: var(--cp-brown); line-height: 1.08; margin: 0 0 0.4em; font-variant-numeric: lining-nums; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.small { font-size: 0.82rem; color: var(--cp-muted); }
.hidden { display: none; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--cp-sans); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cp-brown); margin: 0 0 0.6rem; }

/* Buttons */
.btn { display: inline-block; font-family: var(--cp-button); font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; padding: 0.85rem 1.6rem; border-radius: 3px; border: 0; background: var(--cp-gold); color: var(--cp-ink); cursor: pointer; transition: background 0.15s, color 0.15s; }
.btn:hover { background: var(--cp-brown); color: #fff; }
.btn-slate { background: var(--cp-slate); color: #fff; }
.btn-slate:hover { background: var(--cp-brown); }
.btn-small { padding: 0.6rem 1.1rem; font-size: 0.72rem; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--cp-gold-ink); text-decoration: underline; cursor: pointer; }

/* Header: the project's name, with Conte named right under it (a Conte site, not the developer's). */
.site-header { background: var(--cp-sand); border-bottom: 1px solid var(--cp-line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.site-header .nav-left { display: flex; gap: 22px; }
.site-header .nav-left a { font-family: var(--cp-sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: var(--cp-gold-ink); }
.site-header .nav-left a:hover { color: var(--cp-brown); }
.brand { text-align: center; text-decoration: none; color: var(--cp-slate); line-height: 1; }
.brand-name { display: block; font-family: var(--cp-serif); font-size: 1.7rem; letter-spacing: 0.02em; color: var(--cp-slate); }
.brand-sub { display: block; font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cp-gold-ink); margin-top: 6px; }
.site-header .nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.langs { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; }
.langs a { color: var(--cp-muted); text-decoration: none; padding: 2px 0; }
.langs a:hover { color: var(--cp-brown); }
.langs a[aria-current] { color: var(--cp-gold-ink); border-bottom: 1px solid var(--cp-gold); }
.langs-sep { color: var(--cp-line); }

/* Hero: the developer's three street renders, crossfading (still when the visitor asks for less motion). */
.cp-hero { position: relative; height: min(78vh, 760px); min-height: 380px; overflow: hidden; background: var(--cp-sand); }
.cp-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-hero img + img { opacity: 0; animation: cp-fade 18s infinite; }
.cp-hero img:nth-child(2) { animation-delay: 6s; }
.cp-hero img:nth-child(3) { animation-delay: 12s; }
@keyframes cp-fade { 0%, 28% { opacity: 0; } 33%, 61% { opacity: 1; } 66%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cp-hero img + img { animation: none; } }
.cp-caption { position: absolute; right: 16px; bottom: 10px; margin: 0; font-size: 0.7rem; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }

/* Welcome: centred title on a terracotta wash over the bicycle photo. */
.cp-welcome { position: relative; text-align: center; padding: 96px 0; background: url("/assets/cityplace/bike-background.jpg") center / cover; }
.cp-welcome::before { content: ""; position: absolute; inset: 0; background: var(--cp-terracotta); }
.cp-welcome .wrap { position: relative; max-width: 900px; }
.cp-welcome h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 0.15em; }
.cp-welcome h1 small { display: block; font-family: var(--cp-sans); font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cp-brown); margin-top: 14px; }
.cp-welcome p { color: var(--cp-ink); font-size: 1rem; }

/* Price and location */
.cp-price { padding: 96px 0; background: var(--cp-paper); }
.cp-price .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .cp-price .wrap { grid-template-columns: 1fr 1.1fr; } }
.cp-price .from { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--cp-brown); margin: 0 0 18px; }
.cp-price .from b { display: block; font-weight: 500; }
.cp-price h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.cp-price figure { margin: 0; }
.cp-price figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { font-size: 0.72rem; color: var(--cp-muted); margin-top: 6px; }

/* Amenities */
.cp-amenities { background: var(--cp-sand); padding: 88px 0 40px; }
.cp-amenities .wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .cp-amenities .wrap { grid-template-columns: 0.9fr 1.6fr; } }
.cp-amenities h2 { font-size: clamp(2.6rem, 5vw, 3.6rem); margin-bottom: 0.2em; }
.cp-amenities .lead-in { font-size: 1.2rem; text-transform: uppercase; color: var(--cp-brown); line-height: 1.4; margin-bottom: 26px; }
.cp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.cp-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.cp-list svg { flex: 0 0 22px; width: 22px; height: 22px; color: #C9896C; }
.cp-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 10px; background: var(--cp-sand); }
.cp-photos img { width: 100%; aspect-ratio: 949 / 1024; object-fit: cover; }

/* Apartments: white title on the terrace render. */
.cp-apartments { position: relative; text-align: center; color: #fff; padding: 170px 0; background: url("/assets/cityplace/terrace.jpg") center / cover; }
.cp-apartments::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 20, 20, 0.15), rgba(20, 20, 20, 0.45)); }
.cp-apartments .wrap { position: relative; }
.cp-apartments h2 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.cp-apartments p { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }

/* Units and what owners get */
.cp-units { padding: 88px 0; background: var(--cp-paper); }
.cp-units h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); text-align: center; }
.cp-units .intro { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.cp-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 48px; padding: 0; list-style: none; }
.cp-types li { background: var(--cp-sand); border-top: 3px solid var(--cp-gold); padding: 26px 18px; text-align: center; }
.cp-types b { display: block; font-family: var(--cp-serif); font-weight: 400; font-size: 1.6rem; color: var(--cp-brown); }
.cp-types span { font-size: 0.85rem; color: var(--cp-muted); }
.cp-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 36px; max-width: 980px; margin: 0 auto; padding: 0; list-style: none; }
.cp-perks li { padding-left: 30px; position: relative; }
.cp-perks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 16px; height: 1px; background: var(--cp-gold); }

/* Contact */
.cp-contact { background: var(--cp-sand); padding: 88px 0; }
.cp-contact .wrap { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .cp-contact .wrap { grid-template-columns: 0.9fr 1.1fr; } }
.cp-contact h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.cp-contact .ask { font-size: 1.05rem; text-transform: uppercase; color: var(--cp-brown); margin-bottom: 6px; }
.lead-form { display: grid; gap: 16px; background: #fff; padding: 32px; border: 1px solid var(--cp-line); }
.lead-form label { display: grid; gap: 6px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cp-muted); }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; font-size: 0.95rem; letter-spacing: 0; text-transform: none; padding: 10px 2px; border: 0; border-bottom: 1px solid #B9B4A6; border-radius: 0; background: transparent; color: var(--cp-ink); width: 100%; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-bottom: 2px solid var(--cp-gold); }
.lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.78rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.45; color: var(--cp-muted); }
.lead-form .check input { width: auto; margin-top: 3px; accent-color: var(--cp-slate); }
.lead-form .btn { justify-self: start; }

/* Simple pages: thank-you, privacy, 404 */
.band { padding: 72px 0; }
.band h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.band h2 { font-size: 1.7rem; margin-top: 1.6em; }
.band h3 { font-size: 1.25rem; margin-top: 1.4em; }
.band nav ol { padding-left: 1.2rem; }

/* Footer: the tile band, then who runs this site. */
.site-footer { background: var(--cp-slate); color: #E9ECEE; font-size: 0.86rem; }
.site-footer .tiles { height: 70px; background: url("/assets/cityplace/tiles.jpg") left center / auto 100% repeat-x; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; }
.site-footer a, .site-footer button.link { color: #fff; }
.site-footer .who { font-family: var(--cp-serif); font-size: 1.3rem; color: #fff; margin-bottom: 10px; }
.site-footer .small { color: #CDD5DA; }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--cp-line); padding: 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); font-size: 0.86rem; }
.cookie-banner .actions { margin: 0; display: flex; gap: 10px; }
.btn-plain { background: transparent; color: var(--cp-slate); border: 1px solid var(--cp-slate); }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-header .wrap { grid-template-columns: 1fr auto; }
  .site-header .nav-left { display: none; }
  .brand { text-align: left; }
  .brand-name { font-size: 1.35rem; }
  .brand-sub { font-size: 0.56rem; letter-spacing: 0.1em; white-space: nowrap; }
  .site-header .nav-right .btn { display: none; }
  .cp-welcome, .cp-price, .cp-units, .cp-contact { padding: 64px 0; }
  .cp-amenities { padding: 64px 0 32px; }
  .cp-list { grid-template-columns: 1fr; }
  .cp-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-apartments { padding: 110px 0; }
  .cp-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-perks { grid-template-columns: 1fr; }
  .lead-form { padding: 22px; }
}
