@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

  --navy-950:#02233F;
  --navy-900:#043259;
  --navy-800:#063B67;
  --navy-700:#0A4B7A;
  --navy-tint:#EDF4F8;

  --orange:#FD4300;
  --orange-deep:#D93A00;

  --white:#FFFFFF;

  --gray-50:#FAFBFC;
  --gray-100:#F5F8FA;
  --gray-200:#EAF0F4;
  --gray-400:#8B93A1;
  --gray-500:#727B89;
  --gray-600:#5B6472;
  --gray-700:#414B59;

  --hairline:
    rgba(4,50,89,.12);

  --success:#258659;
  --success-soft:#EAF7F0;

  --warning:#B86A00;
  --warning-soft:#FFF4E5;

  --danger:#C84238;
  --danger-soft:#FFF0EE;

  --disp:"Manrope",Arial,sans-serif;
  --body:"Inter",Arial,sans-serif;

  --wrap:1320px;

  --shadow:
    0 25px 55px -40px
    rgba(4,50,89,.45);
}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing:border-box;
}


html {
  scroll-behavior:smooth;
}


body {

  margin:0;

  min-height:100vh;

  background:
    var(--gray-100);

  color:
    var(--navy-900);

  font-family:
    var(--body);

  -webkit-font-smoothing:
    antialiased;
}


a {
  color:inherit;
  text-decoration:none;
}


img {
  display:block;
  max-width:100%;
}


button,
input,
select,
textarea {
  font:inherit;
}


button {
  cursor:pointer;
}


h1,
h2,
h3,
h4 {

  margin:0;

  font-family:
    var(--disp);

  letter-spacing:
    -.025em;
}


p {
  margin-top:0;
}


svg {

  display:block;

  width:100%;
  height:100%;

  fill:none;

  stroke:
    currentColor;

  stroke-width:1.8;

  stroke-linecap:round;
  stroke-linejoin:round;
}


.hidden {
  display:none !important;
}


/* =========================================================
   GENERAL
   ========================================================= */

.portal-container {

  width:100%;

  max-width:
    var(--wrap);

  margin:
    0 auto;

  padding-left:
    34px;

  padding-right:
    34px;
}


.eyebrow {

  margin:0;

  color:
    var(--orange);

  font-size:
    11px;

  font-weight:
    800;

  letter-spacing:
    .14em;

  text-transform:
    uppercase;
}


.mini-label {

  display:block;

  margin-bottom:
    7px;

  color:
    var(--orange);

  font-size:
    9px;

  font-weight:
    800;

  letter-spacing:
    .07em;

  text-transform:
    uppercase;
}


/* =========================================================
   BOTONES
   ========================================================= */

.btn {

  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-height:
    46px;

  padding:
    12px 24px;

  border:
    1px solid transparent;

  border-radius:
    999px;

  font-size:
    12px;

  font-weight:
    800;

  transition:
    transform .2s ease,
    background .2s ease;
}


.btn:hover {

  transform:
    translateY(-2px);
}


.btn-orange {

  background:
    var(--orange);

  color:white;
}


.btn-orange:hover {

  background:
    var(--orange-deep);
}


.btn-navy {

  background:
    var(--navy-900);

  color:white;
}


.btn-navy:hover {

  background:
    var(--navy-800);
}


.btn-small {

  min-height:
    42px;

  padding:
    9px 19px;

  font-size:
    11px;
}


.btn-block {
  width:100%;
}


/* =========================================================
   HEADER
   ========================================================= */

.portal-header {

  position:sticky;

  top:0;

  z-index:100;

  background:
    rgba(255,255,255,.98);

  border-bottom:
    1px solid var(--hairline);

  backdrop-filter:
    blur(12px);
}


.portal-header-inner {

  width:100%;

  max-width:
    1480px;

  min-height:
    86px;

  margin:
    0 auto;

  padding:
    0 52px;

  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:30px;
}


/* =========================================================
   LOGO - MÁS GRANDE
   ========================================================= */

.portal-logo {

  width:225px;
  height:72px;

  display:flex;

  align-items:center;

  overflow:visible;

  flex:
    0 0 auto;
}


.portal-logo img {

  width:190px;
  height:64px;

  object-fit:
    contain;

  transform:
    scale(1.35);

  transform-origin:
    left center;
}


.portal-header-right {

  display:flex;

  align-items:center;

  gap:20px;
}


.portal-user {

  display:flex;

  flex-direction:column;

  align-items:flex-end;

  gap:3px;
}


.portal-user strong {

  font-family:
    var(--disp);

  font-size:
    13px;
}


.portal-user span {

  color:
    var(--gray-500);

  font-size:
    10px;
}


/* =========================================================
   CONNECTION
   ========================================================= */

.connection-pill {

  display:inline-flex;

  align-items:center;

  gap:7px;

  padding:
    8px 13px;

  border-radius:
    999px;

  font-size:
    9px;

  font-weight:
    800;
}


.connection-pill::before {

  content:"";

  width:7px;
  height:7px;

  border-radius:50%;
}


.connection-pill.connected {

  background:
    var(--success-soft);

  color:
    var(--success);
}


.connection-pill.connected::before {
  background:
    var(--success);
}


.connection-pill.loading {

  background:
    var(--navy-tint);

  color:
    var(--navy-700);
}


.connection-pill.loading::before {
  background:
    var(--navy-700);
}


.connection-pill.error {

  background:
    var(--danger-soft);

  color:
    var(--danger);
}


.connection-pill.error::before {
  background:
    var(--danger);
}


/* =========================================================
   DASHBOARD HERO
   ========================================================= */

.portal-hero {

  position:relative;

  padding:
    70px 0 64px;

  overflow:hidden;

  background:
    linear-gradient(
      135deg,
      #f8fbfd 0%,
      #fff 58%,
      #edf4f8 100%
    );

  border-bottom:
    1px solid
    rgba(4,50,89,.05);
}


.portal-hero::after {

  content:"";

  position:absolute;

  width:520px;
  height:520px;

  right:-190px;
  bottom:-260px;

  background:
    var(--navy-900);

  opacity:.035;

  transform:
    rotate(35deg);
}


.portal-hero .portal-container {

  position:relative;

  z-index:2;

  display:flex;

  align-items:flex-end;
  justify-content:space-between;

  gap:50px;
}


.hero-content {

  max-width:
    800px;
}


.hero-content h1 {

  margin:
    11px 0 16px;

  font-size:
    clamp(
      44px,
      5vw,
      66px
    );

  line-height:
    1.03;

  letter-spacing:
    -.05em;
}


.hero-content > p:last-child {

  margin:0;

  color:
    var(--gray-600);

  font-size:
    14px;

  line-height:
    1.7;
}


.hero-stat {

  min-width:
    210px;

  padding:
    23px 26px;

  background:white;

  border:
    1px solid
    var(--hairline);

  border-radius:
    18px;

  box-shadow:
    var(--shadow);
}


.hero-stat::before {

  content:"";

  display:block;

  width:40px;
  height:3px;

  margin-bottom:
    14px;

  background:
    var(--orange);

  border-radius:
    99px;
}


.hero-stat span {

  display:block;

  font-family:
    var(--disp);

  font-size:
    40px;

  font-weight:
    800;

  line-height:1;
}


