
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --azul: #102b49;
  --azul-oscuro: #0b2038;
  --dorado: #c8ad78;
  --marfil: #f8f7f3;
  --blanco: #ffffff;
  --texto: #343434;
  --gris: #77736d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blanco);
  color: var(--texto);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

h1, h2, h3 {
  color: var(--azul);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
}

.site-header {
  min-height: 115px;
  padding: 18px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--blanco);
  border-bottom: 1px solid #eeeae2;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--azul);
  text-decoration: none;
  line-height: 1.2;
}

.brand-mark {
  font-family: Georgia, serif;
  font-size: 34px;
  font-style: italic;
  border-bottom: 1px solid var(--dorado);
}

.brand-name {
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
}

.brand-subtitle {
  font-size: 8px;
  letter-spacing: 3px;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-menu a {
  color: var(--azul);
  text-decoration: none;
  font-size: 13px;
}

.main-menu a:hover {
  color: var(--dorado);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px 0;
  background: var(--azul);
}

.button {
  display: inline-block;
  padding: 12px 25px;
  border: none;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  cursor: pointer;
}

.button-navy {
  color: white;
  background: var(--azul);
}

.button-gold {
  color: var(--azul-oscuro);
  background: var(--dorado);
}

.hero {
  max-width: 1250px;
  min-height: 390px;
  margin: 0 auto;
  padding: 55px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
}

.hero-emblem {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-placeholder {
  width: 100%;
  max-width: 380px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--azul);
  text-align: center;
  font-family: Georgia, serif;
}

.logo-placeholder strong {
  font-size: 25px;
  letter-spacing: 1px;
  margin-top: 15px;
}

.logo-placeholder span {
  font-size: 10px;
  color: var(--gris);
}

.logo-placeholder small {
  margin-top: 8px;
  letter-spacing: 4px;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -1px;
}

.hero-copy p {
  max-width: 480px;
  color: var(--gris);
  font-size: 14px;
}

.section {
  max-width: 1250px;
  margin: 0 auto;
  padding: 30px 8% 65px;
}

.section-heading {
  margin-bottom: 25px;
}

.section-heading h2 {
  margin: 0;
  font-size: 27px;
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 25px;
  row-gap: 25px;
}

.practice-card {
  min-height: 145px;
  padding: 22px 20px;
  border-top: 1px solid var(--dorado);
}

.practice-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.practice-card p {
  margin: 0;
  color: var(--gris);
  font-size: 12px;
  line-height: 1.6;
}

.profile-section {
  padding: 55px 10%;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 55px;
  background: var(--marfil);
}

.profile-photo {
  width: 100%;
  max-width: 310px;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 10px;
  background: #e9e5dc;
  color: var(--gris);
  text-align: center;
  font-size: 12px;
}

.profile-copy h2 {
  margin: 0 0 8px;
  font-size: 27px;
}

.profile-role {
  color: var(--gris);
  font-size: 12px;
}

.profile-copy p {
  font-size: 13px;
  line-height: 1.75;
}

.contact-section {
  padding: 65px 10%;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 65px;
  background: var(--blanco);
}

.contact-info h2 {
  margin-top: 0;
  font-size: 30px;
}

.contact-info > p {
  font-size: 13px;
}

.contact-detail {
  margin-top: 24px;
}

.contact-detail strong {
  color: var(--azul);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--azul);
  font-size: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 5px;
  border: none;
  border-bottom: 1px solid #dedbd4;
  background: transparent;
  color: var(--texto);
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--dorado);
}

.contact-form button {
  width: 100%;
  margin-top: 10px;
}

footer {
  padding: 25px 8%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: var(--azul);
  color: white;
  font-size: 11px;
  letter-spacing: 1px;
}

/* Página de corretaje */

.property-hero {
  padding: 100px 10%;
  background: var(--marfil);
  text-align: center;
}

.property-hero h1 {
  font-size: 45px;
}

.property-hero h1 span {
  color: var(--dorado);
}

.property-hero > p {
  max-width: 650px;
  margin: 20px auto;
  color: var(--gris);
}

.eyebrow {
  color: var(--dorado);
  font-size: 10px;
  letter-spacing: 2px;
}

.service-intro,
.listings {
  padding-top: 65px;
  padding-bottom: 65px;
}

.intro-text {
  max-width: 750px;
  color: var(--gris);
}

.listing-placeholder {
  margin-top: 35px;
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  border-top: 1px solid var(--dorado);
}

