/* ARGO Vision bright theme adapted from the supplied corporate design. */
@font-face {
  font-family: "Manrope";
  src: url("../brand/manrope-regular.ttf") format("truetype");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../brand/manrope-bold.ttf") format("truetype");
  font-weight: 650 900;
  font-display: swap;
}
:root {
  font-family: "Manrope", Arial, sans-serif;
  color: #152238;
  background: #f7faff;
  --brand-ink: #152238;
  --brand-muted: #536178;
  --brand-line: #173f7a26;
  --brand-accent: #cf3f16;
  --brand-focus: #2457e6;
}
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  color: var(--brand-ink);
  background: radial-gradient(circle at 85% 5%, #dbe6ff 0, transparent 28rem),
              radial-gradient(circle at 8% 27%, #edf3ff 0, transparent 26rem),
              #f7faff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 3px solid var(--brand-focus); outline-offset: 3px; }
a, .link { color: #1c426f; }
a:hover, .link:hover { color: var(--brand-accent); }
.wrap { max-width: 1400px; padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); }
main.wrap { padding-top: 42px; padding-bottom: 88px; min-height: 68vh; }
main.wrap > h1, .form-shell > h1 { max-width: 940px; }
h1, h2, h3 { color: var(--brand-ink); font-weight: 750; letter-spacing: -.045em; }
h1 { font-size: clamp(36px, 5.3vw, 70px); line-height: 1.07; }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 21px; }
p { line-height: 1.65; }
.muted { color: var(--brand-muted); }
.eyebrow { color: var(--brand-muted); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.skip-link {
  position: fixed; top: 8px; left: 16px; z-index: 1000;
  transform: translateY(-160%); padding: 10px 18px; border-radius: 8px;
  background: var(--brand-accent); color: #fff;
}
.skip-link:focus { transform: none; color: #fff; }
.site-header {
  position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--brand-line);
  background: #f7faffee; backdrop-filter: blur(16px);
}
.site-header .nav { min-height: 90px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; min-width: 180px; }
.brand img { display: block; width: 192px; max-width: 100%; height: auto; }
.site-navigation { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 13px 24px; margin-left: auto; font-size: 14px; font-weight: 650; }
.site-navigation a { color: var(--brand-ink); white-space: nowrap; }
.site-navigation a:hover { color: var(--brand-accent); }
.site-navigation .link { color: var(--brand-ink); font-size: 14px; font-weight: 650; }
.site-navigation .button { color: #fff; }
.site-navigation .button:hover { color: #fff; }
.mobile-menu { display: none; }
.notification-count { background: var(--brand-accent); margin-left: 6px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 15px;
  min-height: 52px; padding: 13px 20px;
  background: var(--brand-accent); color: #fff;
  border: 1px solid transparent; border-radius: 8px;
  font-family: "Manrope", Arial, sans-serif; font-size: 15px; font-weight: 750;
  transition: background .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); background: #a73213; color: #fff; text-decoration: none; }
.button.small { min-height: 42px; padding: 10px 15px; font-size: 14px; }
.button.secondary {
  background: #fff; color: var(--brand-ink); border-color: #173f7a35;
}
.button.secondary:hover { background: #eef4ff; color: var(--brand-ink); }
.button.danger-button { background: #a82420; color: #fff; }
.button.danger-button:hover { background: #8c211d; color: #fff; }
.link.danger, .danger { color: #a82420; }
.notice { background: #e9f0ff; color: #1c426f; border: 1px solid #2457e62a; border-radius: 10px; }
.notice.error { background: #fff0ed; color: #92251c; border-color: #cf3f1640; }
.panel {
  background: #fff; border: 1px solid var(--brand-line);
  border-radius: 16px; box-shadow: 0 12px 40px #18386a0a;
}
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 5vw, 70px); align-items: center;
  margin: 0 0 36px; padding: 22px 0 22px 10px;
  min-height: 420px; background: none;
}
.hero-copy { padding: 24px 0 28px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-accent); box-shadow: 0 0 0 5px #cf3f161c; }
.hero h1 { max-width: 750px; margin: 0 0 22px; font-size: clamp(42px, 5vw, 76px); line-height: 1.06; }
.hero h1 em { font-style: normal; color: var(--brand-accent); }
.hero p { max-width: 550px; margin: 0; color: var(--brand-muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual {
  position: relative; display: block; align-self: stretch; min-height: 365px; margin: 0;
  overflow: hidden; background: #d9e5f8; border-radius: 16px 44px 16px 16px;
  box-shadow: 0 24px 65px #173f7a1a;
}
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual figcaption {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  padding: 13px 17px; background: #152238dc; backdrop-filter: blur(10px);
  border: 1px solid #ffffff36; border-radius: 10px; color: #fff;
  font-size: 13px; font-weight: 700;
}
.filters { scroll-margin-top: 112px; }
.filters.panel { padding: clamp(20px, 2.7vw, 32px); }
.filters label, .form label { color: #304465; font-weight: 700; }
.filters input, .filters select, .form input, .form select, .form textarea,
.admin-search input, .admin-search select {
  background: #fff; color: var(--brand-ink);
  border: 1px solid #cdd9e7; border-radius: 9px;
  font-family: "Manrope", Arial, sans-serif;
}
.filters input:focus, .filters select:focus, .form input:focus, .form select:focus,
.form textarea:focus, .admin-search input:focus, .admin-search select:focus {
  outline: 2px solid #2457e666; outline-offset: 1px; border-color: #2457e6;
}
.filters input::placeholder, .form input::placeholder { color: #8291a6; }
.filters .button { min-height: 47px; }
.advanced-filters { border-top-color: var(--brand-line); }
.advanced-filters summary, .filters-reset { color: #1c426f; font-weight: 750; }
.advanced-filters summary:hover, .filters-reset:hover { color: var(--brand-accent); }
.filter-error, .moderation-reason { color: #a82420; }
.section-title { margin: 38px 0 22px; }
.section-title h2 { margin: 0; }
.section-title a { font-weight: 700; }
.grid, .moderation-grid { gap: 22px; }
.card { background: #fff; border: 1px solid var(--brand-line); border-radius: 14px; }
.card:hover { box-shadow: 0 18px 42px #18386a1d; }
.cover { background: linear-gradient(140deg, #ecf2fa, #dbe6ff); color: var(--brand-muted); }
.card .cover { height: 225px; }
.card .cover { position: relative; }
.photo-count { position: absolute; left: 12px; bottom: 12px; padding: 4px 9px; border-radius: 7px; background: #152238dc; color: #fff; font-size: 12px; font-weight: 750; }
.card-body { padding: 20px; }
.card-description { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; min-height: 42px; margin: 0 0 14px !important; color: var(--brand-muted); font-size: 14px; }
.card h3 { font-size: 21px; }
.card strong { color: var(--brand-ink); }
.card-main { display: block; color: inherit; }
.card-main:hover { color: inherit; text-decoration: none; }
.card-favorite-form { padding: 0 20px 20px; }
.favorite-button { padding: 9px 14px; border: 1px solid #cdd9e7; border-radius: 9px; background: #fff; color: #1c426f; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.favorite-button:hover, .favorite-button[aria-pressed="true"] { border-color: var(--brand-accent); color: var(--brand-accent); background: #fff4ee; }
.favorite-button:focus-visible { outline: 2px solid #2457e6; outline-offset: 2px; }
.filters .favorite-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 47px; cursor: pointer; }
.filters .favorite-filter input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--brand-accent); }
.tag { background: #ffecdf; color: #a73213; font-weight: 750; }
.empty { border: 1px solid var(--brand-line); color: var(--brand-muted); }
.map-section { scroll-margin-top: 104px; }
#catalog-map, .detail-map, .listing-map { border: 1px solid var(--brand-line); background: #e9f0fa; }
#catalog-map.map-unavailable { height: auto; min-height: 180px; max-height: 420px; overflow-y: auto; padding: 26px; background: #f5f8fc; }
#catalog-map.map-unavailable p { margin: 0 0 12px; }
#catalog-map.map-unavailable ul { margin: 0; padding-left: 22px; }
#catalog-map.map-unavailable li { margin: 8px 0; }
.detail-map.map-unavailable, .listing-map.map-unavailable { height: auto; min-height: 110px; padding: 26px; background: #f5f8fc; }
.breadcrumbs { color: var(--brand-muted); }
.detail-heading h1 { max-width: 930px; }
.photos img { border-radius: 12px; }
.listing-gallery { margin: 28px 0 38px; }
.gallery-main { position: relative; display: block; height: clamp(270px, 44vw, 570px); overflow: hidden; border-radius: 14px; background: #e9f0fa; }
.gallery-main img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-hint { position: absolute; right: 16px; bottom: 16px; padding: 8px 12px; border-radius: 8px; background: #152238dc; color: #fff; font-size: 13px; font-weight: 700; }
.gallery-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 12px 0 4px; }
.gallery-thumbnails a { flex: 0 0 94px; height: 70px; display: block; overflow: hidden; border: 2px solid transparent; border-radius: 8px; }
.gallery-thumbnails a[aria-current="true"] { border-color: var(--brand-accent); }
.gallery-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-dialog { width: min(96vw, 1300px); max-width: none; height: min(95vh, 950px); max-height: none; padding: 58px 18px 18px; border: none; border-radius: 14px; background: #152238; color: #fff; }
.gallery-dialog::backdrop { background: #0b1420e8; }
.gallery-dialog > img { display: block; width: 100%; height: calc(100% - 64px); object-fit: contain; }
.gallery-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; color: #fff; font-size: 35px; line-height: 1; cursor: pointer; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 10px; }
.gallery-controls button { border: 1px solid #ffffff8c; border-radius: 8px; background: transparent; color: #fff; padding: 5px 14px; font: inherit; font-size: 22px; cursor: pointer; }
.section-links { display: flex; flex-wrap: wrap; gap: 15px; }
.placeholder { background: #ebf1fa; color: var(--brand-muted); }
.specs div, th, td, .plain-list li { border-bottom-color: var(--brand-line); }
.specs dt, th { color: var(--brand-muted); }
.specs dd { color: var(--brand-ink); }
.price { color: var(--brand-ink); }
.booking-calendar { padding: 18px; border: 1px solid var(--brand-line); border-radius: 12px; background: #fff; }
.booking-calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.booking-calendar-header strong { font-size: 20px; text-transform: capitalize; }
.booking-calendar-header a, .booking-calendar-header > span { padding: 6px 12px; font-size: 22px; }
.booking-calendar-header > span { color: #a4aec0; }
.availability-calendar { width: 100%; table-layout: fixed; text-align: center; border-spacing: 4px; border-collapse: separate; }
.availability-calendar th, .availability-calendar td { padding: 0; border: 0; text-align: center; }
.availability-calendar th { padding-bottom: 7px; }
.availability-calendar abbr { text-decoration: none; }
.availability-calendar td > button, .availability-calendar td > span { display: grid; place-items: center; width: min(100%, 48px); height: 40px; margin: auto; border: 0; border-radius: 8px; font: inherit; }
.availability-calendar td[data-state="free"] > button, .availability-calendar td[data-state="free"] > span { background: #e7f4ed; color: #146548; font-weight: 800; }
.availability-calendar td[data-state="free"] > button { cursor: pointer; }
.availability-calendar td[data-state="free"] > button:hover, .availability-calendar td[data-state="free"] > button[aria-pressed="true"] { background: #176849; color: #fff; }
.availability-calendar td[data-state="booked"] > span { background: #fff1e8; color: #a73213; text-decoration: line-through; }
.availability-calendar td[data-state="past"] > span, .availability-calendar td[data-state="unavailable"] > span { background: #eef2f8; color: #8692a5; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; color: var(--brand-muted); font-size: 12px; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar-legend i { width: 12px; height: 12px; border-radius: 3px; }
.legend-free { background: #e7f4ed; }.legend-booked { background: #fff1e8; }.legend-unavailable { background: #eef2f8; }
.calendar-help { margin: 14px 0 0; font-size: 13px; }
.pagination { font-weight: 700; }
.form-shell { max-width: 560px; }
.form-shell.wide { max-width: 790px; }
.form-shell > p:first-child { margin-top: 0; }
.form-shell .panel { padding: clamp(22px, 3vw, 34px); }
.form-shell > h1 { font-size: clamp(36px, 4vw, 54px); }
.admin-search { border-color: var(--brand-line); }
.moderation-card h2 { font-size: 22px; }
.account-action summary { color: #1c426f; }
.status-history { margin: 16px 0 0; padding: 0 0 0 20px; }
.status-history li { padding: 12px 0 12px 8px; border-bottom: 1px solid var(--brand-line); }
.status-history li:last-child { border-bottom: 0; }
.status-history time { font-weight: 750; color: var(--brand-ink); }
.status-history p { margin: 7px 0 0; color: var(--brand-muted); }
.site-footer { background: #152238; color: #fff; border: 0; }
.footer-inner { display: flex; align-items: center; gap: clamp(20px, 5vw, 80px); padding-top: 48px; padding-bottom: 50px; }
.footer-brand { flex-shrink: 0; }
.footer-brand img { display: block; width: 192px; height: auto; }
.dashboard-filters { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 16px 0 22px; }
.dashboard-filters label { flex: 1 1 230px; font-size: 14px; font-weight: 700; color: #304465; }
.dashboard-filters input, .dashboard-filters select { display: block; width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #cdd9e7; border-radius: 9px; background: #fff; color: var(--brand-ink); font: inherit; }
.dashboard-filters > a { padding: 12px 0; }
.inbox-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 20px 0; }
.inbox-tools nav { display: flex; flex-wrap: wrap; gap: 8px; }
.inbox-tools nav a { display: block; padding: 9px 14px; border-radius: 9px; border: 1px solid var(--brand-line); background: #fff; font-weight: 750; }
.inbox-tools nav a[aria-current="page"] { color: var(--brand-accent); background: #fff4ee; border-color: var(--brand-accent); }
.notification-list { padding: 0; }
.notification-item { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 20px 24px; border-bottom: 1px solid var(--brand-line); }
.notification-item:last-child { border-bottom: 0; }
.notification-unread { background: #f4f8ff; }
.notification-item p { margin: 8px 0; }
.notification-item .tag { margin-left: 9px; }
.notification-item form { flex-shrink: 0; }
@media (max-width: 600px) { .notification-item { flex-direction: column; align-items: flex-start; } }
.site-footer p { max-width: 500px; color: #cfdbef; margin: 0; font-size: 14px; }
.site-footer a:last-child { color: #fff; margin-left: auto; white-space: nowrap; font-weight: 750; }
.site-footer a:hover { color: #ff9271; }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(40px, 5vw, 58px); }
  .site-navigation { gap: 12px; font-size: 13px; }
}
@media (max-width: 860px) {
  .site-header .nav { min-height: 74px; justify-content: space-between; }
  .site-navigation { display: none; }
  .mobile-menu { display: block; position: relative; margin-left: auto; }
  .mobile-menu summary { display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; list-style: none; font-weight: 750; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { font-size: 22px; line-height: 1; }
  .mobile-menu nav {
    position: absolute; top: calc(100% + 16px); right: 0; z-index: 200;
    display: flex; flex-direction: column; gap: 4px;
    min-width: min(310px, calc(100vw - 38px)); max-height: 70vh; overflow-y: auto;
    padding: 15px; border: 1px solid var(--brand-line); border-radius: 12px;
    background: #fff; box-shadow: 0 22px 55px #173f7a29;
  }
  .mobile-menu nav a, .mobile-menu nav .link { display: block; width: 100%; padding: 10px 12px; color: var(--brand-ink); text-align: left; font-weight: 700; }
  .mobile-menu nav a:hover, .mobile-menu nav .link:hover { background: #eef4ff; border-radius: 7px; color: var(--brand-accent); }
  .hero { grid-template-columns: 1fr; padding: 0; gap: 15px; }
  .hero-copy { padding: 16px 0 10px; }
  .hero-visual { min-height: 300px; max-height: 380px; }
}
@media (max-width: 600px) {
  main.wrap { padding-top: 26px; padding-bottom: 64px; }
  .site-header .nav { padding-top: 10px; padding-bottom: 10px; }
  .brand { min-width: 0; }
  .brand img { width: 154px; }
  .hero h1 { font-size: clamp(40px, 11vw, 58px); }
  .hero-visual { min-height: 245px; max-height: 310px; border-radius: 12px 28px 12px 12px; }
  .hero-visual figcaption { left: 10px; right: 10px; bottom: 10px; font-size: 11px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { justify-content: space-between; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .site-footer a:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
