/* Inner pages of the Ocean design. Shared base (header, footer, glass, cards, sea) comes from site.css,
   which scripts/build-ocean-pages.py extracts from designs/ocean/index.html. */

/* Legibility on the bright top: soft scrim behind the page top + darker frosted glass for content boxes */
.page::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 900px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(4,40,48,.42) 0, rgba(4,40,48,.28) 45%, rgba(4,40,48,0) 100%); }
.main .glass, .prop-title .glass { background: rgba(4,40,48,.55); border-color: rgba(255,255,255,.2); backdrop-filter: blur(30px) saturate(1.25); -webkit-backdrop-filter: blur(30px) saturate(1.25); }
.main .glass .glass { background: rgba(255,255,255,.06); backdrop-filter: none; -webkit-backdrop-filter: none; }
.main .card .loc, .main .card .price small { color: rgba(255,255,255,.85); }

.ptitle, .ptop { padding: 126px 0 34px; text-shadow: 0 2px 18px rgba(5,42,49,.45); }
.ptop { padding-bottom: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs i { font-style: normal; opacity: .6; }
.crumbs b { color: var(--sand); font-weight: 500; }
.ptitle h1 { margin-top: 18px; font-size: 56px; font-weight: 200; }
.ptitle .count { margin-top: 12px; font-size: 14px; letter-spacing: .08em; color: rgba(255,255,255,.9); }
.main { padding-bottom: 30px; }

/* Listing grid (Houzez "Listings – Grid") */
.empty { padding: 64px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty .ic { width: 64px; height: 64px; }
.empty .ic svg { width: 26px; height: 26px; }
.empty h2 { font-size: 34px; margin-top: 6px; }
.empty p { color: rgba(255,255,255,.88); max-width: 52ch; }
.empty .wa { margin-top: 10px; }

/* Single property (Houzez property layout v2) */
.prop-title { padding-top: 124px; text-shadow: 0 2px 18px rgba(5,42,49,.45); }
.prop-head { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 40px; row-gap: 6px; margin-top: 14px; }
.prop-head .line { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.prop-head .labels { display: inline-flex; gap: 6px; text-shadow: none; transform: translateY(-6px); flex: none; }
.prop-head h1 { font-size: 36px; font-weight: 300; line-height: 1.15; }
.prop-head .price { font-size: 34px; font-weight: 400; white-space: nowrap; text-align: right; line-height: 1.15; }
.prop-head .price small { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.8); margin-left: 6px; }
.prop-head .addr { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.92); }
.prop-head .addr .icon { width: 14px; height: 14px; color: var(--sand); }
.prop-head .addr a { color: var(--sand); text-decoration: none; margin-left: 6px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.gallery { margin-top: 18px; padding: 10px; display: grid; grid-template-columns: 1.75fr 1fr 1fr 290px; grid-template-rows: 214px 214px; gap: 10px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.gallery img:first-child { grid-row: span 2; }
.mapcard { grid-column: 4; grid-row: 1 / span 2; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 18px 22px 16px; display: flex; flex-direction: column; text-shadow: none; }
.mapcard .map { width: 150px; margin: 4px auto 12px 34px; }
.mapcard .map .pin span { font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.mapcard .dl div { padding: 5px 0; font-size: 13px; }
.mapcard .maplink { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; color: var(--sand); text-decoration: none; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.mapcard .maplink .icon { width: 14px; height: 14px; }
.ostrip { margin-top: 12px; display: grid; grid-template-columns: repeat(7, auto); justify-content: space-between; padding: 16px 10px; text-shadow: none; }
.ostrip > div { display: flex; align-items: center; gap: 12px; padding: 2px 22px; border-left: 1px solid rgba(255,255,255,.14); }
.ostrip > div:first-child { border-left: 0; }
.ostrip .icon { width: 20px; height: 20px; color: var(--sand); }
.ostrip small { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.ostrip b { display: block; font-size: 16px; font-weight: 400; white-space: nowrap; }
.prop-body { display: grid; grid-template-columns: 1fr 400px; gap: 20px; margin-top: 20px; align-items: start; }
.block { padding: 26px 30px; }
.block + .block { margin-top: 16px; }
.block h2 { font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--sand); font-weight: 500; margin-bottom: 14px; }
/* Pasted listing copy brings its own tiny inline sizes. Override them here only. */
.desc { font-size: 18px; line-height: 1.7; }
.desc p,
.desc li {
  color: rgba(255,255,255,.92);
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 300;
  line-height: 1.7 !important;
  letter-spacing: .005em;
  margin: 0 0 1.15em !important;
}
.desc > br { display: none; }
.desc p:empty { display: none; }
.desc p br:last-child { display: none; }
.desc b,
.desc strong { font-family: inherit !important; font-weight: 600; }
.desc b[style*="font-size"],
.desc strong[style*="font-size"] {
  font-size: 22px !important;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: #fff;
}
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin: 0; }
.dl.one { grid-template-columns: 1fr; }
.dl div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.dl dt { color: rgba(255,255,255,.75); }
.dl dd { margin: 0; font-weight: 500; text-align: right; }
.addr-wrap { display: grid; grid-template-columns: 1fr 150px; gap: 36px; align-items: center; }
.block .map, .locmap .map { margin: 0; width: 100%; }
.addr-wrap .map .pin > span { display: none; }
.df { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.features li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(255,255,255,.92); }
.features .icon { width: 15px; height: 15px; color: var(--sand); }

/* Agent box + forms (Houzez agent contact form / CF7) */
.agent { padding: 26px; position: sticky; top: 24px; }
.who { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.16); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; flex: none; }
.avatar eve-logo { --mark-stroke-width: 7; }
.avatar eve-logo .eve-mark--island { width: 34px; }
.who b { display: block; font-size: 20px; font-weight: 400; }
.who span { font-size: 13px; color: rgba(255,255,255,.82); letter-spacing: .04em; }
.clist { display: grid; gap: 14px; margin-bottom: 22px; }
.clist li { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.clist a { color: #fff; text-decoration: none; }
.clist .ic { width: 40px; height: 40px; } .clist .ic svg { width: 17px; height: 17px; }
.clist small { display: block; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 2px; }
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 7px; }
.fld > span { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.85); font-weight: 500; }
.form input:not([type=checkbox]), .form textarea { width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.94); color: var(--ink); font: inherit; font-size: 15px; font-weight: 400; line-height: 1.5; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sand); box-shadow: 0 0 0 3px rgba(235,217,180,.55); background: #fff; }
.form button.btn { cursor: pointer; font-family: inherit; width: 100%; }
.agent .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.agent .actions .btn { padding: 13px 14px; }
.btn--wa { background: var(--wa); color: #fff; }
.similar { padding: 50px 0 0; }
.similar h2 { font-size: 34px; margin: 12px 0 28px; }

/* About (Houzez page + Elementor) */
.about-hero { display: grid; grid-template-columns: 440px 1fr; gap: 64px; padding: 26px 64px 26px 26px; align-items: center; }
.portrait { margin: 0; }
.portrait .ph { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; position: relative; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 15%, rgba(235,217,180,.55), transparent 60%), linear-gradient(160deg, #6FB9B7 0%, #2E7F86 45%, #0C4B55 100%); border: 1px solid rgba(255,255,255,.25); }
.portrait eve-logo { --mark-stroke: rgba(255,255,255,.55); --mark-stroke-width: 3; }
.portrait eve-logo .eve-mark--island { width: 150px; }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.about-text h1 { margin: 18px 0 26px; font-size: 76px; font-weight: 200; line-height: 1; }
.about-text h1 span { display: block; margin-top: 14px; font-size: 15px; letter-spacing: .38em; text-transform: uppercase; font-weight: 400; color: var(--sand); }
.about-text p { color: rgba(255,255,255,.9); font-size: 17px; max-width: 54ch; }
.about-text p + p { margin-top: 14px; }
.about-text .intro { font-size: 22px; font-weight: 300; color: #fff; line-height: 1.5; }
.pull-row { display: flex; align-items: center; gap: 28px; margin: 34px 0; flex-wrap: wrap; }
.pull-row .pull { margin: 0; }
.pull-row .wa { flex-shrink: 0; }
.pull { margin: 34px 0 34px; padding: 6px 0 6px 28px; border-left: 2px solid var(--sand); font-size: 26px; font-weight: 200; line-height: 1.45; font-style: italic; max-width: 30ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.fact { display: flex; align-items: center; gap: 18px; padding: 24px 26px; font-size: 16px; }
.fact small { display: block; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 4px; }
.fact a { color: #fff; text-decoration: none; }
.fact .ic svg { width: 22px; height: 22px; }
.about-contact { margin-top: 20px; padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.about-contact .ccard { margin-top: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: stretch; }
.formbox { padding: 40px 44px; }
.formbox h2, .side h2 { font-size: 28px; font-weight: 300; margin-bottom: 24px; }
.formbox .btn { margin-top: 4px; }
.side { padding: 34px; }
.side .wa { margin-top: 6px; }
.qrrow { display: flex; align-items: center; gap: 18px; margin: 4px 0 22px; }
.qrrow .value { font-size: 16px; line-height: 1.4; }
.locbox { margin-top: 20px; padding: 14px; display: grid; grid-template-columns: 330px 1fr 1.25fr; gap: 0; align-items: stretch; }
.locmap { padding: 34px 40px 34px 30px; display: grid; place-items: center; }
.locmap .map .pin span { font-size: 14px; font-weight: 500; letter-spacing: .1em; }
.locinfo { padding: 30px 40px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255,255,255,.14); }
.locinfo h2 { font-size: 32px; margin: 12px 0 18px; }
.locinfo .dl { margin-bottom: 24px; }
.locinfo .btn { align-self: flex-start; }
.locphoto { margin: 0; border-radius: 12px; overflow: hidden; min-height: 340px; }
.locphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Legal */
.prose { padding: 50px 56px; }
.prose p { color: rgba(255,255,255,.9); font-size: 16px; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: 24px; font-weight: 400; margin: 30px 0 10px; }
.prose a { color: var(--sand); text-decoration: none; }
.prose .updated { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 26px; }
.legal { max-width: 920px; }

@media (max-width: 760px) {
  .page::before { height: 640px; }
  .ptitle, .ptop { padding: 88px 0 20px; }
  .ptop { padding-bottom: 16px; }
  .ptitle h1 { font-size: 38px; margin-top: 12px; }
  .crumbs { font-size: 10.5px; letter-spacing: .2em; }
  .empty { padding: 40px 22px; }
  .empty h2 { font-size: 26px; }
  .prop-title { padding-top: 96px; }
  .prop-head { grid-template-columns: 1fr; row-gap: 8px; margin-top: 12px; }
  .prop-head .line { flex-direction: column; align-items: flex-start; gap: 10px; }
  .prop-head .labels { transform: none; }
  .prop-head h1 { font-size: 27px; }
  .prop-head .price { font-size: 26px; text-align: left; grid-row: 3; }
  .prop-head .addr { grid-row: 2; flex-wrap: wrap; font-size: 13px; }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-template-rows: 230px 64px auto; gap: 8px; padding: 8px; margin-top: 16px; }
  .gallery img:first-child { grid-row: auto; grid-column: 1 / -1; }
  .mapcard { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 110px 1fr; column-gap: 18px; padding: 14px; }
  .mapcard .map { width: 100%; margin: 0; grid-row: span 2; }
  .mapcard .map .pin span { display: none; }
  .mapcard .maplink { padding-top: 6px; font-size: 10.5px; }
  .ostrip { grid-template-columns: repeat(3, 1fr); row-gap: 14px; padding: 14px 4px; }
  .ostrip > div { flex-direction: column; align-items: flex-start; gap: 5px; padding: 0 12px; }
  .ostrip > div:nth-child(3n+1) { border-left: 0; }
  .ostrip b { font-size: 14.5px; }
  .prop-body { grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
  .block { padding: 22px 20px; }
  .block + .block { margin-top: 14px; }
  .dl { grid-template-columns: 1fr; }
  .addr-wrap { grid-template-columns: 1fr 110px; gap: 18px; }
  .df { grid-template-columns: 1fr; gap: 22px; }
  .agent { padding: 24px 20px; position: static; }
  .similar { padding-top: 30px; }
  .similar h2 { font-size: 26px; }
  .about-hero { grid-template-columns: 1fr; gap: 28px; padding: 12px 12px 30px; }
  .about-text { padding: 0 10px; }
  .about-text h1 { font-size: 54px; margin: 14px 0 20px; }
  .about-text h1 span { font-size: 12px; }
  .about-text .intro { font-size: 19px; }
  .about-text p { font-size: 15.5px; }
  .pull { font-size: 21px; margin: 26px 0; padding-left: 20px; }
  .facts { grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
  .fact { padding: 18px 20px; font-size: 15px; }
  .about-contact { margin-top: 14px; padding: 24px 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 14px; }
  .formbox { padding: 26px 20px; }
  .formbox h2 { font-size: 24px; margin-bottom: 18px; }
  .side { padding: 26px 20px; }
  .form .two { grid-template-columns: 1fr; }
  .locbox { grid-template-columns: 1fr; margin-top: 14px; padding: 8px; }
  .locmap { padding: 26px 70px 20px; }
  .locinfo { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 24px 14px; }
  .locinfo h2 { font-size: 26px; }
  .locphoto { min-height: 0; height: 220px; }
  .prose { padding: 30px 22px; }
  .prose p { font-size: 15px; }
}

/* Insights article (Houzez blog single post) */
.narrow { max-width: 980px; }
.art-head { text-shadow: 0 2px 18px rgba(5,42,49,.45); }
.art-head h1 { margin: 16px 0 14px; font-size: 50px; font-weight: 200; line-height: 1.12; }
.art-head .meta { font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.9); }
.art-img { margin: 28px 0 0; padding: 10px; }
.art-img img { width: 100%; height: 400px; object-fit: cover; border-radius: 10px; display: block; }
.art-body { margin-top: 18px; }
.art-body p { font-size: 17px; line-height: 1.75; }
.art-author { margin: 34px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 0; }
.art-author .wa { margin-left: auto; color: var(--teal-deep); }
.related { padding-top: 50px; }
.related h2 { font-size: 34px; margin: 12px 0 28px; }
@media (max-width: 760px) {
  .art-head h1 { font-size: 32px; }
  .art-img img { height: 220px; }
  .art-body p { font-size: 15.5px; }
  .art-author { flex-wrap: wrap; }
  .art-author .wa { margin-left: 0; }
  .related { padding-top: 30px; }
  .related h2 { font-size: 26px; }
}
.portrait .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