.listing-photo {
  min-height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e9e5dc;
  color: var(--gris);
}

/* Adaptación para celulares */

@media (max-width: 760px) {

  .site-header {
    min-height: 85px;
    padding: 12px 5%;
  }

  .brand-mark {
    font-size: 27px;
  }

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

  .brand-subtitle {
    font-size: 7px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .main-menu {
    display: none;
    position: absolute;
    z-index: 10;
    top: 85px;
    left: 0;
    right: 0;
    padding: 20px;
    flex-direction: column;
    gap: 18px;
    background: white;
    border-top: 1px solid #eeeae2;
  }

  .main-menu.open {
    display: flex;
  }

  .site-header > .button {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 45px 8%;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .logo-placeholder {
    min-height: 190px;
  }

  .hero-copy h1 {
    font-size: 35px;
  }

  .section {
    padding: 35px 8% 45px;
  }

  .practice-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .practice-card {
    min-height: 170px;
    padding: 15px 10px;
  }

  .practice-card h3 {
    font-size: 15px;
  }

  .practice-card p {
    font-size: 11px;
  }

  .profile-section {
    padding: 40px 8%;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .profile-photo {
    max-width: 100%;
    min-height: 260px;
  }

  .profile-copy h2 {
    font-size: 24px;
  }

  .contact-section {
    padding: 45px 8%;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .property-hero {
    padding: 65px 8%;
  }

  .property-hero h1 {
    font-size: 35px;
  }

  .listing-placeholder {
    grid-template-columns: 1fr;
  }
}


/* Ajuste del logo y encabezado */

.site-header {
  min-height: 100px;
  padding: 10px 7%;
}

.site-header .brand img {
  width: 155px;
  max-width: 155px;
  height: auto;
  display: block;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 80px;
    padding: 10px 5%;
  }

  .site-header .brand img {
    width: 115px;
    max-width: 115px;
  }
}

/* Botón flotante de WhatsApp */

.whatsapp-flotante {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  transition: transform 0.2s;
}

.whatsapp-flotante:hover {
  transform: scale(1.08);
  background: #1ebe5d;
}

/* DISEÑO DE CORRETAJE DE PROPIEDADES */

.corretaje-portada {
  min-height: 480px;
  padding: 60px 8%;
  background-image:
    linear-gradient(
      rgba(10, 32, 56, 0.48),
      rgba(10, 32, 56, 0.48)
    ),
    url("imagenes/corretaje.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.corretaje-presentacion {
  max-width: 850px;
}

.corretaje-presentacion h1 {
  color: white;
  font-size: 52px;
  margin: 0 0 15px;
}

.corretaje-presentacion p {
  color: white;
  font-size: 20px;
  margin-bottom: 30px;
}

.propiedades-section {
  padding-top: 65px;
  padding-bottom: 65px;
}

.propiedades-section .section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.propiedades-section h2 {
  font-size: 32px;
}

.propiedades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.propiedad-card {
  background: white;
  border: 1px solid #e9e5dc;
  overflow: hidden;
  transition: transform 0.2s;
}

.propiedad-card:hover {
  transform: translateY(-4px);
}

.propiedad-imagen {
  aspect-ratio: 4 / 3;
  background: #f0eee8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #77736d;
  font-size: 12px;
}

.propiedad-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.propiedad-info {
  padding: 22px;
}

.propiedad-info h3 {
  margin: 0 0 10px;
  font-size: 23px;
}

.propiedad-info p {
  margin: 5px 0;
  color: #77736d;
}

.corretaje-contacto {
  padding: 65px 8%;
  background: #f8f7f3;
  text-align: center;
}

.corretaje-contacto h2 {
  font-size: 30px;
}

.corretaje-contacto p {
  margin-bottom: 25px;
}

/* Corretaje en celulares */

@media (max-width: 760px) {

  .corretaje-portada {
    min-height: 380px;
    padding: 40px 6%;
  }

  .corretaje-presentacion h1 {
    font-size: 35px;
  }

  .corretaje-presentacion p {
    font-size: 16px;
  }

  .propiedades-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .corretaje-contacto h2 {
    font-size: 25px;
  }
}

/* CARRUSELES DE PROPIEDADES */

.propiedades-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.propiedad-card {
  background: #eeeeee;
  padding: 20px;
  border: none;
  border-radius: 0;
  min-width: 0;
}

.propiedad-card h3 {
  font-family: Georgia, serif;
  font-size: 19px;
  color: #102b49;
  margin: 0 0 20px;
}

.carrusel-propiedad {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carrusel-fotos {
  display: flex;
  transition: transform 0.4s ease;
}

.carrusel-fotos img {
  width: 100%;
  height: 380px;
  flex: 0 0 100%;
  object-fit: cover;
  display: block;
}

.carrusel-anterior,
.carrusel-siguiente {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #102b49;
  cursor: pointer;
  font-size: 15px;
  z-index: 2;
}

.carrusel-anterior {
  left: 12px;
}

.carrusel-siguiente {
  right: 12px;
}

.propiedad-info {
  padding: 12px 0 0;
  color: #102b49;
}

.propiedad-info p {
  font-size: 14px;
  line-height: 1.6;
  margin: 3px 0;
}

.propiedad-acciones {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.propiedad-acciones .button {
  background: #102b49;
  color: white;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 0;
}

@media (max-width: 768px) {
  .propiedades-grid {
    grid-template-columns: 1fr;
  }

  .carrusel-fotos img {
    height: 320px;
  }
}

/* DISTRIBUCIÓN DE PROPIEDADES */

.propiedades-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.propiedades-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 28px;
  justify-items: stretch;
}

.propiedades-grid > .propiedad-card {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .propiedades-grid {
    grid-template-columns: 1fr;
  }
}

/* ESTÉTICA DE PROPIEDADES */

.propiedades-section {
  max-width: 1450px;
  width: 94%;
  padding: 65px 2%;
  margin: 0 auto;
}

.propiedades-grid {
  gap: 35px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.propiedad-card {
  background: #f5f5f5;
  padding: 22px;
  box-shadow: 0 3px 15px rgba(16, 43, 73, 0.06);
}

.propiedad-card h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.carrusel-fotos img {
  height: 450px;
  object-fit: cover;
}

.propiedad-info {
  padding: 18px 0 5px;
}

.propiedad-info p {
  font-size: 15px;
  line-height: 1.8;
}

.propiedad-info p:nth-child(2) {
  font-size: 25px;
  font-weight: bold;
  color: #102b49;
  margin: 8px 0;
}

.propiedad-acciones .button {
  font-size: 14px;
  padding: 14px 28px;
}

.propiedad-card:hover {
  transform: none;
}

@media (max-width: 768px) {
  .propiedades-section {
    width: 100%;
    padding: 40px 5%;
  }

  .propiedades-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .carrusel-fotos img {
    height: 340px;
  }

  .propiedad-card h3 {
    font-size: 20px;
  }
}
/* Ajustes finales de propiedades */

.propiedad-card {
    display: flex;
    flex-direction: column;
}

.propiedad-info {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
}

.propiedad-acciones {
    margin-top: auto;
    padding-top: 20px;
}

/* Centrar la última propiedad */

@media (min-width: 901px) {
    .propiedades-grid > .propiedad-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc((100% - 35px) / 2);
        justify-self: center;
        box-sizing: border-box;
    }
}

/* SISTEMA UNIFICADO DE ANIMACIONES */
@keyframes entradaAscendente {
    from { opacity: 0; transform: translateY(45px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-logo-principal,
.hero-copy,
.hero-emblem,
.corretaje-presentacion {
    animation: entradaAscendente 1.2s ease-out 0.2s both;
}

.animar-ascendente:not(.visible) {
    opacity: 0;
    transition: none;
}

.animar-ascendente.visible {
    animation: entradaAscendente 1.1s ease-out var(--retraso, 0s) both;
}

#areas .section-heading { --retraso: 0.1s; }
#areas .practice-card:nth-child(1) { --retraso: 0.2s; }
#areas .practice-card:nth-child(2) { --retraso: 0.4s; }
#areas .practice-card:nth-child(3) { --retraso: 0.2s; }
#areas .practice-card:nth-child(4) { --retraso: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .hero-logo-principal, .hero-copy, .hero-emblem,
    .corretaje-presentacion, .animar-ascendente,
    .animar-ascendente.visible {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* IDENTIDAD VISUAL DE ASESORÍA JURÍDICA */

.pagina-juridica {
    --azul: #002140;
    --azul-oscuro: #001b35;
    --dorado: #e6d1b2;
    --marfil: #f7f7f7;
    --blanco: #f7f7f7;
    --texto: #1c1c1c;
    --gris: #707070;

    background: #f7f7f7;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
}

.pagina-juridica h1,
.pagina-juridica h2,
.pagina-juridica h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
}

.pagina-juridica .site-header {
    background: #f7f7f7;
    border-bottom: none;
}

.pagina-juridica .main-menu a {
    font-size: 15px;
}

.pagina-juridica .button {
    font-size: 14px;
    font-family: 'Inter', Arial, sans-serif;
}

.pagina-juridica .button-navy {
    border-radius: 4px;
}

/* PORTADA PRINCIPAL DE ASESORÍA JURÍDICA */

.pagina-juridica .hero {
    max-width: 1600px;
    min-height: 580px;
    padding: 80px 8%;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.pagina-juridica .hero-logo-principal {
    width: 100%;
    max-width: 560px !important;
    height: auto;
    justify-self: center;
}

.pagina-juridica .hero-copy h1 {
    font-size: clamp(42px, 4.5vw, 76px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 35px;
}

.pagina-juridica .hero-copy p {
    max-width: 650px;
    font-size: 19px;
    line-height: 1.7;
    text-align: justify;
    color: #707070;
}

/* PORTADA JURÍDICA EN CELULARES */

@media (max-width: 760px) {

    .pagina-juridica .hero {
        min-height: auto;
        padding: 40px 7%;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pagina-juridica .hero-logo-principal {
        max-width: 300px !important;
    }

    .pagina-juridica .hero-copy h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .pagina-juridica .hero-copy p {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* DISEÑO DE LAS ÁREAS DE PRÁCTICA */

.pagina-juridica #areas {
    max-width: 1600px;
    padding: 55px 6% 85px;
}

.pagina-juridica #areas .section-heading {
    margin-bottom: 40px;
}

.pagina-juridica #areas h2 {
    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 700;
}

.pagina-juridica .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
}

.pagina-juridica .practice-card {
    min-height: 240px;
    padding: 38px 40px;
    background: #f7f7f7;
    border: 1px solid #e5e2dd;
    border-top: 2px solid #e6d1b2;
}


.pagina-juridica .practice-card h3 {
    font-size: 25px;
    color: #002140;
    margin-bottom: 18px;
}


.pagina-juridica .practice-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #707070;
}

/* ÁREAS DE PRÁCTICA EN CELULARES */

@media (max-width: 760px) {

    .pagina-juridica #areas {
        padding: 35px 7% 50px;
    }

    .pagina-juridica .practice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pagina-juridica .practice-card {
        min-height: auto;
        padding: 25px;
    }

    .pagina-juridica .practice-card h3 {
        font-size: 22px;
    }

    .pagina-juridica .practice-card p {
        font-size: 15px;
    }
}

/* PRESENTACIÓN PROFESIONAL */

.pagina-juridica .profile-section {
    background: linear-gradient(
        115deg,
        #e7d8bf 0%,
        #eee6d9 40%,
        #f7f7f7 85%
    );

    padding: 85px 12%;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 70px;
}

.pagina-juridica .profile-photo {
    max-width: 420px;
    justify-self: center;
}

.pagina-juridica .profile-photo img {
    border-radius: 22px !important;
}

.pagina-juridica .profile-copy h2 {
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 700;
    color: #002140;
    margin-bottom: 15px;
}

.pagina-juridica .profile-copy .profile-role {
    font-size: 17px;
    color: #707070;
}

.pagina-juridica .profile-role::after {
    content: "";
    display: block;
    width: 85px;
    height: 2px;
    background: #e6d1b2;
    margin-top: 18px;
}

.pagina-juridica .profile-copy p {
    font-size: 17px;
    line-height: 1.8;
    text-align: justify;
    color: #1c1c1c;
}

/* PRESENTACIÓN PROFESIONAL EN CELULARES */

@media (max-width: 760px) {

    .pagina-juridica .profile-section {
        padding: 45px 7%;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pagina-juridica .profile-photo {
        max-width: 320px;
    }

    .pagina-juridica .profile-copy h2 {
        font-size: 29px;
    }

    .pagina-juridica .profile-copy .profile-role {
        font-size: 14px;
    }

    .pagina-juridica .profile-copy p {
        font-size: 15px;
    }
}

/* DISEÑO DE LA SECCIÓN DE CONTACTO */

.pagina-juridica .contact-section {
    background: #f7f7f7;
    padding: 90px 10%;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
}

.pagina-juridica .contact-info h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
}

.pagina-juridica .contact-info p {
    font-size: 17px;
    line-height: 1.8;
}

.pagina-juridica .contact-detail {
    margin-top: 35px;
}

.pagina-juridica .contact-form {
    gap: 22px;
}

.pagina-juridica .contact-form label {
    font-size: 15px;
    color: #1c1c1c;
}

.pagina-juridica .contact-form input,
.pagina-juridica .contact-form textarea {
    font-size: 15px;
    padding: 15px 8px;
    border-bottom: 1px solid #c8ad78;
    background: transparent;
}

.pagina-juridica .contact-form input:focus,
.pagina-juridica .contact-form textarea:focus {
    border-bottom-color: #002140;
}

.pagina-juridica .contact-form button {
    background: #e6d1b2;
    color: #002140;
    font-size: 16px;
    font-weight: 500;
    padding: 17px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.pagina-juridica .contact-form button:hover {
    background: #d4bb96;
}

/* CONTACTO EN CELULARES */

@media (max-width: 760px) {

    .pagina-juridica .contact-section {
        padding: 45px 7%;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pagina-juridica .contact-info h2 {
        font-size: 34px;
    }

    .pagina-juridica .contact-info p {
        font-size: 15px;
    }
}

/* PIE DE PÁGINA JURÍDICO */

.pagina-juridica .footer-juridico {
    background: #f7f7f7;
    border-top: 1px solid #e6d1b2;
    padding: 40px 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    color: #002140;
}

.pagina-juridica .footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.pagina-juridica .footer-juridico p {
    font-size: 12px;
    letter-spacing: 0.5px;
    margin: 0;
}

@media (max-width: 760px) {

    .pagina-juridica .footer-logo {
        width: 145px;
    }

    .pagina-juridica .footer-juridico {
        padding: 30px 7%;
    }
}

/* ESTÉTICA DE LAS FICHAS INMOBILIARIAS */

.pagina-corretaje .propiedad-card {
    background: #f7f7f7;
    border: 1px solid #e5e2dd;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 4px 18px rgba(0, 33, 64, 0.06);
}

.pagina-corretaje .propiedad-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 27px;
    font-weight: 600;
    color: #002140;
    margin-bottom: 22px;
}

.pagina-corretaje .propiedad-info {
    font-family: 'Inter', Arial, sans-serif;
    padding-top: 20px;
}

.pagina-corretaje .propiedad-info p {
    font-size: 15px;
    color: #707070;
    line-height: 1.8;
}

.pagina-corretaje .propiedad-info p:nth-child(2) {
    font-size: 30px;
    font-weight: 600;
    color: #002140;
    border-bottom: 1px solid #c8ad78;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.pagina-corretaje .propiedad-acciones .button {
    background: #002140;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    border-radius: 4px;
    padding: 15px 25px;
    width: 100%;
    transition: background 0.3s ease;
}

.pagina-corretaje .propiedad-acciones .button:hover {
    background: #244665;
}

/* FICHAS INMOBILIARIAS EN CELULARES */

@media (max-width: 768px) {

    .pagina-corretaje .propiedad-card {
        padding: 18px;
    }

    .pagina-corretaje .propiedad-card h3 {
        font-size: 23px;
    }

    .pagina-corretaje .propiedad-info p:nth-child(2) {
        font-size: 26px;
    }
}

/* ALINEACIÓN DE FICHAS INMOBILIARIAS */

.pagina-corretaje .propiedad-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.pagina-corretaje .propiedad-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pagina-corretaje .propiedad-acciones {
    margin-top: auto;
    padding-top: 20px;
}

.pagina-corretaje .propiedad-acciones .button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* SERVICIOS A CONTRA RESULTADO */

.pagina-servicios {
    background: #f7f7f7;
    font-family: 'Inter', Arial, sans-serif;
    color: #343434;
}

.pagina-servicios h1,
.pagina-servicios h2,
.pagina-servicios h3,
.pagina-servicios h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #002140;
}

/* PORTADA */

.pagina-servicios .servicios-portada {
    background: #002140;
    padding: 100px 10%;
    text-align: center;
    color: #ffffff;
}

.servicios-marca {
    color: #e6d1b2;
    font-size: 14px;
    letter-spacing: 4px;
}

.pagina-servicios .servicios-portada h1 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 65px);
    margin: 25px auto;
    max-width: 1000px;
}

.pagina-servicios .servicios-portada h2 {
    color: #e6d1b2;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 500;
}

.servicios-portada p {
    max-width: 750px;
    margin: 25px auto 35px;
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
}

/* ESPECIALIDADES */

.servicios-especialidades {
    max-width: 1500px;
    margin: auto;
    padding: 75px 7%;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    align-items: stretch;
}

.pagina-servicios .servicio-card {
    background: #ffffff;
    border: 1px solid #e5e2dd;
    border-top: 3px solid #c8ad78;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 33, 64, 0.05);
    border-radius: 4px;
}

.pagina-servicios .servicio-card h3 {
    font-size: 30px;
    margin-bottom: 25px;
    color: #002140;
}

.pagina-servicios .servicio-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 18px;
    text-align: justify;
}

/* HONORARIOS */

.servicio-honorarios {
    border-top: 1px solid #c8ad78;
    margin-top: 20px;
    padding: 25px 0;
}

.servicio-destacado {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 65px;
    color: #002140;
    margin-bottom: 15px;
}

.servicio-destacado-texto {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    color: #002140;
    margin-bottom: 20px;
}

.pagina-servicios .servicio-honorarios h4 {
    font-size: 23px;
    color: #002140;
}

.pagina-servicios .servicio-card .button {
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    background: #002140;
    color: #ffffff;
    padding: 16px 25px;
    border-radius: 4px;
}

/* EXPERIENCIA */

.servicios-experiencia {
    background: linear-gradient(
        115deg,
        #e7d8bf,
        #eee6d9,
        #f7f7f7
    );
    padding: 75px 8%;
}

.experiencia-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
}

.pagina-servicios .experiencia-grid .practice-card {
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    padding: 25px;
    min-height: 0;
}

.pagina-servicios .experiencia-grid h3 {
    font-size: 32px;
    color: #002140;
    margin-bottom: 15px;
}

.pagina-servicios .experiencia-grid p {
    font-size: 16px;
    color: #555555;
    line-height: 1.7;
}

/* CONTACTO */

.pagina-servicios .servicios-contacto {
    background: #f7f7f7;
    text-align: center;
    padding: 75px 8%;
}

/* PIE DE PÁGINA */

.pagina-servicios .footer-juridico {
    background: #f7f7f7;
    border-top: 1px solid #e6d1b2;
    padding: 40px 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    color: #002140;
}

.pagina-servicios .footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.pagina-servicios .footer-juridico p {
    font-size: 12px;
    margin: 0;
}

/* VERSIÓN PARA CELULARES */

@media (max-width: 768px) {

    .pagina-servicios .servicios-portada {
        padding: 65px 6%;
    }

    .servicios-marca {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .servicios-portada p {
        font-size: 15px;
    }

    .servicios-grid,
    .experiencia-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .servicios-especialidades {
        padding: 45px 5%;
    }

    .pagina-servicios .servicio-card {
        padding: 25px;
    }

    .pagina-servicios .servicio-card h3 {
        font-size: 25px;
    }

    .pagina-servicios .servicio-card p {
        font-size: 15px;
    }

    .servicio-destacado {
        font-size: 55px;
    }

    .servicios-experiencia {
        padding: 45px 6%;
    }

    .pagina-servicios .footer-logo {
        width: 145px;
    }
}

/* MOVIMIENTO ASCENDENTE PORTADA DE SERVICIOS */

@keyframes ascensoServicios {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pagina-servicios .servicios-portada > * {
    animation: ascensoServicios 1s ease both;
}

.pagina-servicios .servicios-marca {
    animation-delay: 0.1s;
}

.pagina-servicios .servicios-portada h1 {
    animation-delay: 0.3s;
}

.pagina-servicios .servicios-portada h2 {
    animation-delay: 0.5s;
}

.pagina-servicios .servicios-portada p {
    animation-delay: 0.7s;
}

.pagina-servicios .servicios-portada .button {
    animation-delay: 0.9s;
}

@media (prefers-reduced-motion: reduce) {
    .pagina-servicios .servicios-portada > * {
        animation: none;
    }
}

/* ESTÉTICA DEL MENÚ PRINCIPAL */

.site-header .main-menu a {
    color: #002140 !important;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    text-decoration: none !important;
    position: relative;
    padding: 10px 0;
}

.site-header .main-menu a:hover {
    color: #002140 !important;
    font-weight: 600 !important;
}

.site-header .main-menu a::after {
    content: "";
    display: block !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c8ad78;
    transition: width 0.3s ease;
}

.site-header .main-menu a:hover::after {
    width: 100%;
}

/* OCULTAR CONTACTO DUPLICADO */

@media (min-width: 901px) {
    .site-header .main-menu a[href$="#contacto"] {
        display: none !important;
    }
}

/* ESTÉTICA DEL MENÚ MÓVIL */

@media (max-width: 900px) {

    .site-header .main-menu {
        gap: 12px !important;
        padding: 25px !important;
    }

    .site-header .main-menu a {
        font-weight: 400 !important;
        font-size: 15px;
        color: #002140 !important;
        padding: 12px 0;
    }

    .site-header .main-menu a[href$="#contacto"] {
        background: #002140;
        color: #ffffff !important;
        padding: 14px 25px;
        border-radius: 4px;
        text-align: center;
        width: 100%;
    }

    .site-header .main-menu a[href$="#contacto"]::after {
        display: none !important;
    }
}

/* AVISO DE CONSENTIMIENTO DE COOKIES */

#aviso-cookies {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 380px;
    max-width: calc(100% - 50px);
    box-sizing: border-box;
    padding: 24px;
    background: #F7F7F7;
    border: 1px solid #E6D1B2;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 33, 64, 0.15);
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

#aviso-cookies[hidden] {
    display: none !important;
}

#aviso-cookies h3 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    color: #002140;
    margin: 0 0 12px;
}

#aviso-cookies p {
    font-size: 13px;
    line-height: 1.6;
    color: #1C1C1C;
    margin: 0 0 18px;
}

.cookies-botones {
    display: flex;
    gap: 10px;
}

.cookies-botones button {
    flex: 1;
    padding: 11px;
    border: 1px solid #002140;
    border-radius: 5px;
    background: #002140;
    color: #E6D1B2;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cookies-botones button:hover {
    opacity: 0.85;
}

#preferencias-cookies {
    background: transparent;
    border: none;
    color: inherit;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    margin: 12px;
}

@media (max-width: 600px) {
    #aviso-cookies {
        bottom: 85px;
        left: 15px;
        width: calc(100% - 30px);
        max-width: none;
        padding: 20px;
    }
}

