/* =========================================================
   OSAMU YOKOSAKI — HOME PAGE
   Archivo CSS principal
   Objetivo: identidad visual, layout, responsive y efectos.
   ========================================================= */

/* 1. LIMPIEZA DE PLANTILLA WORDPRESS / BLUEHOST */
.wp-block-template-part,
header.wp-block-template-part,
footer.wp-block-template-part,
.wp-block-post-title,
.entry-title,
.page-title { display: none !important; }

/* 2. VARIABLES VISUALES DE MARCA */
:root {
  --oy-black: #050505;
  --oy-charcoal: #171717;
  --oy-red: #B71C1C;
  --oy-red-dark: #8F1111;
  --oy-white: #FAFAF7;
  --oy-soft: #F3F4F6;
  --oy-gray: #263238;
  --oy-gold: #C9A227;
  --oy-shadow: rgba(23, 23, 23, 0.14);
}

/* 3. BASE GENERAL */
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
.oy-home { font-family: Inter, Arial, sans-serif; color: var(--oy-charcoal); background: var(--oy-white); line-height: 1.6; }
html[lang="ja"] .oy-home { font-family: "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif; line-height: 1.78; }
.oy-home * { box-sizing: border-box; }
.oy-section { padding: 56px 8%; }
.oy-section, .oy-hero, .oy-contact, .oy-subpage-hero, [id] { scroll-margin-top: 92px; }
.oy-section-light { background: var(--oy-white); }
.oy-section-soft { background: var(--oy-soft); }
.oy-section h2 { font-size: clamp(34px, 4vw, 54px); color: var(--oy-red); margin: 0 0 24px 0; line-height: 1.12; letter-spacing: -0.02em; }
.oy-section p { font-size: 20px; max-width: 1120px; }
.oy-section-kicker { display: inline-flex; align-items: center; color: var(--oy-gold); background: rgba(201, 162, 39, 0.1); border: 1px solid rgba(201, 162, 39, 0.32); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }

/* 4. NAVEGACIÓN PROPIA */
.oy-nav { position: sticky; top: 0; z-index: 50; background: rgba(5, 5, 5, 0.94); backdrop-filter: blur(10px); color: var(--oy-white); display: flex; align-items: center; justify-content: space-between; padding: 16px 8%; border-bottom: 1px solid rgba(183, 28, 28, 0.45); }
.oy-nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; color: var(--oy-white); text-decoration: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.oy-nav-brand:hover { opacity: 0.9; transform: translateY(-1px); }
.oy-home .oy-nav img.oy-nav-logo { width: 34px !important; max-width: 34px !important; height: 34px !important; max-height: 34px !important; flex: 0 0 34px; border-radius: 9px; object-fit: cover; background: var(--oy-white); border: 1.5px solid rgba(250,250,247,0.88); box-shadow: 0 6px 14px rgba(0,0,0,0.22); }
.oy-nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.oy-nav-links a { color: var(--oy-white); text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.9; transition: color 0.25s ease, opacity 0.25s ease; }
.oy-nav-links a:hover, .oy-nav-links a.oy-active { color: var(--oy-gold); opacity: 1; }
.oy-theme-toggle { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(250,250,247,0.28); background: rgba(250,250,247,0.08); color: var(--oy-white); font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.oy-theme-toggle:hover { transform: translateY(-1px); border-color: rgba(201, 162, 39, 0.72); color: var(--oy-gold); }
.oy-theme-toggle span { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(201, 162, 39, 0.16); line-height: 1; }
.oy-language-switcher { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid rgba(250,250,247,0.24); border-radius: 999px; background: rgba(250,250,247,0.07); }
.oy-language-switcher a, .oy-language-switcher span { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 26px; padding: 4px 8px; border-radius: 999px; color: rgba(250,250,247,0.82); text-decoration: none; font-size: 12px; font-weight: 900; line-height: 1; }
.oy-language-switcher a:hover, .oy-language-switcher .oy-active-lang { background: rgba(201, 162, 39, 0.18); color: var(--oy-gold); }
.oy-language-switcher span { opacity: 0.46; cursor: not-allowed; }
html[lang="ja"] .oy-language-switcher a, html[lang="ja"] .oy-language-switcher span { letter-spacing: 0.02em; }

/* 5. HERO PRINCIPAL */
.oy-hero { position: relative; overflow: hidden; min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); grid-template-areas: "title logo" "kanji logo" "subtitle logo" "claim logo" "text logo" "buttons logo" "social logo" "impact impact"; align-content: center; align-items: center; column-gap: clamp(28px, 4.5vw, 74px); row-gap: 8px; background: radial-gradient(circle at 18% 15%, rgba(183, 28, 28, 0.24), transparent 31%), radial-gradient(circle at 83% 55%, rgba(201, 162, 39, 0.13), transparent 29%), var(--oy-black); color: var(--oy-white); padding: clamp(18px, 2.6vh, 30px) clamp(22px, 3.8vw, 72px) clamp(16px, 2.4vh, 26px); text-align: left; border-bottom: 4px solid var(--oy-red); }
.oy-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(120deg, rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(60deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 48px 48px; opacity: 0.45; pointer-events: none; }
.oy-hero > * { position: relative; z-index: 2; }
.oy-hero-identity { grid-area: logo; justify-self: center; align-self: center; width: clamp(250px, 23vw, 320px) !important; max-width: 320px !important; height: clamp(250px, 23vw, 320px) !important; max-height: 320px !important; margin: 0; transform: translateY(6px); border-radius: 28px; padding: 7px; background: rgba(250, 250, 247, 0.96); box-shadow: 0 16px 44px rgba(183, 28, 28, 0.3), 0 0 0 1px rgba(250,250,247,0.2); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.oy-hero-identity:hover { transform: translateY(2px) scale(1.015); box-shadow: 0 20px 54px rgba(183, 28, 28, 0.36), 0 0 0 1px rgba(250,250,247,0.25); }
.oy-hero-logo { width: 100% !important; max-width: 100% !important; height: 100% !important; max-height: 100% !important; display: block; object-fit: cover; border-radius: 21px; }
.oy-hero h1 { grid-area: title; font-size: clamp(34px, 3.8vw, 52px); line-height: 1; margin: 0 0 2px 0; font-weight: 800; color: var(--oy-white) !important; letter-spacing: -0.04em; }
.oy-kanji { grid-area: kanji; font-size: clamp(18px, 1.6vw, 24px); color: var(--oy-gold); margin: 0 0 6px 0; letter-spacing: 4px; }
.oy-hero h2 { grid-area: subtitle; font-size: clamp(15px, 1.62vw, 24px); font-weight: 700; line-height: 1.18; margin: 0 0 8px 0; max-width: 720px; color: var(--oy-white) !important; }
.oy-hero-claim { grid-area: claim; font-size: clamp(15px, 1.18vw, 18px); font-weight: 800; max-width: 760px; margin: 0 0 6px 0; color: var(--oy-white) !important; }
.oy-hero-text { grid-area: text; font-size: clamp(14px, 1.08vw, 17px); max-width: 720px; margin: 0 0 6px 0; color: var(--oy-white) !important; }

/* 6. BOTONES Y ENLACES SOCIALES */
.oy-buttons { grid-area: buttons; display: flex; justify-content: flex-start; gap: 10px; flex-wrap: nowrap; margin-top: 8px; }
.oy-buttons-left { justify-content: flex-start; }
.oy-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: clamp(13px, 0.96vw, 15px); line-height: 1.1; white-space: nowrap; text-align: center; border: 2px solid var(--oy-red); transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.oy-btn:hover { transform: translateY(-3px); }
.oy-btn-primary { background: var(--oy-red); color: var(--oy-white); }
.oy-btn-primary:hover { background: var(--oy-red-dark); border-color: var(--oy-red-dark); }
.oy-btn-secondary { background: transparent; color: var(--oy-red); }
.oy-btn-secondary:hover { background: var(--oy-red); color: var(--oy-white); border-color: var(--oy-red); }
.oy-btn-light { color: var(--oy-red); background: transparent; border-color: var(--oy-red); }
.oy-btn-light:hover { color: var(--oy-white); background: var(--oy-red); }
.oy-btn-dark-text { color: var(--oy-white); }
.oy-hero .oy-btn-secondary, .oy-contact .oy-btn-secondary, .oy-subpage-hero .oy-btn-secondary, .oy-subpage-hero .oy-btn-light { color: var(--oy-white); }
.oy-hero .oy-btn-secondary:hover, .oy-contact .oy-btn-secondary:hover, .oy-subpage-hero .oy-btn-secondary:hover, .oy-subpage-hero .oy-btn-light:hover { color: var(--oy-white); }
.oy-social-row { grid-area: social; display: flex; justify-content: flex-start; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.oy-social-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--oy-white); border: 1px solid rgba(250,250,247,0.35); padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; transition: all 0.25s ease; }
.oy-social-link:hover { background: var(--oy-white); color: var(--oy-charcoal); transform: translateY(-2px); }
.oy-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font-size: 12px; font-weight: 900; line-height: 1; background: rgba(250,250,247,0.14); color: currentColor; }
.oy-hero .oy-buttons { width: min(100%, 700px); justify-content: space-between; gap: 12px; }
.oy-hero .oy-buttons .oy-btn { flex: 1 1 0; min-width: 0; }
.oy-hero .oy-social-row { width: min(100%, 700px); justify-content: center; gap: 14px; margin-top: 10px; }
.oy-hero .oy-social-link { min-width: 110px; }

/* 7. BANDA DE IMPACTO */
.oy-impact-strip { grid-area: impact; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; width: 100%; justify-self: stretch; margin: clamp(18px, 3vh, 34px) 0 0; padding-top: clamp(13px, 1.8vh, 19px); border-top: 1px solid rgba(183, 28, 28, 0.46); background: linear-gradient(90deg, rgba(183, 28, 28, 0), rgba(183, 28, 28, 0.11), rgba(183, 28, 28, 0)); }
.oy-impact-strip article { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 78px; background: rgba(23, 23, 23, 0.7); color: var(--oy-white); padding: 14px 18px; text-align: center; border: 1px solid rgba(183, 28, 28, 0.42); border-radius: 18px; box-shadow: 0 12px 32px rgba(0,0,0,0.22); }
.oy-impact-strip strong { display: block; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.1; color: var(--oy-gold); margin-bottom: 5px; }
.oy-impact-strip span { display: block; font-size: clamp(12px, 0.95vw, 14px); line-height: 1.3; opacity: 0.9; }

/* 8. GRILLAS Y TARJETAS */
.oy-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; }
.oy-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 30px; }
.oy-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 30px; }
.oy-card { background: rgba(250, 250, 247, 0.96); border: 1.5px solid rgba(183, 28, 28, 0.82); border-radius: 24px; padding: clamp(28px, 3vw, 38px); min-height: 230px; box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06); transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease; }
.oy-card-compact { min-height: 178px; }
.oy-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 23, 23, 0.12); border-color: var(--oy-red); background: var(--oy-white); }
.oy-card h3 { font-size: clamp(22px, 2vw, 28px); margin: 0 0 18px 0; color: var(--oy-charcoal); line-height: 1.12; letter-spacing: -0.02em; }
.oy-card p { font-size: clamp(17px, 1.3vw, 19px); margin: 0; color: #111827; line-height: 1.55; }
html[lang="ja"] .oy-card p { font-size: clamp(15px, 1.12vw, 17px); line-height: 1.78; }
html[lang="ja"] .oy-card h3 { font-size: clamp(20px, 1.65vw, 25px); line-height: 1.28; }
.oy-publication-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; }
.oy-publication-card { position: relative; min-height: 218px; padding-top: 68px; }
.oy-publication-badge { position: absolute; top: 28px; left: 28px; display: inline-flex; align-items: center; justify-content: center; color: var(--oy-red); background: rgba(183, 28, 28, 0.08); border: 1px solid rgba(183, 28, 28, 0.32); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 900; }
.oy-publication-thumb { width: 74px; height: 98px; object-fit: cover; border-radius: 8px; float: right; margin: -42px 0 18px 18px; box-shadow: 0 12px 26px rgba(23,23,23,0.18); border: 1px solid rgba(23,23,23,0.08); }
.oy-publication-thumb-wide { width: 132px; height: 92px; border-radius: 14px; object-fit: cover; }
.oy-card-link { display: inline-flex; align-items: center; justify-content: center; margin-top: 22px; color: var(--oy-red); font-weight: 900; text-decoration: none; border-bottom: 2px solid rgba(183, 28, 28, 0.35); }
.oy-card-link:hover { color: var(--oy-red-dark); border-bottom-color: var(--oy-red-dark); }
.oy-disabled-link { opacity: 0.72; cursor: not-allowed; }
.oy-subpage { background: var(--oy-white); min-height: 100vh; }
.oy-subpage-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 18%, rgba(183, 28, 28, 0.18), transparent 28%), var(--oy-black); color: var(--oy-white); padding: clamp(70px, 10vh, 120px) 8%; border-bottom: 4px solid var(--oy-red); }
.oy-subpage-hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1; margin: 0 0 22px; color: var(--oy-white); letter-spacing: -0.04em; }
.oy-subpage-hero p { max-width: 900px; font-size: clamp(18px, 1.6vw, 24px); color: var(--oy-white); }
html[lang="ja"] .oy-subpage-hero p { line-height: 1.78; }
.oy-detail-panel { background: rgba(250, 250, 247, 0.96); border: 1.5px solid rgba(183, 28, 28, 0.35); border-radius: 24px; padding: clamp(28px, 3vw, 40px); max-width: 980px; box-shadow: 0 10px 26px rgba(23, 23, 23, 0.06); }
.oy-detail-panel p { margin: 0 0 14px; }
.oy-detail-panel p:last-child { margin-bottom: 0; }
.oy-inline-link { color: var(--oy-red); font-weight: 900; text-decoration: none; border-bottom: 2px solid rgba(183, 28, 28, 0.35); }
.oy-inline-link:hover { color: var(--oy-red-dark); border-bottom-color: var(--oy-red-dark); }
.oy-book-layout { display: grid; grid-template-columns: minmax(190px, 260px) minmax(0, 1fr); gap: clamp(28px, 4vw, 54px); align-items: start; }
.oy-book-cover { margin: 0; justify-self: center; }
.oy-book-cover img { width: min(100%, 260px); border-radius: 14px; box-shadow: 0 24px 60px rgba(23,23,23,0.22); border: 1px solid rgba(23,23,23,0.08); display: block; }

