:root {
  --accent: #a33a26;
  --accent-dark: #85301f;
  --ink: #1f2420;
  --muted: #5c615c;
  --cream: #f7f2ea;
  --cream-2: #efe8dc;
  --line: #e2d9cb;
  --forest: #1c2a24;
  --white: #fff;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1440px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 24px; font-weight: 500; font-size: .95rem; transition: background .2s, color .2s; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.85); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); border-radius: 50%; }
.icon-btn:hover { background: var(--cream-2); }
.circle-btn { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8); background: transparent; color: var(--white); cursor: pointer; font-size: 15px; }
.circle-btn:hover { background: rgba(255,255,255,.15); }

/* Header */
.site-header { background: var(--cream); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 58px; height: 36px; color: var(--accent); stroke-width: 0; }
.logo-mark path { stroke: currentColor; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 2.2rem; }
.logo-tag { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; margin-top: 4px; }
.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: 36px; }
.main-nav a { font-size: .92rem; font-weight: 500; padding: 6px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.btn-map { margin-left: 18px; }
.btn-map svg { width: 18px; height: 18px; }
.header-actions .menu-toggle { display: none; }

/* Hero */
.hero { position: relative; color: var(--white); overflow: hidden; background: var(--forest); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 35%; transition: opacity .6s; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,18,16,.82) 0%, rgba(10,18,16,.5) 45%, rgba(10,18,16,.15) 75%, rgba(10,18,16,.35) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 290px; gap: 32px; padding: 40px 0 24px; min-height: 440px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 5.4vw, 4.3rem); line-height: .98; }
.hero-lead { font-size: 1.15rem; max-width: 34em; margin: 18px 0 20px; }
.search { position: relative; display: flex; align-items: center; background: var(--white); border-radius: 999px; padding: 5px 5px 5px 20px; max-width: 610px; color: var(--ink); box-shadow: 0 6px 24px rgba(0,0,0,.2); }
.search-icon { color: var(--ink); }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: .95rem; padding: 10px 12px; background: transparent; min-width: 0; }
.search-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.search-btn:hover { background: var(--accent-dark); }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.2); padding: 6px; z-index: 10; }
.search-results li a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .92rem; }
.search-results li a:hover { background: var(--cream); }
.search-results small { color: var(--muted); display: block; }
.categories { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 22px; }
.categories a { display: flex; align-items: center; gap: 10px; font-size: .82rem; line-height: 1.35; opacity: .95; }
.categories span { max-width: 9.5em; }
.categories a:hover { opacity: 1; text-decoration: underline; }
.categories svg { width: 28px; height: 28px; }
.hero-card { align-self: start; background: rgba(30,36,34,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 20px; margin-top: 30px; }
.hero-card-head { display: flex; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.3); margin-bottom: 14px; }
.hero-card h2 { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.hero-card-head p { font-size: .76rem; opacity: .85; margin-top: 6px; }
.hero-card > p { font-size: .9rem; margin-bottom: 16px; }
.hero-controls { grid-column: 2; display: flex; align-items: center; justify-content: flex-end; gap: 8px; align-self: end; }
.dots { display: flex; gap: 6px; margin-right: 16px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.dots button[aria-selected="true"] { background: var(--white); }

/* Features */
.features { background: var(--cream-2); border-bottom: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.feature { display: flex; gap: 22px; padding: 22px 24px; border-left: 1px solid var(--line); transition: background .2s; }
.feature:first-child { border-left: 0; }
.feature:hover { background: var(--cream); }
.feature svg { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.4; }
.feature h3 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.feature p { font-size: .8rem; color: var(--muted); }

/* Regiones */
.regions-section { padding: 28px 0 24px; }
.regions-layout { display: grid; grid-template-columns: 1fr 400px; gap: 24px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--serif); font-size: 1.75rem; }
.link-accent { color: var(--accent); font-size: .88rem; font-weight: 500; }
.link-accent:hover, .link-light:hover { text-decoration: underline; }
.region-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.region-card { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1.35; color: var(--white); }
.region-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.region-card:hover img { transform: scale(1.06); }
.region-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 60%); }
.region-card div { position: absolute; left: 12px; right: 12px; bottom: 8px; z-index: 1; }
.region-card h3 { font-family: var(--serif); font-size: 1.1rem; line-height: 1.15; }
.region-card span { font-size: .82rem; }
.map-card { background: var(--cream-2); border-radius: var(--radius); display: flex; align-items: center; gap: 24px; padding: 8px 24px 8px 32px; }
.map-card img { width: 78px; height: auto; mix-blend-mode: multiply; }
.map-card h2 { font-family: var(--serif); font-size: 1.6rem; }
.map-card .btn { white-space: nowrap; }
.map-card p { color: var(--muted); margin: 6px 0 20px; }

