/* ═══════════════════════════════════════════════════════════
   RESIDENZE DI ANNA — Luxury Editorial Stylesheet
   Typography: Playfair Display + DM Sans
   Palette: Warm ivory, charcoal, burnished gold
   ═══════════════════════════════════════════════════════════ */

:root {
    --iv: #FAF8F4; --cr: #F3EFE8; --sa: #E8E2D6; --st: #C4BAA8;
    --ea: #8C7E6A; --ch: #2C2824; --ink: #1A1714;
    --go: #B8952E; --gl: #D4B44A; --gd: rgba(184,149,46,0.12);
    --wh: #FFF; --er: #B44233; --ok: #3D7A4A;
    --fd: 'Playfair Display', Georgia, serif;
    --fb: 'DM Sans', -apple-system, sans-serif;
    --rs: 6px; --rm: 12px; --rl: 16px; --rx: 24px;
    --ez: cubic-bezier(.16,1,.3,1);
    --eo: cubic-bezier(0,0,.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

.R { font-family: var(--fb); color: var(--ch); background: var(--iv); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }

/* ═══ HEADER ═══ */
.R-hd { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 48px; height: 72px; display: flex; align-items: center; justify-content: space-between; transition: all .4s var(--ez); }
.R-hd--t { background: transparent; }
.R-hd--s { background: rgba(250,248,244,.92); backdrop-filter: blur(24px) saturate(1.4); border-bottom: 1px solid rgba(200,190,170,.2); }
.R-hd--f { background: var(--iv); border-bottom: 1px solid var(--sa); }
.R-logo { font-family: var(--fd); font-size: 22px; font-weight: 500; letter-spacing: .02em; cursor: pointer; transition: color .3s; text-decoration: none; }
.R-hd--t .R-logo { color: var(--wh); }
.R-hd--s .R-logo, .R-hd--f .R-logo { color: var(--ink); }
.R-nav { display: flex; align-items: center; gap: 36px; }
.R-nav a { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: all .3s; position: relative; }
.R-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--go); transition: width .3s var(--ez); }
.R-nav a:hover::after { width: 100%; }
.R-hd--t .R-nav a { color: rgba(255,255,255,.8); }
.R-hd--t .R-nav a:hover { color: var(--wh); }
.R-hd--s .R-nav a, .R-hd--f .R-nav a { color: var(--ea); }
.R-hd--s .R-nav a:hover, .R-hd--f .R-nav a:hover { color: var(--ch); }
.R-lang { position: relative; }
.R-lang-btn { display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 100px; border: 1px solid; font-family: var(--fb); font-size: 12px; font-weight: 600; letter-spacing: .1em; cursor: pointer; transition: all .3s; background: transparent; }
.R-hd--t .R-lang-btn { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.8); }
.R-hd--s .R-lang-btn, .R-hd--f .R-lang-btn { border-color: var(--sa); color: var(--ea); }
.R-lang-dd { position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; background: var(--wh); border: 1px solid var(--sa); border-radius: var(--rm); box-shadow: 0 16px 48px rgba(0,0,0,.1); overflow: hidden; animation: Rfd .25s var(--ez); z-index: 110; }
.R-lang-opt { display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-size: 14px; color: var(--ch); cursor: pointer; text-decoration: none; transition: background .2s; }
.R-lang-opt:hover { background: var(--cr); }
.R-lang-opt--a { color: var(--go); font-weight: 600; }
.R-lang-opt span:first-child { font-weight: 700; font-size: 12px; letter-spacing: .05em; width: 24px; text-align: center; }
.R-mb { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.R-hd--t .R-mb svg { stroke: white; }
.R-hd--s .R-mb svg, .R-hd--f .R-mb svg { stroke: var(--ch); }

/* Mobile Menu */
.R-mo { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: flex-end; animation: Rfi .2s; }
.R-mo-bg { position: absolute; inset: 0; background: rgba(26,23,20,.4); backdrop-filter: blur(4px); }
.R-mo-p { position: relative; width: min(340px, 85vw); background: var(--iv); padding: 40px 32px; display: flex; flex-direction: column; animation: Rsr .35s var(--ez); overflow-y: auto; }
.R-mo-x { align-self: flex-end; background: none; border: none; cursor: pointer; color: var(--ch); margin-bottom: 40px; }
.R-mo-p > a { display: block; padding: 16px 0; font-family: var(--fd); font-size: 26px; font-weight: 400; color: var(--ch); text-decoration: none; cursor: pointer; border-bottom: 1px solid var(--sa); transition: color .2s; }
.R-mo-p > a:hover { color: var(--go); }
.R-mo-ls { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.R-mo-ls a { padding: 8px 16px !important; border: 1px solid var(--sa); border-radius: 100px; background: transparent; font-family: var(--fb) !important; font-size: 13px !important; font-weight: 500; color: var(--ea); display: inline-block !important; text-decoration: none; }
.R-mo-ls a:hover, .R-mo-ls a.act { background: var(--ch); color: var(--wh); border-color: var(--ch); }

/* ═══ HERO ═══ */
.R-hero { position: relative; height: 100vh; min-height: 680px; display: flex; align-items: flex-end; overflow: hidden; }
.R-hero-bg { position: absolute; inset: 0; }
.R-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: Rhz 20s var(--eo) forwards; }
.R-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,14,.78) 0%, rgba(20,18,14,.12) 50%, rgba(20,18,14,.3) 100%); }
.R-hero-ct { position: relative; z-index: 2; max-width: 700px; padding: 0 48px 96px; }
.R-hero-ct h1 { font-family: var(--fd); font-size: clamp(46px, 7.5vw, 88px); font-weight: 400; color: var(--wh); line-height: .98; letter-spacing: -.01em; animation: Rfu 1s .2s var(--ez) both; }
.R-hero-ct h1 em { font-style: italic; font-weight: 500; color: var(--gl); }
.R-hero-ct p { font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,.7); font-weight: 300; line-height: 1.6; margin: 24px 0 40px; max-width: 540px; letter-spacing: .01em; animation: Rfu 1s .4s var(--ez) both; }
.R-hero-cta { display: inline-flex; align-items: center; gap: 12px; padding: 18px 40px; border: 1px solid rgba(255,255,255,.35); border-radius: 0; background: transparent; color: var(--wh); font-family: var(--fb); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: all .4s var(--ez); animation: Rfu 1s .6s var(--ez) both; text-decoration: none; }
.R-hero-cta:hover { background: var(--wh); color: var(--ink); border-color: var(--wh); }
.R-hero-cta svg { transition: transform .3s var(--ez); }
.R-hero-cta:hover svg { transform: translateX(4px); }