/* 9. PROCESO / ENFOQUE */
.oy-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 30px; }
.oy-process article { background: var(--oy-white); border-top: 5px solid var(--oy-red); padding: 28px; }
.oy-process span { color: var(--oy-gold); font-size: 18px; font-weight: 800; }
.oy-process h3 { font-size: 24px; margin: 10px 0 12px; }
.oy-process p { font-size: 17px; margin: 0; }

/* 10. TEMAS / TAGS */
.oy-topic-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 30px auto; max-width: 1160px; justify-content: center; }
.oy-topic-list span, .oy-topic-list a { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid rgba(183, 28, 28, 0.48); color: var(--oy-charcoal); background: var(--oy-white); border-radius: 999px; padding: 10px 18px; font-weight: 800; font-size: 15px; line-height: 1.25; text-align: center; text-decoration: none; box-shadow: 0 8px 20px rgba(23,23,23,0.04); transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
html[lang="ja"] .oy-topic-list span, html[lang="ja"] .oy-topic-list a { font-size: 14px; line-height: 1.42; padding-inline: 16px; }
.oy-topic-list a:hover { transform: translateY(-2px); border-color: var(--oy-red); color: var(--oy-red); }
.oy-line-card { min-height: 260px; }
.oy-line-card .oy-section-kicker { margin-bottom: 16px; }
.oy-line-index { margin-top: 24px; }
.oy-line-detail { display: grid; grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 58px); align-items: center; }
.oy-line-detail-reverse .oy-line-figure { order: 2; }
.oy-line-detail-reverse .oy-line-copy { order: 1; }
.oy-line-figure { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 22px 54px rgba(23, 23, 23, 0.14); border: 1.5px solid rgba(183, 28, 28, 0.28); background: var(--oy-white); }
.oy-line-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.oy-line-copy h2 { margin-bottom: 18px; }
.oy-line-copy p { max-width: 820px; }
.oy-line-lead { font-size: clamp(19px, 1.7vw, 24px) !important; font-weight: 800; color: var(--oy-charcoal); line-height: 1.42 !important; }
.oy-case-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.oy-case-list li { position: relative; background: rgba(250, 250, 247, 0.86); border: 1px solid rgba(183, 28, 28, 0.22); border-radius: 16px; padding: 14px 16px 14px 42px; color: #111827; font-size: 16px; line-height: 1.48; }
html[lang="ja"] .oy-case-list li { font-size: 15px; line-height: 1.7; }
.oy-case-list li::before { content: ""; position: absolute; left: 17px; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--oy-red); box-shadow: 0 0 0 5px rgba(183, 28, 28, 0.1); }

