:root {
  --ink: #192321;
  --muted: #68716d;
  --paper: #f3f0e8;
  --white: #fff;
  --forest: #183b37;
  --forest-2: #2f5a53;
  --lime: #d8f56b;
  --copper: #b97850;
  --line: rgba(25, 35, 33, .14);
  --shadow: 0 22px 60px rgba(20, 30, 28, .13);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cip-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.cip-page a { color: inherit; }
body.cip-page button, body.cip-page input, body.cip-page select { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 12px 18px; background: var(--lime); color: var(--ink); border-radius: 12px; }
.skip-link:focus { top: 16px; }
.site-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(185,120,80,.25); background: rgba(24,35,33,.96); backdrop-filter: blur(16px); color: white; }
.site-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; overflow: hidden; border-radius: 15px; background: #073b36 url('/static/cip-logo-mark-v2.png') center/44px 44px no-repeat; color: transparent; font-size: 0; box-shadow: 0 7px 20px rgba(0,0,0,.18), inset 0 0 0 1px rgba(217,255,87,.25); }
.brand-mark svg { display: none; }
.site-links { display: flex; align-items: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
.site-links a { color: rgba(255,255,255,.78); text-decoration: none; font-weight: 650; font-size: .93rem; }
.site-links a:hover, .site-links a:focus-visible { color: white; }
.nav-cta { padding: 11px 17px; border-radius: 999px; background: var(--lime); color: var(--ink) !important; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: transparent; color: white; cursor: pointer; }
.menu-button span { display: block; width: 19px; height: 2px; margin: 4px auto; background: currentColor; }

.hero { overflow: hidden; background: var(--forest); color: white; }
.hero-inner { position: relative; min-height: 610px; display: grid; grid-template-columns: 1.04fr .96fr; gap: 70px; align-items: center; padding-block: 76px 92px; }
.hero-inner::after { content: ""; position: absolute; width: 520px; height: 520px; right: -250px; top: -170px; border: 1px solid rgba(216,245,107,.25); border-radius: 50%; box-shadow: 0 0 0 70px rgba(216,245,107,.035), 0 0 0 140px rgba(216,245,107,.025); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--lime); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.hero h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.2rem, 7vw, 6.6rem); font-weight: 500; line-height: .91; letter-spacing: -.06em; }
.hero h1 em { color: var(--lime); font-weight: 500; }
.hero-copy { max-width: 610px; margin: 27px 0 0; color: rgba(255,255,255,.72); font-size: 1.13rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 0 21px; border: 1px solid transparent; border-radius: 14px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--ink); }
.button-ghost { border-color: rgba(255,255,255,.25); color: white; background: rgba(255,255,255,.04); }
.hero-note { margin: 16px 0 0; color: rgba(255,255,255,.55); font-size: .83rem; }
.hero-panel { position: relative; z-index: 2; padding: 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 30px; background: rgba(255,255,255,.07); box-shadow: 0 30px 90px rgba(0,0,0,.2); }
.search-card { padding: 28px; border-radius: 22px; background: #fff; color: var(--ink); }
.search-card h2 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 1.75rem; }
.search-card > p { margin: 0 0 24px; color: var(--muted); }
.search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: .78rem; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; outline: none; color: var(--ink); background: #fafaf7; }
.field input:focus, .field select:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(27,91,79,.1); }
.search-submit { grid-column: 1 / -1; min-height: 54px; border: 0; border-radius: 13px; background: var(--forest); color: white; font-weight: 800; cursor: pointer; }
.search-submit:hover { background: var(--forest-2); }

