html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
}

/* ===== SERVICES BANNER ===== */
.services-banner {
    position: relative;
    min-height: 55vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.services-banner img.u-cover-services {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.798) saturate(1.5) contrast(1);
    z-index: 0;
}

.services-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.885) 20%,
        transparent 50%,
        rgba(0, 0, 0, 0.609) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.img-services-text {
    position: relative;
    z-index: 2;
    color: #ffffff;
    margin-left: 3rem;
    /* margin-bottom removed */
}

.img-services-ribbon {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3b8bc0;
    margin-bottom: 1rem;
}

.img-services-title {
    font-size: 2.8rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-transform: uppercase;
    width: 55%;
}

.img-services-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: #3b8bc0;
    margin: 1rem 0 0.5rem 0;
    border-radius: 3px;
}

.img-services-subtext {
    margin-top: 1rem;
    font-size: 1.15rem;
    font-weight: 500;
    width: 40%;
    letter-spacing: -0.04em;
    color: #ffffff;
    line-height: 1.6;
}

/* ===== PUBLICA TU PROPIEDAD ===== */
.publish-your-property-section {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Equal 50/50 split, or change to 1.5fr 1fr */
    align-items: center;
    width: 100%;
}

.publish-your-property-container {
    margin: 2rem 2rem 0rem 3rem;
}

.publish-your-property-section img.u-cover-publish-your-property {
    position: absolute;
    top: 0;
    right: 0;
    width: 35.5%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) saturate(1.1) contrast(1);
    border-bottom-left-radius: 16px;
}

.publish-your-property-ribbon {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3b8bc0;
    margin-bottom: 1rem;
}

.publish-your-property-subtitle {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.publish-your-property-subtitle::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: #3b8bc0;
    margin: 1rem 0 0.5rem 0;
    border-radius: 3px;
}

.publish-your-property-text {
    font-size: 1.15rem;
    font-weight: 400;
    color: #000000;
    line-height: 1.7rem;
    margin-bottom: 1rem;
    max-width: 100%; /* Let it stretch */
}

.publish-your-property-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #3b8bc0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.publish-your-property-btn:hover {
    color: #0278a8;
    gap: 0.8rem;
}

.publish-your-property-btn::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s ease;
}

.publish-your-property-btn:hover::after {
    transform: translateX(1px);
}

.values-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 ;
    width: 850px;
}

.values-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 1.8rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 290px;
}

.values-card img {
    height: 4.5rem;
    width: 4.5rem;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: #e8f2ff;
    padding: 0.5rem;
}

.values-card h2 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 1rem 0;
    padding: 0;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.values-card p {
    font-size: 0.91rem;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
}

/* Plans Structure */
.pricing-plans-section {
    position: relative;
    display: grid;
    justify-items: stretch;
}

.pricing-plans-container {
    margin: 3rem 2rem 0 3rem;
    flex-wrap: nowrap;
}

.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1080px;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    align-items: stretch;   /* all cards same height */
}

.pricing-plans-ribbon {
    display: inline-block;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #3b8bc0;
}

/* .pricing-plans-container {
  display: flex;
  gap: 20px;
} */

