/*
Theme Name: IKRAVCHENKO Real Assets
Theme URI: https://ikravchenko.pro
Author: IKRAVCHENKO
Description: Авторская тема для витрины инвестиционных возможностей в недвижимости, земле и оборудовании.
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: ikravchenko
*/

:root {
  --ink: #07111f;
  --navy: #0b1d33;
  --paper: #f5f2eb;
  --white: #ffffff;
  --muted: #637083;
  --line: rgba(7, 17, 31, .12);
  --gold: #c99b4a;
  --gold-light: #edcf8d;
  --teal: #2b7773;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(9, 25, 43, .12);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 20px; top: 20px; z-index: 999; background: white; padding: 12px 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 31, .92);
  backdrop-filter: blur(16px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .08em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink); background: linear-gradient(135deg,var(--gold-light),var(--gold)); border-radius: 11px; font-size: 15px; letter-spacing: -.05em; }
.brand-name { font-size: 15px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 14px; }
.site-nav a { color: rgba(255,255,255,.76); transition: color .2s; }
.site-nav a:hover, .site-nav a:focus { color: var(--white); }
.header-cta { padding: 11px 17px; color: var(--ink) !important; background: var(--gold-light); border-radius: 999px; font-weight: 700; }
.nav-toggle { display: none; margin-left: auto; color: white; background: transparent; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 8px 11px; font: inherit; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 78% 22%, rgba(43,119,115,.45), transparent 34%),
    radial-gradient(circle at 69% 78%, rgba(201,155,74,.18), transparent 27%),
    linear-gradient(145deg, #07111f 0%, #0b1d33 62%, #102b40 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid rgba(237,207,141,.28); border-radius: 50%; }
.hero::before { width: 520px; height: 520px; right: -100px; top: 80px; }
.hero::after { width: 330px; height: 330px; right: 90px; top: 175px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; padding-block: 110px; }
.eyebrow { margin: 0 0 18px; color: var(--gold-light); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 7.5vw, 104px); line-height: .96; font-weight: 500; letter-spacing: -.055em; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-copy { max-width: 720px; margin: 30px 0 38px; color: rgba(255,255,255,.73); font-size: clamp(18px,2vw,23px); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,155,74,.25); }
.button-outline { color: white; background: transparent; border-color: rgba(255,255,255,.28); }
.hero-panel { padding: 28px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); backdrop-filter: blur(12px); }
.hero-panel-label { color: rgba(255,255,255,.55); font-size: 12px; text-transform: uppercase; letter-spacing: .13em; }
.hero-panel strong { display: block; margin: 8px 0 18px; font-size: 25px; }
.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-metric { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-metric b { display: block; color: var(--gold-light); font-size: 20px; }
.hero-metric span { color: rgba(255,255,255,.55); font-size: 12px; }

.section { padding-block: 105px; }
.section-white { background: var(--white); }
.section-dark { color: white; background: var(--ink); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: end; margin-bottom: 50px; }
.kicker { color: var(--teal); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-dark .kicker { color: var(--gold-light); }
.section h2, .page-hero h1 { margin: 10px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px,5vw,68px); line-height: 1.03; font-weight: 500; letter-spacing: -.04em; }
.lead { margin: 0; color: var(--muted); font-size: 20px; }
.section-dark .lead { color: rgba(255,255,255,.68); }
.asset-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.asset-card { position: relative; min-height: 380px; padding: 32px; overflow: hidden; background: #edf0ec; border: 1px solid var(--line); border-radius: var(--radius); }
.asset-card:nth-child(2) { background: #e8efef; }
.asset-card:nth-child(3) { background: #eee9df; }
.asset-number { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.asset-card h3 { margin: 62px 0 15px; font-family: Georgia, serif; font-size: 35px; font-weight: 500; }
.asset-card p { color: var(--muted); }
.asset-card a { position: absolute; left: 32px; bottom: 30px; font-weight: 800; }
.asset-orbit { position: absolute; width: 180px; height: 180px; right: -80px; top: -55px; border: 1px solid rgba(43,119,115,.22); border-radius: 50%; }

.process-grid { counter-reset: steps; display: grid; grid-template-columns: repeat(4,1fr); gap: 34px; }
.process-item { counter-increment: steps; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.17); }
.process-item::before { content: "0" counter(steps); color: var(--gold-light); font-weight: 800; letter-spacing: .1em; }
.process-item h3 { margin: 30px 0 10px; font-size: 21px; }
.process-item p { margin: 0; color: rgba(255,255,255,.62); font-size: 15px; }

.deal-frame { display: grid; grid-template-columns: .92fr 1.08fr; gap: 40px; padding: 45px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.deal-visual { min-height: 430px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; color: white; border-radius: 18px; background: linear-gradient(145deg,#102b40,#214e58); }
.deal-visual small { color: var(--gold-light); letter-spacing: .14em; text-transform: uppercase; }
.deal-visual b { font-family: Georgia,serif; font-size: 52px; font-weight: 500; line-height: 1; }
.deal-content { align-self: center; }
.deal-content h2 { font-size: clamp(36px,4vw,58px); }
.check-list { margin: 26px 0 32px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "↗"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

.trust-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; }
.quote { margin: 0; font-family: Georgia,serif; font-size: clamp(33px,4vw,56px); line-height: 1.15; }
.trust-note { align-self: end; padding: 30px; background: rgba(255,255,255,.07); border-left: 3px solid var(--gold); }
.trust-note p { margin: 0; color: rgba(255,255,255,.68); }

.cta-section { padding-block: 90px; background: linear-gradient(120deg,var(--gold-light),#d8ac57); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 760px; margin: 0; font-size: clamp(38px,4.5vw,62px); }
.cta-section .button { background: var(--ink); color: white; white-space: nowrap; }

.page-hero { padding: 110px 0 80px; color: white; background: linear-gradient(140deg,var(--ink),#143248); }
.page-hero p { max-width: 760px; color: rgba(255,255,255,.7); font-size: 20px; }
.page-content { padding-block: 80px 110px; }
.page-content article { max-width: 900px; }
.page-content h2 { margin-top: 48px; font-family: Georgia,serif; font-size: 38px; font-weight: 500; }
.page-content h3 { margin-top: 35px; }
.page-content ul { padding-left: 22px; }
.page-content li { margin-bottom: 9px; }
.callout { margin: 42px 0; padding: 28px 32px; background: white; border-left: 4px solid var(--teal); border-radius: 0 16px 16px 0; }

.lead-form { max-width: 820px; margin-top: 42px; padding: 34px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 14px 15px; color: var(--ink); background: #faf9f6; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.form-field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.form-status { margin-bottom: 22px; padding: 15px 18px; border-radius: 10px; }
.form-status-success { background: #e2f1e9; color: #20533d; }
.form-status-error { background: #f9e5e2; color: #7a2a20; }
.hp-field { position: absolute; left: -9999px; }

.site-footer { padding: 70px 0 30px; color: white; background: #050c16; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.footer-copy { max-width: 480px; color: rgba(255,255,255,.55); }
.footer-title { margin-bottom: 17px; color: var(--gold-light); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; font-size: 14px; color: rgba(255,255,255,.7); }
.footer-bottom { margin-top: 55px; padding-top: 25px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

@media (max-width: 960px) {
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 78px; padding: 25px 20px; flex-direction: column; align-items: stretch; background: var(--ink); }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .hero-inner, .section-head, .deal-frame, .trust-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-panel { max-width: 520px; }
  .asset-grid { grid-template-columns: 1fr; }
  .asset-card { min-height: 320px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 70px; }
  .site-nav { top: 70px; }
  .hero-inner { padding-block: 80px; }
  .hero h1 { font-size: 50px; }
  .section { padding-block: 75px; }
  .process-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
  .deal-frame, .lead-form { padding: 24px; }
  .deal-visual { min-height: 320px; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .cta-section .button { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