/* ═══ SEARCH ═══ */
.R-srch { max-width: 920px; margin: -36px auto 0; position: relative; z-index: 10; padding: 0 24px; }
.R-srch-in { background: var(--wh); border: 1px solid var(--sa); border-radius: var(--rx); padding: 6px 6px 6px 28px; display: flex; align-items: center; box-shadow: 0 12px 48px rgba(0,0,0,.08); }
.R-srch-f { flex: 1; min-width: 0; }
.R-srch-f input { width: 100%; border: none; outline: none; background: transparent; font-family: var(--fb); font-size: 15px; color: var(--ch); padding: 14px 0; }
.R-srch-f input::placeholder { color: var(--st); }
.R-srch-d { width: 1px; height: 28px; background: var(--sa); margin: 0 16px; flex-shrink: 0; }
.R-srch-dt { display: flex; align-items: center; }
.R-srch-dt input { border: none; outline: none; background: transparent; font-family: var(--fb); font-size: 14px; color: var(--ch); padding: 14px 12px; width: 140px; cursor: pointer; }
.R-srch-dt input::-webkit-calendar-picker-indicator { opacity: .4; cursor: pointer; }
.R-srch-g { width: 80px; }
.R-srch-g input { width: 100%; border: none; outline: none; background: transparent; font-family: var(--fb); font-size: 14px; color: var(--ch); padding: 14px 0; text-align: center; }
.R-srch-btn { padding: 14px 32px; background: var(--ch); color: var(--wh); border: none; border-radius: 100px; font-family: var(--fb); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: all .3s var(--ez); white-space: nowrap; }
.R-srch-btn:hover { background: var(--ink); }

