﻿/* =====================================================================
   González Garrido – estilos del sitio (Bootstrap 5 + Outfit)
   ===================================================================== */
:root {
    --gg-ink: #1d2125;
    --gg-ink-2: #2c3136;
    --gg-muted: #5b6168;
    --gg-line: #ece8e3;
    --gg-line-2: #ddd8d2;
    --gg-sand: #f6f3ef;
    --gg-orange: #f37546;
    --gg-orange-dark: #c24e22;
    --gg-orange-darker: #a3401a;
    --gg-link: #b4471d;
    --gg-peach: #fde9de;
    --gg-peach-ink: #8a3413;
    --gg-radius: 14px;
    --bs-body-font-family: "Outfit", system-ui, sans-serif;
    --bs-body-color: #1d2125;
    --bs-link-color: #b4471d;
    --bs-link-hover-color: #a3401a;
}

body {
    font-family: "Outfit", system-ui, sans-serif;
    color: var(--gg-ink);
    background: #fff;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    text-transform: none !important;
    letter-spacing: normal;
    font-weight: 600;
    color: var(--gg-ink);
}
h1, .h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; }
h2, .h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
h3, .h3 { font-size: 20px; line-height: 1.3; }
h4, .h4 { font-size: 17px; }
small, .small { font-size: .875em !important; }
a { color: var(--gg-link); }
a:hover { color: var(--gg-orange-darker); }
.gg-eyebrow {
    color: var(--gg-link);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.text-muted-gg { color: var(--gg-muted) !important; }

/* ---------- Formularios y botones ---------- */
.form-select, .form-control {
    text-transform: none !important;
    border: 1px solid var(--gg-line-2) !important;
    border-radius: 10px;
    min-height: 48px;
    font-size: 15px !important;
    color: var(--gg-ink);
    background-color: #fff;
}
textarea.form-control { min-height: 96px; }
.form-select:focus, .form-control:focus {
    border-color: var(--gg-orange) !important;
    box-shadow: 0 0 0 .2rem rgba(243, 117, 70, .2);
}
.form-label, .gg-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--gg-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.btn { border-radius: 10px; font-weight: 600; }
.btn-primary,
.btn-primary:visited {
    --bs-btn-bg: var(--gg-orange-dark);
    --bs-btn-border-color: var(--gg-orange-dark);
    --bs-btn-hover-bg: var(--gg-orange-darker);
    --bs-btn-hover-border-color: var(--gg-orange-darker);
    --bs-btn-active-bg: var(--gg-orange-darker);
    --bs-btn-active-border-color: var(--gg-orange-darker);
    background-color: var(--gg-orange-dark);
    border-color: var(--gg-orange-dark);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
    background-color: var(--gg-orange-darker) !important;
    border-color: var(--gg-orange-darker) !important;
    color: #fff !important;
}
.btn-brand {
    background: var(--gg-orange);
    border-color: var(--gg-orange);
    color: var(--gg-ink);
}
.btn-brand:hover { background: #ff8a5c; border-color: #ff8a5c; color: var(--gg-ink); }
.btn-whatsapp { background: #1f7a4d; border-color: #1f7a4d; color: #fff; }
.btn-whatsapp:hover { background: #18633e; border-color: #18633e; color: #fff; }
.btn-pill { border-radius: 999px; }
.btn-gg-outline {
    border: 1px solid var(--gg-ink);
    color: var(--gg-ink);
    background: #fff;
    border-radius: 999px;
    font-weight: 500;
}
.btn-gg-outline:hover { background: var(--gg-ink); color: #fff; }

/* ---------- Navegación ---------- */
.gg-nav {
    background: #fff !important;
    border-bottom: 1px solid var(--gg-line);
    z-index: 1030;
}
.gg-nav .navbar-brand img {
    height: 40px;
    margin: 0;
}
.gg-nav .nav-link {
    color: var(--gg-ink) !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    padding: .5rem .8rem !important;
}
.gg-nav .nav-link:hover, .gg-nav .nav-link.active { color: var(--gg-link) !important; }
.gg-nav .navbar-toggler img { height: 26px; }
.gg-nav .gg-tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gg-ink);
    color: #fff;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.gg-nav .gg-tel:hover { background: #000; color: #fff; }

/* ---------- Hero de la home ---------- */
.gg-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #222;
}
.gg-hero .swiper-container, .gg-hero .gg-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.gg-hero .swiper-slide { background-size: cover; background-position: center; }
.gg-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(16, 18, 20, .55);
    z-index: 1;
}
.gg-hero .gg-hero-content { position: relative; z-index: 2; width: 100%; }
.gg-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; max-width: 760px; }
.gg-hero .gg-hero-lead { color: #f1eeea; font-size: 19px; font-weight: 300; max-width: 720px; }
.gg-hero .gg-eyebrow { color: #fab58e; }

/* ---------- Buscador ---------- */
.gg-search {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.gg-search-bar {
    background: #fff;
    border: 1px solid var(--gg-line);
    border-radius: var(--gg-radius);
    padding: 14px;
}
.gg-search .btn-check + .btn,
.gg-search-bar .btn-check + .btn {
    border-radius: 999px;
    border: 1px solid var(--gg-line-2);
    background: #fff;
    color: var(--gg-ink);
    font-weight: 500;
    padding: 8px 18px;
}
.gg-search .btn-check:checked + .btn,
.gg-search-bar .btn-check:checked + .btn {
    background: var(--gg-ink);
    border-color: var(--gg-ink);
    color: #fff;
    font-weight: 600;
}
.gg-search .btn-buscar, .gg-search-bar .btn-buscar { min-height: 48px; width: 100%; }

/* ---------- Accesos / guías ---------- */
.gg-band { background: var(--gg-sand); }
.gg-guia {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    background: #fff;
    border: 1px solid var(--gg-line);
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--gg-ink);
    transition: border-color .15s, box-shadow .15s;
}
.gg-guia strong { font-size: 17px; font-weight: 600; }
.gg-guia span { font-size: 14px; color: var(--gg-muted); }
.gg-guia:hover { border-color: var(--gg-orange); color: var(--gg-ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }

/* ---------- Tarjetas de propiedades ---------- */
.gg-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--gg-line);
    border-radius: var(--gg-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--gg-ink);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    transition: box-shadow .2s, transform .2s;
}
.gg-card:hover { color: var(--gg-ink); box-shadow: 0 12px 28px rgba(0, 0, 0, .10); transform: translateY(-2px); }
.gg-card-media { position: relative; }
.gg-card-media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    background: var(--gg-sand);
}
.gg-chip {
    position: absolute;
    top: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    padding: 5px 10px;
    border-radius: 999px;
}
.gg-chip-op { left: 12px; background: #fff; color: var(--gg-ink); }
.gg-chip-ref { right: 12px; background: rgba(16, 18, 20, .72); color: #fff; font-weight: 400; letter-spacing: 0; }
.gg-chip-star { left: auto; right: 12px; top: 46px; background: var(--gg-peach); color: var(--gg-peach-ink); }
.gg-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.gg-card-kicker { font-size: 13px; color: var(--gg-muted); letter-spacing: .06em; text-transform: uppercase; }
.gg-card-title {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 43px;
}
.gg-card-feats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: #3d4248; padding-top: 4px; }
.gg-card-feats span { display: inline-flex; align-items: center; gap: 5px; }
.gg-card-feats img { height: 17px; width: 17px; opacity: .75; }
.gg-card-price {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0ece7;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
}
.gg-card-price small { font-size: 14px !important; font-weight: 400; color: var(--gg-muted); }

/* ---------- Zonas / links relacionados ---------- */
.gg-zona {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid var(--gg-line-2);
    border-radius: 999px;
    color: var(--gg-ink);
    text-decoration: none;
    font-size: 14px;
}
.gg-zona:hover { border-color: var(--gg-ink); color: var(--gg-ink); }
.gg-zona small { color: var(--gg-muted); }
.gg-cta { background: var(--gg-ink); color: #fff; border-radius: 16px; padding: 32px; }
.gg-cta h2 { color: #fff; }
.gg-cta p { color: #d6d2cd; }
.gg-cta .gg-eyebrow { color: #fab58e; }
.gg-relacionados h2 { font-size: 18px; }
.gg-relacionados ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.gg-relacionados a { text-decoration: none; }
.gg-relacionados a:hover { text-decoration: underline; }
.gg-relacionados small { color: var(--gg-muted); }

/* ---------- Página de resultados ---------- */
.gg-page-head { background: var(--gg-sand); border-bottom: 1px solid var(--gg-line); }
.gg-breadcrumb { --bs-breadcrumb-divider: "›"; font-size: 14px; margin: 0; }
.gg-breadcrumb a { color: var(--gg-muted); text-decoration: none; }
.gg-breadcrumb a:hover { color: var(--gg-ink); }
.gg-breadcrumb .active { color: var(--gg-ink); }
.gg-filtro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 14px;
    background: #fff;
    border: 1px solid var(--gg-line-2);
    color: var(--gg-ink);
    text-decoration: none;
}
.gg-filtro:hover { border-color: var(--gg-ink); color: var(--gg-ink); }
.gg-filtro-fijo { background: var(--gg-ink); border-color: var(--gg-ink); color: #fff; }
.pagination { --bs-pagination-color: var(--gg-ink); --bs-pagination-active-bg: var(--gg-ink); --bs-pagination-active-border-color: var(--gg-ink); --bs-pagination-hover-color: var(--gg-ink); gap: 6px; }
.pagination .page-link { border-radius: 10px !important; min-width: 42px; text-align: center; }

/* ---------- Ficha ---------- */
.gg-badge-dark { background: var(--gg-ink); color: #fff; font-weight: 600; letter-spacing: .08em; padding: 6px 10px; }
.gg-badge-soft { background: var(--gg-peach); color: var(--gg-peach-ink); font-weight: 600; letter-spacing: .08em; padding: 6px 10px; }
.gg-badge-outline { border: 1px solid var(--gg-line-2); color: #3d4248; font-weight: 600; letter-spacing: .08em; padding: 5px 10px; background: #fff; }
.gg-ficha-donde { font-size: 16px; color: var(--gg-muted); font-weight: 400; }
.gg-precio { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.gg-precio span { font-size: 13px; color: var(--gg-muted); }
.gg-precio strong { font-size: clamp(26px, 3vw, 34px); font-weight: 600; }
.gg-galeria {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 10px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.gg-galeria > * { display: block; height: 100%; overflow: hidden; }
.gg-galeria img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gg-galeria a:hover img { transform: scale(1.03); }
.gg-galeria .gg-foto-principal { grid-column: span 2; grid-row: span 2; }
.gg-galeria .gg-foto-principal img { opacity: 1 !important; }
.gg-galeria > :nth-child(n+6) { display: none; }
.gg-mas-fotos { position: absolute; right: 14px; bottom: 14px; z-index: 2; }
.gg-mas-fotos .btn { background: #fff; color: var(--gg-ink); border: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.gg-mas-fotos .btn:hover { background: var(--gg-ink); color: #fff; }
@media (max-width: 767.98px) {
    .gg-galeria { grid-template-columns: 1fr; grid-auto-rows: 260px; border-radius: 12px; }
    .gg-galeria .gg-foto-principal { grid-column: auto; grid-row: auto; }
    .gg-galeria > :nth-child(n+2) { display: none; }
}
.gg-datos { display: flex; flex-wrap: wrap; gap: 12px; }
.gg-dato {
    flex: 1 1 130px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--gg-line);
    border-radius: 12px;
}
.gg-dato img { width: 24px; height: 24px; opacity: .8; }
.gg-dato div { display: flex; flex-direction: column; line-height: 1.2; }
.gg-dato strong { font-size: 18px; font-weight: 600; }
.gg-dato span { font-size: 13px; color: var(--gg-muted); }
.gg-texto { font-size: 16px; line-height: 1.7; color: var(--gg-ink-2); }
.gg-detalles { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.gg-detalles li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0ece7; }
.gg-detalles li b { font-weight: 400; color: var(--gg-muted); }
.gg-amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 15px; }
.gg-amenities li { display: flex; align-items: center; gap: 8px; }
.gg-amenities li::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background: no-repeat center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4471d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}
.gg-contacto {
    background: #fff;
    border: 1px solid var(--gg-line);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}
@media (min-width: 992px) {
    .gg-sticky { position: sticky; top: 90px; }
}
.gg-contacto .captcha { border-radius: 8px; }

/* ---------- Footer ---------- */
.gg-footer { background: #15181b; color: #c9c5c0; }
.gg-footer a { color: #c9c5c0; text-decoration: none; }
.gg-footer a:hover { color: #fff; }
.gg-footer .gg-footer-title { color: #fff; font-weight: 600; margin-bottom: 8px; }
.gg-footer .rrss { width: 22px; height: 22px; }

.gg-header { z-index: 1030; }
.alturaViewer { height: 320px; border-radius: 12px; }
.chip { position: fixed; right: 18px; bottom: 18px; z-index: 1040; }
.chip img { display: block; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.ratioPag { --bs-aspect-ratio: 56.25%; }
.ratioMed { --bs-aspect-ratio: 60%; }
.ratio.alturaViewer { height: auto; }
.map { z-index: 1; }

/* ---------- Páginas de contenido ---------- */
.gg-lead { font-size: 19px; font-weight: 300; color: var(--gg-ink-2); max-width: 760px; }
.gg-prosa { font-size: 17px; line-height: 1.7; color: var(--gg-ink-2); }
.gg-prosa h2 { font-size: 26px; margin: 2.2rem 0 .8rem; }
.gg-prosa h2:first-child { margin-top: 0; }
.gg-prosa h3 { font-size: 20px; margin: 1.6rem 0 .6rem; }
.gg-prosa ul { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.gg-prosa li { margin-bottom: .35rem; }
.gg-prosa li::marker { color: var(--gg-orange-dark); }
.gg-destacado { font-size: 19px; font-weight: 500; color: var(--gg-ink); }
.gg-tabla { font-size: 15px; }
.gg-tabla th[scope="row"] { font-weight: 500; color: var(--gg-muted); }
.gg-tabla thead th { font-weight: 600; border-bottom-width: 2px; }
.accordion { --bs-accordion-active-bg: var(--gg-sand); --bs-accordion-active-color: var(--gg-ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(243, 117, 70, .2); --bs-accordion-border-radius: 12px; }
.accordion-header { margin: 0 !important; font-size: inherit; }
.accordion-button { font-weight: 600; font-size: 17px; }
.accordion-body { font-size: 15px; line-height: 1.65; }