/* Rutas */
.routes-section { background: var(--forest); color: var(--white); padding: 26px 0 32px; }
.routes-title { display: flex; align-items: baseline; gap: 26px; flex-wrap: wrap; }
.routes-title p { font-size: .9rem; opacity: .85; }
.link-light { font-size: .9rem; }
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.route-card { display: grid; grid-template-columns: 130px 1fr; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; overflow: hidden; min-height: 126px; transition: background .2s; }
.route-card:hover { background: rgba(255,255,255,.13); }
.route-card img { width: 100%; height: 100%; object-fit: cover; }
.route-body { position: relative; padding: 18px 50px 16px 16px; }
.route-body h3 { font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; margin-bottom: 8px; }
.route-body p { font-size: .8rem; display: flex; align-items: center; gap: 6px; opacity: .9; }
.route-body p svg { width: 16px; height: 16px; }
.route-go { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; font-size: 14px; }

/* Footer */
.site-footer { background: #141d19; color: rgba(255,255,255,.75); padding: 32px 0; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; align-items: end; flex-wrap: wrap; }
.footer-inner > div { max-width: 640px; }
.footer-logo { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: 6px; }

/* Responsive */
/* Menú desplegable: js/patrivia.js agrega .compact a la cabecera cuando el menú
   completo no cabe en una línea (depende del idioma y del ancho). Sin JS, se usa bajo 1080px. */
.site-header.compact .header-actions .menu-toggle { display: inline-grid; }
.site-header.compact .main-nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); display: none; }
.site-header.compact .main-nav.open { display: block; }
.site-header.compact .main-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
.site-header.compact .main-nav a { display: block; padding: 12px 0; }
.site-header.compact .main-nav a::after { display: none; }
.site-header.compact .header-inner { justify-content: space-between; }
@media (max-width: 1080px) {
  .header-actions .menu-toggle { display: inline-grid; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .main-nav a { display: block; padding: 12px 0; }
  .main-nav a::after { display: none; }
  .header-inner { justify-content: space-between; }
}
@media (max-width: 1280px) {
  .main-nav ul { gap: 22px; }
  .regions-layout { grid-template-columns: 1fr; }
  .map-card { padding: 16px 28px; }
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .feature:nth-child(4) { border-left: 0; }
}
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; margin-top: 8px; }
  .hero-controls { grid-column: 1; }
  .region-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .btn-map { display: none; }
  .header-actions .fav-btn { display: none; }
  .logo-name { font-size: 1.8rem; }
  .logo-mark { width: 44px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0; }
  .feature:first-child { border-top: 0; }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .route-grid { grid-template-columns: 1fr; }
  .route-card { grid-template-columns: 110px 1fr; }
  .map-card { padding: 16px; gap: 16px; }
  .map-card img { width: 60px; }
  .categories { gap: 14px 20px; }
}

