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

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #263544;
  background: #ffffff;
}

.wrap {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

a {
  color: #985e23;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  color: #001d39;
}

h1 {
  font-size: 42px;
  margin: 0 0 20px;
}

h2 {
  font-size: 30px;
  margin: 0 0 20px;
}

h3 {
  font-size: 22px;
  margin: 0 0 14px;
}

p {
  margin: 0 0 20px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #b07233;
  outline-offset: 4px;
}


/* =========================================================
   BARRA SUPERIOR
   ========================================================= */

.topbar {
  padding: 10px 0;
  background: #001d39;
  color: #ffffff;
  font-size: 13px;
}

.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}


/* =========================================================
   CABECERA
   ========================================================= */

.brandrow {
  background: #ffffff;
  border-bottom: 1px solid #e7ded3;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: bold;
  line-height: 1.3;
  color: #001d39;
}

.brand-sub {
  margin-top: 8px;
  font-size: 15px;
  color: #68717a;
}


/* =========================================================
   LOGO CABECERA
   ========================================================= */

.seal {
  flex: 0 0 105px;
  width: 105px;
  height: 105px;

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

  padding: 0;
  margin: 0;

  border: none;
  border-radius: 0;
  background: transparent;

  overflow: visible;
}

.seal img {
  display: block;

  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: contain;
  object-position: center;

  border: none;
  border-radius: 0;

  background: transparent;
}


/* =========================================================
   MENÚ
   ========================================================= */

.nav {
  background: #001d39;
}

.nav .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;

  padding-top: 10px;
  padding-bottom: 10px;
}

.nav a {
  display: inline-block;

  padding: 10px 12px;

  border-radius: 4px;

  color: #ffffff;

  text-decoration: none;

  font-size: 14px;

  transition: background-color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  background: #193954;
}

.nav a.cta {
  background: #985e23;
}

.nav a.cta:hover {
  background: #b07233;
}

.nav a.login-btn {
  border: 1px solid #b99469;
  background: transparent;
}


/* =========================================================
   PORTADA
   ========================================================= */

.hero {
  padding: 85px 0;

  background: #f5f0e9;

  border-bottom: 1px solid #e7ded3;
}

.hero h1 {
  max-width: 850px;

  font-size: 48px;
}

.hero h2 {
  max-width: 760px;

  margin-bottom: 30px;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 21px;
  font-weight: normal;
  line-height: 1.6;

  color: #52606c;
}

.eyebrow {
  margin-bottom: 14px;

  color: #985e23;

  font-size: 12px;
  font-weight: bold;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.btn {
  display: inline-block;

  padding: 13px 23px;

  border: 1px solid #985e23;
  border-radius: 4px;

  background: #985e23;

  color: #ffffff;

  font-size: 14px;
  font-weight: bold;

  text-decoration: none;

  transition: background-color 0.2s ease;
}

.btn:hover {
  background: #7a4a1a;
}


/* =========================================================
   SECCIONES Y TARJETAS
   ========================================================= */

.section {
  padding: 60px 0;
}

.section.alt {
  background: #f8f6f2;
}

.grid3,
.grid4 {
  display: grid;
  gap: 24px;
}

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

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

.card {
  min-width: 0;

  padding: 28px;

  border: 1px solid #e7ded3;
  border-radius: 5px;

  background: #ffffff;

  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.04);

  overflow-wrap: break-word;
}

.card p {
  color: #61707c;
}

.card p:last-child {
  margin-bottom: 0;
}

.card.service {
  border-top: 3px solid #985e23;
}

.card.service a {
  font-weight: bold;
  text-decoration: none;
}


/* =========================================================
   PÁGINAS INTERIORES
   ========================================================= */

.pagehead {
  padding: 48px 0;

  background: #f5f0e9;

  border-bottom: 1px solid #e7ded3;
}

.pagehead h1 {
  margin: 0;

  font-size: 38px;
}

.content {
  padding: 55px 0 70px;
}

.content .wrap > h2 {
  margin-top: 36px;
}

.content .grid3,
.content .grid4 {
  margin-top: 24px;
  margin-bottom: 36px;
}


/* =========================================================
   CONTACTO
   ========================================================= */

.contact-strip {
  padding: 55px 0;

  background: #001d39;

  color: #ffffff;

  text-align: center;
}

.contact-strip h2 {
  color: #ffffff;
}