.trust-strip { border-bottom: 1px solid var(--line); background: white; }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 25px 30px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .88rem; }
.ape-home-promo{padding:34px 0;background:var(--lime)}.ape-promo-shell{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);overflow:hidden;border-radius:28px;background:var(--forest);color:#fff;box-shadow:0 24px 70px rgba(18,63,55,.18)}.ape-promo-copy{position:relative;padding:54px 56px}.ape-promo-copy:after{content:"";position:absolute;width:330px;height:330px;right:-190px;bottom:-220px;border:1px solid rgba(216,245,107,.22);border-radius:50%;box-shadow:0 0 0 55px rgba(216,245,107,.035),0 0 0 110px rgba(216,245,107,.025)}.ape-promo-label{display:flex;align-items:center;gap:10px;margin-bottom:31px}.ape-promo-label span{font-size:.68rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.56)}.ape-promo-label b{display:grid;width:45px;height:28px;place-items:center;border-radius:999px;background:var(--lime);color:var(--forest);font-size:.72rem}.ape-promo-copy h2{max-width:700px;margin:0;font:500 clamp(3rem,5.7vw,5.8rem)/.91 Georgia,serif;letter-spacing:-.065em}.ape-promo-copy h2 em{display:block;color:var(--lime);font-weight:500}.ape-promo-copy>p:not(.eyebrow){max-width:690px;margin:25px 0 0;color:rgba(255,255,255,.7);line-height:1.7}.ape-promo-points{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:26px;color:var(--lime);font-size:.8rem;font-weight:850}.ape-promo-offer{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;padding:42px;background:#fff;color:var(--ink)}.ape-offer-kicker{color:var(--muted);font-size:.7rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.ape-promo-offer>strong{display:block;margin:13px 0;font:500 5.8rem/1 Georgia,serif;letter-spacing:-.07em;color:var(--forest)}.ape-promo-offer>strong small{font-size:2rem;vertical-align:top}.ape-time{display:flex;align-items:center;gap:12px;padding:18px 0;border-block:1px solid var(--line)}.ape-time b,.ape-time span{display:block}.ape-time b{font-size:1.2rem}.ape-time span{color:var(--muted);font-size:.76rem}.ape-promo-button{display:flex;min-height:54px;align-items:center;justify-content:space-between;margin-top:23px;padding:0 18px;border-radius:12px;background:var(--lime);color:var(--forest)!important;text-decoration:none;font-weight:900;transition:transform .2s}.ape-promo-button:hover{transform:translateY(-2px)}.ape-promo-offer>small{margin-top:13px;color:var(--muted);font-size:.68rem;line-height:1.45}
.section { padding-block: 92px; }
.section-heading { display: flex; justify-content: space-between; gap: 35px; align-items: end; margin-bottom: 36px; }
.section-heading h2 { max-width: 690px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.3rem, 5vw, 4.1rem); font-weight: 500; line-height: 1.03; letter-spacing: -.045em; }
.section-heading p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.65; }
.results-meta { min-height: 28px; margin-bottom: 18px; color: var(--muted); font-weight: 700; }
.home-catalog-link { flex: none; border-color: var(--forest); color: var(--forest); }
.properties-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.property-card { overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: white; box-shadow: 0 12px 34px rgba(18,63,55,.06); transition: transform .22s, box-shadow .22s; }
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.property-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #dfe7e1; }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.property-card:hover .property-media img { transform: scale(1.035); }
.property-badge { position: absolute; left: 14px; top: 14px; padding: 8px 11px; border-radius: 999px; background: rgba(18,63,55,.9); color: white; font-size: .74rem; font-weight: 800; text-transform: capitalize; }
.share-button { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: white; color: var(--forest); cursor: pointer; box-shadow: 0 7px 20px rgba(0,0,0,.14); }
.property-body { padding: 20px; }
.property-place { margin-bottom: 7px; color: var(--muted); font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.property-title { margin: 0; font-size: 1.13rem; line-height: 1.3; }
.property-price { margin: 14px 0; font-family: Georgia, serif; font-size: 1.7rem; color: var(--forest); }
.property-facts { display: flex; gap: 13px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.property-link { display: inline-block; margin-top: 17px; color: var(--forest); font-weight: 800; text-decoration: none; }
.status-card { grid-column: 1/-1; padding: 45px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); background: rgba(255,255,255,.55); }
.status-card strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 1.2rem; }
.skeleton { min-height: 410px; border-radius: 21px; background: linear-gradient(100deg,#e9e8e2 30%,#f6f5ef 50%,#e9e8e2 70%); background-size: 300% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

.path-section { background: white; }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-card { min-height: 265px; display: flex; flex-direction: column; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.path-card:hover { background: var(--paper); }
.path-number { color: var(--forest-2); font-size: .8rem; font-weight: 900; letter-spacing: .1em; }
.path-card h3 { margin: auto 0 10px; font-family: Georgia, serif; font-size: 1.85rem; }
.path-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.cta-band { padding-block: 84px; background: var(--lime); color: var(--ink); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.cta-inner h2 { max-width: 700px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.cta-inner .button { flex: none; background: var(--forest); color: white; }
.site-footer { padding: 45px 0 24px; background: #0b2d28; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-copy { max-width: 430px; color: rgba(255,255,255,.62); line-height: 1.6; }
.footer-title { margin: 0 0 14px; color: var(--lime); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.76); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.47); font-size: .8rem; }
.cookie-banner-modern { position: fixed; z-index: 200; left: 20px; right: 20px; bottom: 20px; max-width: 680px; margin-left: auto; display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 18px; background: #102a27; color: white; box-shadow: 0 20px 70px rgba(0,0,0,.3); }
.cookie-banner-modern p { margin: 0; color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.45; }
.cookie-banner-modern button { flex: none; padding: 11px 16px; border: 0; border-radius: 11px; background: var(--lime); color: var(--ink); font-weight: 800; cursor: pointer; }
.cookie-banner-modern[hidden] { display: none !important; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .site-links { position: absolute; inset: 76px 0 auto; display: none; padding: 22px; background: var(--forest); border-top: 1px solid rgba(255,255,255,.1); flex-direction: column; align-items: stretch; }
  .site-links.open { display: flex; }
  .site-links a { display: block; padding: 7px 0; }
  .nav-cta { text-align: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-block: 62px 76px; }
  .hero h1 { font-size: clamp(3.1rem, 12vw, 5.4rem); }
  .properties-grid { grid-template-columns: repeat(2,1fr); }
  .section-heading, .cta-inner { align-items: start; flex-direction: column; }
  .ape-promo-shell{grid-template-columns:1fr}.ape-promo-offer{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.ape-offer-kicker,.ape-promo-offer>strong{grid-column:1}.ape-time{grid-column:2;grid-row:1/3;border-top:0;align-self:center}.ape-promo-button,.ape-promo-offer>small{grid-column:1/-1}
}
@media (max-width: 640px) {
  .site-shell { width: min(100% - 28px, 1180px); }
  .site-nav { min-height: 68px; }
  .site-links { top: 68px; }
  .hero-inner { padding-block: 48px 62px; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.4rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-panel { padding: 7px; border-radius: 22px; }
  .search-card { padding: 20px; }
  .search-grid { grid-template-columns: 1fr; }
  .field-wide, .search-submit { grid-column: auto; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 14px; }
  .section { padding-block: 66px; }
  .properties-grid, .path-grid, .footer-grid { grid-template-columns: 1fr; }
  .property-card { border-radius: 18px; }
  .path-card { min-height: 220px; }
  .cta-band { padding-block: 62px; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner-modern { left: 12px; right: 12px; bottom: 12px; align-items: stretch; flex-direction: column; }
  .ape-home-promo{padding:20px 0}.ape-promo-shell{border-radius:22px}.ape-promo-copy{padding:34px 23px}.ape-promo-label{margin-bottom:24px}.ape-promo-copy h2{font-size:clamp(2.7rem,13vw,3.55rem)}.ape-promo-copy>p:not(.eyebrow){font-size:.94rem}.ape-promo-points{display:grid}.ape-promo-offer{display:flex;padding:29px 23px}.ape-promo-offer>strong{font-size:4.8rem}.ape-time{width:100%;border-top:1px solid var(--line)}.ape-promo-button{width:100%}
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Detail and services pages */
.page-hero { padding: 74px 0 58px; background: var(--forest); color: white; }
.page-hero h1 { max-width: 850px; margin: 0; font: 500 clamp(2.8rem,7vw,5.8rem)/.98 Georgia,serif; letter-spacing: -.055em; }
.page-hero p { max-width: 670px; margin: 22px 0 0; color: rgba(255,255,255,.7); font-size: 1.1rem; line-height: 1.65; }
.breadcrumb { margin-bottom: 25px; color: rgba(255,255,255,.58); font-size: .85rem; }
.breadcrumb a { text-decoration: none; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(310px,.65fr); gap: 30px; padding-block: 36px 88px; }
.gallery-main { position: relative; min-height: 500px; overflow: hidden; border-radius: 28px; background: #dfe7e1; }
.gallery-main img { width: 100%; height: 100%; min-height: 500px; max-height: 680px; display: none; object-fit: cover; }
.gallery-main img.active { display: block; }
.gallery-empty { min-height: 500px; display: grid; place-items: center; color: var(--muted); }
.gallery-control { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.3rem; cursor: pointer; transform: translateY(-50%); }
.gallery-control.prev { left: 16px; }.gallery-control.next { right: 16px; }
.gallery-count { position: absolute; right: 17px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(16,42,39,.82); color: white; font-size: .8rem; }
.detail-content { margin-top: 26px; padding: 32px; border: 1px solid var(--line); border-radius: 25px; background: white; }
.detail-kicker { color: var(--forest-2); font-weight: 850; font-size: .77rem; text-transform: uppercase; letter-spacing: .08em; }
.detail-content h1 { margin: 9px 0 15px; font: 500 clamp(2rem,4vw,3.5rem)/1.04 Georgia,serif; letter-spacing: -.045em; }
.detail-price { margin-bottom: 25px; color: var(--forest); font: 500 2.25rem Georgia,serif; }
.detail-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; overflow: hidden; margin: 26px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.detail-fact { padding: 17px; background: #fafaf7; }.detail-fact span { display: block; color: var(--muted); font-size: .77rem; }.detail-fact strong { display: block; margin-top: 5px; }
.detail-description { color: var(--muted); line-height: 1.75; white-space: pre-line; }
.contact-card { position: sticky; top: 105px; padding: 27px; border-radius: 25px; background: var(--forest); color: white; box-shadow: var(--shadow); }
.contact-card h2 { margin: 0 0 8px; font: 500 1.85rem Georgia,serif; }.contact-card > p { color: rgba(255,255,255,.65); line-height: 1.55; }
.contact-person { margin: 24px 0; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.13); }
.contact-person strong,.contact-person a { display: block; }.contact-person a { margin-top: 7px; color: rgba(255,255,255,.75); text-decoration: none; }
.contact-actions { display: grid; gap: 10px; }.contact-actions .button { width: 100%; }.button-whatsapp { background: var(--lime); color: var(--ink); }.button-contact { border-color: rgba(255,255,255,.22); color: white; background: transparent; }
.save-share { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; }.save-share button { min-height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.05); color: white; cursor: pointer; }
.services-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 18px; }
.service-card { grid-column: span 2; min-height: 315px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: white; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.services-grid:not(.six-services):not(.seven-services) .service-card:nth-child(4),.services-grid:not(.six-services):not(.seven-services) .service-card:nth-child(5) { grid-column: span 3; }
.service-badge{display:inline-flex;align-self:flex-start;margin:-46px 0 28px auto;padding:7px 11px;border-radius:999px;background:var(--lime);color:var(--green);font-size:.72rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.ape-service-card{background:linear-gradient(145deg,#fff 0%,#f3f8eb 100%)}
.seven-services .structural-service-card{grid-column:span 6;min-height:230px;display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center;background:linear-gradient(120deg,#123f37,#1d554b);color:#fff}.structural-service-card .structural-card-copy{align-self:center}.structural-service-card small{color:var(--lime);font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.structural-service-card h2{margin:8px 0 9px;color:#fff}.structural-service-card p{max-width:700px;color:rgba(255,255,255,.68)}.structural-service-card .service-more{margin:0;color:var(--lime)}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--lime); color: var(--forest); font-weight: 900; }
.service-card h2 { margin: auto 0 10px; font: 500 1.75rem Georgia,serif; }.service-card p { margin: 0; color: var(--muted); line-height: 1.6; }.service-more { margin-top: 18px; color: var(--forest); font-weight: 850; }
@media(max-width:900px){.detail-layout{grid-template-columns:1fr}.contact-card{position:static}.services-grid{grid-template-columns:repeat(2,1fr)}.service-card,.service-card:nth-child(4),.service-card:nth-child(5){grid-column:span 1}.seven-services .structural-service-card{grid-column:span 2;grid-template-columns:auto 1fr}.structural-service-card .service-more{grid-column:2}}
@media(max-width:640px){.page-hero{padding:50px 0 42px}.detail-layout{padding-top:14px}.gallery-main,.gallery-main img,.gallery-empty{min-height:340px}.detail-content{padding:22px}.detail-facts{grid-template-columns:1fr}.services-grid{grid-template-columns:1fr}.service-card{min-height:250px}.seven-services .structural-service-card{grid-column:span 1;display:flex;align-items:stretch}.structural-service-card .service-more{margin-top:18px}}

/* Mobile-first polish shared by all modern pages */
body.cip-page{overflow-x:hidden}body.cip-page img,body.cip-page video,body.cip-page iframe{max-width:100%}body.cip-page h1,body.cip-page h2,body.cip-page h3,body.cip-page p,body.cip-page a{overflow-wrap:break-word}.menu-button,.site-links a,.button,.service-card,.submit-button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media(max-width:900px){.site-header{padding-top:env(safe-area-inset-top)}.site-links{z-index:110;max-height:calc(100dvh - 76px);overflow-y:auto;gap:4px;padding:16px max(20px,calc((100% - 1180px)/2));box-shadow:0 24px 44px rgba(5,32,28,.24)}.site-links a{min-height:48px;display:flex;align-items:center;padding:10px 14px;border-radius:10px}.site-links a:hover,.site-links a:focus-visible{background:rgba(255,255,255,.07)}.site-links .nav-cta{justify-content:center;margin-top:5px}.menu-button{flex:0 0 44px}.button,.submit-button{min-height:52px}.service-card:hover{transform:none}}
@media(max-width:640px){.brand{min-width:0;gap:9px;font-size:clamp(.9rem,4.2vw,1.05rem);white-space:nowrap}.brand-mark{width:42px;height:42px;flex:0 0 42px;background-size:39px 39px;border-radius:13px}.page-hero h1{font-size:clamp(2.55rem,13vw,3.8rem);line-height:.97}.page-hero p{font-size:1rem}.service-card{min-height:230px;padding:24px 22px;border-radius:20px}.service-card h2{font-size:1.62rem}.service-badge{margin:-44px 0 22px auto}.cookie-banner-modern{gap:10px;padding:14px;border-radius:15px}.cookie-banner-modern p{font-size:.8rem;line-height:1.4}.cookie-banner-modern button{min-height:44px;padding:9px 14px}body.cip-page input:not([type=checkbox]):not([type=radio]),body.cip-page select,body.cip-page textarea{font-size:16px!important}.footer-grid{gap:30px}.site-footer{padding-top:50px}}
@media(max-width:360px){.site-shell{width:min(100% - 22px,1180px)}.brand{font-size:.88rem}.brand-mark{width:36px;height:36px;flex-basis:36px}.page-hero h1{font-size:2.55rem}.hero h1{font-size:2.7rem}.eyebrow{font-size:.69rem;letter-spacing:.09em}.service-card{padding:21px 18px}.cookie-banner-modern{left:8px;right:8px;bottom:8px}}

/* Vetrina editoriale: evita l'effetto catalogo a quattro colonne. */
.properties-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.property-card{position:relative;min-width:0;border-radius:24px;box-shadow:0 14px 42px rgba(20,30,28,.07);transition:transform .28s,box-shadow .28s}
.property-card:first-child{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)}
.property-card:first-child .property-media{aspect-ratio:auto;min-height:420px}
.property-body{display:flex;flex-direction:column;padding:23px}
.property-card:first-child .property-title{font:500 clamp(1.65rem,3vw,2.45rem)/1.04 Georgia,serif;letter-spacing:-.035em}
.property-card:first-child .property-price{font-size:2.25rem}
.property-price{margin-top:auto;padding-top:18px}
.property-link{display:flex;align-items:center;justify-content:space-between;padding-top:17px;border-top:1px solid var(--line)}
@media(max-width:900px){.properties-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.property-card:first-child{grid-column:auto;display:block}.property-card:first-child .property-media{aspect-ratio:4/3;min-height:0}}
@media(max-width:640px){.properties-grid{grid-template-columns:1fr}}
@media(hover:none),(pointer:coarse){.button:hover,.service-card:hover,.property-card:hover{transform:none}.menu-button,.button,.submit-button,.search-submit{min-height:48px}}
@media(min-width:901px){.menu-button{display:none!important}}
