:root {
  --green-950: #055126;
  --green-900: #087535;
  --green-800: #0a823c;
  --green-100: #e6f2eb;
  --red-700: #b50d11;
  --red-600: #c31318;
  --black: #141414;
  --gray-700: #4f4f4f;
  --gray-500: #777;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f2;
  --white: #fff;
  --whatsapp-green: #25d366;
  --shadow: 0 18px 45px rgba(16, 44, 32, 0.12);
  --radius: 18px;
  --max-width: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--red-700);
  outline-offset: 3px;
}

/*
  El sprite de iconos no debe ocupar espacio. No alcanza con el atributo
  [hidden]: la regla del navegador que lo oculta está declarada en el
  namespace HTML y <svg> vive en el namespace SVG, así que no le aplica y
  el elemento renderiza a su tamaño intrínseco por defecto (300x150 px).
*/
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--gray-100);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--black);
  line-height: 1.1;
}

h1 {
  font-family: "Handlee", cursive;
  font-size: clamp(3rem, 7vw, 5.7rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.65rem;
}

p {
  color: var(--gray-700);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading p {
  font-size: 1.05rem;
}

/* Links que cruzan de una sección a otra: se leen como link, sin negrita. */
.section-heading p a {
  color: var(--green-900);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.section-heading p a:hover,
.section-heading p a:focus-visible {
  color: var(--red-700);
  text-decoration-thickness: 2px;
}

.topbar {
  padding: 8px 0;
  background: var(--green-950);
  color: var(--white);
  font-size: 0.88rem;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.topbar a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(16, 44, 32, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy strong {
  display: block;
  color: var(--black);
  font-family: "Handlee", cursive;
  font-size: 1.22rem;
  line-height: 1;
}

.brand-copy span {
  color: var(--gray-500);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  font-size: 0.94rem;
  font-weight: 600;
}

/*
  El rojo de hover es para los enlaces de texto del menu, que van sobre blanco.
  "Reservar turno" es un boton con fondo verde oscuro: ahi el rojo queda en
  1.37:1 y el texto desaparece. Por eso se excluyen los .btn y se les da abajo
  su propia inversion.
*/
.nav-links a:not(.btn) {
  position: relative;
  display: inline-block;
  transition: color 0.25s ease;
}

/*
  El subrayado se dibuja por fuera de la caja (bottom negativo) para que al
  aparecer no altere la altura del enlace ni desplace el texto del menu.
*/
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--red-700);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn):focus-visible {
  color: var(--red-700);
}

/*
  Entra desde la izquierda y sale hacia la derecha: el origen cambia solo en
  el estado hover, asi el trazo acompaña al mouse en vez de replegarse.
*/
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-links .btn-dark:hover,
.nav-links .btn-dark:focus-visible {
  border-color: var(--green-950);
  background: var(--white);
  color: var(--green-950);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--green-950);
  font-size: 1.75rem;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(245, 239, 227, 1) 0, rgba(245, 239, 227, 0.96) 96px, rgba(245, 239, 227, 0) 260px),
    linear-gradient(90deg, rgba(245, 239, 227, 0.9) 0%, rgba(245, 239, 227, 0.68) 46%, rgba(245, 239, 227, 0.32) 100%),
    url("esquina-escribania.webp") center/cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 110px 0;
}

.hero .eyebrow {
  color: var(--red-700);
}

.hero h1,
.hero p {
  color: var(--black);
}

.hero-brand {
  width: 116px;
  margin-bottom: 18px;
}

.hero-brand img {
  width: 100%;
  height: auto;
}

.hero-name {
  display: block;
}

/*
  Al vivir dentro del h1 hereda su tipografia y su interlineado, asi que
  ambos se vuelven a declarar. El tamaño va en rem, no en em: no lo afecta
  el clamp() del h1.
*/
.hero-profession {
  display: block;
  margin-top: 8px;
  color: var(--black);
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero p {
  max-width: 670px;
  margin: 24px 0 32px;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

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

.btn-primary {
  background: var(--red-700);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-600);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-dark {
  background: var(--green-950);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--green-950);
}

.btn-outline {
  border-color: var(--green-900);
  color: var(--green-900);
  background: transparent;
}

/*
  Sobre el hero claro (capa crema) los botones secundarios blancos no se ven;
  se les da contorno verde. El otro .btn-secondary (tarjeta verde de
  contacto) sigue en blanco.
*/
.hero .btn-secondary {
  border-color: var(--green-900);
  background: rgba(255, 255, 255, 0.45);
  color: var(--green-900);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.7);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

@media (min-width: 961px) {
  .intro-grid {
    align-items: end;
  }
}

.intro-image {
  position: relative;
}

.intro-image img {
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.experience-card {
  position: absolute;
  right: -22px;
  bottom: 28px;
  max-width: 220px;
  padding: 24px;
  border-radius: 14px;
  background: var(--green-950);
  color: var(--white);
  box-shadow: var(--shadow);
}

.experience-card strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.experience-card span {
  font-size: 0.9rem;
}

.intro-copy {
  padding: 42px 42px 40px;
  border: 1px solid rgba(16, 44, 32, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(16, 44, 32, 0.1);
}

.intro-copy h2 {
  margin-bottom: 22px;
}

.intro-copy p {
  line-height: 1.75;
}

.intro-copy p + p {
  margin-top: 16px;
}

/* La separacion que antes daba el margen de la lista de credenciales. */
.intro-copy .btn {
  margin-top: 28px;
}

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

.service-card {
  padding: 30px 32px 32px;
  border: 1px solid rgba(16, 44, 32, 0.1);
  border-left: 4px solid var(--green-900);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 44, 32, 0.08);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 61, 43, 0.28);
  border-left-color: var(--green-900);
  box-shadow: 0 18px 42px rgba(16, 44, 32, 0.12);
}

.service-card-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.service-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-900);
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.service-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.service-list {
  display: grid;
  gap: 13px;
  list-style: none;
}

.service-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--gray-700);
  line-height: 1.45;
}

