section p {
    color: #676767;
}

section p:not(:last-of-type) {
    margin-bottom: 20px;
}

section h2 {
    color: #142A3C;
    font-weight: 700;
}

section h3 {
    font-size: 24px;
    color: #142A3C;
    line-height: 30px;
    margin-bottom: 16px;
}

section.lp-banner {
    margin-bottom: 0;

    p {
        line-height: 26px;
    }
}

section.erc {
    background: url('/wp-content/uploads/2025/09/exchange-regency-banner-min.jpg') center center / cover no-repeat;
}

section.lntc {
    background: url('/wp-content/uploads/2025/09/la-nobleza-commercial-banner-min.jpg') center center / cover no-repeat;

    h1 {
        max-width: 700px;
        margin: auto auto 40px;
    }
}

section.tgw {
    background: url('../../assets/img/qwork/banner-work.png') center center / cover no-repeat;

    h1 {
        
        margin-left: auto;
        margin-right: auto;
    }
}

section.lp-banner .content {
    max-width: 936px;
    width: 100%;
    margin: auto;
    text-align: center;

    h1,
    p {
        color: #fff;
    }

    h1 {
        margin-bottom: 40px;
    }

    p {
        text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    }
}



section.table-group table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 6px;
    overflow: hidden;
}

section table th {
    border: 1px solid rgba(20, 42, 60, .8);
    background: #ffd41c;
    padding: 12px 24px;
    text-align: center;
    color: rgba(0, 0, 0, .8);
    font-size: 22px;
    font-weight: 700;
}

section.table-group th:first-child {
    border-top-left-radius: 6px;
}

section.table-group th:last-child {
    border-top-right-radius: 6px;
}

section.table-group td {
    padding: 14px 32px;
    text-align: center;
    color: #676767;
    font-size: 18px;
}

section.table-group tbody tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
}

section.table-group tbody tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
}

section.parking h2 {
    margin-bottom: 16px;
}

section.parking .parking_cards {
    display: grid;
    border-radius: 6px;
    border: 1px solid rgba(103, 103, 103, .5);
}

section.parking .parking_cards .icon-card {
    display: flex;
    gap: 16px;
}

@media (min-width: 1200px) {
    section h2 {
        font-size: 40px;
        line-height: 56px;
    }

    section.lp-banner {
        padding-top: 200px;
    }

    section.lp-banner .content p {
        font-size: 19px;
    }

    section .d-flex {
        gap: 80px;
    }

    section .mb-80 {
        margin-bottom: 80px;
    }

    section.parking h2:last-of-type {
        margin-top: 60px;
    }

    section.parking .parking_cards {
        margin-top: 100px;
    }

    section.tgw {
        padding: 300px 0;
    }
}

@media (max-width: 1199px) {

    section h2,
    section.parking .content {
        text-align: center;
    }

    section .image.d-xl-none {
        margin-bottom: 30px;
    }

    section.table-group h2,
    section .mb-80 {
        margin-bottom: 30px;
    }

    section .d-flex {
        gap: 30px;
    }

    section.parking h2:last-of-type {
        margin-top: 40px;
    }

}

@media (max-width: 1199px) and (min-width: 768px) {
    section.parking .parking_cards {
        margin-top: 50px;
    }

    section h2 {
        font-size: 35px;
        line-height: 40px;
    }
}

@media (min-width: 992px) {

    section .d-flex {
        align-items: center;
    }

    section .d-flex>div {
        width: 100%;
    }

    section.parking .parking_cards {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        padding: 60px;
    }
}

@media (max-width: 991px) {
    section.parking .parking_cards {
        gap: 30px;
        padding: 30px;
    }

    section.parking .parking_cards .icon-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 768px) {

    section.table-group table,
    section.table-group td {
        border: 1px solid rgba(20, 42, 60, .8);
    }
}

@media (max-width: 767px) {
    section h2 {
        font-size: 30px;
        line-height: 35px;
    }

    section.parking .parking_cards {
        margin-top: 40px;
    }

    section thead {
        display: none;
    }

    section tr {
        border: 1px solid rgba(20, 42, 60, .8);
        display: block;
        border-radius: 6px;
    }

    section tr:not(:last-of-type) {
        margin-bottom: 30px;
    }

    section td:before {
        content: attr(data-label);
        font-weight: 700;
        padding-right: 10px;
        text-align: left;
    }

    section.table-group td {
        display: flex;
        justify-content: space-between;
        text-align: right;
        padding: 14px 20px;
    }
}


/* Page-specific Styling */

/* la-nobleza-terrazas-commercial */
.page-id-3456 {
    section.parking {
        background: #FAFBFB;
    } 
}
/* la-nobleza-terrazas-commercial - end */


/* the-exchange-regency-commercial */
.page-id-3451 {
    section.parking {
        background: #FAFBFB;
    } 
}
/* the-exchange-regency-commercial - end */



