:root {
  --brand: #5f8f63;
  --brand-dark: #294d3b;
  --brand-deep: #18372b;
  --brand-soft: #eaf3eb;
  --accent: #d7a96b;
  --accent-soft: #f8efe2;
  --ink: #17211c;
  --muted: #66736c;
  --surface: #ffffff;
  --surface-alt: #f6f8f6;
  --line: #dfe7e1;
  --shadow-sm: 0 8px 24px rgba(23, 33, 28, 0.08);
  --shadow-md: 0 18px 50px rgba(23, 33, 28, 0.12);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  display: block !important;
  margin: 0;
  background: var(--surface-alt);
  color: var(--ink);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 0%, rgba(95, 143, 99, 0.14), transparent 32%),
    radial-gradient(circle at 90% 14%, rgba(215, 169, 107, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfcfb 0%, #f3f7f4 100%);
}

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

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

a:hover {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--brand-deep);
  color: #fff;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

#cuerpo {
  width: min(100%, 1440px);
  min-height: 100vh;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.top-info {
  height: auto;
  margin: 0;
  padding: 9px 20px;
  border: 0;
  border-radius: 0;
  background: var(--brand-deep);
  color: #fff;
  font-size: 14px;
}

.topbar-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.9);
}

.topbar-link:hover {
  color: #fff;
}

.topbar-link i {
  color: #dbeade;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible;
  background: rgba(24, 55, 43, 0.96);
  box-shadow: 0 8px 30px rgba(14, 31, 24, .16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  width: min(100%, var(--content));
  min-height: 86px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.brand:hover {
  background: transparent !important;
}

.normal_logo {
  position: static !important;
  width: 156px;
  height: 73px;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
}

.items {
  position: static !important;
  float: none !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  background: transparent !important;
  border-radius: 0 !important;
  transform: none !important;
}

.topnav .items a {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255,255,255,.86);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.topnav .items a:hover,
.topnav .items a.active {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}

.topnav .items a.active {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.topnav .items .nav-cta {
  margin-left: 8px;
  background: var(--accent);
  color: var(--brand-deep);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(215, 169, 107, .22);
}

.topnav .items .nav-cta:hover {
  background: #e2b980;
  color: var(--brand-deep);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}

.menu-toggle i::before {
  color: #fff;
  margin: 0;
}

.site-content {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.review-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 18px auto;
  padding: 8px 14px;
  border: 1px solid #e6d3a6;
  border-radius: 999px;
  background: #fff8e8;
  color: #6e541c;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.review-prompt:hover {
  transform: translateY(-1px);
  background: #fff4d9;
}

.hero {
  position: relative;
  min-height: 540px;
  margin-bottom: 74px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-deep);
  box-shadow: var(--shadow-md);
}

.hero .slider {
  height: 100%;
  margin: 0;
}

.hero .sy-box,
.hero .sy-slides-wrap,
.hero .sy-slides-crop,
.hero .sy-list,
.hero .sy-slide,
.hero .sy-slide > a {
  height: 540px !important;
}

.hero .sy-slides-crop {
  border-radius: 0;
}

.hero .sy-slide img,
.hero .slider > ul > li img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 43, 32, .92) 0%, rgba(16, 43, 32, .73) 40%, rgba(16, 43, 32, .18) 72%, rgba(16, 43, 32, .08) 100%);
}

.hero-copy {
  position: absolute;
  z-index: 5;
  left: clamp(26px, 5vw, 66px);
  top: 50%;
  width: min(560px, calc(100% - 52px));
  transform: translateY(-50%);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 18px;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  text-align: left;
  letter-spacing: -.045em;
}