.service-list svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--green-800);
}

.service-icon svg,
.service-list svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-list a {
  transition: color 0.2s ease;
}

.service-list a:hover {
  color: var(--green-900);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-cta {
  display: inline-block; /* evita que el subrayado del link lo atraviese */
  margin-left: 8px;
  white-space: nowrap;
  color: var(--red-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Con mouse aparece al pasar por encima; en pantallas táctiles queda visible. */
@media (hover: hover) {
  .service-cta {
    opacity: 0;
    transform: translateX(-4px);
  }

  .service-list a:hover .service-cta,
  .service-list a:focus-visible .service-cta {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-cta {
    transition: none;
    transform: none;
  }
}

.booking-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
  padding: 38px 40px;
  border: 1px solid rgba(16, 44, 32, 0.1);
  border-left: 5px solid var(--green-900);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(16, 44, 32, 0.09);
}

.booking-overview-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.booking-overview-copy p {
  max-width: 520px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.booking-overview-copy .booking-note {
  margin-top: 18px;
  margin-bottom: 0;
  padding-left: 14px;
  border-left: 3px solid var(--green-100);
  color: var(--gray-700);
  font-size: 0.92rem;
  line-height: 1.6;
}

.booking-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.booking-facts li {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 18px;
  border-radius: 14px;
  background: var(--green-100);
}

.booking-fact-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-900);
}

.booking-fact-icon svg {
  width: 21px;
  height: 21px;
}

.booking-facts strong,
.booking-facts small {
  display: block;
}

.booking-facts strong {
  color: var(--black);
  line-height: 1.25;
}

.booking-facts small {
  margin-top: 4px;
  color: var(--gray-700);
  font-size: 0.8rem;
  line-height: 1.4;
}

body.modal-open {
  overflow: hidden;
}

.booking-dialog {
  width: min(92vw, 760px);
  max-height: min(90vh, 820px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(5, 38, 20, 0.28);
}

.booking-dialog::backdrop {
  background: rgba(5, 24, 13, 0.66);
  backdrop-filter: blur(3px);
}

.booking-dialog-panel {
  position: relative;
  padding: 38px;
}

.booking-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-700);
  transition: 0.2s ease;
}

.booking-dialog-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.booking-dialog-close:hover {
  border-color: var(--red-700);
  background: var(--white);
  color: var(--red-700);
  transform: rotate(90deg);
}

.booking-dialog-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.booking-dialog h2 {
  max-width: calc(100% - 48px);
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.booking-dialog-service {
  margin-bottom: 28px;
}

.booking-dialog-service strong {
  color: var(--green-900);
}

.booking-channel-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.booking-channel {
  min-height: 150px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(16, 44, 32, 0.1);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.booking-channel:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(16, 44, 32, 0.2);
}

/* Canal todavia no disponible: se ve, pero no invita a apretarlo. */
.booking-channel:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.62;
}

.booking-channel-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gray-200);
  color: var(--gray-700);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Al presionar, el boton se hunde y la sombra se achica. */
.booking-channel:active:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 44, 32, 0.16);
}