/* Page-specific Styling - End */

/* MY OWN CSS */

/* CTA Button */
section.lp-banner.tgw .cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: #f4c21c; /* yellow like screenshot */
  color: #000;
  border-radius: 8px;
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover effect */
section.lp-banner.tgw .cta-btn:hover {
  background: #e0b000;
  transform: translateY(-2px);
}

/* ===== ABOUT QWORK ===== */

.about-qwork {
  padding: 100px 0px;
  background: #FFF;
}

.about-qwork .container {
  max-width: 1180px;
  margin: 0 auto;
}

/* GRID */
.about-top {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  align-items: flex-start;
  margin-bottom: 60px;
}

/* LEFT */
.about-left {
  max-width: 540px;
}

.about-left h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 20px;
}

.about-left p {
  font-size: 16px;
  line-height: 1.8;
  color: #676767;
  margin-bottom: 16px;
}

/* CARD */
.about-card {
  max-width: 520px;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(103, 103, 103, 0.50);
  border-radius: 10px;
  padding: 24px 28px;
}

.value a {
  color: #676767;
  text-decoration: none;
  font-weight: 700;
}

.value a:hover {
  color: #2bb3a3; /* optional hover */
}

/* ROW */
.about-card .row {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: center;
  margin-bottom: 16px;
}

/* LABEL */
.about-card .label {
  min-width: 86px;
  font-weight: 600;
  color: #1f2d3d;
}

/* VALUE */
.about-card .value {
  color: #676767
}

.row {
  display: flex;
  align-items: flex-start;
}

.label {
  min-width: 140px; /* adjust if needed */
  font-weight: 600;
}

.value {
  flex: 1;
}

/* SOCIAL ROW ALIGNMENT */
.about-card .social-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
}

/* SOCIAL CONTAINER */
.about-card .socials {
  align-items: center;
}

/* IMAGE */
.about-image img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

/* ===== QWORK SERVICES ===== */

.qwork-services {
  padding: 100px 0px;
  background: #FAFBFB;
  text-align: center;
}

.qwork-services .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.services-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 12px;
}

.services-header p {
  max-width: 520px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
  text-align: left;
}

/* ITEM */
.service-item {
  max-width: 320px;
}

/* ICON */
.service-item img {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
}

/* TITLE */
.service-item h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 12px;
}

/* TEXT */
.service-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
}

/* ===== SECTION ===== */

.qwork-ideal {
  padding: 100px 0px;
  background: #FFF;
}

.qwork-ideal .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== TOP LAYOUT ===== */

.ideal-top {
  display: flex;
  align-items: center;
  
  gap: 100px;
  margin-bottom: 40px;
}

/* IMAGE */
.ideal-image img {
  width: 520px;
  height: 400px;
  border-radius: 12px;
  display: block;
}

/* TEXT */
.ideal-content {
  max-width: 520px;
}

.ideal-content h2 {
  font-size: 40px;
  font-weight: 700;
  color: #1f2d3d;
  line-height: 1.3;
  margin-bottom: 16px;
}

.ideal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #676767
}

/* ===== FEATURES GRID ===== */

.ideal-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 40px;
   justify-content: start;
}

/* ITEM */
.feature-item {
  width: 100%;
}

/* ICON */
.feature-item img {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
}

/* TITLE */
.feature-item h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 10px;
}

/* TEXT */
.feature-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
}

/* ===== FIXED GALLERY ===== */
.ideal-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* force equal columns */
  gap: 40px;
  margin-top: 60px;
  width: 100%;
}

/* IMAGE */
.ideal-gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ===== SECTION ===== */
.qwork-cta {
  background: #144F6F; /* deep blue */
  padding: 100px 0;
  overflow: hidden;
}

/* CONTAINER */
.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
  gap: 80px;
}

/* ===== TEXT ===== */
.cta-content h2 {
  font-size: 44px;
  line-height: 1.3;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 25px;
}

.cta-content p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
 
}

/* BUTTON */
.cta-btn {
  display: inline-block;
  font-size: 16px;
  margin-top: 15px;
  background: #f5c518;
  color: #000;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 400;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: #e4b50f;
}

/* ===== IMAGE ===== */
.qwork-cta {
  background: #144F6F;
  padding: 70px 300;
  overflow: hidden;
  position: relative; /*ADD THIS */
}

/* IMAGE FIX */
.cta-image {
  position: absolute;  /* key fix */
  top: 0;
  right: 0;
}

.cta-image img {
    
  height: 461px;
  width: 657px;
  object-fit: cover;
  border-radius: 0 0 0 60px;
  display: block;
}

.about-card .socials img {
  width: 29px;
  height: 29px;
}

.about-card .socials img {
  display: block;
}

/* Social row layout */
.about-card .social-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
}

