﻿:root {
  --ink: #111820;
  --muted: #5b6873;
  --navy: #07334a;
  --navy-2: #15242f;
  --blue: #07506a;
  --gold: #b88734;
  --line: #d7e0e4;
  --soft: #edf2f4;
  --paper: #ffffff;
  --cream: #f8f5ee;
  --shadow: 0 20px 60px rgba(17, 24, 32, 0.1);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: #e9eef1;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 28, 37, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-weight: 750;
  font-size: 0.92rem;
}

.main-nav a {
  opacity: 0.92;
}

.main-nav a:hover {
  opacity: 1;
  color: #e4bd72;
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  border-radius: var(--radius);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.section-band,
.section-pad {
  background: var(--paper);
  scroll-margin-top: 92px;
}

.section-pad {
  padding: 36px 0;
}

.hero {
  padding: 48px 0 52px;
  background:
    linear-gradient(90deg, rgba(17, 28, 37, 0.99), rgba(7, 51, 74, 0.93)),
    url("assets/asesoria-visual.png") right center / cover no-repeat;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #08617f;
  font-size: 0.8rem;
  line-height: 1.35;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #cde8f5;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 5vw, 4.85rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 2.55vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.18;
}

.lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

.hero-actions,
.inline-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-weight: 850;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.btn.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 34px rgba(7, 51, 74, 0.18);
}

.btn.secondary {
  background: #f8f5ee;
  color: var(--navy);
}

.btn.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.btn:hover {
  transform: translateY(-1px);
}

.light-btn {
  background: #fff;
  color: var(--navy);
}

.line-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-panel {
  display: grid;
  gap: 10px;
  max-width: 330px;
  justify-self: end;
}

.metric-card {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.095);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.metric-card span {
  display: block;
  margin-bottom: 2px;
  color: #e5bd72;
  font-weight: 850;
  font-size: 0.82rem;
}

.metric-card strong {
  font-size: 1rem;
  line-height: 1.25;
}

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

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.section-heading p,
.section-lead {
  color: var(--muted);
  font-size: 1.02rem;
}

.service-grid,
.course-grid,
.property-grid,
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.course-card,
.property-card,
.advisory-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card:hover,
.course-card:hover,
.property-card:hover,
.advisory-card:hover {
  border-color: rgba(184, 135, 52, 0.35);
}

.service-card {
  padding: 26px;
}

.card-index {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold);
  font-weight: 900;
}

.service-card p,
.course-card p,
.property-card p {
  color: var(--muted);
}

.property-card .property-meta {
  margin: -2px 0 10px;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: 0;
}

.framed-section,
.soft-section {
  background: linear-gradient(180deg, var(--soft), #f7f9fa);
}

.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

#vende .two-col {
  align-items: start;
}

.steps-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.steps-grid div,
.values-grid div {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps-grid strong,
.values-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.steps-grid span,
.values-grid span {
  color: var(--muted);
}

.property-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.property-form .form-title,
.property-form .full-field,
.property-form button {
  grid-column: 1 / -1;
}

.form-title {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.form-title strong {
  color: var(--navy);
  font-size: 1.35rem;
}

.form-title span {
  color: var(--muted);
}

.property-form label {
  display: grid;
  gap: 7px;
  color: #61707f;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.property-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.property-card > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.property-card a:not(.btn) {
  margin-top: auto;
  color: var(--navy);
  font-weight: 900;
}

.link-button {
  margin-top: auto;
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
}

.link-button:hover {
  color: var(--blue);
}

.section-note {
  margin-top: 24px;
  padding: 18px 22px;
  color: #42515d;
  background: #f8f5ee;
  border: 1px solid rgba(184, 135, 52, 0.28);
  border-radius: var(--radius);
}

.section-note strong {
  color: var(--navy);
}

.property-card span,
.course-card span,
.advisory-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.property-visual {
  min-height: 170px;
  background:
    linear-gradient(135deg, rgba(7, 51, 74, 0.14), rgba(184, 135, 52, 0.22)),
    linear-gradient(45deg, #d9e1e5, #f7f5ef);
  position: relative;
  overflow: hidden;
}

.property-visual img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.25s ease;
}

.property-visual__placeholder {
  display: grid;
  min-height: 190px;
  place-items: center;
  color: rgba(7, 51, 74, 0.45);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0;
}

.property-card:hover .property-visual img {
  transform: scale(1.035);
}

body.modal-open {
  overflow: hidden;
}

.property-modal[hidden] {
  display: none;
}

.property-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.property-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 25, 0.64);
  backdrop-filter: blur(3px);
}

.property-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  grid-template-columns: 1.08fr 0.92fr;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.property-modal__media {
  display: grid;
  min-height: 520px;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  background: #e8eef1;
}

.property-modal__media.is-single {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  padding: 0;
}