.hero-stat small {

  display:block;

  margin-top:
    7px;

  color:
    var(--gray-500);

  font-size:
    10px;
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.properties-section {

  padding:
    62px 0 100px;
}


.section-heading {

  display:flex;

  align-items:flex-end;
  justify-content:space-between;

  gap:30px;

  margin-bottom:
    28px;
}


.section-heading h2 {

  margin-top:
    8px;

  font-size:
    36px;
}


.text-link {

  padding-bottom:
    3px;

  border-bottom:
    1px solid
    rgba(4,50,89,.25);

  color:
    var(--navy-700);

  font-size:
    11px;

  font-weight:
    800;
}


.properties-grid {

  display:grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap:25px;
}


/* =========================================================
   PROPERTY CARD
   ========================================================= */

.property-card {

  position:relative;

  overflow:hidden;

  padding:
    28px;

  background:white;

  border:
    1px solid
    var(--hairline);

  border-radius:
    18px;

  box-shadow:
    var(--shadow);

  transition:
    transform .22s ease;
}


.property-card:hover {

  transform:
    translateY(-3px);
}


.property-card::before {

  content:"";

  position:absolute;

  left:0;
  top:0;

  width:100%;
  height:4px;

  background:
    var(--orange);
}


/* =========================================================
   CABECERA TARJETA + FOTO
   ========================================================= */

.property-card-head-grid {

  display:grid;

  grid-template-columns:
    minmax(0,1.35fr)
    minmax(135px,.65fr);

  gap:20px;

  align-items:stretch;
}


.property-card-heading {

  min-width:0;
}


.property-heading-top {

  display:flex;

  align-items:flex-start;
  justify-content:space-between;

  gap:12px;
}


.property-label {

  color:
    var(--gray-500);

  font-size:
    9px;

  font-weight:
    800;

  letter-spacing:
    .07em;
}


.property-project {

  margin-top:
    8px;

  color:
    var(--orange);

  font-size:
    10px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.property-card h3 {

  margin-top:
    7px;

  font-size:
    27px;

  line-height:
    1.15;
}


.status-badge {

  display:inline-flex;

  align-items:center;

  padding:
    7px 11px;

  background:
    var(--navy-tint);

  color:
    var(--navy-700);

  border-radius:
    999px;

  font-size:
    9px;

  font-weight:
    800;

  white-space:
    nowrap;
}


/* =========================================================
   FOTO TARJETA
   ========================================================= */

.property-image-wrap {

  position:relative;

  min-height:
    150px;

  overflow:hidden;

  border-radius:
    14px;

  background:
    var(--navy-900);
}


.property-image-wrap img {

  position:absolute;

  inset:0;

  width:100%;
  height:100%;

  object-fit:
    cover;
}


.property-image-overlay {

  position:absolute;

  inset:0;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(2,35,63,.73) 100%
    );
}


.property-image-project {

  position:absolute;

  left:13px;
  right:13px;
  bottom:11px;

  color:white;

  font-size:
    9px;

  font-weight:
    800;

  text-transform:
    uppercase;

  letter-spacing:
    .04em;
}


/* =========================================================
   PROPERTY SPECS
   ========================================================= */

.property-specs {

  display:flex;

  flex-wrap:wrap;

  gap:7px;

  margin-top:
    18px;
}


.property-spec {

  display:inline-flex;

  align-items:center;

  gap:6px;

  padding:
    7px 9px;

  background:
    var(--navy-tint);

  color:
    var(--navy-700);

  border-radius:
    999px;

  font-size:
    9px;

  font-weight:
    700;
}


.property-spec-icon {

  width:15px;
  height:15px;
}


.property-financial {

  display:grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap:12px;

  margin:
    22px 0;
}


.property-financial > div {

  padding:
    16px;

  background:
    #f7f9fc;

  border-radius:
    12px;
}


.property-financial span {

  display:block;

  margin-bottom:
    5px;

  color:
    var(--gray-500);

  font-size:
    9px;

  font-weight:
    700;
}


.property-financial strong {

  font-family:
    var(--disp);

  font-size:
    18px;
}


.property-progress {

  margin-bottom:
    18px;
}


.property-progress-head {

  display:flex;

  justify-content:
    space-between;

  margin-bottom:
    7px;

  color:
    var(--gray-500);

  font-size:
    9px;
}


.property-progress-head strong {

  color:
    var(--navy-900);
}


.progress-track {

  width:100%;
  height:8px;

  overflow:hidden;

  background:
    #e6edf2;

  border-radius:
    999px;
}


.progress-fill {

  height:100%;

  background:
    var(--orange);

  border-radius:
    999px;

  transition:
    width .35s ease;
}


.property-next-payment {

  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:15px;

  margin-bottom:
    20px;

  padding:
    15px 16px;

  background:
    #fff8f5;

  border:
    1px solid
    rgba(253,67,0,.17);

  border-radius:
    12px;
}


.property-next-payment span {

  display:block;

  margin-bottom:
    4px;

  color:
    var(--gray-500);

  font-size:
    8px;

  font-weight:
    800;
}


.property-next-payment strong {

  font-family:
    var(--disp);

  font-size:
    16px;
}


.next-payment-date {

  color:
    var(--gray-600);

  font-size:
    9px;

  text-align:
    right;
}


.property-actions {

  display:flex;

  flex-wrap:wrap;

  gap:9px;
}


/* =========================================================
   EMPTY
   ========================================================= */

.empty-state,
.error-state {

  padding:
    45px 30px;

  background:white;

  border:
    1px solid
    var(--hairline);

  border-radius:
    18px;

  text-align:center;
}


/* =========================================================
   DETAIL BASE
   ========================================================= */

.detail-page {

  min-height:
    calc(100vh - 86px);

  padding:
    44px 0 100px;

  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #f5f8fa 300px
    );
}


.back-link {

  display:inline-flex;

  margin-bottom:
    29px;

  color:
    var(--navy-700);

  font-size:
    11px;

  font-weight:
    800;
}


.back-link:hover {

  color:
    var(--orange);
}


.detail-hero {

  display:flex;

  align-items:flex-end;
  justify-content:space-between;

  gap:30px;

  margin-bottom:
    29px;
}


.detail-hero h1 {

  margin:
    6px 0 0;

  font-size:
    clamp(
      40px,
      4vw,
      56px
    );

  line-height:
    1.04;

  letter-spacing:
    -.05em;
}


.detail-project-name {

  margin-top:
    9px;

  color:
    var(--gray-500);

  font-size:
    12px;

  font-weight:
    600;
}


.detail-grid {

  display:grid;

  grid-template-columns:
    minmax(0,2fr)
    minmax(300px,.72fr);

  gap:24px;

  align-items:start;
}


.detail-main-card,
.detail-side-card {

  background:white;

  border:
    1px solid
    var(--hairline);

  border-radius:
    18px;

  box-shadow:
    var(--shadow);
}


.detail-main-card {

  padding:
    34px;
}


.detail-main-card h2 {

  margin-top:
    7px;

  font-size:
    27px;
}


.detail-side-card {

  padding:
    26px;
}


.detail-side-card h3 {

  margin:
    8px 0 11px;

  font-size:
    22px;
}


.detail-side-card >
p:not(.eyebrow) {

  color:
    var(--gray-600);

  font-size:
    11px;

  line-height:
    1.65;
}