/* Fotos de la comunidad */
.community-section { padding: 32px 0 40px; }
.section-lead { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.community-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card figcaption { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; font-size: .86rem; }
.photo-card strong { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; }
.photo-card small { color: var(--muted); }
.empty-state { color: var(--muted); background: var(--cream-2); border-radius: var(--radius); padding: 28px; text-align: center; }

/* Formularios y tarjetas */
.select, .form input, .form textarea { font: inherit; font-size: .95rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; width: 100%; }
.select { width: auto; max-width: 100%; padding-right: 36px; }
.form .select { width: 100%; }
.select:focus, .form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: .88rem; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }
.form .btn { align-self: flex-start; }
.form-status { font-size: .88rem; min-height: 1.3em; }
.form-status[data-type="ok"] { color: #2d6a3e; }
.form-status[data-type="error"] { color: var(--accent); }
.form-status[data-type="warn"] { color: #8a5a00; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h2 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.muted { color: var(--muted); font-size: .9rem; }
.btn { border: 0; cursor: pointer; font-family: inherit; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--cream-2); }
.btn-small { padding: 8px 16px; font-size: .85rem; }
.btn-link { background: none; color: var(--muted); padding: 8px 4px; text-decoration: underline; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.notice { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; background: var(--cream-2); border-left: 4px solid var(--muted); }
.notice[data-type="ok"] { border-color: #2d6a3e; }
.notice[data-type="error"] { border-color: var(--accent); }
.notice[data-type="warn"] { border-color: #c48a00; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; background: var(--cream-2); align-self: flex-start; }
.badge[data-type="ok"] { background: #e2f0e5; color: #2d6a3e; }
.badge[data-type="warn"] { background: #fbefd2; color: #8a5a00; }
.badge[data-type="error"] { background: #f6e0db; color: var(--accent-dark); }

/* Páginas interiores */
.page { padding: 40px 0 56px; min-height: 60vh; }
.page-narrow { max-width: 720px; }
.page-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; }
.page-lead { color: var(--muted); margin: 8px 0 24px; max-width: 40em; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.page-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.section-title { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 12px; }
.my-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.photo-item { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.photo-item img, .photo-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-placeholder { background: var(--cream-2); display: grid; place-items: center; color: var(--muted); }
.photo-placeholder svg { width: 40px; height: 40px; }
.photo-item-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.photo-item h3 { font-family: var(--serif); font-size: 1.15rem; }
.photo-item p { font-size: .88rem; }
.file-input { display: block; width: 100%; font-size: .82rem; color: var(--muted); }
.file-input input { display: block; margin-bottom: 4px; font: inherit; max-width: 100%; }
.footer-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.icon-btn { display: inline-grid; place-items: center; }
.icon-btn.signed-in svg { display: none; }
.icon-btn.signed-in::before { content: attr(data-initial); width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: .8rem; font-weight: 600; display: grid; place-items: center; }

@media (max-width: 1080px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .photo-grid { grid-template-columns: 1fr; }
  .community-actions, .community-actions .select { width: 100%; }
}

/* Mi cuenta */
.account-page { position: relative; padding-bottom: 0; }
.account-banner { height: 150px; background: url("../assets/img/hero-chiloe.jpg") center 38% / cover; }
.account-wrap { position: relative; max-width: 1040px; margin-top: -56px; display: flex; flex-direction: column; gap: 20px; padding-bottom: 32px; z-index: 1; }
.account-card { border: 0; border-radius: 16px; box-shadow: 0 8px 30px rgba(31,36,32,.08); padding: 28px 32px; }
.card-head { display: flex; gap: 18px; align-items: flex-start; }
.card-head > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card-head-row { align-items: center; }
.card-title { font-family: var(--serif); font-size: 1.75rem; line-height: 1.15; }
.account-card h2.card-title { font-size: 1.45rem; }
.icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--cream-2); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.icon-circle svg { width: 26px; height: 26px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.btn svg { width: 18px; height: 18px; }
.btn-dark { background: var(--forest); color: var(--white); }
.btn-dark:hover { background: #0f1a15; }
.btn-large { padding: 14px 22px 14px 26px; font-size: 1rem; }
.btn .chevron { margin-left: 6px; }
.benefits { display: grid; gap: 12px; margin: 20px 0 22px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.benefits svg { color: var(--accent); margin-top: 1px; }

.publish { display: grid; grid-template-columns: 300px 1fr; gap: 28px; margin-top: 22px; }
.site-preview { margin: 0; border-radius: 12px; overflow: hidden; background: var(--cream-2); aspect-ratio: 4 / 3; }
.site-preview img { width: 100%; height: 100%; object-fit: cover; }
.site-preview-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); text-align: center; padding: 16px; font-size: .9rem; }
.site-preview-empty svg { width: 44px; height: 44px; color: var(--accent); stroke-width: 1.3; }
.publish-fields { display: flex; flex-direction: column; gap: 16px; }
.field { display: grid; grid-template-columns: 180px 1fr; gap: 12px; align-items: start; }
.field label { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: .9rem; font-weight: 600; padding-top: 10px; }
.field label svg { width: 20px; height: 20px; color: var(--accent); }
.field .select, .field textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.field textarea { resize: vertical; min-height: 84px; }
.field .select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.req { color: var(--accent); }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-left: 192px; margin-top: 4px; }
.secure-badge { display: flex; gap: 10px; align-items: center; background: #e9f3ec; color: #2d6a3e; border-radius: 12px; padding: 8px 14px; font-size: .82rem; line-height: 1.25; }
.secure-badge span { display: flex; flex-direction: column; }
.secure-badge strong { color: #1f4d2c; font-weight: 600; }
.secure-badge small { color: #3f6b4b; }
.publish-fields .form-status { margin-left: 192px; }

.stepper { list-style: none; display: flex; gap: 8px; margin: 20px 0; padding: 0; counter-reset: none; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.stepper li + li::before { content: ""; width: 36px; height: 2px; background: var(--line); margin-right: 4px; }
.stepper span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); font-weight: 600; font-size: .85rem; }
.stepper .done span { background: #2d6a3e; color: var(--white); font-size: 0; }
.stepper .done span::before { content: "✓"; font-size: .85rem; }
.stepper .current { color: var(--ink); font-weight: 600; }
.stepper .current span { background: var(--accent); color: var(--white); }
.dropzone { position: relative; display: grid; place-items: center; min-height: 220px; border: 2px dashed var(--line); border-radius: 14px; background: var(--cream); cursor: pointer; overflow: hidden; transition: border-color .2s, background .2s; margin-bottom: 14px; }
.dropzone:hover, .dropzone.over { border-color: var(--accent); background: #fbf6ef; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone img { max-height: 320px; width: auto; border-radius: 8px; }
.dropzone-text { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 20px; pointer-events: none; }
.dropzone-text svg { width: 40px; height: 40px; color: var(--accent); stroke-width: 1.3; }
.dropzone-text small { color: var(--muted); }
.dropzone:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
#subida-progreso { width: 100%; height: 8px; accent-color: var(--accent); margin-bottom: 14px; }

.empty-illustration { width: 160px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 1.6; opacity: .55; flex-shrink: 0; }
#mis-fotos:not(:empty) { margin-top: 20px; }
.photo-item { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.photo-thumb { position: relative; }
.photo-thumb .badge { position: absolute; left: 10px; top: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.badge[data-type="info"] { background: #e7eef6; color: #2a4d73; }

.skyline { display: block; width: 100%; height: 110px; fill: var(--cream-2); margin-top: 8px; }

.header-actions .account-name { font-size: .88rem; font-weight: 500; margin-left: 2px; white-space: nowrap; }
.main-nav a, .btn-map { white-space: nowrap; }
.site-header.no-name .account-name { display: none; }
.site-header.tight .header-inner { gap: 20px; }
.site-header.tight .main-nav ul { gap: 24px; }
.site-header.tight .btn-map { margin-left: 8px; padding: 10px; }
.site-header.tight .btn-map-label { display: none; }

@media (max-width: 860px) {
  .publish { grid-template-columns: 1fr; }
  .site-preview { max-height: 220px; aspect-ratio: auto; height: 200px; }
  .field { grid-template-columns: 1fr; gap: 6px; }
  .field label { padding-top: 0; }
  .pay-row, .publish-fields .form-status { margin-left: 0; }
}
@media (max-width: 560px) {
  .account-banner { height: 110px; }
  .account-wrap { margin-top: -40px; }
  .account-card { padding: 22px 18px; }
  .card-head { gap: 12px; }
  .icon-circle { width: 42px; height: 42px; }
  .icon-circle svg { width: 22px; height: 22px; }
  .card-title { font-size: 1.45rem; }
  .btn-large { width: 100%; justify-content: center; }
  .empty-illustration { display: none; }
  .header-actions .account-name { display: none; }
}

/* Selector de idioma */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; margin-right: 6px; background: var(--white); }
.lang-switch button { border: 0; background: none; font: inherit; font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); padding: 5px 9px; border-radius: 999px; cursor: pointer; }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: var(--white); }
.lang-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.nav-lang { display: none; }
@media (max-width: 720px) {
  .header-actions .lang-switch { display: none; }
  .main-nav .nav-lang { display: block; padding: 12px 0 4px; }
}
