:root {
  --mr-primary: #026890;
  --mr-primary-dark: #014f6e;
  --mr-ink: #163746;
  --mr-muted: #587383;
  --mr-sand: #f6f0e7;
  --mr-white: #fffdf9;
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  color: var(--mr-ink);
  background: var(--mr-white);
  padding-top: 86px;
  top: 0 !important;
}

.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
.skiptranslate iframe,
#goog-gt-tt,
.goog-tooltip,
.goog-text-highlight {
  display: none !important;
}
.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

h1, h2, h3, .mr-brand, .df-menu-brand {
  font-family: 'Cormorant Garamond', serif;
}

.mr-header {
  background: rgba(246, 240, 231, 0.95);
  border-bottom: 0;
  backdrop-filter: blur(10px);
}
.mr-header .container { min-height: 78px; }
.mr-brand {
  display: inline-flex;
  align-items: center;
  color: var(--mr-ink);
  text-decoration: none;
}
.mr-brand-logo { height: 82px; width: auto; object-fit: contain; }

.mr-nav-link {
  color: var(--mr-primary);
  text-decoration: none;
  font-weight: 600;
  padding: .35rem .82rem;
  border-radius: 999px;
}
.mr-nav-link:hover,
.mr-nav-link:focus-visible {
  background: rgba(2, 104, 144, 0.12);
  color: var(--mr-primary-dark);
  text-decoration: none;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-mr-primary {
  --bs-btn-bg: var(--mr-primary);
  --bs-btn-border-color: var(--mr-primary);
  --bs-btn-hover-bg: var(--mr-primary-dark);
  --bs-btn-hover-border-color: var(--mr-primary-dark);
  --bs-btn-color: #fff;
  --bs-btn-disabled-bg: var(--mr-primary);
  --bs-btn-disabled-border-color: var(--mr-primary);
  --bs-btn-disabled-color: #fff;
}
.btn-mr-primary,
.btn-mr-primary:hover,
.btn-mr-primary:focus-visible { color: #fff !important; }

.df-menu-btn {
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}
.df-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--mr-primary);
  display: block;
  position: absolute;
  left: 9px;
  transform-origin: center;
  transition: transform .28s ease, opacity .2s ease, top .28s ease;
}
.df-menu-btn span:nth-child(1) { top: 13px; }
.df-menu-btn span:nth-child(2) { top: 20px; }
.df-menu-btn span:nth-child(3) { top: 27px; }
.df-menu-btn.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.df-menu-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.7); }
.df-menu-btn.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.df-mobile-menu {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 1040;
  transition: opacity .24s ease;
}
.df-mobile-menu.open { opacity: 1; pointer-events: auto; }
.df-menu-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 15, 10, 0.45);
  opacity: 0;
  transition: opacity .28s ease;
}
.df-menu-panel {
  position: relative;
  margin-left: auto;
  width: min(100%, 340px);
  height: 100%;
  background: var(--mr-sand);
  padding: 5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transform: translateX(26px);
  opacity: .92;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
}
.df-mobile-menu.open .df-menu-overlay { opacity: 1; }
.df-mobile-menu.open .df-menu-panel { transform: translateX(0); opacity: 1; }
.df-menu-brand-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.df-menu-brand-logo { height: 62px; width: auto; object-fit: contain; }
.df-mobile-nav { display: flex; flex-direction: column; gap: 1.05rem; text-align: center; }
.df-mobile-nav .mr-nav-link {
  display: inline-flex;
  justify-content: center;
  font-size: 1.45rem;
  font-family: 'Cormorant Garamond', serif;
}
.df-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid #ddd;
  background: var(--mr-sand);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-weight: 700;
  color: var(--mr-primary);
  line-height: 1;
}