.detail-side-column {

  display:flex;

  flex-direction:column;

  gap:18px;
}


.section-title-row {

  margin-bottom:
    25px;
}


.section-description {

  max-width:
    580px;

  margin:
    8px 0 0;

  color:
    var(--gray-500);

  font-size:
    11px;

  line-height:
    1.65;
}


/* =========================================================
   BANNER UNIDAD
   ========================================================= */

.unit-project-banner {

  position:relative;

  width:100%;
  height:370px;

  margin-bottom:
    28px;

  overflow:hidden;

  background:
    var(--navy-900);

  border-radius:
    22px;

  box-shadow:
    0 26px 65px -40px
    rgba(4,50,89,.6);
}


.unit-project-banner > img {

  position:absolute;

  inset:0;

  width:100%;
  height:100%;

  object-fit:
    cover;

  object-position:
    center center;
}


.unit-banner-shade {

  position:absolute;

  inset:0;

  background:
    linear-gradient(
      90deg,
      rgba(2,35,63,.86) 0%,
      rgba(2,35,63,.54) 46%,
      rgba(2,35,63,.10) 100%
    );
}


.unit-banner-content {

  position:absolute;

  inset:0;

  z-index:2;

  padding:
    42px 44px;

  display:flex;

  align-items:flex-end;
  justify-content:space-between;

  gap:30px;
}


.unit-banner-eyebrow {

  margin:
    0 0 8px;

  color:
    #ff7141;

  font-size:
    11px;

  font-weight:
    800;

  letter-spacing:
    .15em;

  text-transform:
    uppercase;
}


.unit-banner-project {

  margin:
    0 0 5px;

  color:
    rgba(255,255,255,.72);

  font-size:
    14px;

  font-weight:
    600;
}


.unit-banner-content h1 {

  color:white;

  font-size:
    clamp(
      40px,
      5vw,
      62px
    );

  line-height:
    1.02;

  letter-spacing:
    -.05em;
}


.unit-banner-status {

  padding:
    9px 14px;

  background:
    rgba(255,255,255,.92);

  color:
    var(--navy-900);

  border-radius:
    999px;

  font-size:
    10px;

  font-weight:
    800;
}


.banner-without-image {

  background:
    linear-gradient(
      145deg,
      var(--navy-950),
      var(--navy-800)
    );
}


.banner-without-image >
img {

  display:none;
}


/* =========================================================
   SIDE ICON
   ========================================================= */

.side-icon-circle {

  width:44px;
  height:44px;

  margin-bottom:
    16px;

  padding:
    10px;

  background:
    var(--navy-tint);

  color:
    var(--navy-900);

  border-radius:
    12px;
}


.side-icon-circle.orange {

  background:
    #fff1eb;

  color:
    var(--orange);
}


/* =========================================================
   UNIDAD KPI
   ========================================================= */

.unit-main-specs {

  display:grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    );

  gap:12px;

  margin-bottom:
    24px;
}


.unit-main-spec {

  position:relative;

  min-height:
    150px;

  padding:
    21px;

  overflow:hidden;

  background:
    linear-gradient(
      145deg,
      #043259,
      #063B67
    );

  color:white;

  border-radius:
    15px;
}


.unit-spec-icon {

  width:37px;
  height:37px;

  margin-bottom:
    20px;

  padding:
    8px;

  background:
    rgba(255,255,255,.10);

  border-radius:
    10px;
}