/* 11. LÍNEA EDITORIAL */
.oy-editorial { border-left: 6px solid var(--oy-gold); padding-left: 28px; margin-top: 28px; }
.oy-editorial p { max-width: 1100px; }

/* 12. CONTACTO */
.oy-contact { position: relative; overflow: hidden; min-height: 72vh; display: flex; flex-direction: column; background: radial-gradient(circle at 85% 20%, rgba(183, 28, 28, 0.18), transparent 25%), var(--oy-black); color: var(--oy-white); padding: 70px 8% 28px; }
.oy-contact::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(120deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 44px 44px; opacity: 0.25; pointer-events: none; }
.oy-contact > * { position: relative; z-index: 2; }
.oy-contact h2 { color: var(--oy-red); font-size: clamp(34px, 4vw, 54px); margin-bottom: 22px; }
.oy-contact p { font-size: 21px; max-width: 1050px; }
.oy-footer-note { font-size: clamp(12px, 0.95vw, 14px) !important; line-height: 1.45; opacity: 0.58; margin-top: auto; padding-top: 34px; max-width: none !important; }

/* 13. MODO OSCURO */
html.oy-theme-dark { color-scheme: dark; }
html.oy-theme-dark .oy-home,
html.oy-theme-dark .oy-subpage { background: #050505; color: var(--oy-white); }
html.oy-theme-dark .oy-section-light { background: #080808; }
html.oy-theme-dark .oy-section-soft { background: #111111; }
html.oy-theme-dark .oy-section h2,
html.oy-theme-dark .oy-contact h2 { color: #E53935; }
html.oy-theme-dark .oy-section p,
html.oy-theme-dark .oy-detail-panel p,
html.oy-theme-dark .oy-editorial p { color: rgba(250, 250, 247, 0.9); }
html.oy-theme-dark .oy-card,
html.oy-theme-dark .oy-detail-panel,
html.oy-theme-dark .oy-process article,
html.oy-theme-dark .oy-topic-list span,
html.oy-theme-dark .oy-topic-list a,
html.oy-theme-dark .oy-case-list li { background: rgba(23, 23, 23, 0.92); color: var(--oy-white); border-color: rgba(183, 28, 28, 0.5); box-shadow: 0 18px 44px rgba(0,0,0,0.24); }
html.oy-theme-dark .oy-card:hover { background: rgba(28, 28, 28, 0.98); border-color: rgba(229, 57, 53, 0.78); box-shadow: 0 22px 54px rgba(0,0,0,0.34); }
html.oy-theme-dark .oy-card h3,
html.oy-theme-dark .oy-process h3,
html.oy-theme-dark .oy-line-lead { color: var(--oy-white); }
html.oy-theme-dark .oy-card p,
html.oy-theme-dark .oy-process p,
html.oy-theme-dark .oy-case-list li,
html.oy-theme-dark .oy-topic-list span,
html.oy-theme-dark .oy-topic-list a { color: rgba(250, 250, 247, 0.88); }
html.oy-theme-dark .oy-topic-list a:hover,
html.oy-theme-dark .oy-card-link,
html.oy-theme-dark .oy-inline-link { color: #FF6B6B; border-bottom-color: rgba(255, 107, 107, 0.42); }
html.oy-theme-dark .oy-topic-list a:hover,
html.oy-theme-dark .oy-card-link:hover,
html.oy-theme-dark .oy-inline-link:hover { color: var(--oy-gold); border-color: rgba(201, 162, 39, 0.62); }
html.oy-theme-dark .oy-section-kicker,
html.oy-theme-dark .oy-publication-badge { background: rgba(201, 162, 39, 0.12); color: var(--oy-gold); border-color: rgba(201, 162, 39, 0.36); }
html.oy-theme-dark .oy-line-figure { background: #111111; border-color: rgba(183, 28, 28, 0.42); box-shadow: 0 22px 54px rgba(0,0,0,0.28); }
html.oy-theme-dark .oy-book-cover img,
html.oy-theme-dark .oy-publication-thumb { box-shadow: 0 24px 60px rgba(0,0,0,0.42); border-color: rgba(250,250,247,0.12); }
html.oy-theme-dark .oy-theme-toggle { border-color: rgba(201, 162, 39, 0.44); background: rgba(201, 162, 39, 0.13); color: var(--oy-gold); }
html.oy-theme-dark .oy-language-switcher { border-color: rgba(201, 162, 39, 0.28); background: rgba(201, 162, 39, 0.08); }

/* 13. ANIMACIONES SUAVES */
.oy-reveal { opacity: 1; transform: none; }
html.oy-js .oy-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
html.oy-js .oy-reveal.oy-visible { opacity: 1; transform: translateY(0); }

/* 14. RESPONSIVE */
@media (max-width: 1180px) { .oy-impact-strip, .oy-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) { .oy-grid-3, .oy-topic-list, .oy-publication-grid { grid-template-columns: repeat(2, 1fr); } .oy-process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .oy-section, .oy-contact { padding: 42px 7%; }
  .oy-hero { min-height: auto; grid-template-columns: 1fr; grid-template-areas: "logo" "title" "kanji" "subtitle" "claim" "text" "buttons" "social" "impact"; padding: 42px 7% 34px; text-align: center; }
  .oy-hero-identity { justify-self: center; width: clamp(118px, 30vw, 156px) !important; max-width: 156px !important; height: clamp(118px, 30vw, 156px) !important; max-height: 156px !important; }
  .oy-grid-3, .oy-grid-4, .oy-grid-2, .oy-process, .oy-impact-strip, .oy-topic-list, .oy-publication-grid { grid-template-columns: 1fr; }
  .oy-line-detail { grid-template-columns: 1fr; }
  .oy-line-detail-reverse .oy-line-figure, .oy-line-detail-reverse .oy-line-copy { order: initial; }
  .oy-card { min-height: auto; }
  .oy-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .oy-hero h2 { font-size: clamp(20px, 5.6vw, 24px); max-width: 680px; justify-self: center; }
  .oy-hero-claim { font-size: clamp(17px, 4.8vw, 21px); max-width: 660px; justify-self: center; }
  .oy-hero-text { font-size: clamp(16px, 4.4vw, 19px); max-width: 640px; justify-self: center; line-height: 1.55; }
  .oy-section p, .oy-contact p { font-size: 17px; }
  .oy-buttons, .oy-social-row { justify-content: center; gap: 12px; flex-wrap: wrap; }
  .oy-hero .oy-buttons { width: min(100%, 520px); justify-content: center; gap: 12px; justify-self: center; }
  .oy-hero .oy-buttons .oy-btn { flex: 0 1 auto; min-width: min(100%, 260px); }
  .oy-btn { width: 100%; max-width: 320px; text-align: center; }
}
@media (max-width: 780px) {
  .oy-nav { position: relative; flex-direction: column; gap: 14px; padding: 18px 7%; }
  .oy-nav-links { justify-content: center; gap: 14px; }
  .oy-nav-links a { font-size: 14px; }
  .oy-language-switcher { order: 3; }
  .oy-theme-toggle { margin-top: 2px; }
}
@media (max-width: 600px) {
  .oy-hero { padding: 32px 7% 28px; row-gap: 9px; }
  .oy-hero h1 { font-size: clamp(36px, 12vw, 46px); }
  .oy-kanji { font-size: 18px; letter-spacing: 3px; }
  .oy-hero h2 { font-size: clamp(18px, 5.4vw, 22px); line-height: 1.18; }
  .oy-hero-claim { font-size: clamp(16px, 4.9vw, 19px); line-height: 1.38; }
  .oy-hero-text { font-size: clamp(15px, 4.5vw, 17px); line-height: 1.52; }
  .oy-hero .oy-buttons { display: grid; grid-template-columns: 1fr; width: min(100%, 360px); margin-top: 12px; }
  .oy-hero .oy-buttons .oy-btn,
  .oy-hero .oy-social-link { width: 100%; max-width: none; min-width: 0; }
  .oy-hero .oy-social-row { display: grid; grid-template-columns: 1fr; width: min(100%, 320px); justify-self: center; }
  .oy-impact-strip { gap: 14px; }
}