.hero-copy p {
  max-width: 530px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-primary,
.button-secondary,
.botons,
input[type=button],
input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button-primary,
.botons,
input[type=button],
input[type=submit] {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(95, 143, 99, .22);
}

.hero .button-primary {
  background: var(--accent);
  color: var(--brand-deep);
  box-shadow: 0 10px 24px rgba(215, 169, 107, .24);
}

.button-secondary {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  backdrop-filter: blur(8px);
}

.button-primary:hover,
.button-secondary:hover,
.botons:hover,
input[type=button]:hover,
input[type=submit]:hover {
  transform: translateY(-2px);
}

.section {
  margin: 78px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-header .eyebrow {
  justify-content: center;
  margin-bottom: 10px;
}

.section-header h2,
.arriba > h2,
.legal-text-wrap > h2 {
  margin: 0;
  color: var(--brand-deep);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.035em;
}

.section-header p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-header h1,
.arriba > h1 {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.section-header hr,
.arriba > hr {
  display: none;
}

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

.service-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  background: var(--brand-deep);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 48, 36, .08) 15%, rgba(20, 48, 36, .93) 100%);
}

.service-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 25px;
}

.service-card p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: #fff;
  font-weight: 700;
}

.news-wrap,
.ccontainer {
  width: 100%;
}

.news-surface,
.panel,
.legal-text-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
}

.news-surface {
  padding: 24px;
}

.quote-banner,
.centro {
  position: relative;
  float: none;
  width: 100%;
  min-height: 310px;
  margin: 78px 0;
  padding: clamp(34px, 6vw, 72px);
  display: flex;
  align-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(19, 54, 40, .94), rgba(19, 54, 40, .62)), url(../img/floral.jpg) center / cover no-repeat;
  background-attachment: scroll;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.quote-banner::before,
.centro::before {
  content: '“';
  position: absolute;
  right: 5%;
  top: -48px;
  color: rgba(255,255,255,.1);
  font-family: Georgia, serif;
  font-size: 260px;
  line-height: 1;
}

.centro-datos {
  position: relative;
  max-width: 820px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.tag-line-fisio {
  display: block;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.025em;
  text-shadow: none;
}

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

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

.product {
  width: 100%;
  margin: 0;
  padding: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.product-details {
  padding: 22px 24px 6px;
}

.product h4 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-deep) !important;
  font-size: 24px;
}

.product-thumb {
  margin: 16px 24px 6px;
  border-radius: 16px;
  overflow: hidden;
}

img.imgproduct {
  width: 100%;
  height: 220px;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

span.price {
  width: auto;
  margin: 10px 24px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 15px;
}

.precio {
  color: var(--brand-dark);
  font-weight: 800;
}

.product small {
  display: block;
  margin: 16px 24px 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.brand-card {
  min-height: 170px;
  padding: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

img.imgmarcas {
  width: 134px;
  border: 0;
  border-radius: 14px;
}

.accordion {
  width: 100%;
  margin: 28px 0 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 14px;
  background: #fff;
  color: var(--brand-deep);
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(23, 33, 28, .06);
}

.accordion.gold {
  background: #fff8e8;
  border-color: #ead49f;
  border-left-color: var(--accent);
  color: #6e541c;
}

.panel {
  margin-bottom: 24px;
  padding: clamp(22px, 4vw, 38px);
  color: var(--ink);
}

.panel.left {
  text-align: left;
}

.panel p,
.panel li,
.legal-text p,
.legal-text li {
  color: #46534c;
}

.panel ul,
.legal-text ul {
  padding-left: 22px;
}

.panel li + li,
.legal-text li + li {
  margin-top: 7px;
}

img.imginfo {
  width: min(100%, 420px);
  max-height: 340px;
  margin: 0 auto 26px;
  display: block;
  border: 0;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.accesos {
  margin: 22px 0 34px;
}

select#busqueda,
input[type=text],
input[type=email],
input[type=number],
textarea,
select {
  width: min(100%, 520px);
  min-height: 50px;
  margin: 7px 0 18px;
  padding: 12px 15px;
  border: 1px solid #ccd8d0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

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

input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(95, 143, 99, .13);
}

.form {
  font-weight: 700;
}

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

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-alt);
}

.contact-card h3 {
  margin: 0 0 12px;
  color: var(--brand-deep);
  font-size: 22px;
}

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

.contact-list a {
  color: var(--brand-dark);
  font-weight: 700;
}

.aviso-legal {
  display: block;
  width: min(100%, 640px);
  margin: 4px 0 18px;
  padding: 14px 16px;
  border: 1px solid #d9e2dc;
  border-radius: 12px;
  background: #f7faf8;
  color: var(--muted);
  font-size: 14px;
}

.aviso-legal a {
  color: var(--brand-dark) !important;
}

.mapouter,
.gmap_canvas {
  height: 420px !important;
  border-radius: 18px;
  overflow: hidden;
}

.panel.nopading {
  padding: 8px;
}

.legal-text-wrap {
  padding: clamp(24px, 5vw, 54px);
}

.legal-text h3,
.legal-text h4,
.legal-text h5 {
  margin-top: 30px;
  color: var(--brand-deep);
}

#button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-deep);
  color: #fff;
  box-shadow: 0 10px 30px rgba(24,55,43,.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .25s ease;
}

#button.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#button i::before {
  margin: 0;
  color: #fff;
}

#loading {
  display: none !important;
}