.unit-main-spec span {

  display:block;

  margin-bottom:
    5px;

  color:
    rgba(255,255,255,.64);

  font-size:
    8px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.unit-main-spec strong {

  font-family:
    var(--disp);

  font-size:
    24px;
}


/* =========================================================
   DESCRIPCIÓN UNIDAD
   ========================================================= */

.unit-description-card {

  display:flex;

  align-items:flex-start;

  gap:17px;

  margin-bottom:
    31px;

  padding:
    22px;

  background:
    #fff8f5;

  border:
    1px solid
    rgba(253,67,0,.15);

  border-radius:
    14px;
}


.unit-description-icon {

  flex:
    0 0 auto;

  width:44px;
  height:44px;

  padding:
    10px;

  background:
    var(--orange);

  color:white;

  border-radius:
    11px;
}


.unit-description-card p {

  margin:0;

  color:
    var(--gray-700);

  font-size:
    12px;

  line-height:
    1.8;
}


/* =========================================================
   UNIT DATA
   ========================================================= */

.unit-section {

  margin-top:
    29px;

  padding-top:
    28px;

  border-top:
    1px solid
    var(--hairline);
}


.unit-section h3 {

  margin:
    7px 0 19px;

  font-size:
    22px;
}


.data-grid {

  display:grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap:12px;
}


.data-item {

  padding:
    17px;

  background:
    #f7f9fc;

  border:
    1px solid
    rgba(4,50,89,.06);

  border-radius:
    11px;
}


.data-item span {

  display:block;

  margin-bottom:
    7px;

  color:
    var(--gray-500);

  font-size:
    8px;

  font-weight:
    800;

  letter-spacing:
    .04em;

  text-transform:
    uppercase;
}


.data-item strong {

  font-size:
    13px;
}


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

.unit-features-section {

  margin-top:
    30px;

  padding-top:
    29px;

  border-top:
    1px solid
    var(--hairline);
}


.unit-features-section h3 {

  margin:
    7px 0 19px;

  font-size:
    22px;
}


.unit-features {

  display:grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap:10px;
}


.unit-feature {

  display:flex;

  align-items:center;

  gap:10px;

  min-height:
    50px;

  padding:
    11px 13px;

  background:
    #f7f9fc;

  border:
    1px solid
    rgba(4,50,89,.06);

  border-radius:
    10px;

  font-size:
    11px;

  font-weight:
    700;
}


.feature-check {

  display:flex;

  align-items:center;
  justify-content:center;

  flex:
    0 0 auto;

  width:25px;
  height:25px;

  padding:
    5px;

  background:
    var(--success-soft);

  color:
    var(--success);

  border-radius:
    50%;
}


.feature-empty {

  color:
    var(--gray-500);

  font-size:
    11px;
}


/* =========================================================
   PURCHASE
   ========================================================= */

.purchase-info {

  display:flex;

  flex-direction:column;

  gap:12px;

  margin-top:
    19px;
}


.purchase-info > div {

  padding-top:
    13px;

  border-top:
    1px solid
    var(--hairline);
}


.purchase-info span {

  display:block;

  margin-bottom:
    4px;

  color:
    var(--gray-500);

  font-size:
    8px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.purchase-info strong {

  font-size:
    11px;
}


/* =========================================================
   TIMELINE
   ========================================================= */

.purchase-timeline {

  position:relative;

  margin-top:
    25px;
}


.timeline-step {

  position:relative;

  display:flex;

  align-items:center;

  min-height:
    45px;

  padding-left:
    35px;

  color:
    var(--gray-400);

  font-size:
    10px;

  font-weight:
    700;
}


.timeline-step:not(:last-child)::after {

  content:"";

  position:absolute;

  left:11px;
  top:27px;

  width:2px;
  height:32px;

  background:
    #dce4ea;
}


.timeline-dot {

  position:absolute;

  left:3px;

  width:18px;
  height:18px;

  padding:3px;

  background:white;

  border:
    2px solid
    #ccd7df;

  border-radius:
    50%;
}


.timeline-step.completed {

  color:
    var(--navy-700);
}


.timeline-step.completed
.timeline-dot {

  background:
    var(--success);

  color:white;

  border-color:
    var(--success);
}


.timeline-step.completed::after {

  background:
    var(--success);
}


.timeline-step.active {

  color:
    var(--navy-900);

  font-weight:
    800;
}


.timeline-step.active
.timeline-dot {

  background:
    var(--orange);

  border-color:
    var(--orange);

  box-shadow:
    0 0 0 5px
    rgba(253,67,0,.10);
}


.purchase-special-status {

  margin-top:
    20px;

  padding:
    12px;

  background:
    var(--danger-soft);

  color:
    var(--danger);

  border-radius:
    10px;

  font-size:
    10px;

  font-weight:
    800;
}


/* =========================================================
   AGREEMENT
   ========================================================= */

.agreement-layout {

  display:grid;

  grid-template-columns:
    minmax(0,2fr)
    minmax(300px,.72fr);

  gap:24px;

  align-items:start;
}


.agreement-main {

  display:flex;

  flex-direction:column;

  gap:24px;
}


/* =========================================================
   RESUMEN FINANCIERO
   ========================================================= */

.financial-highlight {

  display:flex;

  align-items:center;

  gap:19px;

  margin-bottom:
    20px;

  padding:
    24px;

  background:
    linear-gradient(
      145deg,
      #043259,
      #073C69
    );

  color:white;

  border-radius:
    15px;
}


.financial-highlight-icon {

  width:50px;
  height:50px;

  padding:12px;

  background:
    rgba(255,255,255,.10);

  border-radius:
    12px;
}


.financial-highlight span {

  display:block;

  margin-bottom:
    5px;

  color:
    rgba(255,255,255,.62);

  font-size:
    8px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.financial-highlight strong {

  display:block;

  font-family:
    var(--disp);

  font-size:
    33px;
}


.agreement-financial-grid {

  display:grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap:11px;
}


.agreement-financial-grid-three {

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );
}


.finance-card {

  position:relative;

  padding:
    19px;

  background:
    #f7f9fc;

  border:
    1px solid
    rgba(4,50,89,.06);

  border-radius:
    12px;
}


.finance-icon {

  width:34px;
  height:34px;

  margin-bottom:
    15px;

  padding:
    7px;

  background:
    var(--navy-tint);

  color:
    var(--navy-900);

  border-radius:
    9px;
}


.finance-card span {

  display:block;

  margin-bottom:
    6px;

  color:
    var(--gray-500);

  font-size:
    8px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.finance-card strong {

  display:block;

  font-family:
    var(--disp);

  font-size:
    19px;
}


.finance-card small {

  display:block;

  margin-top:
    5px;

  color:
    var(--gray-500);

  font-size:
    9px;
}


.agreement-info-strip {

  display:grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    );

  gap:10px;

  margin-top:
    21px;

  padding-top:
    21px;

  border-top:
    1px solid
    var(--hairline);
}


.agreement-info-strip div {

  padding:
    13px;

  background:
    #fafbfc;

  border-radius:
    9px;
}


.agreement-info-strip span {

  display:block;

  margin-bottom:
    5px;

  color:
    var(--gray-500);

  font-size:
    8px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.agreement-info-strip strong {

  font-size:
    10px;
}


/* =========================================================
   BOOKS
   ========================================================= */

.account-heading {

  display:flex;

  align-items:flex-end;
  justify-content:space-between;

  gap:20px;

  margin-bottom:
    25px;
}


.account-heading h2 {

  margin-top:
    7px;
}


.invoice-status {

  display:inline-flex;

  align-items:center;
  justify-content:center;

  padding:
    8px 12px;

  border-radius:
    999px;

  font-size:
    9px;

  font-weight:
    800;

  white-space:
    nowrap;
}


.invoice-paid {

  background:
    var(--success-soft);

  color:
    var(--success);
}


.invoice-overdue {

  background:
    var(--danger-soft);

  color:
    var(--danger);
}


.invoice-open {

  background:
    var(--warning-soft);

  color:
    var(--warning);
}


.account-kpi-grid {

  display:grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap:12px;

  margin-bottom:
    21px;
}


.account-kpi {

  min-height:
    125px;

  padding:
    21px;

  border-radius:
    14px;
}


.account-kpi span {

  display:block;

  margin-bottom:
    9px;

  font-size:
    8px;

  font-weight:
    800;

  text-transform:
    uppercase;

  letter-spacing:
    .05em;
}


.account-kpi strong {

  display:block;

  font-family:
    var(--disp);

  font-size:
    25px;
}


.account-kpi-primary {

  background:
    var(--navy-900);

  color:white;
}


.account-kpi-primary span {

  color:
    rgba(255,255,255,.65);
}


.account-kpi-paid {

  background:
    var(--success-soft);

  color:
    var(--success);
}


.account-kpi-paid span {

  color:
    rgba(37,134,89,.72);
}


.account-kpi-balance {

  background:
    #fff4ee;

  color:
    var(--orange);
}


.account-kpi-balance span {

  color:
    #9b5a3d;
}


.invoice-details-grid {

  display:grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    );

  gap:10px;

  padding-top:
    21px;

  border-top:
    1px solid
    var(--hairline);
}


.invoice-details-grid > div {

  padding:
    14px;

  background:
    #f7f9fc;

  border-radius:
    10px;
}


.invoice-details-grid span {

  display:block;

  margin-bottom:
    5px;

  color:
    var(--gray-500);

  font-size:
    8px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.invoice-details-grid strong {

  display:block;

  color:
    var(--navy-900);

  font-size:
    10px;

  line-height:
    1.5;
}


/* =========================================================
   EMPTY
   ========================================================= */

.account-empty {

  display:flex;

  align-items:center;

  gap:15px;

  padding:
    21px;

  background:
    #f7f9fc;

  border:
    1px solid
    var(--hairline);

  border-radius:
    13px;
}


.account-empty-icon {

  flex:
    0 0 auto;

  width:44px;
  height:44px;

  padding:
    10px;

  background:
    var(--navy-tint);

  color:
    var(--navy-900);

  border-radius:
    11px;
}


.account-empty strong {

  display:block;

  margin-bottom:
    4px;

  color:
    var(--navy-900);

  font-family:
    var(--disp);

  font-size:
    14px;
}


.account-empty p {

  margin:0;

  color:
    var(--gray-500);

  font-size:
    10px;

  line-height:
    1.6;
}


/* =========================================================
   PLAN CUOTAS
   ========================================================= */

.payment-plan-heading {

  display:flex;

  align-items:flex-end;
  justify-content:space-between;

  gap:20px;

  margin-bottom:
    20px;
}


.payment-plan-heading h2 {

  margin-top:
    6px;
}


.payment-plan-counter {

  text-align:right;
}


.payment-plan-counter strong {

  display:block;

  font-family:
    var(--disp);

  font-size:
    24px;
}


.payment-plan-counter span {

  color:
    var(--gray-500);

  font-size:
    8px;
}


.payment-progress {

  display:flex;

  align-items:center;

  gap:12px;

  margin:
    21px 0;
}


.payment-progress
.progress-track {

  flex:1;
}


.payment-progress > span {

  min-width:
    36px;

  font-size:
    10px;

  font-weight:
    800;

  text-align:right;
}


.payment-summary-grid {

  display:grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    );

  gap:10px;

  margin-bottom:
    19px;
}


.payment-summary-grid > div {

  padding:
    14px;

  background:
    #f7f9fc;

  border-radius:
    10px;
}


.payment-summary-grid span {

  display:block;

  margin-bottom:
    4px;

  color:
    var(--gray-500);

  font-size:
    7.5px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.payment-summary-grid strong {

  font-size:
    11px;
}


/* =========================================================
   PRÓXIMA CUOTA
   ========================================================= */

.next-installment-card {

  display:grid;

  grid-template-columns:
    1.4fr
    repeat(
      3,
      minmax(0,1fr)
    );

  gap:10px;

  margin-bottom:
    21px;

  padding:
    17px;

  background:
    #fff8f5;

  border:
    1px solid
    rgba(253,67,0,.17);

  border-radius:
    12px;
}


.next-installment-card > div {

  display:flex;

  flex-direction:column;

  justify-content:center;
}


.next-installment-heading {

  flex-direction:
    row !important;

  align-items:center;

  gap:11px;
}


.next-installment-icon {

  width:39px;
  height:39px;

  padding:9px;

  background:
    var(--orange);

  color:white;

  border-radius:
    10px;
}


.next-installment-card span {

  display:block;

  margin-bottom:
    4px;

  color:
    var(--gray-500);

  font-size:
    7.5px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.next-installment-card strong {

  font-size:
    11px;
}


.next-installment-heading
strong {

  font-family:
    var(--disp);

  font-size:
    18px;
}


/* =========================================================
   TABLE
   ========================================================= */

.installments-table-wrap {

  width:100%;

  overflow-x:auto;

  border:
    1px solid
    var(--hairline);

  border-radius:
    13px;
}


.installments-table {

  width:100%;

  min-width:
    700px;

  border-collapse:
    collapse;

  background:white;
}


.installments-table th {

  padding:
    13px 15px;

  background:
    #f6f8fa;

  color:
    var(--gray-500);

  font-size:
    8px;

  font-weight:
    800;

  text-align:left;

  text-transform:
    uppercase;
}


.installments-table td {

  padding:
    14px 15px;

  border-top:
    1px solid
    var(--hairline);

  font-size:
    10px;
}


.installment-number {

  display:flex;

  align-items:center;
  justify-content:center;

  width:28px;
  height:28px;

  background:
    var(--navy-tint);

  color:
    var(--navy-900);

  border-radius:
    8px;

  font-weight:
    800;
}


.table-money {

  font-weight:
    800;
}


.installment-status {

  display:inline-flex;

  align-items:center;

  gap:5px;

  padding:
    6px 9px;

  border-radius:
    999px;

  font-size:
    8px;

  font-weight:
    800;
}


.installment-status svg {

  width:12px;
  height:12px;
}


.status-paid {

  background:
    var(--success-soft);

  color:
    var(--success);
}


.status-pending {

  background:
    var(--warning-soft);

  color:
    var(--warning);
}


.status-overdue {

  background:
    var(--danger-soft);

  color:
    var(--danger);
}


.table-empty {

  padding:
    30px !important;

  color:
    var(--gray-500) !important;

  text-align:
    center;
}


/* =========================================================
   FOTO ACUERDO SIDEBAR
   ========================================================= */

.agreement-property-card {

  overflow:hidden;
}


.agreement-project-image {

  position:relative;

  height:180px;

  margin:
    -26px -26px 23px;

  overflow:hidden;

  background:
    var(--navy-900);
}


.agreement-project-image img {

  width:100%;
  height:100%;

  object-fit:
    cover;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1100px) {

  .properties-grid {

    grid-template-columns:
      1fr;
  }


  .detail-grid,
  .agreement-layout {

    grid-template-columns:
      1fr;
  }


  .unit-main-specs {

    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
  }


  .unit-features {

    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
  }


  .agreement-financial-grid-three {

    grid-template-columns:
      repeat(
        3,
        minmax(0,1fr)
      );
  }


  .agreement-info-strip,
  .payment-summary-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
  }

}


@media(max-width:900px) {

  .portal-hero
  .portal-container {

    align-items:flex-start;

    flex-direction:
      column;
  }


  .hero-stat {

    width:100%;
  }


  .account-kpi-grid {

    grid-template-columns:
      1fr;
  }


  .invoice-details-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
  }


  .agreement-financial-grid-three {

    grid-template-columns:
      1fr;
  }
}


@media(max-width:720px) {

  .portal-container {

    padding-left:
      18px;

    padding-right:
      18px;
  }


  .portal-header-inner {

    min-height:
      72px;

    padding:
      0 18px;
  }


  .portal-logo {

    width:
      160px;

    height:
      56px;
  }


  .portal-logo img {

    width:
      145px;

    height:
      52px;

    transform:
      scale(1.23);
  }


  .portal-user,
  .connection-pill {

    display:none;
  }


  .hero-content h1 {

    font-size:
      39px;
  }


  .section-heading {

    align-items:
      flex-start;

    flex-direction:
      column;
  }


  .property-card-head-grid {

    grid-template-columns:
      1fr;
  }


  .property-image-wrap {

    min-height:
      210px;

    order:-1;
  }


  .property-heading-top {

    flex-direction:
      column;
  }


  .property-financial {

    grid-template-columns:
      1fr;
  }


  .property-actions {

    display:grid;

    grid-template-columns:
      1fr;
  }


  .property-actions
  .btn {

    width:100%;
  }


  .detail-main-card,
  .detail-side-card {

    padding:
      22px 18px;
  }


  .unit-project-banner {

    height:
      300px;

    border-radius:
      16px;
  }


  .unit-banner-content {

    padding:
      27px 23px;

    align-items:
      flex-start;

    flex-direction:
      column;

    justify-content:
      flex-end;
  }


  .unit-banner-content h1 {

    font-size:
      37px;
  }


  .unit-main-specs {

    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
  }


  .data-grid {

    grid-template-columns:
      1fr;
  }


  .unit-features {

    grid-template-columns:
      1fr;
  }


  .agreement-info-strip,
  .payment-summary-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
  }


  .next-installment-card {

    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
  }


  .next-installment-heading {

    grid-column:
      1 / -1;
  }


  .account-heading {

    align-items:
      flex-start;

    flex-direction:
      column;
  }


  .invoice-details-grid {

    grid-template-columns:
      1fr;
  }


  .agreement-project-image {

    height:
      220px;

    margin:
      -22px -18px 22px;
  }

}


@media(max-width:470px) {

  .unit-main-specs {

    grid-template-columns:
      1fr;
  }


  .agreement-info-strip,
  .payment-summary-grid,
  .next-installment-card {

    grid-template-columns:
      1fr;
  }


  .hero-content h1,
  .detail-hero h1 {

    font-size:
      34px;
  }


  .unit-banner-content h1 {

    font-size:
      32px;
  }

}

/* =========================================================
   SERVICIOS
   ========================================================= */

.services-page {
  min-height:calc(100vh - 86px);
  padding:44px 0 100px;
  background:#f5f8fa;
}


/* =========================================================
   HERO
   ========================================================= */

.services-hero {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;

  margin-bottom:55px;
  padding:42px 45px;

  overflow:hidden;

  background:
    linear-gradient(
      135deg,
      #043259,
      #063b67
    );

  color:#fff;

  border-radius:22px;
}

.services-hero h1 {
  margin:8px 0 12px;

  font-size:clamp(
    36px,
    4vw,
    52px
  );

  color:#fff;
}

.services-hero p:not(.eyebrow) {
  max-width:650px;

  margin:0;

  color:rgba(
    255,
    255,
    255,
    .72
  );

  font-size:13px;
  line-height:1.7;
}

.services-hero-icon {
  flex:0 0 auto;

  width:110px;
  height:110px;

  padding:27px;

  background:rgba(
    255,
    255,
    255,
    .09
  );

  border:1px solid
    rgba(
      255,
      255,
      255,
      .12
    );

  border-radius:28px;
}


/* =========================================================
   CATÁLOGO
   ========================================================= */

.services-section {
  margin-top:50px;
}

.services-grid {
  display:grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap:20px;
}

.service-category-card {
  overflow:hidden;

  background:#fff;

  border:1px solid
    var(--hairline);

  border-radius:18px;

  box-shadow:var(--shadow);
}

.service-category-head {
  display:flex;
  align-items:center;

  gap:14px;

  padding:23px 23px 18px;

  border-bottom:
    1px solid
    var(--hairline);
}

.service-category-icon {
  flex:0 0 auto;

  width:46px;
  height:46px;

  padding:10px;

  background:#fff0ea;

  color:var(--orange);

  border-radius:12px;
}

.service-category-head h3 {
  margin-bottom:4px;

  font-size:17px;
}

.service-category-head span {
  color:var(--gray-500);

  font-size:9px;
}

.service-items {
  display:flex;

  flex-direction:column;
}

.service-item {
  width:100%;

  display:grid;

  grid-template-columns:
    25px
    minmax(0,1fr)
    18px;

  align-items:center;

  gap:10px;

  padding:14px 18px;

  background:#fff;

  color:var(--navy-900);

  border:0;
  border-bottom:
    1px solid
    rgba(4,50,89,.06);

  text-align:left;

  font-size:10px;
  font-weight:600;

  transition:
    background .2s ease,
    color .2s ease;
}

.service-item:last-child {
  border-bottom:0;
}

.service-item:hover {
  background:#fff8f5;
  color:var(--orange);
}

.service-item-check {
  display:flex;

  align-items:center;
  justify-content:center;

  width:24px;
  height:24px;

  padding:5px;

  background:var(--navy-tint);

  color:var(--navy-700);

  border-radius:50%;
}

.service-item:hover
.service-item-check {
  background:#fff0ea;
  color:var(--orange);
}

.service-item-arrow {
  width:15px;
  height:15px;

  color:var(--gray-400);
}


/* =========================================================
   CONDICIONES
   ========================================================= */

.services-conditions {
  display:grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap:14px;

  margin-top:28px;
}

.service-condition {
  display:flex;

  align-items:center;

  gap:14px;

  padding:18px;

  background:#fff;

  border:1px solid
    var(--hairline);

  border-radius:14px;
}

.service-condition-icon {
  flex:0 0 auto;

  width:40px;
  height:40px;

  padding:9px;

  background:var(--navy-tint);

  color:var(--navy-900);

  border-radius:10px;
}

.service-condition strong {
  display:block;

  margin-bottom:4px;

  font-family:var(--disp);

  font-size:11px;
}

.service-condition span {
  color:var(--gray-500);

  font-size:9px;
  line-height:1.5;
}


/* =========================================================
   MIS SOLICITUDES
   ========================================================= */

.service-requests-section {
  margin-top:70px;
}

.service-request-counter {
  text-align:right;
}

.service-request-counter strong {
  display:block;

  font-family:var(--disp);

  font-size:25px;
}

.service-request-counter span {
  color:var(--gray-500);

  font-size:9px;
}

.requests-grid {
  display:grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap:18px;
}

.service-request-card {
  padding:23px;

  background:#fff;

  border:1px solid
    var(--hairline);

  border-radius:17px;

  box-shadow:var(--shadow);
}

.service-request-top {
  display:flex;

  align-items:flex-start;
  justify-content:space-between;

  gap:20px;

  padding-bottom:18px;

  border-bottom:
    1px solid
    var(--hairline);
}

.service-request-id {
  display:block;

  margin-bottom:6px;

  color:var(--orange);

  font-size:8px;
  font-weight:800;

  letter-spacing:.07em;

  text-transform:uppercase;
}

.service-request-card h3 {
  margin-bottom:5px;

  font-size:18px;
}

.service-request-card
.service-request-top p {
  margin:0;

  color:var(--gray-500);

  font-size:9px;
}

.service-status {
  flex:0 0 auto;

  display:inline-flex;

  align-items:center;

  justify-content:center;

  padding:7px 10px;

  border-radius:999px;

  font-size:8px;
  font-weight:800;
}

.service-status-received {
  background:var(--navy-tint);
  color:var(--navy-700);
}

.service-status-review {
  background:#fff4e5;
  color:#b86a00;
}

.service-status-quoted {
  background:#f1edff;
  color:#6550b9;
}

.service-status-scheduled {
  background:#e9f3ff;
  color:#236eae;
}

.service-status-progress {
  background:#fff0ea;
  color:var(--orange);
}

.service-status-completed {
  background:var(--success-soft);
  color:var(--success);
}

.service-status-cancelled {
  background:var(--danger-soft);
  color:var(--danger);
}

.service-request-data {
  display:grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap:10px;

  margin-top:18px;
}

.service-request-data > div {
  padding:12px;

  background:#f7f9fc;

  border-radius:9px;
}

.service-request-data span {
  display:block;

  margin-bottom:5px;

  color:var(--gray-500);

  font-size:7.5px;
  font-weight:800;

  text-transform:uppercase;
}

.service-request-data strong {
  font-size:10px;
}

.service-request-description {
  margin-top:14px;

  padding-top:14px;

  border-top:
    1px solid
    var(--hairline);
}

.service-request-description span {
  display:block;

  margin-bottom:5px;

  color:var(--gray-500);

  font-size:8px;
  font-weight:800;

  text-transform:uppercase;
}

.service-request-description p {
  margin:0;

  color:var(--gray-700);

  font-size:10px;
  line-height:1.6;
}


/* =========================================================
   EMPTY
   ========================================================= */

.service-empty {
  padding:45px 25px;

  background:#fff;

  border:1px dashed
    rgba(4,50,89,.18);

  border-radius:18px;

  text-align:center;
}

.service-empty-icon {
  width:52px;
  height:52px;

  margin:0 auto 15px;

  padding:13px;

  background:var(--navy-tint);

  color:var(--navy-900);

  border-radius:14px;
}

.service-empty h3 {
  margin-bottom:7px;

  font-size:17px;
}

.service-empty p {
  max-width:420px;

  margin:0 auto;

  color:var(--gray-500);

  font-size:10px;
  line-height:1.6;
}


/* =========================================================
   MODAL
   ========================================================= */

body.modal-open {
  overflow:hidden;
}

.service-modal {
  position:fixed;

  inset:0;

  z-index:1000;

  display:none;

  align-items:center;
  justify-content:center;

  padding:25px;
}

.service-modal.is-open {
  display:flex;
}

.service-modal-backdrop {
  position:absolute;

  inset:0;

  background:rgba(
    2,
    25,
    44,
    .68
  );

  backdrop-filter:blur(5px);
}

.service-modal-card {
  position:relative;

  z-index:2;

  width:100%;

  max-width:620px;

  max-height:
    calc(100vh - 50px);

  overflow-y:auto;

  padding:30px;

  background:#fff;

  border-radius:20px;

  box-shadow:
    0 40px 100px
    rgba(0,0,0,.25);
}

.service-modal-head {
  display:flex;

  align-items:flex-start;
  justify-content:space-between;

  gap:20px;

  margin-bottom:28px;
}

.service-modal-head h2 {
  margin-top:6px;

  font-size:25px;
}

.service-modal-close {
  width:38px;
  height:38px;

  flex:0 0 auto;

  background:#f2f5f7;

  color:var(--navy-900);

  border:0;

  border-radius:50%;

  font-size:24px;
}

.service-form-group {
  margin-bottom:18px;
}

.service-form-group label {
  display:block;

  margin-bottom:7px;

  color:var(--navy-900);

  font-size:9px;
  font-weight:800;

  text-transform:uppercase;
}

.service-form-group
select,
.service-form-group
input,
.service-form-group
textarea {
  width:100%;

  padding:13px 14px;

  background:#f8fafc;

  color:var(--navy-900);

  border:1px solid
    var(--hairline);

  border-radius:10px;

  outline:none;

  font-size:11px;
}

.service-form-group
textarea {
  resize:vertical;
}

.service-form-group
select:focus,
.service-form-group
input:focus,
.service-form-group
textarea:focus {
  border-color:
    var(--orange);

  box-shadow:
    0 0 0 3px
    rgba(253,67,0,.08);
}

.service-form-group small {
  display:block;

  margin-top:6px;

  color:var(--gray-500);

  font-size:8px;
}

.selected-service-display {
  padding:14px;

  background:#fff8f5;

  color:var(--navy-900);

  border:1px solid
    rgba(253,67,0,.15);

  border-radius:10px;

  font-size:11px;
  font-weight:700;
}

.service-modal-actions {
  display:flex;

  justify-content:flex-end;

  gap:10px;

  margin-top:25px;
}

.service-cancel-button {
  background:#eef3f6;

  color:var(--navy-900);
}

.service-form-message {
  margin-top:10px;

  padding:12px 14px;

  border-radius:9px;

  font-size:10px;
  font-weight:700;
}

.service-form-message.success {
  background:var(--success-soft);
  color:var(--success);
}

.service-form-message.error {
  background:var(--danger-soft);
  color:var(--danger);
}


/* =========================================================
   RESPONSIVE SERVICIOS
   ========================================================= */

@media(max-width:1000px) {

  .services-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
  }

  .services-conditions {
    grid-template-columns:1fr;
  }

}


