:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #111827;
  --ink-soft: #303949;
  --muted: #5a6472;
  --gold: #b8872f;
  --gold-bright: #d8ad58;
  --gold-pale: #f4ead5;
  --navy: #111827;
  --navy-deep: #0d1117;
  --line: rgba(17, 24, 39, .11);
  --line-dark: rgba(255, 255, 255, .12);
  --shadow: 0 18px 46px rgba(15, 23, 42, .11);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, .08);
  --radius: 4px;
  --maxw: 1440px;
  --reading: 780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(184, 135, 47, .52); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(100% - 56px, var(--maxw)); margin-inline: auto; }
.container-narrow { width: min(100% - 40px, var(--reading)); margin-inline: auto; }

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.topbar-inner {
  width: min(100% - 44px, var(--maxw));
  min-height: 82px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand img { width: clamp(208px, 20vw, 305px); height: auto; }
.nav-shell { display: none; justify-self: center; position: relative; }
.site-nav-desktop { justify-self: center; }
.nav-shell > summary { list-style: none; }
.nav-shell > summary::-webkit-details-marker { display: none; }
.menu-toggle { display: none; }
.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-weight: 650;
  white-space: nowrap;
}
.site-nav > a,
.nav-dropdown > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.site-nav > a::after,
.nav-dropdown > summary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
  transition: width .2s ease;
}
.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after,
.nav-dropdown[open] > summary::after,
.nav-dropdown > summary:hover::after,
.nav-dropdown > summary.is-current::after { width: 100%; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: min(320px, calc(100vw - 32px));
  padding: 10px;
  display: grid;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  color: var(--ink-soft);
  border-radius: 3px;
}
.nav-dropdown-menu a::after { content: "→"; color: var(--gold); }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] { background: var(--gold-pale); color: var(--ink); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; white-space: nowrap; }
.header-phone { font-weight: 800; letter-spacing: .01em; }
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .87rem;
  font-weight: 800;
  letter-spacing: .05em;
  white-space: nowrap;
}
.lang-switcher a { color: #697282; padding: 8px 1px; }
.lang-switcher a[aria-current="true"] { color: var(--gold); }
.lang-switcher .separator { color: #a5acb5; font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  font-weight: 800;
  letter-spacing: .025em;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .16s ease, opacity .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .97; }
.btn-gold {
  color: #fff;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  box-shadow: 0 14px 28px rgba(184, 135, 47, .22);
}
.btn-dark { color: #fff; background: var(--navy); }
.btn-outline { color: var(--gold); background: transparent; border-color: var(--gold); }
.btn-outline-light { color: var(--gold-bright); background: transparent; border-color: var(--gold-bright); }
.btn-small { min-height: 40px; padding: 8px 13px; font-size: .9rem; }
.btn-wide { width: 100%; }
.icon-button { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; }

/* Shared section typography */
.section { padding: 88px 0; }
.section-compact { padding: 64px 0; }
.section-white { background: var(--surface); }
.section-dark { color: #fff; background: var(--navy-deep); }
.section-head { max-width: 850px; margin-bottom: 38px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-kicker,
.eyebrow {
  margin-bottom: 13px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: .79rem;
  font-weight: 850;
}
.section-dark .section-kicker,
.section-dark .eyebrow { color: var(--gold-bright); }
.section-title,
.page-title,
.hero h1,
.article-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  line-height: 1.06;
}
.section-title { font-size: clamp(2rem, 3.3vw, 3.35rem); }
.section-lead { max-width: 710px; margin: 17px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.section-dark .section-lead { color: rgba(255,255,255,.76); }
.gold-rule { width: 54px; height: 2px; margin: 22px 0; background: var(--gold-bright); border-radius: 99px; }

/* Hero */
.hero { color: #fff; background: var(--navy-deep); }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: .96fr 1.04fr; }
.hero-copy {
  padding: 66px clamp(30px, 4vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 12%, rgba(199,154,67,.14), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
}
.hero h1 { max-width: 12.5ch; font-size: clamp(2.8rem, 4.8vw, 4.9rem); }
.hero-tagline { margin: 19px 0 0; color: var(--gold-bright); font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 750; }
.hero-copy > p { max-width: 46ch; margin: 0; color: rgba(255,255,255,.82); font-size: 1.06rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero-media { position: relative; min-height: 690px; overflow: hidden; background: #1a2029; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,17,23,.3), transparent 45%); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; color: rgba(255,255,255,.7); font-size: .93rem; }
.hero-trust span { display: inline-flex; gap: 7px; align-items: center; }
.hero-trust span::before { content: "✓"; color: var(--gold-bright); font-weight: 900; }

/* Benefits */
.feature-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.feature-strip-inner { width: min(100% - 56px, var(--maxw)); margin-inline: auto; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 14px; min-width: 0; padding: 6px 22px; border-right: 1px solid var(--line); }
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; padding-right: 0; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(184,135,47,.35); border-radius: 50%; }
.feature-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feature strong { display: block; margin-bottom: 1px; font-size: .98rem; }
.feature span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; }

/* Services */
.services { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.service-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.service-card > a { height: 100%; min-height: 245px; padding: 24px 19px 20px; display: flex; flex-direction: column; align-items: flex-start; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card > a:hover { transform: translateY(-4px); border-color: rgba(184,135,47,.55); box-shadow: var(--shadow); }
.service-icon { width: 52px; height: 52px; margin-bottom: 30px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(184,135,47,.35); border-radius: 50%; }
.service-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.27rem; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.service-link-label { margin-top: auto; padding-top: 18px; color: var(--gold); font-size: .85rem; font-weight: 800; }
.service-link-label::after { content: " →"; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.gallery-grid.gallery-all { grid-template-columns: repeat(4, minmax(0,1fr)); }
.gallery-item { position: relative; min-width: 0; overflow: hidden; background: #e7e6e1; border: 0; padding: 0; cursor: zoom-in; box-shadow: var(--shadow-soft); }
.gallery-item[hidden] { display: none !important; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item::after { content: "+"; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: rgba(13,17,23,.82); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 1.35rem; }
.gallery-caption { position: absolute; inset: auto 0 0; padding: 44px 16px 14px; color: #fff; font-size: .9rem; font-weight: 750; text-align: left; background: linear-gradient(transparent, rgba(13,17,23,.78)); }
.gallery-toolbar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filter-button { min-height: 40px; padding: 8px 13px; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 750; }
.filter-button[aria-pressed="true"] { color: #fff; background: var(--navy); border-color: var(--navy); }
.gallery-more { margin-top: 30px; }
.lightbox { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; padding: 74px 86px 38px; background: rgba(5,8,12,.95); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage { max-width: min(1180px, 100%); max-height: 100%; display: grid; place-items: center; }
.lightbox-image { max-width: 100%; max-height: calc(100vh - 124px); width: auto; height: auto; object-fit: contain; box-shadow: 0 24px 90px rgba(0,0,0,.55); }
.lightbox-caption { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(760px, calc(100vw - 42px)); color: rgba(255,255,255,.78); text-align: center; font-size: .9rem; }
.lightbox-close,
.lightbox-nav { position: fixed; z-index: 1; display: grid; place-items: center; color: #fff; background: rgba(13,17,23,.9); border: 1px solid rgba(255,255,255,.55); cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.lightbox-close { top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); width: 52px; height: 52px; border-radius: 50%; font-size: 1.7rem; border-color: var(--gold-bright); }
.lightbox-nav { top: 50%; width: 54px; height: 70px; transform: translateY(-50%); font-size: 2.2rem; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* Location and quote */
.location-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.location-card { padding: 34px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.location-card address { font-style: normal; }
.location-facts { display: grid; gap: 12px; margin-top: 24px; }
.location-fact { display: grid; grid-template-columns: 26px 1fr; gap: 11px; color: var(--ink-soft); }
.location-fact strong { color: var(--ink); }
.quote-section { padding: 82px 0; color: #fff; background: var(--navy-deep); }
.quote-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px,6vw,84px); align-items: start; }
.quote-copy h2 { max-width: 12ch; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem,4vw,4rem); line-height: 1.03; letter-spacing: -.04em; margin: 0; }
.quote-copy p { max-width: 45ch; color: rgba(255,255,255,.75); line-height: 1.8; }
.quote-contact { margin-top: 28px; display: grid; gap: 10px; }
.quote-contact a { width: fit-content; color: var(--gold-bright); font-weight: 800; }
.quote-card { padding: clamp(24px,4vw,42px); color: var(--ink); background: var(--surface); box-shadow: 0 24px 70px rgba(0,0,0,.24); }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.form-field { display: grid; gap: 7px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .9rem; font-weight: 800; color: var(--ink-soft); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(17,24,39,.2);
  border-radius: 2px;
}
.form-field textarea { min-height: 118px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,135,47,.14); outline: 0; }
.form-help { color: var(--muted); font-size: .78rem; }
.form-check { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; color: var(--muted); font-size: .83rem; }
.form-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gold); }
.form-check a { color: var(--gold); text-decoration: underline; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { min-height: 22px; color: var(--muted); font-size: .88rem; }
.form-status.is-error { color: #a61b1b; }
.form-status.is-success { color: #176b3a; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Inner pages */
.breadcrumbs { width: min(100% - 56px,var(--maxw)); margin: 0 auto; padding: 20px 0 0; color: var(--muted); font-size: .84rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #a6adb7; }
.page-hero { color: #fff; background: var(--navy-deep); }
.page-hero-grid { min-height: 535px; display: grid; grid-template-columns: 1fr 1fr; }
.page-hero-copy { padding: 62px clamp(28px,5vw,76px); display: flex; flex-direction: column; justify-content: center; }
.page-title { max-width: 13ch; font-size: clamp(2.6rem,4.7vw,4.8rem); }
.page-hero-copy p { max-width: 47ch; margin: 0; color: rgba(255,255,255,.79); font-size: 1.06rem; line-height: 1.8; }
.page-hero-media { min-height: 535px; overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.46fr); gap: clamp(36px,6vw,82px); align-items: start; }
.prose { max-width: 790px; }
.prose h2 { margin: 0 0 18px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.85rem,3vw,2.75rem); line-height: 1.13; letter-spacing: -.025em; }
.prose h3 { margin: 34px 0 10px; font-size: 1.22rem; }
.prose p { margin: 0 0 17px; color: var(--ink-soft); line-height: 1.85; }
.prose ul, .prose ol { padding-left: 1.35rem; color: var(--ink-soft); }
.prose li { margin: 8px 0; }
.aside-card { position: sticky; top: 112px; padding: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.aside-card h2, .aside-card h3 { margin-top: 0; font-family: Georgia,"Times New Roman",serif; }
.aside-card ul { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.aside-card li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: var(--ink-soft); font-size: .93rem; }
.aside-card li::before { content: "✓"; color: var(--gold); font-weight: 900; }
.benefit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.benefit-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.benefit-card .number { color: var(--gold); font-family: Georgia,"Times New Roman",serif; font-size: 2rem; }
.benefit-card h3 { margin: 17px 0 8px; font-size: 1.12rem; }
.benefit-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; counter-reset: steps; }
.process-step { position: relative; padding-top: 18px; border-top: 2px solid var(--gold-pale); }
.process-step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 12px; color: var(--gold); font-family: Georgia,"Times New Roman",serif; font-size: 1.55rem; }
.process-step h3 { margin: 0 0 8px; }
.process-step p { margin: 0; color: var(--muted); }
.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: clamp(28px,5vw,54px); color: #fff; background: var(--navy); }
.cta-panel h2, .cta-panel h3 { margin: 0 0 8px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.8rem,3vw,2.8rem); }
.cta-panel p { margin: 0; color: rgba(255,255,255,.72); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 18px 56px 18px 20px; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 20px; color: var(--muted); line-height: 1.8; }
.faq-answer p { margin: 0; }

/* Guides / articles */
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.guide-card { display: flex; flex-direction: column; min-height: 260px; padding: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.guide-card .tag { color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: .74rem; font-weight: 850; }
.guide-card h2, .guide-card h3 { margin: 18px 0 11px; font-family: Georgia,"Times New Roman",serif; font-size: 1.55rem; line-height: 1.2; }
.guide-card p { margin: 0; color: var(--muted); }
.guide-card .service-link-label { margin-top: auto; }
.article-header { padding: 68px 0 46px; background: var(--surface); border-bottom: 1px solid var(--line); }
.article-title { max-width: 920px; font-size: clamp(2.65rem,5vw,4.8rem); }
.article-meta { margin-top: 19px; color: var(--muted); }
.article-body { width: min(100% - 40px, 820px); margin: 0 auto; padding: 64px 0 84px; }
.article-body h2 { margin: 46px 0 16px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(1.8rem,3vw,2.55rem); line-height: 1.16; }
.article-body h3 { margin: 32px 0 10px; }
.article-body p, .article-body li { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.86; }
.article-body ul, .article-body ol { padding-left: 1.35rem; }
.article-callout { margin: 34px 0; padding: 24px 26px; background: var(--gold-pale); border-left: 4px solid var(--gold); }
.article-callout p { margin: 0; color: var(--ink); }
.comparison-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: .94rem; }
.comparison-table th, .comparison-table td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th { background: var(--navy); color: #fff; }

/* Legal */
.legal-page { width: min(100% - 40px, 900px); margin-inline: auto; padding: 70px 0 90px; }
.legal-page h1 { margin: 0 0 34px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.6rem,5vw,4.4rem); }
.legal-page h2 { margin: 38px 0 12px; font-size: 1.35rem; }
.legal-page p, .legal-page li { color: var(--ink-soft); line-height: 1.82; }
.legal-data { display: grid; grid-template-columns: 210px 1fr; gap: 8px 20px; padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.legal-data dt { font-weight: 800; }
.legal-data dd { margin: 0; color: var(--ink-soft); }

/* Footer */
.footer { color: rgba(255,255,255,.78); background: var(--navy-deep); border-top: 1px solid var(--line-dark); }
.footer-inner { width: min(100% - 56px,var(--maxw)); margin-inline: auto; padding: 58px 0 38px; display: grid; grid-template-columns: 1.35fr .72fr .9fr .72fr; gap: 42px; }
.footer-brand img { width: min(330px,100%); height: auto; filter: brightness(0) invert(1); opacity: .93; }
.footer-brand p { max-width: 47ch; margin: 18px 0 0; color: rgba(255,255,255,.62); font-size: .92rem; }
.footer h2, .footer h3, .footer h4 { margin: 0 0 14px; color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .11em; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links a, .footer-links span { font-size: .9rem; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-contact { display: grid; gap: 9px; }
.footer-contact a { color: rgba(255,255,255,.84); }
.footer-bottom { width: min(100% - 56px,var(--maxw)); margin-inline: auto; padding: 18px 0 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line-dark); font-size: .8rem; color: rgba(255,255,255,.52); }
.legal-links { display: flex; flex-wrap: wrap; gap: 7px; }
.legal-links a:hover { color: var(--gold-bright); }

.wa-float { position: fixed; right: max(18px,env(safe-area-inset-right)); bottom: max(18px,env(safe-area-inset-bottom)); z-index: 900; width: 56px; height: 56px; display: grid; place-items: center; color: #fff; background: #1d9b51; border-radius: 50%; box-shadow: 0 12px 30px rgba(0,0,0,.25); font-weight: 900; }
.wa-float svg { width: 27px; height: 27px; fill: currentColor; }

/* Consent */
.consent-banner { position: fixed; z-index: 3500; left: 18px; right: 18px; bottom: 18px; max-width: 760px; margin: auto; padding: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.consent-banner h2 { margin: 0 0 6px; font-size: 1rem; }
.consent-banner p { margin: 0; color: var(--muted); font-size: .86rem; }
.consent-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 9px; }

/* Success / 404 */
.status-page { min-height: 68vh; display: grid; place-items: center; padding: 70px 20px; text-align: center; }
.status-card { max-width: 700px; padding: clamp(30px,6vw,64px); background: var(--surface); box-shadow: var(--shadow); }
.status-card .status-icon { width: 70px; height: 70px; margin: 0 auto 22px; display: grid; place-items: center; color: #fff; background: var(--gold); border-radius: 50%; font-size: 2rem; }
.status-card h1 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(2.25rem,5vw,4rem); }
.status-card p { color: var(--muted); }

@media (max-width: 1180px) {
  .topbar-inner { gap: 16px; }
  .site-nav { gap: 12px; font-size: .92rem; }
  .header-phone { display: none; }
  .services { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery-grid.gallery-all { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 78px; }
  .topbar-inner { width: min(100% - 28px,var(--maxw)); min-height: 74px; grid-template-columns: 1fr auto auto; }
  .brand img { width: clamp(185px,32vw,250px); }
  .header-actions .btn { display: none; }
  .site-nav.site-nav-desktop { display: none; }
  .nav-shell { display: block; justify-self: end; }
  .menu-toggle { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; color: var(--ink); background: #fff; border: 1px solid var(--line); cursor: pointer; }
  .menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; width: 20px; height: 2px; display: block; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle span { margin: 4px 0; }
  .nav-shell[open] .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
  .nav-shell[open] .menu-toggle span { opacity: 0; }
  .nav-shell[open] .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; left: 0; right: 0; top: 74px; max-height: calc(100vh - 74px); overflow-y: auto; padding: 16px 22px 24px; display: grid; justify-content: stretch; align-items: stretch; gap: 0; background: rgba(255,255,255,.99); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); white-space: normal; }
  .site-nav > a, .nav-dropdown > summary { min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .site-nav > a::after, .nav-dropdown > summary::after { display: none; }
  .nav-dropdown-menu { position: static; transform: none; width: 100%; padding: 5px 0 10px 12px; border: 0; box-shadow: none; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 560px; }
  .hero-media { min-height: 480px; }
  .page-hero-copy { min-height: 470px; }
  .page-hero-media { min-height: 430px; }
  .feature-strip-inner { grid-template-columns: repeat(2,1fr); gap: 12px 0; }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(3), .feature:nth-child(4) { border-top: 1px solid var(--line); padding-top: 16px; }
  .quote-layout, .location-grid, .content-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .benefit-grid, .process-grid, .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-contact-wrap { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 30px,var(--maxw)); }
  .container-narrow { width: min(100% - 30px,var(--reading)); }
  .section { padding: 66px 0; }
  .section-compact { padding: 50px 0; }
  .topbar-inner { gap: 9px; }
  .brand img { width: clamp(164px,46vw,210px); }
  .lang-switcher { gap: 5px; font-size: .78rem; }
  .hero-copy { min-height: auto; padding: 54px 22px 48px; }
  .hero h1 { max-width: 15ch; font-size: clamp(2.45rem,12vw,3.75rem); }
  .hero-media { min-height: 340px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .feature-strip-inner { width: min(100% - 30px,var(--maxw)); grid-template-columns: 1fr; padding: 17px 0; }
  .feature { min-height: 76px; padding: 11px 0; border-right: 0; border-top: 1px solid var(--line); }
  .feature:first-child { border-top: 0; }
  .feature:nth-child(3), .feature:nth-child(4) { padding-top: 11px; }
  .feature-icon { width: 44px; height: 44px; }
  .section-head { margin-bottom: 28px; }
  .services { grid-template-columns: 1fr; gap: 9px; }
  .service-card > a { min-height: 0; padding: 16px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; }
  .service-icon { width: 46px; height: 46px; margin: 0; grid-row: 1 / span 2; }
  .service-card h3 { margin: 0 0 2px; font-size: 1.14rem; }
  .service-card p { font-size: .86rem; }
  .service-link-label { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; font-size: 0; }
  .service-link-label::after { content: "→"; font-size: 1.2rem; }
  .gallery-grid, .gallery-grid.gallery-all { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .gallery-more .btn { max-width: 100%; white-space: normal; text-align: center; }
  .gallery-caption { display: none; }
  .gallery-item::after { width: 32px; height: 32px; right: 7px; bottom: 7px; font-size: 1.12rem; }
  .lightbox { padding: 72px 12px 48px; }
  .lightbox-image { max-height: calc(100vh - 132px); }
  .lightbox-close { width: 50px; height: 50px; top: max(12px,env(safe-area-inset-top)); right: max(12px,env(safe-area-inset-right)); }
  .lightbox-nav { width: 46px; height: 60px; background: rgba(13,17,23,.72); }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .quote-section { padding: 64px 0; }
  .quote-copy h2 { max-width: 14ch; }
  .quote-card { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full, .form-check, .form-actions { grid-column: auto; }
  .form-actions { display: grid; }
  .page-hero-copy { min-height: auto; padding: 54px 22px 48px; }
  .page-title { max-width: 15ch; font-size: clamp(2.45rem,12vw,3.75rem); }
  .page-hero-media { min-height: 330px; }
  .breadcrumbs { width: min(100% - 30px,var(--maxw)); padding-top: 13px; }
  .benefit-grid, .process-grid, .card-grid { grid-template-columns: 1fr; }
  .benefit-card { padding: 22px; }
  .cta-panel { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { display: grid; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .article-header { padding: 48px 0 36px; }
  .article-body { width: min(100% - 30px,820px); padding: 48px 0 64px; }
  .comparison-table { display: block; overflow-x: auto; white-space: normal; }
  .legal-data { grid-template-columns: 1fr; gap: 2px; }
  .legal-data dd { margin-bottom: 11px; }
  .footer-inner { width: min(100% - 30px,var(--maxw)); padding: 30px 0 20px; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 22px 18px; }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(115px,145px) minmax(0,1fr); gap: 14px; align-items: center; }
  .footer-brand img { width: 100%; max-width: 145px; }
  .footer-brand p { max-width: none; margin: 0; font-size: .82rem; line-height: 1.45; }
  .footer h2, .footer h3, .footer h4 { margin-bottom: 8px; font-size: .78rem; }
  .footer-links { gap: 4px; min-width: 0; }
  .footer-links a, .footer-links span { font-size: .82rem; line-height: 1.45; }
  .footer-contact-wrap { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-contact { min-width: 0; gap: 5px; font-size: .82rem; line-height: 1.45; overflow-wrap: anywhere; }
  .footer-bottom { width: min(100% - 30px,var(--maxw)); padding: 12px 0 82px; display: grid; gap: 8px; font-size: .74rem; line-height: 1.45; }
  .footer-bottom .legal-links { gap: 4px 10px; }
  .footer-bottom .legal-links span { display: none; }
  .wa-float { bottom: max(18px,env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .consent-banner { left: 10px; right: 10px; bottom: 10px; }
}

@media (max-width: 390px) {
  .topbar-inner { width: min(100% - 20px,var(--maxw)); }
  .brand img { width: 154px; }
  .lang-switcher { font-size: .74rem; }
  .menu-toggle { width: 40px; height: 40px; }
  .gallery-grid, .gallery-grid.gallery-all { grid-template-columns: 1fr; }
  .footer-brand { grid-template-columns: 105px minmax(0,1fr); gap: 12px; }
  .footer-brand img { max-width: 115px; }
  .footer-brand p { font-size: .77rem; line-height: 1.4; }
}

@media (max-width: 350px) {
  .footer-contact-wrap { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* RR Aluminio V2 — refinamiento elegante y responsive aprobado */
:root {
  --bg:#f8f7f3; --surface:#fff; --ink:#17202b; --ink-soft:#303949; --muted:#68717c;
  --gold:#9b6c27; --gold-bright:#caa45e; --gold-pale:#f5eee2; --navy:#17202b;
  --navy-deep:#10171e; --line:rgba(23,32,43,.09); --line-dark:rgba(255,255,255,.11);
  --shadow:0 12px 30px rgba(15,23,42,.06); --shadow-soft:0 7px 20px rgba(15,23,42,.035); --radius:7px;
}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Variable Text","Segoe UI",Arial,sans-serif;font-weight:400;line-height:1.6;color:var(--ink);background:var(--bg)}
strong,b{font-weight:600}.topbar{border-bottom-color:rgba(23,32,43,.075);box-shadow:none}.site-nav{font-weight:500;letter-spacing:.005em}.site-nav>a::after,.nav-dropdown>summary::after{height:1px;border-radius:0}.header-phone{font-weight:600}.lang-switcher{font-weight:500}.lang-switcher a[aria-current=true]{font-weight:700}
.btn{font-weight:600;letter-spacing:.025em;border-radius:4px;box-shadow:none}.btn-gold{background:var(--gold);box-shadow:0 6px 16px rgba(117,78,23,.13)}.btn-gold:hover{background:#8d6122;box-shadow:0 8px 18px rgba(117,78,23,.17)}.btn-outline{border-color:rgba(155,108,39,.72);color:var(--gold);background:transparent}.btn-outline-light{border-color:var(--gold-bright);color:var(--gold-bright)}
.section-title,.page-title,.hero h1,.article-title,.article-header h1,.cta-panel h2,.quote-copy h2,.quote-card h3,.status-card h1{font-family:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;font-weight:500;letter-spacing:-.028em}.section-kicker,.eyebrow{font-size:.76rem;font-weight:600;letter-spacing:.20em}.section-title{line-height:1.11}.section-head{margin-bottom:30px}
.hero{background:var(--navy-deep)}.hero-copy{background:radial-gradient(circle at 18% 17%,rgba(202,164,94,.075),transparent 30%),linear-gradient(180deg,rgba(255,255,255,.015),rgba(255,255,255,0))}.hero h1{line-height:1.01;letter-spacing:-.035em}.hero-tagline{font-weight:500}.gold-rule{width:48px;height:1px;border-radius:0}.hero-copy>p{line-height:1.72;color:rgba(255,255,255,.79)}
.feature-strip{background:var(--navy-deep);border-top:1px solid rgba(202,164,94,.1);border-bottom:1px solid rgba(202,164,94,.1)}.feature{border-right-color:rgba(255,255,255,.1)}.feature-icon{width:46px;height:46px;border-color:rgba(202,164,94,.34)}.feature-icon svg,.service-icon svg{stroke-width:1.25}.feature strong{font-weight:600;color:#fff}.feature span{color:rgba(255,255,255,.69);line-height:1.5}
.services{gap:0;border:1px solid var(--line);border-radius:7px;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.035)}.service-card{border:0;border-right:1px solid var(--line);box-shadow:none}.service-card:last-child{border-right:0}.service-card>a{min-height:220px}.service-card>a:hover{transform:translateY(-2px);box-shadow:none;background:#fffdf9}.service-card h3{font-weight:600;text-transform:none;letter-spacing:0}.service-card p{color:var(--muted);line-height:1.6}.service-icon{color:var(--gold)}
.gallery-item,.benefit-card,.process-card,.guide-card,.aside-card,.quote-card,.status-card{border-radius:7px;box-shadow:var(--shadow-soft)}.gallery-item{box-shadow:0 7px 18px rgba(15,23,42,.04)}.gallery-item img{border-radius:7px}.gallery-filter{font-weight:500;border-radius:5px}.gallery-filter[aria-pressed=true]{background:var(--navy);color:#fff}.lightbox-close,.lightbox-nav{font-weight:400}
.faq-list{gap:0;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fff}.faq-list details{border:0;border-radius:0;box-shadow:none}.faq-list details+details{border-top:1px solid rgba(23,32,43,.075)}.faq-list summary{font-weight:600}.faq-answer{color:var(--muted)}
.quote-card{border:1px solid var(--line);box-shadow:0 8px 24px rgba(15,23,42,.04)}.form-field label{font-weight:600}.form-field input,.form-field select,.form-field textarea{border-color:rgba(23,32,43,.16);border-radius:3px;background:#fff}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(155,108,39,.09)}.form-check{font-weight:400}.rr-form-privacy-note{margin:0;color:var(--muted);font-size:.78rem}.form-actions{align-items:center}
.location-card,.location-copy,.location-grid{border-radius:7px}.location-grid{align-items:center}.location-copy p{color:var(--muted)}
.footer{background:var(--navy-deep)}.footer h2,.footer h3,.footer h4{font-weight:600;letter-spacing:.14em}.footer-links a{font-weight:400}
.related-guides{border-top:1px solid var(--line)}.related-guides-title{margin:0 0 14px;font-family:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif;font-weight:500}.related-guides-links{display:flex;flex-wrap:wrap;gap:10px}.related-guides-links a{padding:10px 13px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--gold);font-weight:600}
.home-faq-compact>summary{display:none}
@media(min-width:721px){.home-faq-compact:not([open])>.faq-list{display:block}}
@media(max-width:1180px){.services{gap:10px;border:0;overflow:visible;box-shadow:none}.service-card{border:1px solid var(--line);border-radius:7px}.service-card:last-child{border-right:1px solid var(--line)}}
@media(max-width:980px){.topbar{position:relative}.services{gap:9px}}
@media(max-width:720px){
  .section{padding:58px 0}.section-compact{padding:44px 0}.hero-copy{padding:46px 18px 42px}.hero h1{font-size:clamp(2.2rem,11vw,3.3rem)}.hero-media{min-height:300px}.hero-trust{font-size:.82rem}
  .feature-strip-inner{padding:12px 0}.feature{min-height:64px;padding:9px 0;grid-template-columns:42px 1fr;gap:11px}.feature-icon{width:38px;height:38px}.feature strong{font-size:.88rem}.feature span{font-size:.76rem}
  .service-card>a{padding:13px 12px;grid-template-columns:40px 1fr auto;gap:10px}.service-icon{width:38px;height:38px}.service-card h3{font-size:.92rem}.service-card p{font-size:.75rem;line-height:1.42}.service-link-label::after{font-size:1rem}
  .location-grid{display:block}.location-copy{position:relative;margin:0;padding:15px 16px 15px 19px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:var(--shadow-soft)}.location-copy::before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:2px;background:var(--gold)}.location-copy .section-kicker{margin-bottom:5px;font-size:.66rem}.location-copy h2{font-size:1.3rem;line-height:1.08;margin:0 0 4px}.location-copy p{font-size:.78rem;line-height:1.4;margin:0}.location-card{display:none}
  .home-faq-compact{border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:var(--shadow-soft);overflow:hidden}.home-faq-compact>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:12px 42px 12px 17px;position:relative;cursor:pointer;list-style:none}.home-faq-compact>summary::-webkit-details-marker{display:none}.home-faq-compact>summary::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:2px;background:var(--gold)}.home-faq-compact>summary::after{content:"+";position:absolute;right:14px;color:var(--gold);font-size:1.2rem}.home-faq-compact[open]>summary::after{content:"−"}.home-faq-summary-title{font-family:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif;font-size:1.05rem;font-weight:500}.home-faq-summary-note{color:var(--muted);font-size:.74rem}.home-faq-compact>.faq-list{border:0;border-top:1px solid var(--line);border-radius:0}.home-faq-compact .faq-list summary{min-height:44px;padding:10px 34px 10px 12px;font-size:.8rem;font-weight:500;line-height:1.28}.home-faq-compact .faq-answer{padding:0 12px 12px;font-size:.79rem;line-height:1.52}
  .quote-card{padding:18px 14px}.form-grid{gap:13px}.form-field label{font-size:.78rem}.form-field input,.form-field select,.form-field textarea{font-size:.86rem}.form-actions{display:grid;grid-template-columns:1fr}.form-actions .btn{width:100%}.rr-form-privacy-note{font-size:.7rem;line-height:1.4}
  .related-guides-links{display:grid}.related-guides-links a{font-size:.84rem}
}


/* RR Aluminio V3 — contraste y compactación móvil */
/* Contraste correcto en todos los bloques de fondo oscuro */
.section-dark .process-step {
  border-top-color: rgba(202, 164, 94, .38);
}
.section-dark .process-step::before {
  color: var(--gold-bright);
}
.section-dark .process-step h3 {
  color: #ffffff;
}
.section-dark .process-step p {
  color: rgba(255, 255, 255, .74);
}
.quote-section .location-fact {
  color: rgba(255, 255, 255, .76);
}
.quote-section .location-fact strong {
  color: #ffffff;
}
.quote-section .location-fact > span {
  color: var(--gold-bright);
  font-weight: 600;
}

@media (max-width: 720px) {
  /* Portada: listado de servicios más compacto sin perder legibilidad */
  body[data-page="home"] #servicios.section {
    padding: 46px 0 40px;
  }
  body[data-page="home"] #servicios .section-head {
    margin-bottom: 18px;
  }
  body[data-page="home"] #servicios .section-lead {
    margin-top: 12px;
    font-size: .91rem;
    line-height: 1.55;
  }
  body[data-page="home"] #servicios .services {
    gap: 6px;
  }
  body[data-page="home"] #servicios .service-card > a {
    min-height: 0;
    padding: 9px 10px;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    gap: 8px;
  }
  body[data-page="home"] #servicios .service-icon {
    width: 34px;
    height: 34px;
  }
  body[data-page="home"] #servicios .service-icon svg {
    width: 22px;
    height: 22px;
  }
  body[data-page="home"] #servicios .service-card h3 {
    margin: 0;
    font-size: .9rem;
    line-height: 1.18;
  }
  body[data-page="home"] #servicios .service-card p {
    margin-top: 2px;
    font-size: .72rem;
    line-height: 1.28;
  }
  body[data-page="home"] #servicios .service-link-label::after {
    font-size: 1rem;
  }

  /* Portada: proyectos en dos columnas también en móviles estrechos */
  body[data-page="home"] .home-projects.section {
    padding: 46px 0 48px;
  }
  body[data-page="home"] .home-projects .section-head {
    margin-bottom: 18px;
  }
  body[data-page="home"] .home-projects .section-lead {
    margin-top: 12px;
    font-size: .91rem;
    line-height: 1.55;
  }
  body[data-page="home"] .home-projects .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  body[data-page="home"] .home-projects .gallery-item img {
    aspect-ratio: 4 / 3;
  }
  body[data-page="home"] .home-projects .gallery-item::after {
    width: 28px;
    height: 28px;
    right: 6px;
    bottom: 6px;
    font-size: 1rem;
  }
  body[data-page="home"] .home-projects .gallery-more {
    margin-top: 18px;
  }
}

/* RR Aluminio V4 — miniaturas de portada proporcionadas en móviles pequeños */
@media (max-width: 720px) {
  body[data-page="home"] .home-projects .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  body[data-page="home"] .home-projects .gallery-item {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  body[data-page="home"] .home-projects .gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    max-width: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 390px) {
  body[data-page="home"] .home-projects .container {
    width: min(100% - 20px, var(--maxw));
  }

  body[data-page="home"] .home-projects .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
}

/* Fallback para navegadores antiguos sin soporte de aspect-ratio */
@supports not (aspect-ratio: 4 / 3) {
  @media (max-width: 720px) {
    body[data-page="home"] .home-projects .gallery-item {
      height: 0;
      padding-bottom: 75%;
      box-sizing: content-box;
    }
  }
}

/* RR Aluminio V7 — multilingual selector */
.mobile-language{display:block;border-bottom:1px solid var(--line)}
.mobile-language>summary{min-height:48px;padding:10px 0;cursor:pointer;font-weight:500;list-style:none;display:flex;align-items:center;justify-content:space-between}
.mobile-language>summary::-webkit-details-marker{display:none}
.mobile-language>summary::after{content:"+";color:var(--gold);font-size:1.05rem}
.mobile-language[open]>summary::after{content:"−"}
.mobile-language-menu{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;padding:5px 0 12px 0}
.mobile-language-menu a{display:flex;align-items:center;gap:9px;min-height:42px;padding:8px 0;color:var(--muted);font-size:.88rem}
.mobile-language-menu a[aria-current="true"]{color:var(--gold);font-weight:600}
.flag{width:22px;height:15px;display:inline-block;border-radius:2px;flex:none;position:relative;overflow:hidden;box-shadow:0 0 0 1px rgba(17,24,39,.08)}
.flag-es{background:linear-gradient(#c60b1e 0 25%,#ffc400 25% 75%,#c60b1e 75%)}
.flag-en{background:linear-gradient(35deg,transparent 42%,#fff 42% 58%,transparent 58%),linear-gradient(-35deg,transparent 42%,#fff 42% 58%,transparent 58%),linear-gradient(90deg,transparent 43%,#c8102e 43% 57%,transparent 57%),linear-gradient(0deg,transparent 35%,#c8102e 35% 65%,transparent 65%),#012169}
.flag-fr{background:linear-gradient(90deg,#0055a4 0 33.33%,#fff 33.33% 66.66%,#ef4135 66.66%)}
.flag-ca{background:repeating-linear-gradient(0deg,#ffcc33 0 3px,#d00000 3px 5px)}
@media(min-width:981px){.mobile-language{display:none}}
@media(max-width:980px){.header-actions .lang-switcher{display:none}}
@media(max-width:390px){.mobile-language-menu{grid-template-columns:1fr 1fr}.mobile-language-menu a{font-size:.82rem}}


/* V8: compact text-only language dropdown. */
.lang-switcher.lang-dropdown{position:relative;display:inline-block;font-size:.78rem;font-weight:500;white-space:nowrap}
.lang-dropdown>summary{list-style:none;cursor:pointer;padding:8px 22px 8px 6px;color:#697282;position:relative}
.lang-dropdown>summary::-webkit-details-marker{display:none}
.lang-dropdown>summary::after{content:"";position:absolute;right:7px;top:50%;width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-65%) rotate(45deg)}
.lang-dropdown[open]>summary{color:var(--gold)}
.lang-dropdown[open]>summary::after{transform:translateY(-25%) rotate(225deg)}
.lang-dropdown-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:112px;background:#fff;border:1px solid rgba(17,24,39,.09);box-shadow:0 12px 28px rgba(15,23,42,.10);padding:5px 0;z-index:50}
.lang-dropdown-menu a{display:block;padding:9px 14px;color:#697282;font-weight:500}
.lang-dropdown-menu a:hover,.lang-dropdown-menu a[aria-current="true"]{color:var(--gold);background:#faf9f6}
.lang-dropdown-menu a[aria-current="true"]{font-weight:600}
@media(max-width:980px){.header-actions .lang-switcher{display:none}}
.mobile-language-menu a{gap:0}


/* V9: force the desktop language menu to render as a vertical dropdown. */
.lang-dropdown{position:relative !important;display:inline-block !important;flex:0 0 auto !important;vertical-align:middle !important;white-space:nowrap !important}
.lang-dropdown-menu{display:block !important;position:absolute !important;right:0 !important;top:calc(100% + 6px) !important;min-width:118px !important;width:max-content !important;background:#fff !important;border:1px solid rgba(17,24,39,.09) !important;box-shadow:0 12px 28px rgba(15,23,42,.10) !important;padding:5px 0 !important;z-index:1000 !important}
.lang-dropdown-menu a{display:block !important;width:100% !important;box-sizing:border-box !important;padding:10px 14px !important;white-space:nowrap !important;color:#697282 !important;font-weight:500 !important}
.lang-dropdown-menu a:hover,.lang-dropdown-menu a[aria-current="true"]{color:var(--gold) !important;background:#faf9f6 !important}
.lang-dropdown-menu a[aria-current="true"]{font-weight:600 !important}
@media(max-width:980px){.lang-dropdown{display:none !important}}
