body[data-df-view] {
  --df-accent: #ff7b89;
  --df-edge: #443b40;
  background: #101013;
}
.preview-notice { padding: 5px 12px; font-size: .75rem; line-height: 1.4; }
.nav .menu-toggle {
  min-height: 44px; padding: 8px 13px; border: 1px solid #655259;
  border-radius: 7px; background: #19171a; box-shadow: none; color: #fff;
}
.nav #menu-principal [aria-current="page"] { color: var(--df-accent); text-decoration: underline; text-underline-offset: 6px; }
body[data-df-view] .button {
  box-shadow: none; border-radius: 6px; min-height: 44px; background: #ac2237; border-color: #ee697c;
}
body[data-df-view] .button.outline { background: #171619; border-color: #83747b; }
body[data-df-view] .button:not(:disabled):hover { filter: brightness(1.2); }
body[data-df-view] :focus-visible { outline: 2px solid #ffa4ae; outline-offset: 3px; }
.editorial-home .hero#inicio {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: auto; height: auto; align-items: stretch;
  background: #101013; border-bottom: 1px solid var(--df-edge);
}
.editorial-home .hero#inicio::after { content: none; }
.editorial-home .hero#inicio .hero-content {
  grid-column: 1; grid-row: 1; align-self: center; padding: clamp(24px, 4vw, 68px);
}
.editorial-home .hero#inicio .hero-media {
  position: relative; inset: auto; grid-column: 2; grid-row: 1;
  height: 100%; min-height: 380px; aspect-ratio: auto;
}
.editorial-home .hero#inicio .hero-media img { object-fit: cover; object-position: 53% 56%; }
.editorial-home .hero#inicio h1 { font-size: clamp(2rem, 4.5vw, 5.15rem); overflow-wrap: normal; }
.editorial-home .hero#inicio .hero-content p { font-size: clamp(1rem, 1.4vw, 1.22rem); }
.editorial-strip { background: #1b171b; border-bottom: 1px solid var(--df-edge); }
.ed-section { padding-block: clamp(32px, 6vw, 82px); }
.ed-section h2 { font-size: clamp(2.1rem, 5.7vw, 4.75rem); }
.ed-sessions .ed-split { grid-template-columns: 1fr; gap: 20px; }
.ed-offers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.ed-offers article { padding: 0 0 12px; }
.ed-offers img { display: block; width: 100%; height: clamp(150px,24vw,300px); object-fit: cover; object-position: center 58%; margin-bottom: 14px; }
.ed-process li { border-color: var(--df-edge); }
.ed-guide { background: #1b171a; }
.df-folio-hero { background-image: linear-gradient(0deg,#080709f7,transparent 78%),url("medios-delaframes-v16/87981-720.webp"); background-position: center 55%; }
.inner-heading.df-photo { min-height: clamp(240px,31vw,395px); }
.df-photo-tarifas { --df-photo: url("medios-delaframes-v16/87976.jpg"); --df-position: 62%; }
.df-photo-blog { --df-photo: url("medios-delaframes-v16/87908.jpg"); --df-position: 58%; }
[data-df-view="portfolio"] .folio-featured a:not(:first-child) img { height: clamp(115px,24vw,290px); object-fit: cover; }
[data-df-view="portfolio"] .folio-featured a { overflow-wrap: anywhere; }
.price-index { list-style: none; display: grid; padding: 0; margin: 0 0 28px; border-block: 1px solid var(--df-edge); }
.price-index li + li { border-top: 1px solid var(--df-edge); }
.price-index a { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; column-gap: 10px; padding: 10px 6px; }
.price-index span { grid-row: 2; color: #d5cbd0; font-size: .86rem; }
.price-index b { grid-column: 2; grid-row: 1 / 3; color: var(--df-accent); white-space: nowrap; }
.price-index a:hover strong { text-decoration: underline; }
.df-rate { scroll-margin-top: 14px; }
[data-df-view="reservas"] #reservas { padding-block: clamp(24px,5vw,64px); background: #111013; }
.df-booking-intro h1 { font-size: clamp(2.3rem,5vw,4.5rem); margin: 10px 0; }
.df-booking-intro .lead { margin-bottom: 0; }
.booking.df-booking, .contact-form.df-contact { border-radius: 10px; background: #1a171b; box-shadow: none; }
.df-booking .df-step { border: 0; border-top: 1px solid var(--df-edge); border-radius: 0; box-shadow: none; background: transparent; padding-inline: 0; }
.df-booking .calendar .selected, .df-booking .hours .selected { outline: 2px solid #ffb1bb; outline-offset: -3px; font-weight: 800; }
.df-booking .monthbar strong { text-transform: none; text-align: center; }
.df-booking .monthbar button { padding-inline: 10px; min-width: 42px; }
.contact-photo { display: block; width: 100%; height: clamp(150px,22vw,320px); object-fit: cover; object-position: center 56%; border-radius: 6px; }
.df-contact-intro a, .contact-direct a { text-decoration: underline; text-underline-offset: 4px; }
.contact-direct.actions { align-items: center; margin: 0; gap: 8px 14px; }
.contact-direct.actions .button { background: transparent; border: 0; min-height: 44px; padding: 9px 0; }
[data-df-view="blog"] .blog-grid article h2 { text-transform: none; letter-spacing: -.025em; line-height: 1.15; }
body[data-df-view] footer { padding: 28px 20px 23px; border-top: 1px solid var(--df-edge); background: #0c0b0e; }
body[data-df-view] footer img { width: 145px; }
body[data-df-view] footer p { margin: 7px 0; overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .price-index { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .price-index li + li { border-top: 0; border-left: 1px solid var(--df-edge); }
  .price-index a { display: flex; flex-direction: column; align-items: start; gap: 3px; height: 100%; padding: 12px; }
}
@media (max-width: 719px) {
  .editorial-home .hero#inicio { grid-template-columns: minmax(0,1fr); }
  .editorial-home .hero#inicio .hero-media { grid-column: 1; grid-row: 1; height: clamp(170px, 53vw, 325px); min-height: 0; }
  .editorial-home .hero#inicio .hero-content { grid-row: 2; padding: 16px 20px 22px; }
  .editorial-home .hero#inicio h1 { font-size: clamp(1.9rem,8.2vw,3.45rem); }
  .editorial-home .hero#inicio .actions { margin-top: 13px; }
  .ed-offers { grid-template-columns: 1fr; }
  .ed-process ol { gap: 10px; }
  .ed-process li { display: grid; grid-template-columns: 2.1rem 1fr; column-gap: 8px; }
  .ed-process li p { grid-column: 2; }
  .ed-process li::before { grid-row: span 2; font-size: 1.25rem; }
  .booking.df-booking { padding-inline: 9px; }
  .df-booking .calendar { gap: 3px; }
  [data-df-view="contacto"] .df-contact-intro .lead { margin-bottom: 12px; }
}
.df-folio-hero { background-image: linear-gradient(0deg,#080709fc 4%,#08070980 65%,#08070920),url("medios-delaframes-v16/87981-720.webp"); }

/* Mobile crop and contact controls. */
@media (max-width: 859px) {
  body[data-df-view] .floating-wa {
    position: fixed;
    inset: auto max(9px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) auto;
    z-index: 15;
    display: grid;
    place-items: center;
    margin: 0;
    background: #171217;
  }
  body[data-df-view] footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body[data-df-view]:has(input:focus, textarea:focus, select:focus) .floating-wa { visibility: hidden; }
  [data-df-view="portfolio"] .folio-category { border-radius: 14px; }
  [data-df-view="portfolio"] .folio-category > summary { border-radius: inherit; }
}
@media (max-width: 719px) {
  .contact-photo {
    aspect-ratio: 4 / 3;
    height: auto;
    object-position: center 61%;
  }
  #tarifa-street .df-rate-photo { object-position: center 70% !important; }
  #tarifa-urban .df-rate-photo { object-position: center 55% !important; }
  #tarifa-night .df-rate-photo { object-position: center 53% !important; }

  .inner-heading:is(.df-photo-tarifas, .df-photo-blog, .df-cover-empresas) {
    display: block;
    min-height: 0;
    padding: 0;
    background: #141216;
  }
  .inner-heading:is(.df-photo-tarifas, .df-photo-blog, .df-cover-empresas)::before {
    content: "";
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--mobile-cover) center var(--mobile-focus) / cover no-repeat;
  }
  .df-photo-tarifas { --mobile-cover: var(--df-photo); --mobile-focus: 69%; }
  .df-photo-blog { --mobile-cover: var(--df-photo); --mobile-focus: 75%; }
  .df-cover-empresas { --mobile-cover: var(--df-cover); --mobile-focus: 58%; }
  .inner-heading:is(.df-photo-tarifas, .df-photo-blog, .df-cover-empresas) .wrap { padding-block: 20px 24px; }
  .inner-heading:is(.df-photo-tarifas, .df-photo-blog, .df-cover-empresas) .lead { margin-bottom: 0; }

  .ed-gallery a:not(:first-child) {
    align-content: start;
    align-items: start;
    background: #19161a;
    min-height: 0;
  }
  .ed-gallery a:not(:first-child)::after { content: none; }
  .ed-gallery a:not(:first-child) img {
    position: static;
    z-index: auto;
    aspect-ratio: 4 / 3;
    height: auto;
    object-position: center 59%;
  }
  .ed-gallery a:not(:first-child) strong { overflow-wrap: anywhere; }
  [data-df-view="blog"] .df-blog-feature img {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
    object-position: center 62%;
  }
}