@media(max-width:720px) {

  .services-hero {
    align-items:flex-start;

    flex-direction:column;

    padding:30px 24px;
  }

  .services-hero-icon {
    width:75px;
    height:75px;

    padding:18px;
  }

  .services-grid,
  .requests-grid {
    grid-template-columns:1fr;
  }

  .service-request-top {
    flex-direction:column;
  }

  .service-request-data {
    grid-template-columns:1fr;
  }

  .service-modal-card {
    padding:23px 18px;
  }

  .service-modal-actions {
    display:grid;

    grid-template-columns:1fr;
  }

  .service-modal-actions
  .btn {
    width:100%;
  }

}

.dashboard-links {
  display:flex;
  align-items:center;
  gap:22px;
}

.dashboard-links {
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}


.property-actions {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}


.btn-outline-orange {
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:42px;

  padding:0 18px;

  background:#fff;
  color:#FD4300;

  border:1px solid #FD4300;
  border-radius:999px;

  font-size:10px;
  font-weight:800;

  text-decoration:none;

  transition:.2s ease;
}


.btn-outline-orange:hover {
  background:#FD4300;
  color:#fff;
}


.dashboard-incidence-link {
  color:#FD4300;
}


@media(max-width:650px) {

  .dashboard-links {
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }

  .property-actions {
    display:grid;
    grid-template-columns:1fr;
  }

  .property-actions .btn,
  .property-actions .btn-outline-orange {
    width:100%;
  }

}
/* =========================================================
   BOTÓN REPORTAR INCIDENCIA
   ========================================================= */

