/* ================= Aramat · estilos propios ================= */
:root {
    --brand: #1c4a42;        /* verde oscuro corporativo */
    --brand-dark: #143a33;
    --cream: #f2efe9;        /* fondo crema */
    --sand: #e8e2d5;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    color: #2b2b2b;
}

.text-brand { color: var(--brand) !important; }
.bg-brand   { background: var(--brand) !important; }

.btn-brand {
    background: var(--brand);
    color: #fff;
    border-radius: 2px;
    padding: .55rem 1.6rem;
    letter-spacing: .5px;
    border: none;
}
.btn-brand:hover { background: var(--brand-dark); color: #fff; }

.section-title {
    font-weight: 600;
    letter-spacing: 1px;
}

/* ---------- Hero ---------- */
.hero-section { background: var(--cream); }
.hero-logo { max-height: 120px; max-width: 100%; height: auto; }
.logo-box .logo-text {
    display: inline-block;
    border: 2px solid var(--brand);
    color: var(--brand);
    padding: .75rem 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
}
.logo-box .logo-text small { font-size: .55em; letter-spacing: 4px; }
.hero-text { color: #444; line-height: 1.8; text-align: justify; }

/* ---------- Servicios ---------- */
.services-section { background: #fff; }
.service-icon {
    width: 92px; height: 92px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
    transition: transform .2s;
}
.service-icon:hover { transform: translateY(-4px); }

/* ---------- Tipo de propiedades ---------- */
.proptypes-section { background: var(--cream); }
.proptype-img {
    width: 100%;
    aspect-ratio: 4 / 3;     /* todas iguales, sin importar el tamaño subido */
    object-fit: cover;       /* recorta y centra para llenar el marco */
    display: block;
}
.proptype-label {
    border-top: 1px solid #bbb;
    padding-top: .5rem;
    letter-spacing: 1px;
    color: #555;
    text-transform: uppercase;
    font-size: .95rem;
}

/* ---------- Propiedades (carrusel) ---------- */
.properties-section { background: #fff; }
.property-carousel {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(0,0,0,.14);
}
.property-slide {
    position: relative;
    height: 460px;
    background-size: cover;
    background-position: center;
}
.property-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,30,28,.88) 0%, rgba(20,30,28,.20) 45%, transparent 72%);
}
.property-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    z-index: 2;
    padding: .35rem .95rem;
    border-radius: 2rem;
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.badge-venta    { background: var(--brand); }
.badge-arriendo { background: #2f6f9f; }
.badge-vendida  { background: #8a8f98; }
.property-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 1.75rem 2rem;
    color: #fff;
}
.property-caption h3 { font-weight: 600; }
.property-caption p { opacity: .9; max-width: 640px; }
.property-carousel .carousel-control-prev,
.property-carousel .carousel-control-next { width: 8%; }
@media (max-width: 576px) {
    .property-slide { height: 330px; }
    .property-caption { padding: 1.25rem; }
}

/* ---------- Project management ---------- */
.projmgmt-section { background: var(--sand); }
.projmgmt-card { background: var(--brand); border-radius: 2px; }

/* ---------- Propuesta de valor ---------- */
.valueprop-section {
    background-color: #24312e;
    background-size: cover;
    background-position: center;
}
.stat-value { font-size: 2.4rem; font-weight: 700; }
.stat-label { opacity: .8; font-size: .9rem; }

/* ---------- Asesores ---------- */
.advisors-section { background: #fff; }
.advisor-photo {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    border: 4px solid #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 58px; height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    z-index: 1050;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.32); }
@media (max-width: 576px) {
    .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 1.7rem; }
}

/* ---------- Footer ---------- */
.footer-section { background: var(--brand); }
.social-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: background .2s;
}
.social-btn:hover { background: rgba(255,255,255,.35); color: #fff; }