.site-footer {
  margin-top: 26px;
  background: var(--brand-deep);
  color: rgba(255,255,255,.8);
}

.footer-main {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 54px 0 38px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 46px;
}

.footer-brand img {
  width: 180px;
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
}

.footer-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,.78);
}

.footer-links a:hover {
  color: #fff;
}

.social-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
}

.social-link img,
.face {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.copy {
  margin: 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 0;
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.68);
  font-size: 13px;
  font-weight: 400;
}

.copy a {
  color: rgba(255,255,255,.86);
}

/* Compatibilidad con contenido externo de noticias */
.post,
.post_content,
.news,
article {
  max-width: 100%;
}

.post img,
.post_content img,
.news img,
article img {
  max-width: 100%;
  border-radius: 14px;
}

@media (max-width: 980px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar-group:last-child {
    display: none;
  }

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

  .normal_logo {
    width: 138px;
    height: auto;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .items {
    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    top: calc(100% + 8px) !important;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px !important;
    background: rgba(24, 55, 43, .98) !important;
    box-shadow: var(--shadow-md);
  }

  .topnav.responsive .items {
    display: flex;
  }

  .topnav .items a {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 15px;
  }

  .topnav .items .nav-cta {
    margin: 4px 0 0;
  }

  .service-grid,
  .brands-grid,
  .column.pro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 700px) {
  .top-info {
    padding: 8px 14px;
  }

  .topbar-group {
    width: 100%;
    justify-content: center;
    gap: 8px 14px;
  }

  .topbar-link:nth-child(2) {
    display: none;
  }

  .site-content {
    width: min(calc(100% - 22px), var(--content));
    padding-top: 12px;
  }

  .review-prompt {
    margin-right: auto;
    margin-bottom: 12px;
  }

  .hero,
  .hero .sy-box,
  .hero .sy-slides-wrap,
  .hero .sy-slides-crop,
  .hero .sy-list,
  .hero .sy-slide,
  .hero .sy-slide > a,
  .hero .sy-slide img,
  .hero .slider > ul > li img {
    min-height: 550px;
    height: 550px !important;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(16,43,32,.28) 0%, rgba(16,43,32,.92) 65%, rgba(16,43,32,.98) 100%);
  }

  .hero-copy {
    left: 24px;
    right: 24px;
    top: auto;
    bottom: 34px;
    width: auto;
    transform: none;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .section {
    margin: 58px 0;
  }

  .service-grid,
  .pricing-grid,
  .column,
  .column.pro,
  .brands-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 300px;
  }

  .quote-banner,
  .centro {
    min-height: 340px;
    margin: 58px 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 42px;
  }

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

  span.price {
    margin-inline: 16px;
  }

  .product-details,
  .product small {
    margin-inline: 16px;
    padding-inline: 0;
  }

  .product-thumb {
    margin-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Neutraliza dimensiones heredadas en pantallas pequeñas */
#cuerpo {
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  display: block;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================
   Ajustes finales de navegación, logotipo y botones flotantes
   ========================================================== */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Neutraliza el fondo heredado que aparecía detrás del logotipo. */
.topnav .brand,
.topnav .brand:hover,
.topnav .brand:focus,
.topnav .brand:active {
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  -webkit-tap-highlight-color: transparent;
}

.topnav .brand .normal_logo {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .12));
}

