/*
Theme Name: Nagisa Ocean
Theme URI: https://nagisa.estate/
Author: なぎさ不動産
Description: 海の風景と地域の暮らしを主役にした、Elementor非依存・モバイルファーストの不動産テーマ。
Version: 1.0.25
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: nagisa-ocean
*/

:root {
  --ocean-950: #062838;
  --ocean-900: #07384c;
  --ocean-800: #07536e;
  --ocean-700: #08789a;
  --ocean-500: #22a8c5;
  --ocean-300: #85d6df;
  --foam: #f4faf9;
  --white: #ffffff;
  --sand: #eee4d2;
  --sun: #f0a36b;
  --ink: #102b36;
  --muted: #5e737b;
  --line: rgba(7, 83, 110, 0.16);
  --shadow: 0 20px 54px rgba(5, 45, 62, 0.13);
  --shadow-soft: 0 12px 32px rgba(5, 45, 62, 0.09);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-h: 68px;
  --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --font-display: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .025em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  z-index: 99999;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ocean-900);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.shell { width: min(100% - 36px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 36px, 820px); margin-inline: auto; }
.section { position: relative; padding: 74px 0; }
.section--white { background: var(--white); }
.section--deep { background: var(--ocean-950); color: var(--white); }
.section--sand { background: #f0eadf; }
.section-heading { margin-bottom: 34px; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--ocean-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--deep .section-kicker { color: var(--ocean-300); }
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(29px, 8vw, 52px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .04em;
}
.section-title-line { display: inline-block; white-space: nowrap; }
.section-title--single-line { font-size: clamp(25px, 7.4vw, 54px); letter-spacing: 0; white-space: nowrap; }
.section-title--local { font-size: clamp(24px, 7.6vw, 54px); letter-spacing: 0; }
.section-lead { max-width: 720px; margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.section--deep .section-lead { color: rgba(255,255,255,.68); }

/* Header */
.site-header {
  position: fixed;
  z-index: 500;
  inset: 0 0 auto;
  height: var(--header-h);
  color: var(--white);
  transition: background .35s ease, box-shadow .35s ease, color .35s ease;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled,
body:not(.home) .site-header {
  background: rgba(244, 250, 249, .94);
  color: var(--ocean-950);
  box-shadow: 0 8px 30px rgba(5, 45, 62, .10);
  backdrop-filter: blur(18px);
}
.header-inner { width: min(100% - 28px, 1320px); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-brand { position: relative; z-index: 520; display: inline-flex; align-items: center; min-width: 0; min-height: 44px; }
.site-brand img { width: auto; max-width: 154px; max-height: 46px; object-fit: contain; }
.brand-logo-wrap { display: flex; align-items: center; min-height: 48px; padding: 0; background: transparent; box-shadow: none; }
.site-brand .brand-default-logo { width: 150px; max-width: 42vw; height: auto; max-height: 38px; filter: brightness(0) invert(1); transition: filter .35s ease; }
.site-header.is-scrolled .brand-default-logo,
body:not(.home) .site-header .brand-default-logo { filter: none; }
.brand-fallback { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; }
.nav-toggle {
  position: relative;
  z-index: 520;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(0,0,0,.12);
  cursor: pointer;
}
.is-scrolled .nav-toggle, body:not(.home) .nav-toggle { border-color: var(--line); background: var(--white); }
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after { display: block; width: 19px; height: 1px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.nav-open .nav-toggle-lines { background: transparent; }
.nav-open .nav-toggle-lines::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-lines::after { transform: translateY(-6px) rotate(-45deg); }
.primary-nav {
  position: fixed;
  z-index: 510;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 22px) 28px 100px;
  background: linear-gradient(145deg, rgba(6,40,56,.99), rgba(7,83,110,.98));
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  overflow-y: auto;
}
.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
.nav-open .site-header { background: transparent !important; color: var(--white) !important; box-shadow: none !important; backdrop-filter: none !important; }
.nav-open .nav-toggle { border-color: rgba(255,255,255,.45) !important; background: rgba(0,0,0,.12) !important; }
.nav-open .brand-logo-wrap { background: transparent; }
.nav-open .site-header .brand-default-logo { filter: brightness(0) invert(1); }
.primary-nav ul { margin: 0; padding: 0; list-style: none; }
.primary-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.12); }
.primary-nav a { display: flex; align-items: center; min-height: 52px; padding: 10px 2px; font-weight: 700; }
.primary-nav .sub-menu { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px 14px; padding: 0 0 14px 14px; }
.primary-nav .sub-menu a { min-height: 42px; color: rgba(255,255,255,.75); font-size: 13px; font-weight: 500; }
.primary-nav .menu-contact a { justify-content: center; min-height: 52px; margin-top: 18px; border-radius: 999px; background: var(--sun); color: var(--ocean-950); }

/* Hero */
.home-hero {
  position: relative;
  min-height: max(690px, 100svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ocean-950);
  color: var(--white);
}
.hero-media, .hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { margin: 0; opacity: 0; animation: heroCrossfade 24s infinite; }
.hero-slide:nth-child(2) { animation-delay: 8s; }
.hero-slide:nth-child(3) { animation-delay: 16s; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroDrift 24s ease-in-out infinite; }
.hero-slide:nth-child(2) img { animation-delay: 8s; transform-origin: 70% 50%; }
.hero-slide:nth-child(3) img { animation-delay: 16s; transform-origin: 35% 55%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,28,40,.34) 0%, rgba(5,35,50,.05) 35%, rgba(4,31,45,.86) 100%),
    linear-gradient(90deg, rgba(3,30,44,.55), transparent 78%);
}
.hero-glow { position: absolute; z-index: 1; left: -20%; bottom: 6%; width: 100%; height: 34%; background: radial-gradient(ellipse at center, rgba(133,214,223,.28), transparent 64%); filter: blur(22px); animation: tideGlow 7s ease-in-out infinite alternate; pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: calc(var(--header-h) + 54px) 0 52px; }
.hero-eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 15px; font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--ocean-300); }
.hero-title { max-width: 100%; margin: 0; font-family: var(--font-display); font-size: clamp(24px, 7.85vw, 68px); font-weight: 600; line-height: 1.34; letter-spacing: .01em; text-shadow: 0 5px 30px rgba(0,0,0,.26); }
.hero-title-line { display: inline-block; white-space: nowrap; }
.hero-title .accent { color: #d6f4f2; }
.hero-copy { max-width: 620px; margin: 19px 0 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.9; }
.hero-actions { display: grid; gap: 11px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
}
.button svg { transition: transform .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:hover svg { transform: translateX(4px); }
.button--primary { background: var(--sun); color: var(--ocean-950); box-shadow: 0 14px 34px rgba(240,163,107,.28); }
.button--line { background: #06c755; color: #fff; box-shadow: 0 14px 34px rgba(6,199,85,.25); }
.button--line:hover { background: #05b94f; }
.button--line .line-mark { width: 25px; height: 25px; }
.button--line:hover .line-mark { transform: none; }
.button--light { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.10); color: var(--white); backdrop-filter: blur(10px); }
.button--ocean { background: var(--ocean-800); color: var(--white); box-shadow: 0 14px 34px rgba(7,83,110,.22); }
.button--outline { border-color: var(--line); background: transparent; color: var(--ocean-900); }
.hero-note { display: grid; gap: 7px; max-width: 620px; margin-top: 24px; color: rgba(255,255,255,.76); font-size: 11px; }
.hero-note-item { position: relative; display: block; padding-left: 14px; line-height: 1.65; }
.hero-note-item::before { content: ""; position: absolute; top: .68em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--sun); }
.hero-note-item--person { display: grid; gap: 1px; }
.hero-note-item--person strong { color: var(--white); font-size: 12px; }
.hero-note-item--person small { color: rgba(255,255,255,.66); font-size: 10px; }
.hero-scroll { display: none; }

@keyframes heroCrossfade { 0%{opacity:0} 6%,31%{opacity:1} 38%,100%{opacity:0} }
@keyframes heroDrift { 0%{transform:scale(1.06) translate3d(-1.2%,0,0)} 42%{transform:scale(1.13) translate3d(1.2%,-1%,0)} 100%{transform:scale(1.06) translate3d(-1.2%,0,0)} }
@keyframes tideGlow { to { transform: translateX(25%) scale(1.15); opacity: .62; } }

/* Cards and homepage sections */
.service-grid, .property-grid, .region-grid, .article-grid, .process-grid { display: grid; gap: 18px; }
.service-card, .article-card, .process-card, .search-card, .property-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.service-card { min-height: 270px; padding: 30px 26px; }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #e3f4f4; color: var(--ocean-800); }
.service-card h3 { margin: 22px 0 10px; font-family: var(--font-display); font-size: 24px; line-height: 1.45; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; min-height: 44px; margin: 12px 0 -10px; padding: 10px 0; color: var(--ocean-700); font-size: 13px; font-weight: 800; }
.service-card--focus { border: 0; background: linear-gradient(145deg, var(--ocean-900), var(--ocean-700)); color: var(--white); }
.service-card--focus .service-icon { background: rgba(255,255,255,.14); color: var(--white); }
.service-card--focus p { color: rgba(255,255,255,.72); }
.service-card--focus .text-link { color: var(--ocean-300); }

.property-card { display: flex; flex-direction: column; }
.property-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dcecef; }
.property-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.property-card:hover .property-card-media img { transform: scale(1.055); }
.property-badge { position: absolute; top: 13px; left: 13px; padding: 6px 11px; border-radius: 999px; background: rgba(6,40,56,.88); color: var(--white); font-size: 10px; font-weight: 800; backdrop-filter: blur(8px); }
.property-badge--sold { background: rgba(65,74,77,.9); }
.property-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.property-card-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 9px; color: var(--ocean-700); font-size: 11px; font-weight: 800; }
.property-card h3 { margin: 0; font-size: 18px; line-height: 1.55; letter-spacing: .02em; }
.property-card p { color: var(--muted); font-size: 13px; }
.property-price { margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); color: var(--ocean-900); font-size: 18px; font-weight: 800; }
.empty-state { grid-column: 1 / -1; padding: 36px 24px; border: 1px dashed rgba(7,83,110,.3); border-radius: var(--radius); text-align: center; }