.property-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}


.property-actions .btn {
  flex:1 1 auto;
}


.btn-report {
  display:flex;
  align-items:center;
  justify-content:center;

  flex-basis:100% !important;

  min-height:42px;

  padding:0 18px;

  background:#ffffff;
  color:#FD4300;

  border:1px solid #FD4300;
  border-radius:999px;

  font-size:10px;
  font-weight:800;

  text-decoration:none;

  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}


.btn-report:hover {
  background:#FD4300;
  color:#ffffff;

  transform:translateY(-1px);
}


@media(max-width:650px) {

  .property-actions {
    display:grid;
    grid-template-columns:1fr;
  }


  .property-actions .btn,
  .property-actions .btn-report {
    width:100%;
    box-sizing:border-box;
  }

}


/* =========================================================
   DOCUMENTOS
   ========================================================= */

.documents-page {

  min-height:
    calc(100vh - 86px);

  padding:
    44px 0 100px;

  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #f5f8fa 320px
    );
}


.documents-hero {

  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:35px;

  margin-bottom:
    28px;

  padding:
    34px 38px;

  overflow:hidden;

  background:
    linear-gradient(
      135deg,
      var(--navy-950),
      var(--navy-800)
    );

  color:white;

  border-radius:
    20px;

  box-shadow:
    var(--shadow);
}