/* Botón del menú dibujado en CSS para que quede siempre centrado. */
.menu-toggle {
  position: relative;
  z-index: 1003;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.menu-toggle-icon {
  width: 23px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle-icon span {
  width: 100%;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: #fff;
  transform-origin: center;
  transition: transform .22s ease, opacity .18s ease;
}

.topnav.responsive .menu-toggle-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.topnav.responsive .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.topnav.responsive .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-backdrop {
  display: none;
}

/* Botones flotantes: reseñas y volver arriba. */
.review-fab,
#button {
  right: max(18px, env(safe-area-inset-right));
  width: 52px;
  height: 52px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  line-height: 1;
  text-align: center;
}

.review-fab {
  position: fixed;
  bottom: calc(82px + env(safe-area-inset-bottom));
  z-index: 302;
  background: var(--accent);
  color: var(--brand-deep);
  box-shadow: 0 12px 32px rgba(90, 62, 25, .28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.review-fab:hover,
.review-fab:focus-visible {
  transform: translateY(-3px);
  background: #e4b978;
  color: var(--brand-deep);
  box-shadow: 0 16px 36px rgba(90, 62, 25, .34);
}

.review-fab::before {
  content: 'Escribir reseña';
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  width: max-content;
  max-width: 180px;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  visibility: hidden;
  transform: translate(5px, -50%);
  transition: .18s ease;
  pointer-events: none;
}

.review-fab:hover::before,
.review-fab:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.review-fab i,
#button i {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 21px;
  line-height: 1;
}

.review-fab i::before,
#button i::before {
  width: auto;
  margin: 0 !important;
  line-height: 1;
}

#button {
  bottom: calc(18px + env(safe-area-inset-bottom));
}

/* El icono de Facebook se centra con independencia de estilos heredados. */
.social-link {
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  line-height: 0;
}

.social-link img.face,
.social-link img {
  position: static !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 980px) {
  html {
    --mobile-menu-top: 86px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .topnav,
  .topnav.responsive {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    overflow: visible !important;
  }

  .nav-inner {
    position: relative;
  }

  .topnav .brand,
  .topnav .brand:hover,
  .topnav .brand:focus,
  .topnav .brand:active {
    display: inline-flex !important;
    background: transparent !important;
  }

  .menu-backdrop {
    position: absolute;
    inset: 100% 0 auto;
    z-index: 1001;
    width: 100%;
    height: calc(100dvh - 100%);
    margin: 0;
    padding: 0;
    display: block;
    border: 0;
    border-radius: 0;
    background: rgba(9, 24, 18, .42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: default;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity .18s ease, visibility .18s ease;
  }

  .topnav.responsive .menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .items,
  .topnav.responsive .items {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 1002;
    width: min(340px, calc(100vw - 24px));
    max-height: calc(100dvh - 96px);
    margin: 0 !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 18px !important;
    background: rgba(24, 55, 43, .985) !important;
    box-shadow: 0 24px 64px rgba(7, 25, 17, .35) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.985) !important;
    transform-origin: top right;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }

  .topnav.responsive .items {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1) !important;
  }

  .topnav .items a,
  .topnav.responsive .items a {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: rgba(255,255,255,.9) !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  .topnav .items a i {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
  }

  .topnav .items a i::before {
    margin: 0 !important;
  }

  .topnav .items a:hover,
  .topnav .items a:focus-visible,
  .topnav .items a.active {
    border-color: rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.1) !important;
    color: #fff !important;
  }

  .topnav .items .nav-cta,
  .topnav.responsive .items .nav-cta {
    margin-top: 5px !important;
    border-color: transparent !important;
    background: var(--accent) !important;
    color: var(--brand-deep) !important;
  }

  .topnav .items .nav-cta i {
    background: rgba(24,55,43,.1);
  }
}

@media (max-width: 700px) {
  .nav-inner {
    min-height: 76px;
    padding: 8px 14px;
  }

  .normal_logo {
    width: 132px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .review-fab,
  #button {
    right: max(16px, env(safe-area-inset-right));
    width: 50px;
    height: 50px;
  }

  .review-fab {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  #button {
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .review-fab::before {
    display: none;
  }

  .footer-main > div {
    text-align: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-links {
    justify-items: center;
  }

  .social-link {
    justify-self: center;
    margin: 4px auto 0 !important;
  }
}