.booking-channel-whatsapp {
  border-color: var(--green-950);
  background: var(--green-950);
  color: var(--white);
}

.booking-channel-email {
  background: var(--white);
  color: var(--green-950);
}

.booking-channel-email:hover:not(:disabled) {
  border-color: var(--green-900);
  background: var(--green-100);
}

.booking-channel-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.booking-channel-email .booking-channel-icon {
  background: var(--green-100);
}

.booking-channel-icon svg {
  width: 23px;
  height: 23px;
}

.booking-channel strong,
.booking-channel small {
  display: block;
}

.booking-channel strong {
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.booking-channel small {
  color: inherit;
  font-size: 0.84rem;
  line-height: 1.5;
  opacity: 0.78;
}

.booking-dialog-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.86rem;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 13px 14px;
  background: var(--white);
  color: var(--black);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-800);
  box-shadow: 0 0 0 3px rgba(32, 82, 56, 0.12);
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-notice {
  padding: 14px 16px;
  border-left: 4px solid var(--red-700);
  background: #fdf1f2;
  color: #621013;
  font-size: 0.88rem;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox-row input {
  width: auto;
  margin-top: 5px;
}

.checkbox-row label {
  font-weight: 500;
  color: var(--gray-700);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions .btn {
  flex: 1 1 210px;
}

.noscript-notice {
  display: block;
  margin-bottom: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--red-700);
  border-radius: 6px;
  background: #fdf1f2;
  color: #621013;
}

.noscript-notice a {
  font-weight: 700;
  text-decoration: underline;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.location-card {
  padding: 34px;
  border-left: 5px solid var(--red-700);
  border-radius: var(--radius);
  background: var(--green-950);
  color: var(--white);
}

.location-card h2,
.location-card p,
.location-card .eyebrow {
  color: var(--white);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
  list-style: none;
}

.contact-list strong {
  display: block;
  margin-bottom: 3px;
  color: #f2c6c7;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.map-frame {
  min-height: 500px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

details {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--black);
  font-weight: 700;
}

details p {
  padding-top: 12px;
}

.site-footer {
  padding: 38px 0 18px;
  background: #032f18;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(180px, 0.65fr) minmax(280px, 1fr);
  gap: 42px;
  align-items: start;
  padding-bottom: 26px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.25rem;
}

.footer-profession {
  margin-top: -8px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer-brand > p:last-child {
  max-width: 500px;
  line-height: 1.6;
}

.footer-detail-list {
  display: grid;
  gap: 12px;
  list-style: none;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-detail-list span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

/* El glifo hereda el color del contenedor mediante fill: currentColor. */
.icon-whatsapp,
.icon-email {
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 auto;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.23);
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.07);
}

.floating-whatsapp .icon-whatsapp {
  width: 32px;
  height: 32px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1200;
  max-width: min(92vw, 460px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 960px) {
  .intro-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .booking-overview {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/*
  El menu horizontal necesita 680px (marca + enlaces + separacion) y entra
  holgado hasta los 760px de viewport. Recien por debajo se colapsa en el
  desplegable, asi las pantallas medianas conservan los enlaces a la vista.
*/
@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    padding: 22px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

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

  .menu-button {
    display: block;
  }
}

@media (max-width: 680px) {
  .topbar-content,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-content span:last-child {
    display: none;
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    min-height: 650px;
    background:
      linear-gradient(to top, rgba(245, 239, 227, 1) 0, rgba(245, 239, 227, 0.96) 96px, rgba(245, 239, 227, 0) 260px),
      linear-gradient(rgba(245, 239, 227, 0.84), rgba(245, 239, 227, 0.8)),
      url("esquina-escribania.webp") center/cover;
  }

  .section {
    padding: 68px 0;
  }

  .intro-copy {
    padding: 30px 26px 32px;
  }

  .booking-overview {
    padding: 28px 24px;
  }

  .booking-facts,
  .booking-channel-options {
    grid-template-columns: 1fr;
  }

  .booking-dialog {
    width: calc(100% - 24px);
    max-height: 92vh;
  }

  .booking-dialog-panel {
    padding: 30px 20px 24px;
  }

  .booking-channel {
    min-height: auto;
    padding: 20px;
  }

  .services-grid,
  .booking-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .field-full {
    grid-column: auto;
  }

  .experience-card {
    right: 12px;
  }

  .location-card {
    padding: 28px;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .btn:hover,
  .service-card:hover,
  .floating-whatsapp:hover,
  .booking-channel:hover,
  .booking-channel:active,
  .booking-dialog-close:hover {
    transform: none;
  }
}