.card {
    padding: 2rem 1.5rem 1.8rem;
    background: linear-gradient(180deg, #0f0f0f 0%, #050505 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    min-width: 0;
}

/* Highlighted Card adjustments */
.card.popular {
  background: radial-gradient(circle at 990% -600%, #e7ba3e 70%, #483815 100%);
  border-color: #9f8239;
  border-width: 0.14rem;
  box-shadow: 0 6px 20px #9f8239ad;
  z-index: 2;
}

/* Popular Tag Badge */
/* .badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff7b0000;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 12px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  letter-spacing: 0.5px;
} */

/* Card Headers */
.card-header {
  color: #30709c;
  margin-bottom: 1rem;
  text-align: left;
  font-weight: bold;
  font-size: 30px;
  letter-spacing: 0.5px;
  margin-top: -1rem;
  text-transform: uppercase;
}

.card-header.premium {
  color: #002d47;
  text-align: left;
  font-weight: bold;
  font-size: 30px;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

/* Card Body Layout */
.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.price {
  font-size: 28px;
  font-weight: bold;
  color: #b9b9b9cc;
  margin: 2.5px 0 12px 0;
}

/* Features List */
.features {
  list-style: none;
  margin: 20px 0 25px 0;
}

.features li {
  font-size: 15.5px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  line-height: 0.95;
}

.check {
  font-weight: bold;
  margin-right: 8px;
  font-size: 13px;
}

.blue-text {
  color: #30709c;
  font-size: 16px;
}

.orange-text {
  color: #9e8338;
  font-size: 16px;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 10px 0;
  border-radius: 50px;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  margin-top: auto;
}

.outline-blue {
  background-color: #30709c;
  color: white;
  border-color: transparent;
}

.outline-blue:hover {
  background-color: white;
  color:#30709c;
}

.solid-orange {
  background-color: #9e8338;
  color: white;
  border-color: transparent;
}

.solid-orange:hover {
  background-color: #715d28;
  border-color: transparent;
}

/* ---------- Laptops pequeñas (<= 1200px) ---------- */
@media (max-width: 1200px) {
    .img-services-text {
        margin-left: 2.5rem;
        margin-right: 2rem;
    }
 
    .img-services-title {
        font-size: 2.3rem;
        width: 70%;
    }
 
    .img-services-subtext {
        width: 60%;
        font-size: 1.05rem;
    }
 
    .publish-your-property-section {
        grid-template-columns: 1.5fr 1fr;
    }
 
    .publish-your-property-container {
        margin: 2rem 1.5rem 2rem 2rem;
    }
 
    .values-features-grid {
        width: 100%;
    }
 
    .values-card {
        height: auto;
        min-height: 270px;
        padding: 1.5rem 1.2rem 1.2rem;
    }
 
    .pricing-plans-container {
        margin: 3rem 1.5rem 0 2rem;
    }
 
    .card-header,
    .card-header.premium {
        font-size: 26px;
    }
 
    .features li {
        font-size: 14.5px;
    }
}
 
/* ---------- Tablet (<= 991px) : aquí el header ya es hamburguesa ---------- */
@media (max-width: 991px) {
    .services-banner {
        margin-top: 0;
        min-height: 50vh;
    }
 
    .img-services-text {
        margin-left: 2rem;
        margin-right: 2rem;
    }
 
    .img-services-title {
        font-size: 2rem;
        width: 85%;
    }
 
    .img-services-subtext {
        width: 85%;
    }
 
    .publish-your-property-section {
        display: block;
    }
 
    .publish-your-property-container {
        margin: 2.5rem 2rem 2rem;
    }
 
    .publish-your-property-section img.u-cover-publish-your-property {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 300px;
        display: block;
        border-bottom-left-radius: 0;
    }
 
    .values-features-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
 
    .values-card {
        height: auto;
        min-height: 0;
    }
 
    .pricing-plans-container {
        margin: 2.5rem 2rem 0;
    }
 
    .pricing-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
 
    .pricing-plans-ribbon {
        font-size: 1.45rem;
    }
}
 
@media (max-width: 768px) {
    .services-banner {
        min-height: 45vh;
    }
 
    .services-banner::after {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.55) 55%,
            rgba(0, 0, 0, 0.85) 100%
        );
    }
 
    .img-services-text {
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }
 
    .img-services-title {
        font-size: 1.75rem;
        width: 100%;
    }
 
    .img-services-subtext {
        width: 100%;
        font-size: 1rem;
    }
 
    .publish-your-property-container {
        margin: 2rem 1.25rem;
    }
 
    .publish-your-property-text {
        font-size: 1.05rem;
    }
 
    .publish-your-property-section img.u-cover-publish-your-property {
        height: 220px;
    }
 
    .values-features-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
 
    .values-card {
        padding: 1.5rem 1.25rem;
    }
 
    /* Planes uno debajo del otro */
    .pricing-plans-container {
        margin: 2rem 1.25rem 0;
    }
 
    .pricing-plans-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }
 
    .card {
        padding: 1.8rem 1.3rem 1.5rem;
    }
}
 
@media (max-width: 480px) {
    .img-services-ribbon {
        font-size: 0.8rem;
    }
 
    .img-services-title {
        font-size: 1.45rem;
    }
 
    .img-services-subtext {
        font-size: 0.95rem;
        line-height: 1.5;
    }
 
    .publish-your-property-text {
        font-size: 1rem;
        line-height: 1.6rem;
    }
 
    .values-card img {
        height: 4rem;
        width: 4rem;
        margin-bottom: 1rem;
    }
 
    .values-card p {
        font-size: 0.88rem;
    }
 
    .pricing-plans-ribbon {
        font-size: 1.25rem;
        letter-spacing: 0.03em;
    }
 
    .card-header,
    .card-header.premium {
        font-size: 23px;
    }
 
    .price {
        font-size: 24px;
    }
 
    .features {
        margin: 16px 0 20px 0;
    }
 
    .features li {
        font-size: 14px;
        line-height: 1.2;
    }
 
    .btn {
        padding: 12px 0;
        font-size: 12px;
    }
}
 