/* ═══ SECTIONS ═══ */
.R-sec { max-width: 1280px; margin: 0 auto; padding: 100px 48px; }
.R-sec-l { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--go); margin-bottom: 12px; }
.R-sec-t { font-family: var(--fd); font-size: clamp(30px, 4vw, 50px); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
.R-sec-hd { margin-bottom: 56px; }

/* ═══ DESTINATIONS ═══ */
.R-dg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.R-dc { position: relative; aspect-ratio: 3/4; border-radius: var(--rl); overflow: hidden; cursor: pointer; display: block; text-decoration: none; }
.R-dc img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ez); }
.R-dc:hover img { transform: scale(1.05); }
.R-dc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,14,.65) 0%, transparent 60%); transition: opacity .4s; }
.R-dc:hover::after { opacity: .85; }
.R-dc-i { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 24px; }
.R-dc-i h3 { font-family: var(--fd); font-size: 22px; font-weight: 500; color: var(--wh); line-height: 1.2; }
.R-dc-i span { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.65); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; display: block; }

/* ═══ APARTMENT CARDS ═══ */
.R-ag { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 32px; }
.R-ac { cursor: pointer; transition: transform .4s var(--ez); text-decoration: none; color: inherit; display: block; }
.R-ac:hover { transform: translateY(-4px); }
.R-ac-img { position: relative; aspect-ratio: 4/3; border-radius: var(--rl); overflow: hidden; margin-bottom: 18px; }
.R-ac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ez); }
.R-ac:hover .R-ac-img img { transform: scale(1.04); }
.R-ab { position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 100px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--er); color: white; }
.R-ar { position: absolute; top: 16px; right: 16px; display: flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 100px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: var(--ch); }
.R-ar svg { color: var(--go); }
.R-al { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--go); margin-bottom: 4px; }
.R-ac h3 { font-family: var(--fd); font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.R-am { display: flex; gap: 14px; font-size: 13px; color: var(--ea); margin-bottom: 14px; flex-wrap: wrap; }
.R-am span { display: flex; align-items: center; gap: 5px; }
.R-am svg { color: var(--st); }
.R-as { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.R-as span { display: flex; align-items: center; gap: 5px; padding: 4px 10px; background: var(--cr); border-radius: 100px; font-size: 11px; font-weight: 500; color: var(--ea); }
.R-as span svg { width: 14px; height: 14px; color: var(--st); }
.R-ap { display: flex; align-items: baseline; gap: 4px; padding-top: 14px; border-top: 1px solid var(--sa); }
.R-ap .f { font-size: 12px; color: var(--ea); }
.R-ap .a { font-family: var(--fd); font-size: 26px; font-weight: 600; color: var(--ink); }
.R-ap .u { font-size: 14px; color: var(--ea); font-weight: 300; }

/* ═══ FILTERS ═══ */
.R-fl { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.R-fs { padding: 10px 18px; border: 1px solid var(--sa); border-radius: 100px; background: var(--wh); font-family: var(--fb); font-size: 13px; font-weight: 500; color: var(--ch); cursor: pointer; transition: all .2s; appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238C7E6A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: calc(100% - 14px) center; }
.R-fs:focus { outline: none; border-color: var(--go); }

/* ═══ DETAIL ═══ */
.R-dt { padding: 88px 48px 80px; max-width: 1280px; margin: 0 auto; }
.R-dt-bk { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; font-family: var(--fb); font-size: 14px; font-weight: 500; color: var(--ea); cursor: pointer; margin-bottom: 32px; transition: color .2s; text-decoration: none; }
.R-dt-bk:hover { color: var(--ch); }
.R-dt-gl { display: grid; grid-template-columns: 1.8fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 520px; border-radius: var(--rx); overflow: hidden; margin-bottom: 48px; }
.R-dt-gl img, .R-dt-gl > div { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: all .4s var(--ez); }
.R-dt-gl img:hover { filter: brightness(.92); }
.R-dt-gl > *:first-child { grid-row: 1 / -1; }
.R-dt-tp { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--sa); }
.R-dt-tp h1 { font-family: var(--fd); font-size: clamp(28px, 4vw, 44px); font-weight: 500; line-height: 1.15; color: var(--ink); }
.R-dt-lc { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ea); margin-top: 8px; }
.R-dt-lc svg { color: var(--go); }
.R-dt-rt { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ch); }
.R-dt-rt svg { color: var(--go); }
.R-dt-rt span { font-weight: 400; color: var(--ea); font-size: 14px; }
.R-dt-gd { display: grid; grid-template-columns: 1fr 400px; gap: 56px; }
.R-dt-ss { display: flex; border: 1px solid var(--sa); border-radius: var(--rl); overflow: hidden; margin-bottom: 40px; }
.R-dt-s { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 12px; border-right: 1px solid var(--sa); }
.R-dt-s:last-child { border-right: none; }
.R-dt-s svg { color: var(--go); }
.R-dt-s .v { font-family: var(--fd); font-size: 22px; font-weight: 600; color: var(--ink); }
.R-dt-s .l { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ea); }
.R-dt-h2 { font-family: var(--fd); font-size: 26px; font-weight: 500; color: var(--ink); margin-bottom: 20px; margin-top: 40px; }
.R-dt-dc { font-size: 16px; line-height: 1.8; color: var(--ea); font-weight: 300; }
.R-dt-sv { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.R-dt-si { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--cr); border-radius: var(--rm); font-size: 14px; color: var(--ch); }
.R-dt-si svg { color: var(--go); flex-shrink: 0; }