.property-modal__photo {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #dce5e9;
  border-radius: 10px;
}

.property-modal__photo:first-child {
  grid-row: 1 / span 3;
}

.property-modal__media.is-single .property-modal__photo:first-child {
  grid-row: auto;
  border-radius: 0;
}

.property-modal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-modal__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
}

.property-modal__content h3 {
  margin-bottom: 4px;
  font-size: 2rem;
}

.property-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  color: #fff;
  background: rgba(12, 32, 44, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.property-modal__meta {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.property-modal__value {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 8px 12px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-weight: 900;
}

.property-modal__quickfacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.property-modal__quickfacts div {
  padding: 10px;
  background: #eef4f6;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.property-modal__quickfacts span {
  display: block;
  color: #647381;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.property-modal__quickfacts strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 1rem;
}

.property-modal__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 8px 0 12px;
}

.property-modal__facts--full {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0;
}

.property-modal__facts div {
  padding: 11px 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.property-modal__facts dt {
  color: #647381;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.property-modal__facts dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.28;
}

.property-modal__detail {
  padding: 14px 16px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.property-modal__detail h4 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.92rem;
}

.property-modal__detail ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.property-modal__note {
  margin: 0;
  color: #687683;
  font-size: 0.88rem;
  line-height: 1.5;
}

.property-modal__cta {
  align-self: flex-start;
}

.visual-2 {
  background:
    linear-gradient(135deg, rgba(8, 45, 66, 0.2), rgba(255, 255, 255, 0.18)),
    #cbd6dc;
}

.visual-3 {
  background:
    linear-gradient(135deg, rgba(200, 148, 50, 0.35), rgba(255, 255, 255, 0.2)),
    #dfe6e9;
}

.visual-4 {
  background:
    linear-gradient(135deg, rgba(7, 51, 74, 0.2), rgba(184, 135, 52, 0.16)),
    #d5dde1;
}

.visual-5 {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(7, 51, 74, 0.22)),
    #e1e6e7;
}

.visual-6 {
  background:
    linear-gradient(135deg, rgba(7, 51, 74, 0.18), rgba(184, 135, 52, 0.2)),
    #dbe4e7;
}

.cta-property-card {
  background: linear-gradient(135deg, #17242e, #07334a);
  color: #fff;
}

.cta-property-card h3,
.cta-property-card p,
.cta-property-card span {
  color: #fff;
}

.cta-property-card .btn {
  margin-top: auto;
}

.dark-section {
  background: linear-gradient(135deg, #17242e, #07334a 55%, #07506a);
  color: #fff;
}

.dark-section h2,
.dark-section p {
  color: #fff;
}

.remates-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

.radar-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.radar-card img {
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: #fff;
}

.course-card {
  display: flex;
  min-height: 268px;
  flex-direction: column;
  padding: 20px;
}

.course-card h3 {
  min-height: 2.8em;
  font-size: 1.3rem;
}

.course-card > p {
  min-height: 2.85em;
}

.course-card.featured {
  border-top: 5px solid var(--gold);
}

.course-card strong {
  margin-top: auto;
  padding-top: 24px;
  color: var(--ink);
  font-size: 1.16rem;
}

.course-card details {
  margin-top: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.course-card summary {
  cursor: pointer;
  padding: 10px 0;
  color: var(--navy);
  font-weight: 900;
}

.course-card ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--muted);
}

.course-card li + li {
  margin-top: 8px;
}

.card-actions {
  margin-top: 12px;
  padding-top: 4px;
}

.card-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 850;
}

.course-card.featured .card-actions a {
  background: var(--navy);
  color: #fff;
}

#cursos,
#propiedades,
#vende,
#remates,
#asesorias,
#nosotros,
#contacto {
  scroll-margin-top: 92px;
}

#cursos {
  padding-top: 18px;
}

#cursos .section-heading {
  margin-bottom: 18px;
}

.advisory-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 24px;
}

.advisory-card.highlighted {
  border-top: 5px solid var(--gold);
}

.advisory-card p {
  color: var(--muted);
}

.advisory-card details {
  margin-top: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advisory-card summary {
  cursor: pointer;
  padding: 14px 0;
  color: var(--navy);
  font-weight: 900;
}

.advisory-card ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--muted);
}

.advisory-card .btn {
  margin-top: 20px;
}

.secondary-card {
  color: var(--navy);
  border: 1px solid var(--navy);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
}

#nosotros {
  padding-top: 34px;
  padding-bottom: 42px;
}

#nosotros h2 {
  max-width: 500px;
  font-size: clamp(1.75rem, 2.35vw, 2.45rem);
}

#nosotros p:not(.eyebrow) {
  max-width: 560px;
}

#nosotros .values-grid div {
  padding: 16px;
}

#nosotros .values-grid {
  gap: 14px;
}

