/* Shared matte material. The palette and light/dark mode remain user choices. */
.cristal {
  --mat-grain:#ffffff0a;
  --ikatu-matte-background:
    radial-gradient(circle at 20% 30%,var(--mat-grain) 0 .5px,transparent .8px),
    radial-gradient(circle at 70% 65%,#00000005 0 .6px,transparent 1px),
    radial-gradient(circle at 45% 85%,var(--mat-grain) 0 .5px,transparent .9px),
    linear-gradient(180deg,var(--mat-top),var(--mat-bottom));
  --ikatu-matte-size:6px 6px,8px 8px,5px 5px,100% 100%;
  --ikatu-matte-shadow:inset 0 1px 0 var(--shine),inset 0 -1px 0 #00000009,
    inset 0 -6px 12px #1e232d09,0 1px 1px #1e232d0d,
    0 4px 12px #1e232d0f,0 14px 30px #1e232d0d;
}
[data-mode=dark] .cristal {--mat-grain:#ffffff03}
/* CSS also covers dynamically inserted cards, with no observer or extra animation. */
.cristal :is(.panel,.org-card,.org-public-preview,.org-shell),
.cristal .org-choice:not(:has(input:checked)) {
  background:var(--ikatu-matte-background);
  background-size:var(--ikatu-matte-size);
  border-color:var(--edge);
  box-shadow:var(--ikatu-matte-shadow);
  backdrop-filter:none;
}
.cristal .metal-matte {
  --mat-grain: #ffffff0a;
  position:relative;isolation:isolate;backdrop-filter:none;
  border:1px solid var(--edge);
  background:var(--ikatu-matte-background);
  background-size:var(--ikatu-matte-size);
  box-shadow:var(--ikatu-matte-shadow);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.cristal .metal-matte::after {
  content:"";position:absolute;left:10px;right:10px;top:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--shine),transparent);
  pointer-events:none;border-radius:inherit;
}
[data-mode=dark] .cristal .metal-matte {--mat-grain:#ffffff03}
/* Keep the matte layers on hover, including touch browsers with sticky :hover. */
.cristal .metal-matte:hover,.cristal .service-tile.metal-matte:has(.service-destination:hover) {
  background-color:var(--mat-bottom);border-color:var(--edge);
  background-image:radial-gradient(circle at 20% 30%,var(--mat-grain) 0 .5px,transparent .8px),radial-gradient(circle at 70% 65%,#00000005 0 .6px,transparent 1px),radial-gradient(circle at 45% 85%,var(--mat-grain) 0 .5px,transparent .9px),linear-gradient(180deg,var(--mat-top),var(--mat-bottom));
  background-size:6px 6px,8px 8px,5px 5px,100% 100%;
}
.cristal :is(.primary,.icon-btn,.rail>a,.mobile-nav a,.tab,.service-filters button) {
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.cristal :is(button,a,summary):focus-visible,.cristal .hero-gallery:focus-visible {
  outline:3px solid var(--brand);outline-offset:3px;
}
.cristal :is(.primary,.icon-btn,.hero-controls button):active {transform:scale(.97)}
@media(hover:hover) and (pointer:fine) {
  .cristal .metal-matte:hover,.cristal .service-tile.metal-matte:has(.service-destination:hover) {
    transform:translateY(-1px);border-color:var(--brand);
    box-shadow:inset 0 1px 0 var(--shine),inset 0 -1px 0 #00000009,
      inset 0 -6px 12px #1e232d0a,0 2px 3px #1e232d12,
      0 8px 18px #1e232d14,0 20px 40px #1e232d0f;
  }
  .cristal .primary:hover {transform:translateY(-1px)}
}
/* Copy and CTA remain still while the local editorial photographs change. */
.cristal .hero-gallery {
  position:relative;width:100%;min-width:0;touch-action:pan-y;
}
.cristal .hero-suggestion {
  position:relative;display:block;height:265px;width:100%;padding:0;overflow:hidden;
  border:1px solid var(--edge);border-radius:18px;background:var(--surface);
  box-shadow:var(--pressed);touch-action:pan-y;cursor:pointer;text-align:left;
}
.cristal .hero-slides {display:block;height:100%;width:100%}
.cristal .hero-gallery .hero-photo {
  width:100%;height:100%;position:absolute;inset:0;margin:0;border:0;
  border-radius:0;object-fit:cover;object-position:center;box-shadow:none;
}
.cristal .hero-gallery .hero-photo:first-child {object-position:75% center}
.cristal .hero-caption {
  position:absolute;left:12px;top:12px;max-width:calc(100% - 24px);
  background:var(--surface);color:var(--ink);padding:7px 11px;
  font-size:11px;font-weight:650;border:1px solid var(--edge);border-radius:99px;
}
.cristal .hero-controls {
  display:flex;align-items:center;gap:2px;position:relative;
  width:max-content;max-width:100%;margin:10px auto 0;padding:3px;border-radius:99px;
  background:var(--glass);backdrop-filter:blur(16px);border:1px solid var(--edge);
  box-shadow:0 4px 14px #0002;color:var(--ink);
}
.cristal .hero-controls button {
  background:transparent;color:var(--ink);border:0;border-radius:50%;
  width:40px;height:40px;min-height:40px;padding:0;display:grid;place-items:center;
  font-size:24px;line-height:1;cursor:pointer;
}
.cristal .hero-controls [data-slide-toggle] {font-size:14px}
.cristal .hero-controls button:hover {background:var(--selected)}
.cristal .hero-controls button:focus-visible {outline-offset:-3px}
.cristal .hero-dots {display:flex;align-items:center}
.cristal .hero-dots button {width:24px;height:40px}
.cristal .hero-dots span {width:6px;height:6px;background:var(--muted);border-radius:99px;transition:width .18s ease}
.cristal .hero-dots [aria-pressed=true] span {width:18px;background:var(--brand)}
@media(max-width:899px) {
  .cristal .hero-gallery {margin-top:21px}
  .cristal .hero-suggestion {height:200px;border-radius:13px}
  .cristal .hero-controls {gap:0}
  .cristal .hero-controls button {height:44px;width:44px;min-height:44px}
  .cristal .hero-dots button {width:24px}
}
.cristal .hero-invitation {
  position:absolute;left:12px;right:12px;bottom:12px;min-height:44px;
  display:flex;align-items:center;gap:9px;padding:10px 13px;border-radius:99px;
  background:var(--mat-top);border:1px solid var(--edge);color:var(--ink);
  box-shadow:0 3px 12px #0002;font-size:13px;font-weight:700;
}
.cristal .hero-invitation>span {flex:1}
.cristal .hero-invitation .icon {height:19px;width:19px}
.cristal .hero-suggestion:hover .hero-invitation {border-color:var(--brand)}
.cristal .home-hero:has(.hero-gallery[hidden]) {grid-template-columns:1fr}
.home-chat-context {padding:10px 13px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--ink);font-size:13px}
.cristal main:has(#page-sugerencias-inicio:not([hidden])) {padding:0 0 40px;max-width:1400px}
#page-sugerencias-inicio>.page-head {padding:25px;border:1px solid var(--edge);border-radius:22px;background:var(--glass);box-shadow:var(--glass-shadow)}
#page-sugerencias-inicio>.page-head h1 {font-size:32px}
#page-sugerencias-inicio>.notice {margin-bottom:20px}
.suggestion-layout {display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:20px;align-items:start}
.suggestion-overview {display:grid;gap:20px}
.suggestion-layout .panel {background:var(--glass);border-color:var(--edge);box-shadow:var(--glass-shadow);min-width:0}
.suggestion-preview {position:relative;display:block;border:1px solid var(--edge);width:100%;padding:0;overflow:hidden;border-radius:14px;background:var(--surface);text-align:left}
.suggestion-preview img {width:100%;height:250px;object-fit:cover;display:block}
.suggestion-preview-copy {position:absolute;left:12px;right:12px;bottom:12px;display:grid;gap:5px;background:var(--mat-top);color:var(--ink);padding:12px;border-radius:12px}
.suggestion-preview-copy strong {font-size:16px}.suggestion-preview-copy>span {font-size:13px;color:var(--brand)}
.suggestion-list-heading {display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:15px;flex-wrap:wrap}
.suggestion-list-heading h2 {font-size:20px}.suggestion-list-heading .muted {font-size:12px}
.suggestion-list {display:grid;gap:12px}.suggestion-row {display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;padding:12px;border-radius:14px}
.suggestion-row[data-selected=true] {outline:2px solid var(--brand);outline-offset:1px}
.suggestion-row>img {height:52px;width:52px;object-fit:cover;border-radius:9px}.suggestion-row-copy {align-self:center;min-width:0}
.suggestion-row h3 {font-size:14px}.suggestion-row .muted {font-size:12px}.suggestion-row .actions {grid-column:1/-1;gap:7px}
.suggestion-row button {padding:8px 12px;font-size:12px;min-width:44px}
.suggestion-editor form {gap:16px}.suggestion-editor .field {font-size:13px}.suggestion-editor .field small {font-size:12px}
.suggestion-editor .form-status,.suggestion-overview .form-status {font-size:13px;color:var(--brand)}
.suggestion-editor .mini-note {margin:0}.suggestion-editor .actions button {font-size:12px}
@media(max-width:1100px) {.suggestion-layout {grid-template-columns:1fr}.suggestion-overview {grid-template-columns:1fr 1fr}.suggestion-row .actions {gap:4px}.suggestion-row button {padding:8px}}
@media(max-width:899px) {
  .cristal main:has(#page-sugerencias-inicio:not([hidden])) {padding-bottom:110px}
  #page-sugerencias-inicio>.page-head {padding:20px}#page-sugerencias-inicio>.page-head h1 {font-size:29px}
  .suggestion-overview {grid-template-columns:1fr}.suggestion-preview img {height:220px}
  .suggestion-layout .panel {padding:17px}.suggestion-row button {padding:8px 12px}
}
@media(max-width:359px) {.cristal .hero-invitation {font-size:11px;left:9px;right:9px;padding:10px}.suggestion-row button {padding:7px 9px}}
@media(prefers-reduced-motion:reduce) {
  .cristal .metal-matte,.cristal .metal-matte:hover,
  .cristal .service-tile.metal-matte:has(.service-destination:hover),
  .cristal :is(.primary,.icon-btn,.rail>a,.mobile-nav a,.tab,.service-filters button,.hero-controls button,.hero-dots span) {
    transition:none;transform:none;
  }
}
@media(forced-colors:active) {
  .cristal :is(.panel,.org-card,.org-public-preview,.org-shell),
  .cristal .org-choice:not(:has(input:checked)) {background:Canvas;color:CanvasText;border:1px solid CanvasText;box-shadow:none}
  .cristal .metal-matte,.cristal .hero-controls,.cristal .hero-caption {background:Canvas;color:CanvasText;border:1px solid CanvasText}
  .cristal .hero-dots span {background:CanvasText}
  .cristal .hero-dots [aria-pressed=true] span {background:Highlight}
}
