/* Nueva portada (index.html) — estilo editorial con la marca Cory */
body.portada { margin: 0; background: #fff; color: #1B2333; }
.pt [hidden] { display: none !important; }
.pt h1, .pt h2, .pt h3, .pt-eyebrow, .pt-cifra, .pt-cifra-txt, .pt-tab, .pt-btn, .pt-mas, .pt-foto-titulo, .pt-card-tag, .pt-card-tit, .pt-pie-tit, .pt-lema, .pt-pill {
	font-family: 'Questrial', Arial, Helvetica, sans-serif; font-weight: 400;
}
/* Anula estilos generales de style.css (main h1, div h2) */
.pt h1 { display: block; text-transform: none; text-shadow: none; padding: 0; }
.pt h2 { text-transform: none; padding: 0; color: #081F54; text-align: left; }
.pt-banda h2 { text-align: center; }
/* #resultado tenía estilos del listado anterior en style.css */
.pt #resultado { display: grid; padding: 0; width: auto; align-items: start; justify-content: stretch; }
.pt p { margin: 0; }

.pt-bloque { max-width: 1240px; margin: 0 auto; padding: 72px 24px; }
.pt-gris { background: #F4F6FA; }
.pt-eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.pt-azul { color: #007DC0; }

/* Botones */
.pt-btn { display: inline-flex; align-items: center; gap: 10px; background: #081F54; color: #fff; padding: 15px 26px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid #081F54; transition: background .2s, color .2s; }
.pt-btn:hover { background: #007DC0; border-color: #007DC0; color: #fff; }
.pt-btn-claro { background: #fff; color: #081F54; border-color: #fff; }
.pt-btn-claro:hover { background: #E3E7EF; border-color: #E3E7EF; color: #081F54; }
.pt-btn-borde { background: transparent; color: #fff; border-color: #fff; }
.pt-btn-borde:hover { background: #fff; color: #081F54; border-color: #fff; }
.pt-btn-borde-azul { background: #fff; color: #081F54; }
.pt-btn-borde-azul:hover { background: #081F54; color: #fff; }

/* Hero con pestañas */
.pt-hero { background: #081F54; color: #fff; }
.pt-hero-in { max-width: 960px; margin: 0 auto; padding: 64px 24px 56px; }
.pt-hero h1 { margin: 0 0 32px; font-size: clamp(30px, 5vw, 46px); line-height: 1.15; color: #fff; }
.pt-tabs { display: flex; gap: 32px; flex-wrap: wrap; }
.pt-tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 0 8px; color: #C9D3E6; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.pt-tab:hover { color: #fff; }
.pt-tab[aria-selected="true"] { color: #fff; border-bottom-color: #4FB3E8; }
.pt-tab:focus-visible { outline: 2px solid #4FB3E8; outline-offset: 4px; }
.pt-buscar { margin-top: 22px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.6); padding: 8px 0; }
.pt-buscar > i { color: #fff; font-size: 18px; }
.pt-buscar input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font-size: 18px; padding: 8px 0; }
.pt-buscar input::placeholder { color: #AEBBD3; }
.pt-buscar button { background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 6px 10px; }
.pt-buscar:focus-within { border-bottom-color: #4FB3E8; }
.pt-vender { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.6); padding: 12px 0 20px; }
.pt-vender p { font-size: 18px; line-height: 1.5; max-width: 560px; }

/* Foto grande */
.pt-foto { position: relative; height: clamp(380px, 52vw, 620px); overflow: hidden; background: #0d2a4f; }
.pt-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-foto-texto { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 24px 36px; background: linear-gradient(transparent, rgba(8,31,84,.88)); color: #fff; }
.pt-foto-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pt-foto-titulo { font-size: clamp(24px, 3.2vw, 32px); margin-top: 6px !important; }
.pt-foto-precio { font-size: 17px; margin-top: 4px !important; }

/* Cifras */
.pt-cifras { max-width: 1240px; margin: 0 auto; padding: 44px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; text-align: center; border-bottom: 1px solid #E3E7EF; }
.pt-cifra { font-size: 32px; color: #081F54; }
.pt-cifra-txt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #4b5563; margin-top: 6px !important; }

/* Títulos de sección */
.pt-titulo-fila { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.pt-titulo-fila h2 { margin: 0; font-size: clamp(28px, 3.6vw, 36px); }
.pt-mas { color: #007DC0; text-decoration: none; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.pt-mas:hover { color: #081F54; }
.pt-conteo { color: #4b5563; }

/* Tarjetas de propiedades */
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 28px; }
.pt-card { display: block; color: #1B2333; text-decoration: none; }
.pt-card-foto { aspect-ratio: 4 / 3; overflow: hidden; background: #E3E7EF; }
.pt-card-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.pt-card:hover .pt-card-foto img { transform: scale(1.04); }
.pt-card-tag { margin-top: 16px !important; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #007DC0; }
.pt-card-tit { font-size: 20px; line-height: 1.3; margin-top: 6px !important; color: #081F54; }
.pt-card:hover .pt-card-tit { text-decoration: underline; }
.pt-card-lugar { font-size: 15px; color: #4b5563; margin-top: 4px !important; }
.pt-card-precio { font-size: 18px; font-weight: bold; color: #081F54; margin-top: 10px !important; }
.pt-vacio { grid-column: 1 / -1; text-align: center; padding: 30px; color: #081F54; font-size: 17px; }

/* Busca por */
.pt-busca-por { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; padding-top: 24px; }
.pt-busca-por h2 { margin: 0 0 6px; font-size: 26px; }
.pt-busca-por p { color: #4b5563; margin-bottom: 20px !important; }
.pt-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pt-pill { background: #fff; border: 1px solid #081F54; color: #081F54; padding: 12px 18px; font-size: 15px; cursor: pointer; }
.pt-pill:hover, .pt-pill:focus-visible { background: #081F54; color: #fff; }

/* Filtros */
.pt-filtros { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 16px; align-items: end; margin-bottom: 36px; }
.pt-filtros label { display: block; font-size: 13px; font-weight: bold; color: #081F54; margin-bottom: 6px; }
.pt-filtros input, .pt-filtros select { width: 100%; border: 1px solid #C5CDDC; background: #fff; padding: 12px; font-size: 16px; color: #1B2333; border-radius: 0; }
.pt-filtros input:focus, .pt-filtros select:focus { outline: 2px solid #007DC0; outline-offset: -1px; }
.pt-limpiar { background: none; border: 0; color: #007DC0; text-decoration: underline; font-size: 15px; cursor: pointer; padding: 12px 4px; }

/* Terrazas del Mayo */
.pt-terrazas { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.pt-terrazas-fotos { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pt-terrazas-fotos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pt-terrazas-fotos .pt-t-grande { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.pt-terrazas-txt { flex: 1 1 400px; min-width: 0; }
.pt-terrazas-txt h2 { margin: 8px 0 16px; font-size: clamp(30px, 4vw, 40px); }
.pt-terrazas-txt > p:not(.pt-eyebrow) { font-size: 17px; line-height: 1.6; color: #374151; margin-bottom: 22px; }
.pt-terrazas-cifras { display: flex; gap: 44px; flex-wrap: wrap; margin-bottom: 28px; }
.pt-terrazas-cifras .pt-cifra { font-size: 28px; }
.pt-terrazas-cifras .pt-cifra-txt { letter-spacing: .08em; }
.pt-terrazas-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Banda Vender */
.pt-banda { position: relative; overflow: hidden; background: #081F54; }
.pt-banda img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.pt-banda-in { position: relative; max-width: 860px; margin: 0 auto; padding: 96px 24px; text-align: center; color: #fff; }
.pt-banda h2 { color: #fff; margin: 14px 0 16px; font-size: clamp(30px, 4.4vw, 40px); line-height: 1.2; }
.pt-banda-in > p:not(.pt-eyebrow) { font-size: 18px; line-height: 1.6; opacity: .92; margin-bottom: 32px; }

/* Pie de página */
.pt-pie { background: #fff; border-top: 1px solid #E3E7EF; }
.pt-pie-in { max-width: 1240px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; color: #374151; line-height: 1.9; }
.pt-pie p { margin: 0; }
.pt-pie a { color: #374151; text-decoration: none; }
.pt-pie a:hover { color: #007DC0; }
.pt-pie-logo { width: 150px; height: auto; }
.pt-lema { color: #4b5563; font-size: 15px; margin-top: 10px !important; }
.pt-pie-tit { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #081F54; margin-bottom: 10px !important; }
.pt-redes { display: flex; gap: 10px; }
.pt-redes a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #081F54; color: #081F54; font-size: 18px; }
.pt-redes a:hover { background: #081F54; color: #fff; }

@media (max-width: 900px) {
	.pt-filtros { grid-template-columns: 1fr 1fr; }
	.pt-filtros > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.pt-bloque { padding: 56px 18px; }
	.pt-hero-in { padding: 44px 18px 40px; }
	.pt-tabs { gap: 20px; }
	.pt-tab { font-size: 13px; letter-spacing: .12em; }
	.pt-filtros { grid-template-columns: 1fr; }
	.pt-cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; padding: 32px 18px; }
	.pt-cifra { font-size: 26px; }
	.pt-cifra-txt { letter-spacing: .08em; }
	.pt-terrazas { gap: 32px; }
	.pt-btn { justify-content: center; }
	.pt-vender .pt-btn, .pt-terrazas-btns .pt-btn { width: 100%; }
}

/* ===== Página Nosotros (home/nosotros/nos.html) ===== */
.pt-centro { text-align: center; }
.pt-centro h1 { margin-bottom: 14px; }
.pt-hero-eyebrow { color: #C9D3E6; margin-bottom: 14px !important; }
.pt-hero-lema { font-size: 19px; font-style: italic; color: #E3E7EF; }
.pt-dos { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.pt-dos-txt { flex: 1 1 420px; min-width: 0; }
.pt-dos-txt h2 { margin: 8px 0 20px; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.25; }
.pt-dos-txt > p:not(.pt-eyebrow) { font-size: 17px; line-height: 1.7; color: #374151; margin-bottom: 16px !important; }
.pt-dos-txt a { color: #007DC0; }
.pt-dos-foto { flex: 1 1 420px; min-width: 0; }
.pt-dos-foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pt-cifras-borde { border-top: 1px solid #E3E7EF; }
.pt .pt-h2-centro { text-align: center; margin: 0 0 8px; font-size: clamp(28px, 3.6vw, 36px); }
.pt-sub-centro { text-align: center; color: #4b5563; font-size: 17px; margin-bottom: 36px !important; }
.pt-valores { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px; background: #E3E7EF; border: 1px solid #E3E7EF; }
.pt-valores > div { background: #fff; padding: 32px 26px; }
.pt-valores i { font-size: 30px; color: #007DC0; }
.pt-valores h3 { margin: 16px 0 8px; font-size: 21px; color: #081F54; }
.pt-valores p { color: #4b5563; line-height: 1.6; }
.pt-banda-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pt-copy { margin: 0; padding: 18px 24px; text-align: center; font-size: 13px; color: #4b5563; border-top: 1px solid #E3E7EF; }
.nav-links a[aria-current="page"] { background-color: #081F54; color: #fff; }
.portada .nav-links a { display: inline-block; }
@media (max-width: 640px) {
	.pt-dos { gap: 32px; }
	.pt-dos-foto { order: -1; }
	.pt-banda-btns .pt-btn { width: 100%; }
}