.search-panel { display: grid; gap: 28px; }
.search-block-title { margin: 0 0 14px; font-family: var(--font-display); font-size: 21px; }
.search-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.search-chip { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 12px 15px; border: 1px solid rgba(7,83,110,.18); border-radius: 13px; background: var(--white); color: var(--ocean-900); box-shadow: 0 8px 24px rgba(3,34,47,.12); font-size: 13px; font-weight: 800; }
.search-chip:hover { border-color: var(--ocean-400); background: var(--ocean-100); color: var(--ocean-950); box-shadow: 0 12px 28px rgba(3,34,47,.18); }
.search-chip:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.region-card { position: relative; min-height: 330px; overflow: hidden; border-radius: var(--radius-lg); color: var(--white); box-shadow: var(--shadow); }
.region-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.region-card:hover img { transform: scale(1.05); }
.region-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(4,35,50,.88) 100%); }
.region-card-content { position: absolute; z-index: 2; inset: auto 24px 24px; }
.region-card small { color: var(--ocean-300); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.region-card h3 { margin: 4px 0 6px; font-family: var(--font-display); font-size: 28px; }
.region-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; }

/* Purpose-led regional article hubs below each LP FAQ. */
.regional-lp-content .nr-article-hub { background: #fff; }
.regional-lp-content .nr-article-groups { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
.regional-lp-content .nr-article-group { overflow: hidden; border: 1px solid rgba(7,83,110,.13); border-radius: 20px; background: #f8fcfc; box-shadow: 0 12px 34px rgba(5,45,62,.07); }
.regional-lp-content .nr-article-group h3 { margin: 0; padding: 15px 17px; border-bottom: 1px solid rgba(7,83,110,.12); background: linear-gradient(135deg, #07384c, #08789a); color: #fff; font-family: var(--font-display); font-size: 17px; letter-spacing: .04em; }
.regional-lp-content .nr-article-group ul { margin: 0; padding: 0; list-style: none; }
.regional-lp-content .nr-article-group li + li { border-top: 1px solid rgba(7,83,110,.1); }
.regional-lp-content .nr-article-group a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; padding: 13px 16px; color: var(--ocean-950); font-size: 13px; font-weight: 700; line-height: 1.65; transition: background .2s ease, color .2s ease; }
.regional-lp-content .nr-article-group a:hover { background: #eaf7f7; color: var(--ocean-700); }
.regional-lp-content .nr-article-arrow { flex: 0 0 auto; color: var(--ocean-500); font-size: 20px; }

.trust-strip { display: grid; gap: 1px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.trust-item { padding: 25px 22px; background: rgba(255,255,255,.045); }
.trust-item strong { display: block; margin-bottom: 5px; color: var(--ocean-300); font-family: var(--font-display); font-size: 23px; }
.trust-item--detail strong { font-size: clamp(18px, 5.4vw, 23px); line-height: 1.5; }
.trust-item span { color: rgba(255,255,255,.68); font-size: 12px; }

.article-card { display: flex; flex-direction: column; }
.article-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: #dcecef; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article-card:hover img { transform: scale(1.05); }
.article-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.article-card-category { color: var(--ocean-700); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.article-card h3 { margin: 8px 0 10px; font-size: 17px; line-height: 1.6; }
.article-card p { margin: 0; color: var(--muted); font-size: 12px; }
.article-card time { margin-top: auto; padding-top: 15px; color: #85949a; font-size: 10px; }

.process-card { padding: 26px 22px; }
.process-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e3f4f4; color: var(--ocean-800); font-family: var(--font-display); font-size: 18px; }
.process-card h3 { margin: 16px 0 8px; font-size: 17px; }
.process-card p { margin: 0; color: var(--muted); font-size: 13px; }

.cta-panel { position: relative; overflow: hidden; padding: 44px 12px; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--ocean-900), var(--ocean-700)); color: var(--white); box-shadow: var(--shadow); text-align: center; }
.cta-panel::before { content: ""; position: absolute; width: 360px; height: 360px; right: -170px; top: -210px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 90px rgba(255,255,255,.025); }
.cta-panel > * { position: relative; }
.cta-panel h2 { margin: 0; font-family: var(--font-display); font-size: clamp(18px, 5.6vw, 46px); line-height: 1.55; }
.cta-title-line { display: inline-block; white-space: nowrap; }
.cta-panel p { max-width: 660px; margin: 15px auto 24px; color: rgba(255,255,255,.76); font-size: 14px; }
.cta-actions { display: grid; gap: 10px; }

/* Inner pages */
.page-hero { position: relative; min-height: 430px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ocean-900); color: var(--white); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,30,43,.28), rgba(4,30,43,.88)); }
.page-hero-content { position: relative; z-index: 2; padding: calc(var(--header-h) + 70px) 0 46px; }
.page-hero h1 { max-width: 820px; margin: 0; font-family: var(--font-display); font-size: clamp(34px, 10vw, 62px); font-weight: 600; line-height: 1.35; }
.page-hero p { max-width: 680px; margin: 14px 0 0; color: rgba(255,255,255,.76); }
.breadcrumbs { width: min(100% - 36px, var(--container)); margin: calc(var(--header-h) + 18px) auto 0; color: var(--muted); font-size: 11px; }
.page-hero + .breadcrumbs { margin-top: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 5px 10px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 10px; color: #a7b1b5; }

.content-layout { display: grid; gap: 34px; }
.entry-content { font-size: 15px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { font-family: var(--font-display); line-height: 1.5; }
.entry-content h2 { margin: 2.6em 0 .85em; padding-bottom: .5em; border-bottom: 1px solid var(--line); font-size: clamp(26px, 7vw, 36px); }
.entry-content h3 { margin: 2em 0 .7em; font-size: 22px; }
.entry-content a { color: var(--ocean-700); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin: 2em 0; padding: 22px; border-left: 3px solid var(--ocean-500); background: #eaf5f5; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { min-width: 130px; padding: 12px; border: 1px solid var(--line); text-align: left; }

.archive-head { padding: calc(var(--header-h) + 58px) 0 42px; background: linear-gradient(145deg, #e7f5f5, #f4faf9); }
.archive-head h1 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 9vw, 56px); line-height: 1.35; }
.archive-head p { max-width: 760px; margin: 14px 0 0; color: var(--muted); }
.archive-filter { display: flex; gap: 8px; padding: 18px 0; overflow-x: auto; scrollbar-width: none; }
.archive-filter::-webkit-scrollbar { display: none; }
.archive-filter a { flex: 0 0 auto; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 800; }
.archive-filter a:hover, .archive-filter .is-active { background: var(--ocean-800); color: var(--white); }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.pagination .current { background: var(--ocean-800); color: var(--white); }

.property-detail { display: grid; gap: 28px; }
.property-gallery-main { overflow: hidden; border-radius: var(--radius-lg); background: #dcecef; }
.property-gallery-main img { width: 100%; max-height: 720px; object-fit: cover; }
.property-summary { padding: 25px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.property-summary h1 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 8vw, 44px); line-height: 1.45; }
.property-summary-price { margin: 18px 0; color: var(--ocean-800); font-size: 27px; font-weight: 800; }
.property-specs { margin: 0; }
.property-specs > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.property-specs dt { color: var(--muted); font-size: 12px; }
.property-specs dd { margin: 0; font-size: 13px; font-weight: 700; }
.property-contact { position: sticky; bottom: 82px; z-index: 20; display: grid; gap: 9px; margin-top: 20px; padding: 14px; border-radius: 18px; background: rgba(244,250,249,.94); box-shadow: 0 12px 34px rgba(4,31,45,.18); backdrop-filter: blur(14px); }
.notice-box { padding: 18px; border-radius: var(--radius-sm); background: #e7f5f5; color: var(--ocean-900); }

/* Contact Form 7 */
.contact-layout { display: grid; gap: 28px; }
.contact-info { padding: 26px; border-radius: var(--radius); background: var(--ocean-950); color: var(--white); }
.contact-info h2 { margin-top: 0; font-family: var(--font-display); }
.contact-info a { color: var(--ocean-300); }
.wpcf7 { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.wpcf7 p { margin: 0 0 18px; }
.wpcf7 label { display: block; font-size: 13px; font-weight: 800; }
.wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .wpcf7 select, .wpcf7 textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid rgba(7,83,110,.23); border-radius: 11px; background: var(--foam); color: var(--ink); }
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 input[type="submit"] { width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--sun); color: var(--ocean-950); font-weight: 800; cursor: pointer; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px; border-width: 1px; border-radius: 10px; }

/* Footer and mobile CTA */
.site-footer { padding: 66px 0 100px; background: #041f2c; color: var(--white); }
.footer-grid { display: grid; gap: 34px; }
.footer-brand { font-family: var(--font-display); font-size: 26px; letter-spacing: .08em; }
.footer-company { color: rgba(255,255,255,.66); font-size: 12px; }
.footer-company strong { color: var(--white); }
.footer-nav ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: rgba(255,255,255,.7); font-size: 12px; }
.footer-license { margin-top: 20px; color: rgba(255,255,255,.52); font-size: 10px; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: 10px; }
.mobile-cta { position: fixed; z-index: 450; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1.15fr; gap: 1px; padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); background: rgba(244,250,249,.96); box-shadow: 0 -8px 26px rgba(5,45,62,.15); backdrop-filter: blur(14px); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 49px; border-radius: 12px; font-size: 12px; font-weight: 800; }
.mobile-cta-phone { background: var(--white); color: var(--ocean-900); }
.mobile-cta-line { background: #06c755; color: #fff; }
.mobile-cta-line .line-mark { width: 23px; height: 23px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 620px) {
	.regional-lp-content .nr-article-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
	.regional-lp-content .nr-article-group h3 { padding: 17px 21px; font-size: 19px; }
	.regional-lp-content .nr-article-group a { min-height: 72px; padding: 15px 20px; font-size: 14px; }
  .hero-actions, .cta-actions { display: flex; flex-wrap: wrap; }
  .button { width: auto; min-width: 210px; }
  .service-grid, .property-grid, .article-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .region-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-strip { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .search-links { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .property-contact { display: flex; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (min-width: 980px) {
  :root { --header-h: 86px; }
  .shell { width: min(100% - 64px, var(--container)); }
  .section { padding: 108px 0; }
  .nav-toggle { display: none; }
  .primary-nav { position: static; display: block; padding: 0; background: transparent; color: inherit; opacity: 1; visibility: visible; transform: none; overflow: visible; }
  .primary-nav > ul { display: flex; align-items: center; gap: 5px; }
  .primary-nav > ul > li { position: relative; border: 0; }
  .primary-nav a { min-height: 46px; padding: 8px 12px; font-size: 12px; }
  .primary-nav .sub-menu { position: absolute; top: calc(100% - 2px); left: 0; width: 210px; display: block; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: rgba(244,250,249,.98); color: var(--ocean-950); box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s ease; }
  .primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .primary-nav .sub-menu a { min-height: 38px; color: var(--ocean-900); }
  .primary-nav .menu-contact a { min-width: 104px; margin: 0 0 0 6px; padding-inline: 18px; }
  .home-hero { align-items: center; min-height: 760px; }
  .hero-content { padding: calc(var(--header-h) + 40px) 0 80px; }
  .hero-title { max-width: 1040px; font-size: 68px; letter-spacing: .035em; }
  .hero-copy { font-size: 16px; }
  .hero-actions { margin-top: 34px; }
  .hero-scroll { position: absolute; z-index: 3; right: 32px; bottom: 38px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.65); font-size: 9px; letter-spacing: .2em; writing-mode: vertical-rl; }
  .hero-scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--ocean-300), transparent); animation: scrollLine 2s ease-in-out infinite; }
  @keyframes scrollLine { 0%,100%{transform:scaleY(.35);transform-origin:top} 50%{transform:scaleY(1)} }
  .service-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .property-grid, .article-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .region-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .region-card { min-height: 420px; }
  .process-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .search-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-panel { padding: 70px 60px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .property-detail { grid-template-columns: minmax(0,1.45fr) minmax(330px,.7fr); align-items: start; }
  .property-summary { position: sticky; top: calc(var(--header-h) + 28px); }
  .property-contact { position: static; display: grid; padding: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .contact-layout { grid-template-columns: 340px minmax(0,1fr); align-items: start; }
  .contact-info { position: sticky; top: calc(var(--header-h) + 28px); }
  .footer-grid { grid-template-columns: 1.4fr 1fr .8fr; }
  .site-footer { padding-bottom: 46px; }
  .mobile-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .hero-slide { opacity: 0; }
  .hero-slide:first-child { opacity: 1; }
  .hero-slide img, .reveal { transform: none; }
  .reveal { opacity: 1; }
}

@media print {
  .site-header, .mobile-cta, .site-footer, .hero-scroll { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 32px 0; }
}


/* Property search experience */
.property-search-section { padding: 34px 0 28px; background: linear-gradient(180deg, #e7f5f5 0%, var(--foam) 100%); }
.property-search-form { padding: 24px; border: 1px solid rgba(7,83,110,.16); border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 20px 50px rgba(5,45,62,.10); }
.property-search-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.property-search-kicker, .property-results-label { margin: 0 0 4px; color: var(--ocean-700); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.property-search-heading h2, .property-results-head h2 { margin: 0; font-family: var(--font-display); font-size: clamp(24px,6vw,34px); line-height: 1.35; }
.property-search-reset { flex: 0 0 auto; min-height: 44px; padding: 10px 0; color: var(--ocean-700); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.property-search-fields { display: grid; gap: 14px; }
.property-search-field { display: grid; gap: 7px; }
.property-search-field > span { color: var(--ocean-950); font-size: 12px; font-weight: 800; }
.property-search-field select, .property-search-field input { width: 100%; min-height: 52px; padding: 11px 42px 11px 14px; border: 1px solid rgba(7,83,110,.24); border-radius: 12px; background-color: #f8fcfc; color: var(--ink); font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.property-search-field input { padding-right: 14px; }
.property-search-field select:hover, .property-search-field input:hover { border-color: var(--ocean-500); background: #fff; }
.property-search-field select:focus, .property-search-field input:focus { outline: 0; border-color: var(--ocean-700); background: #fff; box-shadow: 0 0 0 4px rgba(34,168,197,.14); }
.property-search-submit { width: 100%; min-height: 56px; margin-top: 18px; border: 0; border-radius: 999px; background: linear-gradient(135deg,var(--ocean-900),var(--ocean-700)); color: #fff; box-shadow: 0 12px 26px rgba(7,83,110,.22); font-size: 15px; font-weight: 800; letter-spacing: .04em; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.property-search-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(7,83,110,.28); }
.property-results-section { padding: 42px 0 84px; }
.property-results-head { display: grid; gap: 14px; margin-bottom: 24px; }
.property-results-head h2 strong { color: var(--ocean-700); font-size: 1.15em; }
.property-active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.property-active-filters span { padding: 7px 11px; border: 1px solid rgba(7,83,110,.16); border-radius: 999px; background: #e7f5f5; color: var(--ocean-900); font-size: 11px; font-weight: 800; }
.empty-state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
@media (min-width: 700px) {
  .property-search-form { padding: 30px; }
  .property-search-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .property-search-field--keyword { grid-column: 1 / -1; }
  .property-search-submit { width: auto; min-width: 260px; padding-inline: 30px; }
  .property-results-head { grid-template-columns: minmax(0,1fr) auto; align-items: end; }
  .property-active-filters { justify-content: flex-end; }
}
@media (min-width: 1080px) {
  .property-search-fields { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .property-search-field--keyword { grid-column: 1 / -1; }
}