.mr-hero {
  min-height: 82vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.mr-hero-carousel,
.mr-hero-carousel .carousel-inner,
.mr-hero-carousel .carousel-item {
  position: absolute;
  inset: 0;
  height: 100%;
}
.mr-hero-slide {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}
.mr-hero-bg-1 { background-image: url('../img/hero-home/1.jpg'); background-position: 50% 44%; }
.mr-hero-bg-2 { background-image: url('../img/hero-home/2.jpg'); background-position: 50% 48%; }
.mr-hero-bg-3 { background-image: url('../img/hero-home/3.jpg'); background-position: 50% 52%; }

.mr-hero-carousel .carousel-control-prev,
.mr-hero-carousel .carousel-control-next {
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .9;
  background: rgba(0, 0, 0, .25);
  border-radius: 999px;
}
.mr-hero-carousel .carousel-control-prev { left: 1rem; }
.mr-hero-carousel .carousel-control-next { right: 1rem; }

.mr-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(4, 24, 35, 0.44), rgba(4, 24, 35, 0.2));
  pointer-events: none;
  z-index: 2;
}

.mr-hero .container {
  position: relative;
  z-index: 3;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.mr-hero-content {
  position: relative;
  color: #fff;
  max-width: 760px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
}
.mr-hero-content h1 { font-size: clamp(2.1rem, 5.8vw, 4.1rem); line-height: 1.05; }
.mr-hero-content p { font-size: 1.08rem; max-width: 620px; }

.mr-kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  color: #bedbea;
  font-weight: 700;
}
.mr-kicker-dark { color: var(--mr-primary); }

.mr-section { padding: 4rem 0; position: relative; overflow: hidden; }

.mr-title { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
.mr-text { color: var(--mr-muted); }
.mr-rounded { border-radius: 26px; box-shadow: 0 18px 36px rgba(2, 104, 144, 0.18); }

.mr-beb-editorial {
  background:
    linear-gradient(180deg, rgba(246, 240, 231, 0) 0%, rgba(246, 240, 231, 0.86) 100%),
    radial-gradient(circle at top left, rgba(2, 104, 144, 0.08), transparent 32%);
}
.mr-beb-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
}
.mr-beb-editorial-media {
  position: relative;
  padding-right: clamp(0rem, 2vw, 1.25rem);
}
.mr-beb-editorial-media::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1.25rem;
  width: 34%;
  height: 28%;
  background: var(--mr-sand);
  z-index: 0;
}
.mr-beb-editorial-image {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 24px 50px rgba(24, 50, 63, 0.14);
}
.mr-beb-editorial-copy {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  width: min(100%, 44rem);
}
.mr-beb-editorial-copy::before {
  content: '';
  display: block;
  width: 72px;
  height: 1px;
  margin-bottom: 1.25rem;
  background: rgba(22, 55, 70, 0.22);
}
.mr-beb-editorial-title {
  width: 100%;
  max-width: none;
  margin-bottom: 1.5rem;
  font-size: clamp(1.45rem, 1.9vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -.015em;
}
.mr-beb-editorial-body {
  display: grid;
  gap: 1rem;
  max-width: none;
}
.mr-beb-editorial-body .mr-text {
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #2f4957;
}

@media (min-width: 992px) {
  .mr-beb-editorial-copy { width: min(100%, 48rem); }
  .mr-beb-editorial-title {
    font-size: 2.05rem;
    line-height: 1.08;
  }
}

.mr-cards {
  background: #fcfaf6;
}
.mr-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(2, 104, 144, 0.2);
  box-shadow: 0 16px 36px rgba(24, 50, 63, 0.12);
  background: #fff;
}
.mr-card-img { width: 100%; height: 260px; object-fit: cover; }
.mr-card-body { padding: 1.35rem; }
.mr-card-body h3 { margin-bottom: .65rem; font-size: 1.9rem; }
.mr-card-body p { margin-bottom: 1rem; }
.mr-card-editorial {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.mr-card-editorial .mr-card-img {
  height: 330px;
  border-radius: 0;
  box-shadow: 0 18px 34px rgba(24, 50, 63, 0.1);
}
.mr-card-editorial .mr-card-body {
  width: 100%;
  margin: 0;
  padding: 1.6rem 1.55rem 1.4rem;
  background: rgba(255, 253, 249, 0.98);
  border: 1.5px solid rgba(2, 104, 144, 0.16);
  box-shadow: 0 16px 30px rgba(24, 50, 63, 0.06);
}
.mr-card-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  font-weight: 700;
  color: var(--mr-primary);
}
.mr-card-editorial .mr-card-body h3 {
  margin-bottom: .9rem;
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1;
}
.mr-card-editorial .mr-card-body p {
  margin-bottom: 1.35rem;
  color: #38515f;
  line-height: 1.72;
}
.mr-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding-top: .2rem;
  color: var(--mr-ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .76rem;
}
.mr-card-cta::before {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
}
.mr-card-cta:hover,
.mr-card-cta:focus-visible {
  color: var(--mr-primary-dark);
  text-decoration: none;
}
.mr-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .42rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(2, 104, 144, .28);
  color: var(--mr-primary);
  text-decoration: none;
  font-weight: 600;
  background: rgba(2, 104, 144, .06);
}
.mr-link:hover,
.mr-link:focus-visible {
  color: var(--mr-primary-dark);
  background: rgba(2, 104, 144, .12);
  text-decoration: none;
}