.contact-section {
  background: #fff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #61707f;
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d3db;
  border-radius: 6px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  padding: 54px 0;
  background: #172733;
  color: #dce7ee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 32px;
}

.site-footer img {
  width: 148px;
  margin-bottom: 14px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
}

.site-footer strong,
.site-footer a {
  display: block;
}

.site-footer strong {
  margin-bottom: 12px;
  color: #fff;
}

.site-footer a {
  margin: 9px 0;
  color: #dce7ee;
}

/* WooCommerce: carrito y finalizar compra */
body.woocommerce-cart,
body.woocommerce-checkout {
  overflow-x: hidden;
  background: #f2f6f8;
}

body.woocommerce-cart .site,
body.woocommerce-checkout .site,
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-checkout {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
  padding: 0 0 56px;
}

body.woocommerce-cart h1,
body.woocommerce-checkout h1,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin: 0 auto 30px;
  padding-top: 34px;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 1;
}

body.woocommerce-cart .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 44px;
  align-items: start;
  width: 100%;
}

body.woocommerce-cart .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

body.woocommerce-cart .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
  position: sticky;
  top: 116px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  max-width: 100%;
}

body.woocommerce-cart table,
body.woocommerce-checkout table {
  width: 100%;
  table-layout: auto;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-checkout .woocommerce-checkout,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-checkout .cart-collaterals {
  width: 100%;
  max-width: 100%;
}

body.woocommerce-cart .cart_totals,
body.woocommerce-checkout .cart_totals {
  width: min(390px, 100%) !important;
  float: none !important;
  margin-left: auto;
}

body.woocommerce-cart .shop_table,
body.woocommerce-checkout .shop_table {
  overflow-wrap: anywhere;
}

body.woocommerce-cart .woocommerce img,
body.woocommerce-checkout .woocommerce img,
body.woocommerce-cart .wc-block-components-product-image img,
body.woocommerce-checkout .wc-block-components-product-image img {
  max-width: 96px;
  height: auto;
}

body.woocommerce-cart .wp-block-button__link,
body.woocommerce-checkout .wp-block-button__link,
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-cart .checkout-button,
body.woocommerce-checkout #place_order {
  min-height: 52px;
  border-radius: var(--radius);
  background: var(--navy) !important;
  color: #fff !important;
  font-weight: 850;
  text-decoration: none;
}

body.woocommerce-cart .return-to-shop,
body.woocommerce-checkout .return-to-shop {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .header-inner {
    min-height: 78px;
  }

  .brand {
    width: 62px;
    height: 62px;
  }

  .brand img {
    width: 62px;
    height: 62px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: #172733;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
  }

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

  .main-nav a {
    padding: 13px 10px;
  }

  .hero-grid,
  .section-heading.split,
  .two-col,
  .remates-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .course-grid,
  .property-grid,
  .advisory-grid,
  .property-form,
  .steps-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .property-modal__media {
    min-height: 360px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 140px;
  }

  .property-modal__photo:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .property-modal__quickfacts,
  .property-modal__facts,
  .property-modal__facts--full {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-modal__media.is-single {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .section-pad {
    padding: 46px 0;
  }

  #nosotros {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .hero {
    padding: 42px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.7rem);
  }

  body.woocommerce-cart .site,
  body.woocommerce-checkout .site,
  body.woocommerce-cart .site-main,
  body.woocommerce-checkout .site-main,
  body.woocommerce-cart main,
  body.woocommerce-checkout main,
  body.woocommerce-cart .entry-content,
  body.woocommerce-checkout .entry-content,
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-cart h1,
  body.woocommerce-checkout h1,
  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title {
    width: min(100% - 32px, var(--max));
  }

  body.woocommerce-cart .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.woocommerce-cart .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-components-sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .hero-actions,
  .inline-actions,
  .card-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .course-card {
    min-height: auto;
  }

  .property-modal {
    padding: 12px;
  }

  .property-modal__content {
    padding: 22px;
  }

  .property-modal__content h3 {
    font-size: 1.55rem;
  }

  .property-modal__media {
    min-height: 280px;
    grid-template-rows: 170px 100px;
  }

  .property-modal__quickfacts,
  .property-modal__facts,
  .property-modal__facts--full {
    grid-template-columns: 1fr;
  }

  body.woocommerce-cart .site,
  body.woocommerce-checkout .site,
  body.woocommerce-cart .site-main,
  body.woocommerce-checkout .site-main,
  body.woocommerce-cart main,
  body.woocommerce-checkout main,
  body.woocommerce-cart .entry-content,
  body.woocommerce-checkout .entry-content,
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-cart h1,
  body.woocommerce-checkout h1,
  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title {
    width: min(100% - 24px, var(--max));
  }

  body.woocommerce-cart h1,
  body.woocommerce-checkout h1,
  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title {
    font-size: clamp(2.2rem, 13vw, 3.2rem);
  }
}