/* ICON CONTAINER */
.about-card .socials {
  display: flex;
  align-items: center;
  gap: 12px; /* spacing between icons */
}

/* FIX ICON WRAPPING */
.about-card .socials a {
  display: flex;
}

/* REMOVE IMAGE BASELINE ISSUES */
.about-card .socials img {
  display: block;
  width: 29px;
  height: 29px;
}

.about-card {
  text-align: left;
}

/* ================= RESPONSIVENESS ================= */

/* ≤ 1199px (Start stacking early) */
@media (max-width: 1199px) {

  .about-top,
  .ideal-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
  }

  .about-left,
  .about-card,
  .ideal-content,
  .ideal-image {
    width: 100%;
    max-width: 720px;
  }

  .ideal-image img {
    width: 100%;
    height: auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .ideal-features,
  .ideal-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  /* FIX TEXT WRAP */
  .ideal-content h2 {
    white-space: normal !important;
  }

}


/* 1199 → 768 (Tablet refinement) */
@media (max-width: 1199px) and (min-width: 768px) {

  .ideal-content h2 {
    font-size: 34px;
    line-height: 1.3;
  }

  .services-grid {
    gap: 30px;
  }

}


/* ≤ 992px (Fix mid-breakpoint issues like 600px) */
@media (max-width: 992px) {

  .container {
    padding: 0 24px;
  }

  .ideal-top {
    gap: 30px;
  }

  .services-grid {
    gap: 30px;
  }

}


/* ≤ 768px (Tablet → Mobile) */
@media (max-width: 768px) {

  .container {
    padding: 0 20px;
  }

  section {
    padding: 70px 0;
  }

  .ideal-content h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .services-grid,
  .ideal-features,
  .ideal-gallery {
    grid-template-columns: 1fr;
  }

  /* CTA FIX */
  .cta-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }

  /* FIX ABSOLUTE IMAGE */
  .cta-image {
    position: relative !important;
    top: auto;
    right: auto;
    margin-top: 30px;
  }

  .cta-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

}


/* ≤ 767px (Mobile polish) */
@media (max-width: 767px) {

  section.tgw {
    padding: 90px 16px !important;
  }

  .ideal-content h2 {
    font-size: 24px;
  }

  .about-left h2,
  .cta-content h2 {
    font-size: 24px;
  }

  .services-grid {
    gap: 20px;
  }

}

@media (max-width: 992px) {

  .cta-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* IMAGE GOES ON TOP */
  .cta-image {
    position: relative !important;
    width: 100%;
    order: -1; /* move image above text */
  }

.cta-image img {
    width: 100%;
    height: 550px;          /* clean consistent height */
    object-fit: cover;
    object-position: center; /* keeps face centered */
    border-radius: 0;
  }

  /* TEXT SECTION */
  .cta-content {
    padding: 40px 20px;
    text-align: left;
  }

  .cta-content h2 {
    font-size: 30px;
    line-height: 1.3;
  }

  .cta-content p {
    font-size: 15px;
    line-height: 1.6;
  }


  .cta-btn {
    display: inline-block;
    width: 100%;              /* REMOVE full width */
    margin: 20px auto 0;      /* center it */
    padding: 14px 28px;       /* keep nice size */
  }

  .cta-content {
    text-align: center;       /* center text + button */
  }

  .cta-image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}


}

@media (max-width: 768px) {

  .qwork-cta {
    padding: 0; /* remove large spacing */
  }

  .cta-image img {
    height: 240px;
  }

  .cta-content {
    padding: 30px 16px;
  }

  .cta-content h2 {
    font-size: 26px;
  }

  .cta-content p {
    font-size: 14px;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }

  .qwork-cta {
  background-color: #1f5a73;
  padding: 60px 20px;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;   /* THIS is the key fix */
  align-items: center;
  text-align: center;
}

  .cta-image img {
    display: inline-block;
    margin-left: 30px;
}

}

@media (max-width: 1200px) {

  .cta-container {
    grid-template-columns: 1fr;
  }

  .cta-image {
    position: relative;
    width: 100%;
  }

  .cta-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .cta-image {
  text-align: center;
}

.cta-image img {
  display: inline-block;
  margin-left: 30px;
}

}

/* ===== STANDARD SECTION PADDING ===== */

/* Desktop */
section {
  padding: 100px 0;
}

/* Tablet */
@media (max-width: 991px) {
  .about-qwork,
  .qwork-services,
  .qwork-cta,
  .qwork-ideal {
    padding: 70px 30px;
  }

  .cta-image img {
    display: inline-block;
    margin-left: 17px;
}

}

/* Mobile */
@media (max-width: 767px) {
  .about-qwork,
  .qwork-services,
  .qwork-cta,
  .qwork-ideal {
    padding: 50px 20px;
  }

  .cta-image img {
    display: inline-block;
    margin-left: 11px;
}
}