.mr-preventivo {
  background: #f7f2ea;
  padding-top: 1.2rem;
  padding-bottom: 3rem;
}
#preventivo { scroll-margin-top: 108px; }
.mr-preventivo-box {
  position: relative;
  border-radius: 0;
  background: #fcfaf6;
  border: 1.5px solid rgba(2, 104, 144, 0.16);
  box-shadow: 0 22px 46px rgba(24, 50, 63, 0.08);
  padding: 2.1rem;
  overflow: hidden;
}
.mr-preventivo-intro {
  max-width: 22rem;
  padding-top: .4rem;
}
.mr-preventivo-intro .mr-title {
  font-size: clamp(2.1rem, 4.5vw, 3.45rem);
  line-height: .98;
  letter-spacing: -.02em;
  max-width: 11ch;
}
.mr-preventivo-intro .mr-text {
  color: #48616f;
  line-height: 1.8;
}
.mr-preventivo-form {
  padding: 1.4rem 1.4rem 1.2rem;
  border: 1.5px solid rgba(2, 104, 144, 0.16);
  background: #fffdf9;
}
.mr-preventivo .form-label {
  margin-bottom: .5rem;
  font-weight: 600;
  color: #294c5c;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}
.mr-input {
  height: 56px;
  border-radius: 0;
  border: 1.5px solid rgba(2, 104, 144, 0.16);
  background: rgba(255, 253, 249, 0.92);
  padding-left: 1rem;
  padding-right: 1rem;
  color: var(--mr-ink);
}
.mr-textarea {
  min-height: 140px;
  border-radius: 0;
  border: 1.5px solid rgba(2, 104, 144, 0.16);
  background: rgba(255, 253, 249, 0.92);
  resize: vertical;
  padding: .9rem 1rem;
  color: var(--mr-ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--mr-primary);
  box-shadow: 0 0 0 .2rem rgba(2, 104, 144, 0.16);
}
.mr-preventivo-submit {
  min-width: 220px;
  min-height: 52px;
  letter-spacing: .06em;
  position: relative;
  gap: .55rem;
}
.mr-preventivo-submit .mr-submit-text {
  display: inline-flex;
  align-items: center;
}
.mr-preventivo-submit .mr-submit-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mrSpin .75s linear infinite;
}
.mr-preventivo-submit.is-loading .mr-submit-spinner {
  display: inline-block;
}
.mr-preventivo-submit:disabled,
.mr-preventivo-submit.is-loading {
  opacity: 1;
  filter: none;
  background: var(--mr-primary) !important;
  border-color: var(--mr-primary) !important;
  color: #fff !important;
}
#quoteStatus {
  min-height: 44px;
  border: 1.5px solid transparent;
  padding: .6rem .85rem;
  font-size: .92rem;
  line-height: 1.35;
  color: #294c5c;
  background: rgba(255, 253, 249, .9);
}
#quoteStatus.is-muted {
  border-color: rgba(2, 104, 144, .26);
}
#quoteStatus.is-success {
  border-color: rgba(18, 125, 88, .34);
  color: #0f5c42;
  background: rgba(234, 249, 243, .92);
}
#quoteStatus.is-error {
  border-color: rgba(181, 41, 58, .34);
  color: #822334;
  background: rgba(253, 240, 242, .92);
}
@keyframes mrSpin {
  to { transform: rotate(360deg); }
}