.documents-hero h1 {

  margin:
    7px 0 10px;

  font-size:
    clamp(
      38px,
      5vw,
      56px
    );

  line-height:
    1.05;
}


.documents-hero > div > p:last-child {

  max-width:
    720px;

  margin:0;

  color:
    rgba(255,255,255,.72);

  font-size:
    11px;

  line-height:
    1.7;
}


.documents-hero-icon {

  width:
    92px;

  height:
    92px;

  flex:
    0 0 auto;

  padding:
    22px;

  background:
    rgba(255,255,255,.09);

  color:
    white;

  border:
    1px solid
    rgba(255,255,255,.13);

  border-radius:
    22px;
}


.documents-layout {

  display:grid;

  grid-template-columns:
    minmax(0,2fr)
    minmax(280px,.68fr);

  gap:
    24px;

  align-items:start;
}


.documents-main-column,
.documents-side-column {

  display:flex;

  flex-direction:column;

  gap:
    20px;
}


.documents-card,
.documents-help-card {

  background:
    white;

  border:
    1px solid
    var(--hairline);

  border-radius:
    18px;

  box-shadow:
    var(--shadow);
}


.documents-card {

  padding:
    28px;
}


.documents-help-card {

  padding:
    26px;
}


.documents-card-heading {

  margin-bottom:
    22px;
}


.documents-card-heading h2 {

  margin-top:
    7px;

  font-size:
    27px;
}