.contact-strip p {
  color: #e0e6ec;
}


/* =========================================================
   PIE DE PÁGINA
   ========================================================= */

.footer {
  padding: 25px 0;

  background: #00162b;

  color: #e0e6ec;

  font-size: 13px;

  text-align: center;
}


/* =========================================================
   POPUP PDF
   ========================================================= */

.popup-header-pdf {
  flex-shrink: 0;

  gap: 16px;
}

.popup-header-pdf h3 {
  min-width: 0;

  overflow-wrap: break-word;
}

.popup-acciones-pdf {
  flex-shrink: 0;
}

.popup-ventana-pdf .popup-body-pdf {
  flex: 1 1 0%;

  min-height: 0;

  height: auto;
}

.popup-body-pdf iframe {
  display: block;
}

@supports (height: 100dvh) {

  .popup-overlay-pdf {
    height: 100dvh !important;
  }

  .popup-ventana-pdf {
    height: 85dvh;
  }
}


/* =========================================================
   BOTÓN NOTARIAEXPRESS
   ========================================================= */

.nav .cta {
  display: inline-block;

  padding: 7px 16px;

  border-radius: 4px;

  background-color: #985e23;

  color: #ffffff !important;

  font-size: 0.88rem;
  font-weight: 600;

  text-decoration: none;
}

.nav .cta:hover {
  background-color: #b07233;
}


/* =========================================================
   BOTÓN LOGIN
   ========================================================= */

.nav .cta.login-btn {
  background-color: #0b1e36;

  border: 1px solid #985e23;

  color: #ffffff !important;
}

.nav .cta.login-btn:hover {
  background-color: #985e23;
}


/* =========================================================
   OCULTAR PLANILLA DE FUNCIONARIOS ANTERIOR
   ========================================================= */

[data-planilla-anterior] {
  display: none !important;
}


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 1000px) {

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

  .brand-title {
    font-size: 23px;
  }

  .nav a {
    padding: 9px 10px;

    font-size: 13px;
  }

  .seal {
    flex: 0 0 90px;

    width: 90px;
    height: 90px;
  }
}


/* =========================================================
   CELULARES
   ========================================================= */

@media (max-width: 700px) {

  .topbar .wrap {
    flex-direction: column;

    gap: 4px;
  }

  .brand {
    gap: 14px;

    padding-top: 22px;
    padding-bottom: 22px;
  }

  .brand-title {
    font-size: 20px;
  }

  .brand-sub {
    font-size: 13px;
  }

  .seal {
    flex: 0 0 75px;

    width: 75px;
    height: 75px;

    border: none;
    border-radius: 0;

    background: transparent;
  }

  .seal img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    border: none;
    border-radius: 0;
  }

  .nav .wrap {
    justify-content: center;
  }

  .hero {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 33px;
  }

  .hero h2 {
    font-size: 18px;
  }

  .grid3,
  .grid4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section,
  .content {
    padding: 40px 0;
  }

  .pagehead {
    padding: 35px 0;
  }

  .pagehead h1 {
    font-size: 29px;
  }

  h2 {
    font-size: 26px;
  }

  .card {
    padding: 24px;
  }

  .popup-ventana-pdf .popup-header-pdf {
    flex-wrap: wrap;

    padding: 12px 14px;

    gap: 10px;
  }

  .popup-header-pdf .popup-acciones-pdf {
    width: 100%;

    justify-content: space-between;
  }
}


/* =========================================================
   CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

  .brand {
    align-items: center;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-sub {
    font-size: 12px;
  }

  .seal {
    flex: 0 0 68px;

    width: 68px;
    height: 68px;
  }

  .hero h1 {
    font-size: 30px;
  }
}

/* =========================================================
   FORMULARIO SUGERENCIAS Y RECLAMOS
   ========================================================= */

.form-reclamos-box {
  margin-top: 24px;
  padding: 38px;
  background: #ffffff;
  border: 1px solid #e7ded3;
  border-radius: 10px;
  box-shadow: 0 15px 45px rgba(0, 29, 57, 0.07);
}

.form-reclamos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 26px;
}


/* CAMPOS */

.form-reclamos .form-field {
  min-width: 0;
}

.form-reclamos .full {
  grid-column: 1 / -1;
}