.mr-footer {
  border-top: 1px solid rgba(2, 104, 144, .16);
  background: #f8f4ec;
}
.mr-footer a { color: var(--mr-ink); text-decoration: none; }
.mr-footer a:hover, .mr-footer a:focus-visible { text-decoration: underline; }
.mr-footer-title {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
  color: #5e7783;
}
.mr-footer-muted { color: #5e7783; }
.mr-footer-brand-head-logo { height: 83px; width: auto; object-fit: contain; }
.mr-footer-bottom {
  border-top: 1px solid rgba(2, 104, 144, 0.18);
  padding-top: .85rem;
  margin-top: .5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.mr-website-by { display: inline-flex; align-items: center; gap: .45rem; }
.mr-website-by-logo { height: 18px; width: auto; object-fit: contain; }
.mr-footer li a { min-height: 40px; display: inline-flex; align-items: center; }
.mr-contact-icon {
  width: 18px;
  height: 18px;
  margin-right: .45rem;
  color: var(--mr-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mr-contact-icon .bi { font-size: 1rem; line-height: 1; }
.mr-social-list { display: flex; gap: .6rem; }
.mr-social-list a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(2, 104, 144, .32);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mr-primary);
  background: var(--mr-sand);
  text-decoration: none !important;
}
.mr-social-list a:hover,
.mr-social-list a:focus-visible { text-decoration: none !important; }
.mr-social-list a i { font-size: 1.2rem; line-height: 1; color: var(--mr-primary) !important; }
.mr-social-list a svg { width: 18px; height: 18px; fill: var(--mr-primary); display: block; }
.mr-legal-links { display: inline-flex; gap: .9rem; flex-wrap: wrap; }

.df-lang-picker { position: relative; }
.df-lang-toggle {
  min-width: 86px;
  border: 1px solid rgba(24, 50, 63, .28);
  background: rgba(255, 255, 255, .85);
  color: var(--mr-ink);
  border-radius: 999px;
  font-size: .84rem;
  padding: .33rem .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.df-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 170px;
  border: 1px solid rgba(24, 50, 63, .2);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(16, 24, 40, .12);
  padding: .35rem;
  display: none;
  z-index: 20;
}
.df-lang-picker.open .df-lang-menu { display: block; }
.df-lang-option {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: .45rem .5rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  text-align: left;
  font-size: .9rem;
  color: var(--mr-ink);
}
.df-lang-option:hover,
.df-lang-option:focus-visible { background: rgba(2, 104, 144, .1); }
.df-lang-option svg,
.df-lang-current-flag svg {
  width: 20px;
  height: 14px;
  border: 1px solid rgba(24, 50, 63, .26);
  border-radius: 2px;
}
.df-lang-picker-mobile { width: 100%; max-width: 240px; margin: .25rem auto 0; }
.df-lang-picker-mobile .df-lang-toggle { width: 100%; justify-content: center; }
.df-lang-picker-mobile .df-lang-menu { width: 100%; top: auto; bottom: calc(100% + 10px); }

.df-back-to-top {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(16px);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(2, 104, 144, .45);
  background: rgba(22, 55, 70, .92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .22);
  opacity: 0;
  pointer-events: none;
  z-index: 1040;
}
.df-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.df-whatsapp-widget { position: fixed; left: 20px; bottom: 20px; z-index: 1045; }
.df-whatsapp-fab {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px rgba(22, 163, 74, .35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.df-whatsapp-fab svg { width: 30px; height: 30px; }
.df-whatsapp-panel {
  position: absolute;
  left: 0;
  bottom: 72px;
  width: min(320px, 88vw);
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #efe9e3;
  box-shadow: 0 16px 30px rgba(15, 23, 42, .24);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}
.df-whatsapp-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.df-whatsapp-head {
  background: #2f8a7b;
  color: #fff;
  padding: .75rem .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}
.df-whatsapp-head p { font-size: .95rem; }
.df-whatsapp-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
}
.df-whatsapp-body { padding: .9rem; }
.df-whatsapp-message {
  background: #fff;
  border-radius: 12px;
  padding: .9rem .95rem;
  color: #4b4b4b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  border: 1px solid rgba(0, 0, 0, .05);
  font-size: .95rem;
}
.df-whatsapp-inputbar {
  margin-top: .9rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
.df-whatsapp-placeholder {
  flex: 1 1 auto;
  min-height: 40px;
  border-radius: 999px;
  background: #fff;
  color: #8a8a8a;
  display: inline-flex;
  align-items: center;
  padding: 0 .95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.df-whatsapp-send {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #2f8a7b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(47, 138, 123, .28);
}

.df-icon { width: 1.05em; height: 1.05em; fill: currentColor; display: inline-block; }
.df-whatsapp-fab .df-icon { width: 2rem; height: 2rem; }
.df-whatsapp-send .df-icon { width: 1rem; height: 1rem; transform: translateX(1px); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991.98px) {
  #preventivo { scroll-margin-top: 96px; }
  body { padding-top: 80px; }
  .mr-brand-logo { height: 54px; }
  .mr-header .container { min-height: 72px; }
  .mr-section { padding: 3.2rem 0; }
  .mr-beb-editorial-grid { grid-template-columns: 1fr; }
  .mr-beb-editorial-media {
    order: 2;
    padding-right: 0;
  }
  .mr-beb-editorial-copy { order: 1; }
  .mr-beb-editorial-title { max-width: 100%; }
  .mr-beb-editorial-image { min-height: 440px; }
  .mr-card-img { height: 230px; }
  .mr-card-editorial .mr-card-img { height: 280px; }
  .mr-card-editorial .mr-card-body {
    width: 100%;
    margin-top: 0;
    padding: 1.2rem 1.2rem 1.1rem;
  }
  .mr-preventivo-box { padding: 1.4rem; }
  .mr-preventivo-form { padding: 1.1rem; }
  .mr-preventivo { padding-top: 1rem; padding-bottom: 2.5rem; }
  .mr-footer-bottom { flex-direction: column; align-items: flex-start; }
  .mr-footer-brand-head-logo { height: 74px; }
  .mr-hero { min-height: 72vh; }
  .mr-hero-carousel .carousel-control-prev,
  .mr-hero-carousel .carousel-control-next {
    width: 46px;
    height: 46px;
  }
  .mr-hero-content p { font-size: 1rem; }
  .mr-hero-bg-1 { background-position: 52% 38%; }
  .df-whatsapp-widget { left: 14px; bottom: 14px; }
  .df-whatsapp-fab { width: 54px; height: 54px; }
  .df-back-to-top { bottom: 14px; width: 40px; height: 40px; }
}

@media (max-width: 767.98px) {
  #preventivo { scroll-margin-top: 88px; }
  body { padding-top: 74px; }
  .mr-header .container {
    min-height: 64px;
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
  }
  .mr-header { background: rgba(246, 240, 231, 0.98); }
  .mr-brand-logo { height: 56px; }
  .df-menu-brand-logo { height: 73px; }
  .mr-hero { min-height: 68vh; }
  .mr-hero .container { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .mr-hero-content h1 { font-size: clamp(1.8rem, 8.2vw, 2.5rem); }
  .mr-hero-content p { font-size: .98rem; margin-bottom: 1.2rem; }
  .df-mobile-nav .btn-mr-primary,
  .df-lang-picker-mobile {
    width: 100%;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }
  .df-mobile-nav .btn-mr-primary {
    min-height: 46px;
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
  }
  .df-lang-picker-mobile .df-lang-toggle {
    min-height: 46px;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .mr-hero-bg-1 { background-position: 54% 34%; }
  .mr-section { padding: 2.6rem 0; }
  .mr-beb-editorial-copy::before { margin-bottom: 1rem; }
  .mr-beb-editorial-title {
    max-width: 100%;
    font-size: clamp(1.9rem, 8vw, 2.7rem);
    margin-bottom: 1.2rem;
  }
  .mr-beb-editorial-body .mr-text {
    font-size: .98rem;
    line-height: 1.72;
  }
  .mr-beb-editorial-media { display: none; }
  .mr-beb-editorial-image { min-height: 320px; }
  .mr-rounded { border-radius: 18px; }
  .mr-card-img { height: 205px; }
  .mr-card-editorial .mr-card-img { height: 220px; }
  .mr-card-editorial .mr-card-body {
    width: 100%;
    margin-top: 0;
    padding: 1.1rem 1rem 1rem;
    background: rgba(255, 253, 249, 0.98);
    border: 1.5px solid rgba(2, 104, 144, 0.16);
    box-shadow: none;
  }
  .mr-cards .row { row-gap: 2rem; }
  .mr-card-body { padding: 1rem; }
  .mr-card-body h3 { font-size: 1.62rem; }
  .mr-preventivo-box { padding: .95rem; }
  .mr-preventivo-intro .mr-title {
    max-width: 100%;
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }
  .mr-preventivo-form {
    padding: .95rem;
  }
  .mr-preventivo { padding-top: .8rem; padding-bottom: 2rem; }
  .mr-preventivo .form-label { margin-bottom: .35rem; font-size: .92rem; }
  .mr-input { height: 50px; font-size: .96rem; }
  .mr-textarea { min-height: 118px; font-size: .96rem; }
  .mr-preventivo .btn-mr-primary { width: 100%; }
  .mr-footer .container {
    padding-top: 1.7rem !important;
    padding-bottom: 5.5rem !important;
  }
  .mr-footer { font-size: .94rem; }
  .mr-footer-muted,
  .mr-footer li a,
  .mr-footer-bottom,
  .mr-legal-links a,
  .mr-website-by {
    font-size: .9rem;
    line-height: 1.45;
  }
  .mr-footer-title { font-size: .68rem; }
  .mr-contact-icon {
    width: 16px;
    height: 16px;
    margin-right: .35rem;
  }
  .mr-footer .row > .col-6:nth-child(2) {
    flex: 0 0 42%;
    max-width: 42%;
  }
  .mr-footer .row > .col-6:nth-child(3) {
    flex: 0 0 58%;
    max-width: 58%;
  }
  .mr-footer .row > .col-6:nth-child(3) ul,
  .mr-footer .row > .col-6:nth-child(3) li,
  .mr-footer .row > .col-6:nth-child(3) a {
    min-width: 0;
  }
  .mr-footer .row > .col-6:nth-child(3) a {
    width: 100%;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: .78rem;
    letter-spacing: -.01em;
  }
  .mr-footer-brand-head-logo { height: 67px; }
  .mr-footer-bottom { gap: .55rem; }
  .mr-legal-links { gap: .55rem; }
  .mr-website-by-logo { height: 16px; }
  .df-whatsapp-widget { left: 14px; bottom: 22px; }
  .df-back-to-top { bottom: 22px; }
  .mr-hero-carousel .carousel-control-prev,
  .mr-hero-carousel .carousel-control-next {
    width: 42px;
    height: 42px;
    top: auto;
    bottom: 1rem;
    transform: none;
  }
  .mr-hero-carousel .carousel-control-prev { left: 1rem; }
  .mr-hero-carousel .carousel-control-next { right: 1rem; }
}