.documents-card-heading p:not(.eyebrow) {

  margin:
    7px 0 0;

  color:
    var(--gray-500);

  font-size:
    10px;

  line-height:
    1.6;
}


.documents-list-heading {

  display:flex;

  align-items:flex-end;
  justify-content:space-between;

  gap:
    20px;
}


.documents-counter {

  min-width:
    90px;

  text-align:right;
}


.documents-counter strong {

  display:block;

  font-family:
    var(--disp);

  font-size:
    28px;
}


.documents-counter span {

  color:
    var(--gray-500);

  font-size:
    8px;

  font-weight:
    700;
}


.documents-field {

  width:100%;
}


.documents-field label {

  display:block;

  margin-bottom:
    7px;

  color:
    var(--navy-900);

  font-size:
    9px;

  font-weight:
    800;

  text-transform:
    uppercase;
}


.documents-field input,
.documents-field select {

  width:100%;

  padding:
    13px 14px;

  background:
    #f8fafc;

  color:
    var(--navy-900);

  border:
    1px solid
    var(--hairline);

  border-radius:
    10px;

  outline:none;

  font-size:
    11px;
}


.documents-field input:focus,
.documents-field select:focus {

  border-color:
    var(--orange);

  box-shadow:
    0 0 0 3px
    rgba(253,67,0,.08);
}


.documents-field small {

  display:block;

  margin-top:
    6px;

  color:
    var(--gray-500);

  font-size:
    8px;
}


.documents-name-warning {

  margin-bottom:
    18px;

  padding:
    15px 17px;

  background:
    #fff8f5;

  border:
    1px solid
    rgba(253,67,0,.16);

  border-radius:
    12px;
}


.documents-name-warning strong {

  display:block;

  margin-bottom:
    5px;

  color:
    var(--orange);

  font-size:
    10px;
}


.documents-name-warning span {

  display:block;

  color:
    var(--gray-600);

  font-size:
    9px;

  line-height:
    1.6;
}


.documents-dropzone {

  display:flex;

  align-items:center;
  justify-content:center;

  flex-direction:column;

  min-height:
    170px;

  padding:
    24px;

  background:
    #f8fafc;

  border:
    1px dashed
    rgba(4,50,89,.25);

  border-radius:
    14px;

  text-align:center;

  cursor:pointer;

  transition:
    border-color .2s ease,
    background .2s ease;
}


.documents-dropzone:hover {

  background:
    #fff8f5;

  border-color:
    var(--orange);
}


.documents-dropzone input {

  display:none;
}


.documents-dropzone-icon {

  width:
    42px;

  height:
    42px;

  margin-bottom:
    12px;

  padding:
    9px;

  background:
    var(--navy-tint);

  color:
    var(--navy-900);

  border-radius:
    12px;
}


.documents-dropzone strong {

  margin-bottom:
    5px;

  font-size:
    12px;
}


.documents-dropzone > span:last-of-type {

  color:
    var(--gray-500);

  font-size:
    9px;
}


.selected-documents {

  display:flex;

  flex-direction:column;

  gap:
    12px;

  margin-top:
    18px;
}


.selected-document-row {

  padding:
    16px;

  background:
    #f8fafc;

  border:
    1px solid
    var(--hairline);

  border-radius:
    12px;
}


.selected-document-file {

  margin-bottom:
    13px;
}


.selected-document-file strong {

  display:block;

  margin-bottom:
    3px;

  color:
    var(--navy-900);

  font-size:
    9px;

  text-transform:
    uppercase;
}


.selected-document-file span {

  display:block;

  overflow:hidden;

  color:
    var(--gray-500);

  font-size:
    9px;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


.documents-upload-actions {

  display:flex;

  justify-content:flex-end;

  gap:
    10px;

  margin-top:
    20px;
}


.documents-secondary-button {

  background:
    #eef3f6;

  color:
    var(--navy-900);
}


.documents-upload-actions
button:disabled {

  opacity:
    .5;

  cursor:
    not-allowed;

  transform:
    none;
}


.documents-message {

  margin-top:
    16px;

  padding:
    12px 14px;

  border-radius:
    10px;

  font-size:
    10px;

  font-weight:
    700;
}


.documents-message.success {

  background:
    var(--success-soft);

  color:
    var(--success);
}


.documents-message.error {

  background:
    var(--danger-soft);

  color:
    var(--danger);
}


.documents-list {

  display:flex;

  flex-direction:column;

  gap:
    9px;
}


.document-row {

  display:flex;

  align-items:center;

  gap:
    13px;

  padding:
    14px 15px;

  background:
    #f8fafc;

  border:
    1px solid
    var(--hairline);

  border-radius:
    12px;
}


.document-row-icon {

  width:
    39px;

  height:
    39px;

  flex:
    0 0 auto;

  padding:
    9px;

  background:
    var(--navy-tint);

  color:
    var(--navy-900);

  border-radius:
    10px;
}


.document-row-main {

  min-width:0;
}


.document-row-main strong {

  display:block;

  overflow:hidden;

  color:
    var(--navy-900);

  font-size:
    10px;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


.document-row-meta {

  display:flex;

  flex-wrap:wrap;

  gap:
    5px 13px;

  margin-top:
    5px;

  color:
    var(--gray-500);

  font-size:
    8px;
}


.documents-empty {

  padding:
    28px 20px;

  background:
    #f8fafc;

  color:
    var(--gray-500);

  border:
    1px dashed
    var(--hairline);

  border-radius:
    12px;

  font-size:
    10px;

  text-align:center;
}


.documents-help-card h3 {

  margin:
    7px 0 10px;

  font-size:
    22px;
}


.documents-help-card > p:not(.eyebrow) {

  color:
    var(--gray-600);

  font-size:
    10px;

  line-height:
    1.65;
}


.documents-help-card ul {

  margin:
    18px 0 0;

  padding-left:
    18px;

  color:
    var(--gray-600);

  font-size:
    9px;

  line-height:
    1.8;
}


@media(max-width:1000px) {

  .documents-layout {

    grid-template-columns:
      1fr;
  }

}


@media(max-width:720px) {

  .documents-page {

    padding-top:
      30px;
  }


  .documents-hero {

    align-items:flex-start;

    flex-direction:column;

    padding:
      28px 22px;
  }


  .documents-hero-icon {

    width:
      68px;

    height:
      68px;

    padding:
      16px;
  }


  .documents-card,
  .documents-help-card {

    padding:
      22px 18px;
  }


  .documents-list-heading {

    align-items:flex-start;

    flex-direction:column;
  }


  .documents-counter {

    text-align:left;
  }


  .documents-upload-actions {

    display:grid;

    grid-template-columns:
      1fr;
  }


  .documents-upload-actions
  .btn {

    width:100%;
  }

}

.document-auto-name {

  margin-top:
    13px;

  padding:
    12px 14px;

  background:
    var(--navy-tint);

  border:
    1px solid
    rgba(4,50,89,.09);

  border-radius:
    10px;
}


.document-auto-name span {

  display:block;

  margin-bottom:
    4px;

  color:
    var(--gray-500);

  font-size:
    8px;

  font-weight:
    700;

  text-transform:
    uppercase;
}


.document-auto-name strong {

  display:block;

  overflow-wrap:
    anywhere;

  color:
    var(--navy-900);

  font-size:
    10px;

  line-height:
    1.5;
}