/* POLÍTICA DE PRIVACIDAD */

.enlace-privacidad,
#preferencias-cookies {
    background: transparent;
    border: none;
    color: #E6D1B2;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    margin: 8px;
}

#politica-privacidad {
    width: 650px;
    max-width: calc(100% - 40px);
    max-height: 85vh;
    box-sizing: border-box;
    padding: 35px;
    background: #F7F7F7;
    border: 1px solid #E6D1B2;
    border-radius: 12px;
    color: #1C1C1C;
    font-family: 'Inter', sans-serif;
    overflow-y: auto;
}

#politica-privacidad::backdrop {
    background: rgba(0, 33, 64, 0.65);
}

#politica-privacidad h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #002140;
    margin: 0 25px 20px 0;
}

#politica-privacidad h3 {
    color: #002140;
    font-size: 16px;
    margin: 22px 0 10px;
}

#politica-privacidad p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

#politica-privacidad a {
    color: #002140;
    overflow-wrap: anywhere;
}

#cerrar-privacidad {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #002140;
    cursor: pointer;
}

@media (max-width: 600px) {
    #politica-privacidad {
        padding: 25px;
        max-width: calc(100% - 30px);
    }

    #politica-privacidad h2 {
        font-size: 23px;
    }
}
/* AJUSTE ESTÉTICO DE ENLACES DEL FOOTER */

footer .enlace-privacidad,
footer #preferencias-cookies {
    display: inline-block;
    width: auto;
    color: inherit;
    font-size: 11px;
    margin: 4px 8px 0;
    padding: 0;
    text-decoration: none;
}

footer .enlace-privacidad:hover,
footer #preferencias-cookies:hover {
    text-decoration: underline;
}
/* ENLACES LEGALES EN UNA MISMA LÍNEA */

.enlaces-legales {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 8px 0 0;
    color: #002140;
}

footer .enlaces-legales button {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 11px;
    color: #002140;
    white-space: nowrap;
}

.enlaces-legales span {
    font-size: 11px;
    color: #002140;
}/* ESPACIO INFERIOR DEL FOOTER EN CELULARES */
@media (max-width: 768px) {
    footer {
        padding-bottom: 90px;
    }
}