.form-reclamos label {
  display: block;
  margin-bottom: 8px;

  color: #001d39;

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

.form-reclamos label span {
  color: #985e23;
}


/* INPUTS */

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

  padding: 13px 14px;

  border: 1px solid #d8dfe5;
  border-radius: 6px;

  background: #fbfcfd;

  color: #263544;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;

  outline: none;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-reclamos input,
.form-reclamos select {
  min-height: 50px;
}


/* PLACEHOLDER */

.form-reclamos input::placeholder,
.form-reclamos textarea::placeholder {
  color: #9aa4ad;
}


/* FOCUS */

.form-reclamos input:focus,
.form-reclamos select:focus,
.form-reclamos textarea:focus {
  border-color: #985e23;

  background: #ffffff;

  box-shadow: 0 0 0 3px rgba(152, 94, 35, 0.12);
}


/* TEXTAREA */

.form-reclamos textarea {
  min-height: 165px;

  line-height: 1.6;

  resize: vertical;
}


/* SELECT */

.form-reclamos select {
  cursor: pointer;
}


/* ARCHIVO */

.form-reclamos input[type="file"] {
  padding: 7px;

  background: #ffffff;
}

.form-reclamos input[type="file"]::file-selector-button {
  margin-right: 12px;

  padding: 10px 14px;

  border: 0;
  border-radius: 4px;

  background: #f1e8de;

  color: #7a4a1a;

  font-weight: 700;

  cursor: pointer;

  transition: background-color 0.2s ease;
}

.form-reclamos input[type="file"]::file-selector-button:hover {
  background: #e6d6c5;
}


/* BOTÓN */

.form-actions {
  display: flex;

  justify-content: flex-end;

  padding-top: 8px;
}

.form-reclamos .form-submit {
  min-width: 190px;

  padding: 14px 28px;

  border: none;

  cursor: pointer;
}


/* MÓVIL */

@media (max-width: 700px) {

  .form-reclamos-box {
    padding: 24px 18px;

    border-radius: 8px;
  }

  .form-reclamos {
    grid-template-columns: 1fr;

    gap: 19px;
  }

  .form-reclamos .full {
    grid-column: auto;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-reclamos .form-submit {
    width: 100%;
  }

}

/* =========================================================
   FORMULARIO DE CONTACTO
   ========================================================= */

.form-contacto-box {
  margin-top: 24px;
  padding: 38px;
  background: #ffffff;
  border: 1px solid #e7ded3;
  border-radius: 10px;
  box-shadow: 0 15px 45px rgba(0, 29, 57, 0.07);
}

.form-contacto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 26px;
}

/* CAMPOS */

.form-contacto .form-field {
  min-width: 0;
}

.form-contacto .full {
  grid-column: 1 / -1;
}

.form-contacto label {
  display: block;
  margin-bottom: 8px;

  color: #001d39;

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

.form-contacto label span {
  color: #985e23;
}

/* INPUTS Y TEXTAREA */

.form-contacto input,
.form-contacto textarea {
  width: 100%;

  padding: 13px 14px;

  border: 1px solid #d8dfe5;
  border-radius: 6px;

  background: #fbfcfd;

  color: #263544;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;

  outline: none;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-contacto input {
  min-height: 50px;
}

/* PLACEHOLDER */

.form-contacto input::placeholder,
.form-contacto textarea::placeholder {
  color: #9aa4ad;
}

/* FOCUS */

.form-contacto input:focus,
.form-contacto textarea:focus {
  border-color: #985e23;

  background: #ffffff;

  box-shadow: 0 0 0 3px rgba(152, 94, 35, 0.12);
}

/* TEXTAREA */

.form-contacto textarea {
  min-height: 170px;

  line-height: 1.6;

  resize: vertical;
}

/* BOTÓN */

.form-contacto .form-actions {
  display: flex;

  justify-content: flex-end;

  padding-top: 8px;
}

.form-contacto .form-submit {
  min-width: 190px;

  padding: 14px 28px;

  border: none;

  cursor: pointer;
}

/* MÓVIL */

@media (max-width: 700px) {

  .form-contacto-box {
    padding: 24px 18px;

    border-radius: 8px;
  }

  .form-contacto {
    grid-template-columns: 1fr;

    gap: 19px;
  }

  .form-contacto .full {
    grid-column: auto;
  }

  .form-contacto .form-actions {
    justify-content: stretch;
  }

  .form-contacto .form-submit {
    width: 100%;
  }

}