/* ═══ INQUIRY ═══ */
.R-iq { position: sticky; top: 96px; background: var(--wh); border: 1px solid var(--sa); border-radius: var(--rx); padding: 32px; box-shadow: 0 8px 32px rgba(0,0,0,.06); }
.R-iq-p { display: flex; align-items: baseline; gap: 6px; margin-bottom: 28px; }
.R-iq-p .a { font-family: var(--fd); font-size: 34px; font-weight: 600; color: var(--ink); }
.R-iq-p .u { font-size: 15px; color: var(--ea); font-weight: 300; }
.R-iq-r { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.R-iq-f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.R-iq-f label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ea); }
.R-iq-f input, .R-iq-f textarea, .R-iq-f select { padding: 13px 16px; border: 1px solid var(--sa); border-radius: var(--rs); font-family: var(--fb); font-size: 14px; color: var(--ch); background: var(--iv); transition: border-color .2s; width: 100%; }
.R-iq-f input:focus, .R-iq-f textarea:focus, .R-iq-f select:focus { outline: none; border-color: var(--go); }
.R-iq-f textarea { resize: vertical; min-height: 72px; }
.R-iq-sub { width: 100%; padding: 16px; background: var(--ch); color: var(--wh); border: none; border-radius: var(--rs); font-family: var(--fb); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: all .3s var(--ez); margin-top: 6px; }
.R-iq-sub:hover { background: var(--ink); }
.R-iq-sub:disabled { opacity: .4; cursor: not-allowed; }
.R-iq-ok { text-align: center; padding: 24px 0; color: var(--ok); font-weight: 500; font-size: 15px; line-height: 1.5; }
.R-iq-bk { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--sa); font-size: 14px; }
.R-iq-br { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--ea); }
.R-iq-br.tot { font-weight: 700; color: var(--ink); font-size: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sa); }
.R-un { display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: #FEF5F3; border: 1px solid #F5D5CF; border-radius: var(--rm); color: var(--er); font-size: 14px; font-weight: 500; margin-bottom: 24px; }

/* ═══ FOOTER ═══ */
.R-ft { background: var(--ink); color: rgba(255,255,255,.5); padding: 80px 48px 40px; }
.R-ft-gd { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; max-width: 1280px; margin: 0 auto; }
.R-ft h4 { font-family: var(--fd); font-size: 20px; font-weight: 400; color: var(--wh); margin-bottom: 20px; }
.R-ft p { font-size: 14px; line-height: 1.7; }
.R-ft a { display: block; color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color .2s; cursor: pointer; }
.R-ft a:hover { color: var(--gl); }
.R-ft-bt { max-width: 1280px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

/* ═══ WHATSAPP ═══ */
.R-wa { position: fixed; bottom: 28px; right: 28px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.35); transition: transform .3s var(--ez); animation: Rbi .5s 1s both; text-decoration: none; }
.R-wa:hover { transform: scale(1.1); }

/* ═══ LIGHTBOX ═══ */
.R-lb { position: fixed; inset: 0; z-index: 300; background: rgba(10,8,6,.94); display: flex; align-items: center; justify-content: center; animation: Rfi .2s; }
.R-lb img { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: var(--rs); }
.R-lb-b { position: absolute; background: rgba(255,255,255,.1); border: none; color: var(--wh); cursor: pointer; border-radius: 50%; transition: background .2s; display: flex; align-items: center; justify-content: center; }
.R-lb-b:hover { background: rgba(255,255,255,.2); }
.R-lb-x { top: 24px; right: 24px; width: 44px; height: 44px; }
.R-lb-p, .R-lb-n { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.R-lb-p { left: 24px; }
.R-lb-n { right: 24px; }

/* Leaflet overrides */
.leaflet-container { font-family: var(--fb); }
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.leaflet-popup-content { margin: 14px 18px; font-size: 14px; line-height: 1.5; }
.leaflet-popup-content a { color: var(--go); font-weight: 600; text-decoration: none; }
.leaflet-popup-content a:hover { text-decoration: underline; }

/* ═══ ANIMATIONS ═══ */
@keyframes Rhz { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes Rfu { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes Rfi { from { opacity: 0; } to { opacity: 1; } }
@keyframes Rfd { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes Rsr { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes Rbi { 0% { opacity: 0; transform: scale(0); } 60% { transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .R-dt-gd { grid-template-columns: 1fr; }
    .R-iq { position: static; }
    .R-dt-gl { height: 380px; }
}
@media (max-width: 768px) {
    .R-hd { padding: 0 20px; height: 64px; }
    .R-nav { display: none; }
    .R-mb { display: block; }
    .R-sec { padding: 72px 20px; }
    .R-hero-ct { padding: 0 24px 72px; }
    .R-srch { margin-top: -28px; padding: 0 16px; }
    .R-srch-in { flex-direction: column; padding: 20px; border-radius: var(--rl); gap: 8px; }
    .R-srch-d { width: 100%; height: 1px; margin: 0; }
    .R-srch-dt { width: 100%; }
    .R-srch-dt input { width: 50%; }
    .R-srch-g { width: 100%; }
    .R-srch-g input { text-align: left; }
    .R-srch-btn { width: 100%; }
    .R-dg { grid-template-columns: 1fr 1fr; gap: 12px; }
    .R-ag { grid-template-columns: 1fr; }
    .R-dt { padding: 72px 20px 60px; }
    .R-dt-gl { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
    .R-dt-gl img, .R-dt-gl > div { height: 260px; }
    .R-dt-gl > *:first-child { grid-row: auto; }
    .R-dt-ss { flex-wrap: wrap; }
    .R-dt-s { min-width: 80px; }
    .R-ft { padding: 60px 20px 32px; }
    .R-ft-gd { grid-template-columns: 1fr; gap: 36px; }
    .R-ft-bt { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
    .R-dg { grid-template-columns: 1fr; }
    .R-dt-sv { grid-template-columns: 1fr; }
}
h2.R-sec-t { margin: 0; }
