*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  :root {
    --gold: #B59A5D;
    --ink: #121212;
    --ink-08: rgba(18,18,18,0.08);
    --ink-15: rgba(18,18,18,0.15);
    --ink-40: rgba(18,18,18,0.40);
    --ink-60: rgba(18,18,18,0.60);
    --cream: #F9F7F4;
    --white: #FFFFFF;
    --section-pad: 140px;
    --section-pad-mobile: 80px;
    --font: 'Playfair Display', Georgia, serif;
    --border: 1px solid rgba(18,18,18,0.08);
    --border-gold: 1px solid #B59A5D;
    --radius: 2px;
    --transition: 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  }

  html {
    scroll-behavior: smooth;
    font-size: 16px;
  }

  body {
    font-family: var(--font);
    font-weight: 300;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  body[data-rtl="true"] {
    direction: rtl;
    text-align: right;
  }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--cream); }
  ::-webkit-scrollbar-thumb { background: var(--gold); }

  /* ── SELECTION ── */
  ::selection { background: var(--gold); color: var(--white); }

  /* ══════════════════════════════════════
     NAVIGATION
  ══════════════════════════════════════ */
  .m-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 80px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border);
    transition: var(--transition);
  }

  .m-nav.scrolled {
    height: 68px;
    box-shadow: 0 1px 20px rgba(18,18,18,0.06);
  }

  .m-logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    cursor: pointer;
  }

  .m-logo-word {
    font-family: var(--font);
    font-weight: 300;
    font-size: 22px;
    letter-spacing: 0.28em;
    color: var(--ink);
    text-transform: uppercase;
    line-height: 1;
  }

  .m-logo-rule {
    width: 100%;
    height: 1px;
    background: var(--gold);
  }

  .m-logo-sub {
    font-family: var(--font);
    font-weight: 300;
    font-size: 8px;
    letter-spacing: 0.35em;
    color: var(--ink-60);
    text-transform: uppercase;
    line-height: 1;
  }

  .m-nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
  }

  .m-nav-links a {
    font-family: var(--font);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-60);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
  }

  .m-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
  }

  .m-nav-links a:hover {
    color: var(--ink);
  }

  .m-nav-links a:hover::after {
    transform: scaleX(1);
  }

  .m-nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  /* Language selector */
  .m-lang {
    position: relative;
  }

  .m-lang-btn {
    background: none;
    border: var(--border);
    padding: 6px 14px;
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-60);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .m-lang-btn:hover {
    border-color: var(--gold);
    color: var(--ink);
  }

  .m-lang-btn svg {
    width: 10px;
    height: 10px;
    opacity: 0.4;
    transition: transform var(--transition);
  }

  .m-lang.open .m-lang-btn svg {
    transform: rotate(180deg);
  }

  .m-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: var(--border);
    min-width: 120px;
    display: none;
    box-shadow: 0 8px 32px rgba(18,18,18,0.08);
  }

  .m-lang.open .m-lang-dropdown {
    display: block;
  }

  .m-lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-60);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: var(--border);
  }

  .m-lang-option:last-child { border-bottom: none; }

  .m-lang-option:hover,
  .m-lang-option.active {
    background: var(--cream);
    color: var(--ink);
  }

  .m-lang-option.active {
    color: var(--gold);
  }

  /* Hamburger */
  .m-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }

  .m-hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--ink);
    transition: var(--transition);
  }

  .m-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .m-hamburger.open span:nth-child(2) { opacity: 0; }
  .m-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Mobile nav overlay */
  .m-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }

  .m-mobile-nav.open { display: flex; }

  .m-mobile-nav a {
    font-family: var(--font);
    font-weight: 300;
    font-size: 28px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    transition: color var(--transition);
  }

  .m-mobile-nav a:hover { color: var(--gold); }

  /* ══════════════════════════════════════
     SECTION PRIMITIVES
  ══════════════════════════════════════ */
  .m-section {
    padding: var(--section-pad) 60px;
    position: relative;
  }

  .m-section--cream {
    background: var(--cream);
  }

  .m-section--ink {
    background: var(--ink);
    color: var(--white);
  }

  .m-container {
    max-width: 1280px;
    margin: 0 auto;
  }

  .m-label {
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
  }

  .m-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
  }

  .m-section--ink .m-label { color: var(--gold); }
  .m-section--ink .m-label::before { background: var(--gold); }

  .m-h1 {
    font-family: var(--font);
    font-weight: 300;
    font-size: clamp(52px, 7vw, 96px);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--ink);
  }

  .m-h2 {
    font-family: var(--font);
    font-weight: 300;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--ink);
    white-space: pre-line;
  }

  .m-section--ink .m-h2 { color: var(--white); }

  .m-h3 {
    font-family: var(--font);
    font-weight: 400;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  .m-body {
    font-family: var(--font);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.9;
    color: var(--ink-60);
  }

  .m-section--ink .m-body { color: rgba(255,255,255,0.6); }

  .m-separator {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 40px 0;
  }

  .m-separator--full {
    width: 100%;
    height: 1px;
    background: var(--ink-08);
    margin: 0;
  }

  /* ══════════════════════════════════════
     BUTTONS
  ══════════════════════════════════════ */
  .m-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    background: none;
  }

  .m-btn--primary {
    background: var(--ink);
    color: var(--white);
    padding: 18px 40px;
    border: 1px solid var(--ink);
  }

  .m-btn--primary:hover {
    background: var(--white);
    color: var(--ink);
  }

  .m-btn--ghost {
    background: none;
    color: var(--ink);
    padding: 18px 40px;
    border: var(--border);
  }

  .m-btn--ghost:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
  }

  .m-btn--ghost-light {
    background: none;
    color: var(--white);
    padding: 18px 40px;
    border: 1px solid rgba(255,255,255,0.25);
  }

  .m-btn--ghost-light:hover {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
  }

  .m-btn svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition);
  }

  .m-btn:hover svg { transform: translateX(4px); }

  /* ══════════════════════════════════════
     HERO
  ══════════════════════════════════════ */
  .m-hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 60px 100px;
    position: relative;
    overflow: hidden;
    background: var(--cream);
  }

  .m-hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 70% 40%, rgba(181,154,93,0.06) 0%, transparent 60%),
      linear-gradient(175deg, var(--cream) 0%, rgba(249,247,244,0.9) 100%);
    z-index: 0;
  }

  .m-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--ink-08) 1px, transparent 1px),
      linear-gradient(90deg, var(--ink-08) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.3) 70%, transparent 100%);
  }

  .m-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
  }

  .m-hero-main {}

  .m-hero-eyebrow {
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
  }

  .m-hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gold);
  }

  .m-hero-h1 {
    white-space: pre-line;
  }

  .m-hero-sub {
    margin-top: 36px;
    max-width: 440px;
  }

  .m-hero-ctas {
    margin-top: 56px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .m-hero-side {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 12px;
  }

  .m-hero-stat {
    padding: 32px 36px;
    border: var(--border);
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
  }

  .m-hero-stat-value {
    font-family: var(--font);
    font-weight: 300;
    font-size: 36px;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }

  .m-hero-stat-label {
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-40);
  }

  .m-hero-scroll {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
  }

  .m-hero-scroll span {
    font-family: var(--font);
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-40);
  }

  .m-hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }

  @keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
  }

  /* ══════════════════════════════════════
     PHILOSOPHY
  ══════════════════════════════════════ */
  .m-philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 120px;
    align-items: start;
    margin-bottom: 80px;
  }

  .m-pillar {
    padding: 48px 0;
    border-top: var(--border);
  }

  .m-pillar-number {
    font-family: var(--font);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 24px;
  }

  .m-pillar-title {
    font-family: var(--font);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.04em;
    color: var(--ink);
    margin-bottom: 20px;
  }

  .m-pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: var(--border);
    border-left: var(--border);
  }

  .m-pillar-box {
    padding: 56px 48px;
    border-right: var(--border);
    border-bottom: var(--border);
  }

  /* ══════════════════════════════════════
     PORTFOLIO
  ══════════════════════════════════════ */
  .m-portfolio-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 72px;
  }

  .m-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: var(--border);
    border-left: var(--border);
  }

  .m-property {
    border-right: var(--border);
    border-bottom: var(--border);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    transition: background var(--transition);
    cursor: pointer;
  }

  .m-property:hover {
    background: var(--cream);
  }

  .m-property-tag {
    font-family: var(--font);
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .m-property-tag::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--gold);
  }

  .m-property-location {
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin-bottom: 16px;
  }

  .m-property-title {
    font-family: var(--font);
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 0.02em;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .m-property-desc {
    font-family: var(--font);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.8;
    color: var(--ink-60);
    flex: 1;
    margin-bottom: 32px;
  }

  .m-property-specs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }

  .m-property-spec {
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-40);
    padding: 6px 12px;
    border: var(--border);
  }

  .m-property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: var(--border);
  }

  .m-property-price {
    font-family: var(--font);
    font-weight: 400;
    font-size: 18px;
    color: var(--ink);
    letter-spacing: 0.02em;
  }

  .m-property-arrow {
    width: 36px;
    height: 36px;
    border: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
  }

  .m-property:hover .m-property-arrow {
    background: var(--ink);
    border-color: var(--ink);
  }

  .m-property:hover .m-property-arrow svg {
    stroke: var(--white);
  }

  .m-property-arrow svg {
    width: 14px;
    height: 14px;
    stroke: var(--ink);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* ══════════════════════════════════════
     SERVICES
  ══════════════════════════════════════ */
  .m-services-header {
    max-width: 640px;
    margin-bottom: 80px;
  }

  .m-service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: var(--border);
    border-left: var(--border);
  }

  .m-service {
    border-right: var(--border);
    border-bottom: var(--border);
    padding: 56px 48px;
    transition: background var(--transition);
  }

  .m-service:hover {
    background: rgba(18,18,18,0.03);
  }

  .m-service-number {
    font-family: var(--font);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 28px;
  }

  .m-service-title {
    font-family: var(--font);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin-bottom: 24px;
    line-height: 1.2;
  }

  /* ══════════════════════════════════════
     ABOUT
  ══════════════════════════════════════ */
  .m-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 120px;
    align-items: start;
  }

  .m-about-body p {
    font-family: var(--font);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255,255,255,0.6);
    margin-bottom: 28px;
  }

  .m-about-body p:last-child { margin-bottom: 0; }

  .m-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-left: 1px solid rgba(255,255,255,0.1);
    margin-top: 24px;
  }

  .m-stat {
    padding: 40px 36px;
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .m-stat-value {
    font-family: var(--font);
    font-weight: 300;
    font-size: 32px;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 10px;
  }

  .m-stat-label {
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
  }

  /* ══════════════════════════════════════
     CONTACT
  ══════════════════════════════════════ */
  .m-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 120px;
    align-items: start;
  }

  .m-contact-sub {
    margin-top: 32px;
    max-width: 420px;
  }

  .m-form {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .m-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .m-field {
    display: flex;
    flex-direction: column;
    border-bottom: var(--border);
    border-right: var(--border);
    padding: 24px 28px;
    transition: background var(--transition);
  }

  .m-field:nth-child(even) {
    border-right: none;
  }

  .m-field:focus-within {
    background: var(--cream);
  }

  .m-field--full {
    grid-column: 1 / -1;
    border-right: none;
  }

  .m-field label {
    font-family: var(--font);
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-40);
    margin-bottom: 10px;
    transition: color var(--transition);
  }

  .m-field:focus-within label {
    color: var(--ink);
  }

  .m-field input,
  .m-field select,
  .m-field textarea {
    font-family: var(--font);
    font-weight: 300;
    font-size: 15px;
    color: var(--ink);
    background: none;
    border: none;
    outline: none;
    width: 100%;
    resize: none;
    -webkit-appearance: none;
  }

  .m-field select {
    cursor: pointer;
  }

  .m-field textarea {
    height: 120px;
    line-height: 1.7;
  }

  .m-field input::placeholder,
  .m-field textarea::placeholder {
    color: var(--ink-40);
  }

  .m-form-border-box {
    border: var(--border);
    border-bottom: none;
    border-right: none;
  }

  .m-form-actions {
    padding: 32px 0 0;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .m-form-privacy {
    font-family: var(--font);
    font-weight: 300;
    font-size: 11px;
    line-height: 1.7;
    color: var(--ink-40);
    max-width: 320px;
  }

  .m-form-success {
    text-align: center;
    padding: 60px 0;
  }

  .m-form-success-icon {
    width: 56px;
    height: 56px;
    border: var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
  }

  .m-form-success-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .m-form-success-text {
    font-family: var(--font);
    font-weight: 300;
    font-size: 18px;
    color: var(--ink);
    letter-spacing: 0.04em;
  }

  /* ══════════════════════════════════════
     FOOTER
  ══════════════════════════════════════ */
  .m-footer {
    background: var(--ink);
    padding: 64px 60px 48px;
  }

  .m-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  .m-footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 40px;
  }

  .m-footer-logo-word {
    font-family: var(--font);
    font-weight: 300;
    font-size: 22px;
    letter-spacing: 0.28em;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 6px;
  }

  .m-footer-logo-rule {
    width: 80px;
    height: 1px;
    background: var(--gold);
    margin: 6px 0;
  }

  .m-footer-tagline {
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-top: 12px;
  }

  .m-footer-col-title {
    font-family: var(--font);
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
  }

  .m-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .m-footer-links a {
    font-family: var(--font);
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color var(--transition);
    cursor: pointer;
  }

  .m-footer-links a:hover { color: rgba(255,255,255,0.9); }

  .m-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }

  .m-footer-legal {
    font-family: var(--font);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.25);
  }

  .m-footer-legal-links {
    display: flex;
    gap: 24px;
  }

  .m-footer-legal-links a {
    font-family: var(--font);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: color var(--transition);
    cursor: pointer;
  }

  .m-footer-legal-links a:hover { color: rgba(255,255,255,0.6); }

  /* ══════════════════════════════════════
     LEGAL MODAL
  ══════════════════════════════════════ */
  .m-legal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(8,8,8,0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  }

  .m-legal-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  .m-legal-modal {
    background: var(--white);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--ink-08);
    border-left: 1px solid var(--ink-08);
    border-right: 1px solid var(--ink-08);
    border-radius: 2px 2px 0 0;
    transform: translateY(32px);
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    overflow: hidden;
  }

  .m-legal-overlay.open .m-legal-modal {
    transform: translateY(0);
  }

  /* Modal header */
  .m-legal-header {
    background: var(--ink);
    padding: 28px 40px 0;
    flex-shrink: 0;
  }

  .m-legal-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
  }

  .m-legal-logo-block {}

  .m-legal-logo-word {
    font-family: var(--font);
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    line-height: 1;
    margin-bottom: 5px;
  }

  .m-legal-logo-rule {
    width: 32px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 5px;
  }

  .m-legal-logo-sub {
    font-family: var(--font);
    font-weight: 300;
    font-size: 8px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
  }

  .m-legal-close {
    background: none;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    font-family: var(--font);
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    border-radius: 1px;
    line-height: 1;
  }

  .m-legal-close:hover {
    border-color: rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.9);
  }

  /* Tabs */
  .m-legal-tabs {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .m-legal-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 14px 24px;
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .m-legal-tab:hover {
    color: rgba(255,255,255,0.7);
  }

  .m-legal-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
  }

  /* Modal body — scrollable */
  .m-legal-body {
    overflow-y: auto;
    flex: 1;
    padding: 48px 40px 56px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
  }

  .m-legal-body::-webkit-scrollbar { width: 3px; }
  .m-legal-body::-webkit-scrollbar-thumb { background: var(--gold); }

  /* Contenido legal */
  .m-legal-content {}

  .m-legal-eyebrow {
    font-family: var(--font);
    font-weight: 300;
    font-size: 9px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .m-legal-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
  }

  .m-legal-title {
    font-family: var(--font);
    font-weight: 300;
    font-size: clamp(26px, 3vw, 38px);
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 8px;
  }

  .m-legal-update {
    font-family: var(--font);
    font-weight: 300;
    font-size: 12px;
    color: var(--ink-40);
    letter-spacing: 0.05em;
    margin-bottom: 40px;
  }

  .m-legal-divider {
    width: 100%;
    height: 1px;
    background: var(--ink-08);
    margin: 48px 0;
  }

  /* Artículos */
  .m-legal-article {
    margin-bottom: 44px;
    padding-bottom: 44px;
    border-bottom: var(--border);
  }

  .m-legal-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .m-legal-article-header {
    display: flex;
    gap: 18px;
    align-items: baseline;
    margin-bottom: 20px;
  }

  .m-legal-article-num {
    font-family: var(--font);
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--gold);
    flex-shrink: 0;
  }

  .m-legal-article h3 {
    font-family: var(--font);
    font-weight: 400;
    font-size: 18px;
    color: var(--ink);
    letter-spacing: 0.01em;
    line-height: 1.25;
  }

  .m-legal-article p {
    font-family: var(--font);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.85;
    color: var(--ink-60);
    margin-bottom: 16px;
  }

  .m-legal-article p:last-child { margin-bottom: 0; }

  .m-legal-article p strong {
    font-weight: 500;
    color: var(--ink);
  }

  /* Bloque datos */
  .m-legal-data {
    background: #F9F7F4;
    border: var(--border);
    border-left: 3px solid var(--gold);
    padding: 24px 28px;
    margin: 20px 0;
    font-family: var(--font);
    font-weight: 300;
    font-size: 13px;
    line-height: 2;
    color: var(--ink-60);
  }

  .m-legal-data div strong {
    font-weight: 500;
    color: var(--ink);
    display: inline-block;
    min-width: 130px;
  }

  .m-legal-data a {
    color: var(--gold);
    text-decoration: none;
  }

  /* Bloque advertencia */
  .m-legal-warn {
    background: rgba(181,154,93,0.05);
    border: 1px solid rgba(181,154,93,0.2);
    border-left: 3px solid var(--gold);
    padding: 20px 24px;
    margin: 20px 0;
    font-family: var(--font);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.8;
    color: var(--ink-60);
  }

  .m-legal-warn-title {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
  }

  /* Lista legal */
  .m-legal-list {
    list-style: none;
    margin: 12px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .m-legal-list li {
    font-family: var(--font);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-60);
    padding-left: 18px;
    position: relative;
  }

  .m-legal-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
  }

  .m-legal-list li strong {
    font-weight: 500;
    color: var(--ink);
  }

  /* Tabla cookies */
  .m-legal-table-wrap {
    overflow-x: auto;
    margin: 20px 0;
    border: var(--border);
  }

  .m-legal-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font);
    font-weight: 300;
    font-size: 12px;
  }

  .m-legal-table th {
    background: #F9F7F4;
    font-weight: 500;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-40);
    padding: 12px 14px;
    text-align: left;
    border-bottom: var(--border);
  }

  .m-legal-table td {
    padding: 12px 14px;
    border-bottom: var(--border);
    color: var(--ink-60);
    line-height: 1.5;
    vertical-align: top;
  }

  .m-legal-table tr:last-child td { border-bottom: none; }

  .m-legal-badge {
    display: inline-block;
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 1px;
  }

  .m-legal-badge--gold {
    background: rgba(181,154,93,0.1);
    color: var(--gold);
    border: 1px solid rgba(181,154,93,0.25);
  }

  .m-legal-badge--grey {
    background: rgba(18,18,18,0.04);
    color: var(--ink-40);
    border: var(--border);
  }

  .m-legal-article a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
  }

  .m-legal-article a:hover { border-color: var(--gold); }

  /* Modal responsive */
  @media (max-width: 768px) {
    .m-legal-modal { max-height: 92vh; }
    .m-legal-header { padding: 20px 20px 0; }
    .m-legal-body { padding: 32px 20px 40px; }
    .m-legal-tab { padding: 12px 14px; font-size: 9px; }
    .m-legal-data div strong { min-width: unset; display: block; }
  }

  /* ══════════════════════════════════════
     RESPONSIVE
  ══════════════════════════════════════ */
  @media (max-width: 1024px) {
    :root { --section-pad: 100px; }

    .m-nav { padding: 0 40px; }

    .m-section { padding: var(--section-pad) 40px; }

    .m-hero { padding: 0 40px 80px; }

    .m-hero-content { grid-template-columns: 1fr; }

    .m-hero-side {
      display: none;
    }

    .m-philosophy-grid { grid-template-columns: 1fr; gap: 0; }

    .m-pillars-row { grid-template-columns: 1fr; }

    .m-portfolio-grid { grid-template-columns: 1fr 1fr; }

    .m-portfolio-header { grid-template-columns: 1fr; }

    .m-service-list { grid-template-columns: 1fr; }

    .m-about-grid { grid-template-columns: 1fr; gap: 60px; }

    .m-contact-grid { grid-template-columns: 1fr; gap: 60px; }

    .m-footer-top { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 768px) {
    :root { --section-pad: var(--section-pad-mobile); }

    .m-nav {
      padding: 0 24px;
    }

    .m-nav-links { display: none; }

    .m-nav-right .m-lang { display: none; }

    .m-hamburger { display: flex; }

    .m-section { padding: var(--section-pad) 24px; }

    .m-hero {
      padding: 0 24px 72px;
      min-height: 100svh;
    }

    .m-hero-ctas {
      flex-direction: column;
    }

    .m-btn--primary,
    .m-btn--ghost {
      width: 100%;
      justify-content: center;
    }

    .m-portfolio-grid { grid-template-columns: 1fr; }

    .m-form-row { grid-template-columns: 1fr; }

    .m-field { border-right: none; }

    .m-stats-grid { grid-template-columns: 1fr 1fr; }

    .m-footer { padding: 56px 24px 40px; }

    .m-footer-top { grid-template-columns: 1fr; gap: 40px; }

    .m-footer-bottom { flex-direction: column; align-items: flex-start; }

    /* Legal modal mobile */
    .m-legal-modal { max-height: 92vh; }
    .m-legal-header { padding: 20px 20px 0; }
    .m-legal-body { padding: 32px 20px 40px; }
    .m-legal-tab { padding: 12px 14px; font-size: 9px; }
    .m-legal-data div strong { min-width: unset; display: block; }
    .m-legal-table-wrap { font-size: 11px; }
    .m-legal-table th, .m-legal-table td { padding: 8px 10px; }
  }
  /* ══════════════════════════════════════
     MENDALIA NAVY & GOLD — overrides
  ══════════════════════════════════════ */
  :root {
    --gold: #C9AB72;
    --gold-deep: #9c7f45;
    --ink: #0f1f36;
    --ink-08: rgba(15,31,54,0.08);
    --ink-15: rgba(15,31,54,0.15);
    --ink-40: rgba(15,31,54,0.45);
    --ink-60: rgba(15,31,54,0.65);
    --cream: #F7F5F1;
    --ivory: #F3EFE7;
    --navy-grad: linear-gradient(150deg, #0b1626 0%, #11223a 55%, #172d4a 100%);
    --border: 1px solid rgba(15,31,54,0.10);
  }

  .m-label { color: var(--gold-deep); }
  .m-section--ink .m-label, .m-footer .m-label { color: var(--gold); }
  .m-separator { background: var(--gold); }

  /* HERO — navy */
  .m-hero {
    background: #0f1f36;
    padding: 140px 60px 0;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }
  .m-hero-bg { background: var(--navy-grad); }
  .m-hero-grid {
    background-image:
      linear-gradient(rgba(201,171,114,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(201,171,114,0.035) 1px, transparent 1px);
  }
  .m-hero .m-h1, .m-hero-h1 { color: var(--ivory); }
  .m-hero-eyebrow { color: var(--gold); }
  .m-hero-claim {
    margin-top: 32px;
    font-family: var(--font);
    font-style: italic;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.4;
    color: var(--gold);
  }
  .m-hero .m-hero-sub {
    margin-top: 16px;
    max-width: 480px;
    color: rgba(243,239,231,0.78);
  }
  .m-hero-services {
    margin-top: 22px;
    font-family: var(--font);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(201,171,114,0.9);
  }
  .m-hero-ctas { margin-top: 44px; }
  .m-hero .m-btn--primary {
    background: var(--gold);
    color: #0f1f36;
    border-color: var(--gold);
  }
  .m-hero .m-btn--primary:hover {
    background: var(--ivory);
    border-color: var(--ivory);
    color: #0f1f36;
  }
  .m-hero .m-btn--ghost {
    color: var(--ivory);
    border: 1px solid rgba(243,239,231,0.35);
  }
  .m-hero .m-btn--ghost:hover {
    background: var(--ivory);
    border-color: var(--ivory);
    color: #0f1f36;
  }
  .m-hero-stat {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,171,114,0.28);
    backdrop-filter: none;
  }
  .m-hero-stat-value { color: var(--gold); font-size: 40px; }
  .m-hero-stat-label { color: rgba(243,239,231,0.7); }
  .m-hero-scroll { display: none; }
  .m-hero-sky {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 1160px;
    height: auto;
    margin: 64px auto 28px;
    opacity: 0.9;
  }

  /* PORTFOLIO — private portfolio */
  .m-property-price {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-deep);
  }
  .m-property-tag { color: var(--gold-deep); }
  .m-portfolio-cta {
    margin-top: 64px;
    display: flex;
    justify-content: center;
  }

  /* ABOUT — principles */
  .m-section--ink { background: var(--navy-grad); color: var(--ivory); }
  .m-section--ink .m-h2 { color: var(--ivory); }
  .m-about-principles { display: flex; flex-direction: column; }
  .m-about-principle {
    padding: 32px 0;
    border-top: 1px solid rgba(201,171,114,0.25);
  }
  .m-about-principle:first-child { padding-top: 0; border-top: none; }
  .m-about-principle-title {
    font-family: var(--font);
    font-weight: 400;
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 12px;
  }
  .m-about-principle p {
    font-family: var(--font);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.85;
    color: rgba(243,239,231,0.75);
  }
  .m-section--ink .m-btn--ghost-light { border-color: rgba(201,171,114,0.5); color: var(--ivory); }
  .m-section--ink .m-btn--ghost-light:hover { background: var(--gold); border-color: var(--gold); color: #0f1f36; }

  /* FOOTER */
  .m-footer { background: #0b1626; }

  @media (max-width: 1024px) {
    .m-hero { padding: 120px 40px 0; }
    .m-hero-side {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      padding-bottom: 0;
    }
    .m-hero-stat { padding: 20px 16px; }
    .m-hero-stat-value { font-size: 30px; }
    .m-portfolio-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 768px) {
    .m-hero { padding: 110px 24px 0; }
    .m-hero-claim { font-size: 19px; }
    .m-hero-stat-label { font-size: 9px; letter-spacing: 0.14em; }
    .m-hero-sky { margin: 40px auto 16px; }
    .m-portfolio-cta .m-btn { width: 100%; justify-content: center; }
  }


  /* ══════════════════════════════════════
     V2 — navy header + editorial hero
  ══════════════════════════════════════ */
  .m-nav {
    background: rgba(11,22,38,0.97);
    border-bottom: 1px solid rgba(243,239,231,0.12);
  }
  .m-nav.scrolled { box-shadow: 0 1px 24px rgba(0,0,0,0.35); }
  .m-logo-word { color: #FFFFFF; }
  .m-logo-sub { color: rgba(243,239,231,0.65); }
  .m-nav-links a { color: rgba(255,255,255,0.88); font-size: 12px; }
  .m-nav-links a:hover { color: #FFFFFF; }
  .m-lang-btn { color: #FFFFFF; border-color: rgba(243,239,231,0.35); }
  .m-lang-btn:hover { color: #FFFFFF; border-color: var(--gold); }
  .m-lang-btn svg { stroke: currentColor; }
  .m-hamburger span { background: #FFFFFF; }
  .m-mobile-nav { background: #0b1626; }
  .m-mobile-nav a { color: var(--ivory); }

  .m-hero-content {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: end;
  }
  .m-hero .m-hero-h1 {
    font-weight: 400;
    font-size: clamp(60px, 8vw, 124px);
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-shadow: 0 2px 30px rgba(0,0,0,0.25);
  }
  .m-hero-claim { margin-top: 36px; font-size: 21px; }
  .m-hero-services {
    margin-top: 26px;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #FFFFFF;
  }
  .m-hero-side {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    gap: 0;
    padding-bottom: 18px;
  }
  .m-hero-fact {
    font-family: var(--font);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FFFFFF;
    white-space: nowrap;
  }
  .m-hero-fact-value { color: var(--gold); font-size: 15px; letter-spacing: 0.05em; }
  .m-hero-dot { margin: 0 14px; color: rgba(255,255,255,0.7); }

  @media (max-width: 1024px) {
    .m-hero-content { grid-template-columns: 1fr; gap: 40px; }
    .m-hero-side { display: flex; justify-content: flex-start; }
  }
  @media (max-width: 768px) {
    .m-hero .m-hero-h1 { font-size: clamp(48px, 14vw, 64px); }
    .m-hero-claim { font-size: 19px; }
    .m-hero-fact { font-size: 10px; letter-spacing: 0.14em; }
    .m-hero-fact-value { font-size: 13px; }
    .m-hero-dot { margin: 0 8px; }
  }


  /* Hero title — high-contrast Didone */
  .m-hero .m-hero-h1 {
    font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', var(--font);
    font-optical-sizing: auto;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.02;
    font-size: clamp(52px, 6.2vw, 104px);
  }
  .m-hero-content { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  @media (min-width: 1025px) { .m-hero-side { flex-wrap: nowrap; } .m-hero-dot { margin: 0 10px; } .m-hero-fact { letter-spacing: 0.16em; } }
  @media (max-width: 1024px) { .m-hero-content { grid-template-columns: 1fr; } }
  @media (max-width: 768px) { .m-hero .m-hero-h1 { font-size: clamp(44px, 12.5vw, 60px); } }
:root {
    --ck-bg:       #0f1f36;
    --ck-border:   rgba(249,249,249,0.08);
    --ck-text:     #F9F9F9;
    --ck-muted:    rgba(249,249,249,0.45);
    --ck-gold:     #C9AB72;
    --ck-gold-dim: rgba(181,154,93,0.15);
    --ck-font:     'DM Sans', 'Playfair Display', sans-serif;
    --ck-radius:   2px;
    --ck-shadow:   0 -2px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(249,249,249,0.05);
    --ck-ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  #ck-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 99999;
    background: var(--ck-bg); border-top: 1px solid var(--ck-border);
    box-shadow: var(--ck-shadow); font-family: var(--ck-font);
    transform: translateY(100%);
    transition: transform 0.45s var(--ck-ease); will-change: transform;
  }
  #ck-banner.ck-visible { transform: translateY(0); }
  .ck-banner-inner {
    max-width: 1280px; margin: 0 auto; padding: 28px 40px;
    display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  }
  .ck-eyebrow {
    font-size: 9px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--ck-gold); margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
  }
  .ck-eyebrow::before {
    content: ''; display: block; width: 20px; height: 1px;
    background: var(--ck-gold); flex-shrink: 0;
  }
  .ck-title { font-size: 15px; font-weight: 500; color: var(--ck-text); margin-bottom: 8px; letter-spacing: 0.01em; }
  .ck-desc { font-size: 13px; font-weight: 300; color: var(--ck-muted); line-height: 1.65; max-width: 640px; }
  .ck-desc a { color: var(--ck-gold); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
  .ck-desc a:hover { border-color: var(--ck-gold); }
  .ck-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
  .ck-btn {
    font-family: var(--ck-font); font-size: 11px; font-weight: 400;
    letter-spacing: 0.18em; text-transform: uppercase; border: none;
    cursor: pointer; padding: 13px 24px;
    transition: all 0.25s var(--ck-ease); white-space: nowrap;
    border-radius: var(--ck-radius); line-height: 1;
  }
  .ck-btn-accept { background: var(--ck-gold); color: #0f1f36; border: 1px solid var(--ck-gold); }
  .ck-btn-accept:hover { background: #c9ae72; border-color: #c9ae72; }
  .ck-btn-reject { background: transparent; color: var(--ck-text); border: 1px solid rgba(249,249,249,0.2); }
  .ck-btn-reject:hover { background: rgba(249,249,249,0.06); border-color: rgba(249,249,249,0.4); }
  .ck-btn-config { background: transparent; color: var(--ck-muted); border: 1px solid var(--ck-border); }
  .ck-btn-config:hover { color: var(--ck-text); border-color: rgba(249,249,249,0.2); }
  #ck-panel-overlay {
    position: fixed; inset: 0; z-index: 100000;
    background: rgba(0,0,0,0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: flex-end; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ck-ease);
  }
  #ck-panel-overlay.ck-panel-open { opacity: 1; pointer-events: all; }
  #ck-panel {
    background: var(--ck-bg); border-top: 1px solid var(--ck-border);
    border-left: 1px solid var(--ck-border); border-right: 1px solid var(--ck-border);
    border-radius: 2px 2px 0 0; width: 100%; max-width: 680px; max-height: 85vh;
    overflow-y: auto; transform: translateY(40px);
    transition: transform 0.35s var(--ck-ease);
    scrollbar-width: thin; scrollbar-color: var(--ck-gold) transparent;
  }
  #ck-panel::-webkit-scrollbar { width: 3px; }
  #ck-panel::-webkit-scrollbar-thumb { background: var(--ck-gold); }
  #ck-panel-overlay.ck-panel-open #ck-panel { transform: translateY(0); }
  .ck-panel-header {
    padding: 32px 36px 24px; border-bottom: 1px solid var(--ck-border);
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    position: sticky; top: 0; background: var(--ck-bg); z-index: 1;
  }
  .ck-panel-eyebrow { font-size: 9px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ck-gold); margin-bottom: 8px; }
  .ck-panel-title { font-size: 18px; font-weight: 400; color: var(--ck-text); letter-spacing: 0.01em; }
  .ck-panel-close {
    background: none; border: 1px solid var(--ck-border); color: var(--ck-muted);
    font-family: var(--ck-font); font-size: 18px; font-weight: 300; cursor: pointer;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all 0.2s ease; line-height: 1; border-radius: var(--ck-radius);
  }
  .ck-panel-close:hover { border-color: rgba(249,249,249,0.3); color: var(--ck-text); }
  .ck-panel-body { padding: 0 36px 28px; }
  .ck-category { padding: 28px 0; border-bottom: 1px solid var(--ck-border); }
  .ck-category:last-child { border-bottom: none; }
  .ck-category-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
  .ck-category-name { font-size: 13px; font-weight: 500; color: var(--ck-text); margin-bottom: 4px; letter-spacing: 0.02em; }
  .ck-category-badge {
    display: inline-block; font-size: 9px; font-weight: 400; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--ck-gold); border: 1px solid rgba(181,154,93,0.3);
    padding: 2px 8px; border-radius: 1px; margin-left: 8px; vertical-align: middle;
  }
  .ck-category-desc { font-size: 12px; font-weight: 300; color: var(--ck-muted); line-height: 1.65; max-width: 420px; }
  .ck-toggle { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; cursor: pointer; }
  .ck-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
  .ck-toggle-track {
    width: 44px; height: 24px; background: rgba(249,249,249,0.1);
    border: 1px solid rgba(249,249,249,0.15); border-radius: 12px;
    position: relative; transition: all 0.25s var(--ck-ease);
  }
  .ck-toggle-thumb {
    position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
    background: rgba(249,249,249,0.4); border-radius: 50%; transition: all 0.25s var(--ck-ease);
  }
  .ck-toggle input:checked ~ .ck-toggle-track { background: var(--ck-gold-dim); border-color: var(--ck-gold); }
  .ck-toggle input:checked ~ .ck-toggle-track .ck-toggle-thumb { left: 22px; background: var(--ck-gold); }
  .ck-toggle.ck-toggle-disabled { cursor: not-allowed; opacity: 0.5; }
  .ck-toggle.ck-toggle-disabled .ck-toggle-track { background: var(--ck-gold-dim); border-color: rgba(181,154,93,0.4); }
  .ck-toggle.ck-toggle-disabled .ck-toggle-track .ck-toggle-thumb { left: 22px; background: rgba(181,154,93,0.6); }
  .ck-toggle input:focus-visible ~ .ck-toggle-track { outline: 2px solid var(--ck-gold); outline-offset: 3px; }
  .ck-panel-footer {
    padding: 24px 36px; border-top: 1px solid var(--ck-border);
    display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
    position: sticky; bottom: 0; background: var(--ck-bg);
  }
  @media (max-width: 768px) {
    .ck-banner-inner { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
    .ck-actions { justify-content: stretch; }
    .ck-btn { flex: 1; text-align: center; padding: 14px 16px; }
    #ck-panel { max-height: 90vh; border-radius: 0; border-left: none; border-right: none; }
    .ck-panel-header, .ck-panel-body, .ck-panel-footer { padding-left: 20px; padding-right: 20px; }
  }
  @media (max-width: 480px) {
    .ck-actions { flex-direction: column; }
    .ck-btn { width: 100%; }
  }
  @media (prefers-reduced-motion: reduce) {
    #ck-banner, #ck-panel-overlay, #ck-panel,
    .ck-btn, .ck-toggle-track, .ck-toggle-thumb { transition: none; }
  }

/* ---- añadidos de la versión estática ---- */
html { scroll-behavior: smooth; }
html, body { margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a.m-logo, a.m-btn, a.m-lang-option { text-decoration: none; }
a.m-lang-option { box-sizing: border-box; }
a.m-btn { line-height: normal; }
#philosophy, #portfolio, #services, #about, #contact { scroll-margin-top: 64px; }
@media (max-width: 768px) { .m-nav-right .m-lang { display: block; } .m-nav-right { gap: 16px; } }
.m-property { cursor: pointer; }
.m-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.m-consent { display: flex; align-items: flex-start; gap: 12px; padding: 24px 0 0; font-family: var(--font); font-weight: 300; font-size: 12px; line-height: 1.7; color: var(--ink-60); cursor: pointer; }
.m-consent input { margin-top: 4px; accent-color: #B59A5D; flex-shrink: 0; }
.m-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.m-form-error { margin-top: 20px; padding: 14px 18px; border: 1px solid rgba(160,60,40,0.35); font-family: var(--font); font-weight: 300; font-size: 13px; line-height: 1.6; color: #8a3324; }
.m-form button[disabled] { opacity: 0.6; cursor: progress; }
.m-legal-page-main { background: var(--white); max-width: 900px; margin: 0 auto; padding: 140px 40px 80px; }
.m-legal-page .m-legal-content { padding-bottom: 72px; scroll-margin-top: 100px; }
.m-legal-page .m-legal-content + .m-legal-content { padding-top: 72px; border-top: var(--border); }
.m-legal-page-tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding-bottom: 40px; margin-bottom: 48px; border-bottom: var(--border); }
.m-legal-page-tabs a, .m-legal-page-tabs button { font-family: var(--font); font-weight: 300; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-60); text-decoration: none; background: none; border: none; padding: 6px 0; cursor: pointer; }
.m-legal-page-tabs a:hover, .m-legal-page-tabs button:hover { color: var(--gold); }
.m-legal-page-tabs button { margin-left: auto; border-bottom: 1px solid var(--gold); }
@media (max-width: 768px) { .m-legal-page-main { padding: 110px 20px 56px; } .m-legal-page-tabs button { margin-left: 0; } }
