/*
Theme Name: Fine Land Corporate
Theme URI: https://fineland.com.ua/
Author: Fine Land
Description: A lightweight corporate block theme for Fine Land land-management services.
Version: 1.0.4
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: fine-land-corporate
*/

:root {
  --fl-navy: #11283f;
  --fl-navy-2: #1a3854;
  --fl-blue: #2f6686;
  --fl-gold: #b7975d;
  --fl-cream: #f5f2eb;
  --fl-paper: #fbfaf7;
  --fl-ink: #17212b;
  --fl-muted: #607080;
  --fl-line: #dfe4e7;
  --fl-white: #ffffff;
  --fl-shadow: 0 18px 50px rgba(17, 40, 63, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--fl-ink); background: var(--fl-paper); font-family: Inter, "Segoe UI", Arial, sans-serif; }
a { color: inherit; }
.fl-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.fl-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,247,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(17,40,63,.08); }
.fl-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.fl-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.fl-brand__mark { width: 42px; height: 42px; border: 1px solid var(--fl-gold); display: grid; place-items: center; color: var(--fl-navy); font: 700 13px/1 Georgia, serif; transform: rotate(45deg); }
.fl-brand__mark span { transform: rotate(-45deg); }
.fl-brand__name { display: block; color: var(--fl-navy); font: 700 20px/1.05 Georgia, serif; letter-spacing: .08em; text-transform: uppercase; }
.fl-brand__tag { display: block; margin-top: 4px; color: var(--fl-muted); font-size: 11px; letter-spacing: .06em; }
.fl-nav { display: flex; align-items: center; gap: 26px; }
.fl-nav a { color: var(--fl-navy); font-size: 14px; font-weight: 600; text-decoration: none; }
.fl-nav a:hover { color: var(--fl-blue); }
.fl-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--fl-navy); background: var(--fl-navy); color: white; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .015em; transition: .2s ease; }
.fl-button:hover { transform: translateY(-2px); background: var(--fl-navy-2); }
.fl-nav .fl-button,
.fl-nav .fl-button:hover { color: var(--fl-white); }
.fl-button--light { border-color: rgba(255,255,255,.5); background: transparent; }
.fl-button--light:hover { background: white; color: var(--fl-navy); }
.fl-button--text { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--fl-navy); }
.fl-button--text:hover { background: transparent; color: var(--fl-blue); }

.fl-hero { position: relative; overflow: hidden; color: white; background: var(--fl-navy); }
.fl-hero::after { content:""; position:absolute; inset:0; opacity:.18; background-image: linear-gradient(30deg, transparent 48%, rgba(255,255,255,.12) 49%, transparent 50%), linear-gradient(150deg, transparent 48%, rgba(183,151,93,.18) 49%, transparent 50%); background-size: 90px 90px; }
.fl-hero__grid { position: relative; z-index: 2; min-height: 680px; display: grid; grid-template-columns: 1.05fr .95fr; }
.fl-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 96px 70px 96px 0; }
.fl-eyebrow { margin: 0 0 22px; color: var(--fl-gold); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.fl-hero h1 { max-width: 760px; margin: 0; font: 500 clamp(42px, 5vw, 70px)/1.06 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.fl-hero__lead { max-width: 650px; margin: 28px 0 34px; color: #dbe4eb; font-size: 18px; line-height: 1.65; }
.fl-actions { display:flex; flex-wrap:wrap; align-items:center; gap:20px; }
.fl-hero__visual { position: relative; min-height: 620px; background: linear-gradient(180deg,rgba(17,40,63,.05),rgba(17,40,63,.38)), url('https://www.fineland.com.ua/wp-content/uploads/2024/01/snapedit_1705145900414-1024x364.png') center/cover no-repeat; }
.fl-hero__visual::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg,var(--fl-navy) 0%,transparent 22%); }
.fl-proof { position:absolute; left:34px; right:34px; bottom:34px; padding:26px; background:rgba(251,250,247,.94); color:var(--fl-navy); box-shadow:var(--fl-shadow); }
.fl-proof__top { display:flex; align-items:baseline; gap:10px; }
.fl-proof strong { font:600 40px/1 Georgia,serif; }
.fl-proof span { font-size:14px; font-weight:700; }
.fl-proof p { margin:10px 0 0; color:var(--fl-muted); font-size:13px; line-height:1.5; }

.fl-trust { background: var(--fl-white); border-bottom:1px solid var(--fl-line); }
.fl-trust__grid { display:grid; grid-template-columns:repeat(3,1fr); }
.fl-trust__item { padding:27px 30px; border-right:1px solid var(--fl-line); }
.fl-trust__item:first-child { padding-left:0; }
.fl-trust__item:last-child { border-right:0; }
.fl-trust__item strong { display:block; color:var(--fl-navy); font-size:14px; }
.fl-trust__item span { display:block; margin-top:5px; color:var(--fl-muted); font-size:13px; }

.fl-section { padding:105px 0; }
.fl-section--cream { background:var(--fl-cream); }
.fl-section--navy { background:var(--fl-navy); color:white; }
.fl-section__head { max-width:800px; margin-bottom:48px; }
.fl-section__head h2 { margin:0; color:var(--fl-navy); font:500 clamp(34px,4vw,52px)/1.12 Georgia,serif; letter-spacing:-.02em; }
.fl-section__head p { margin:20px 0 0; color:var(--fl-muted); font-size:17px; line-height:1.7; }
.fl-section--navy .fl-section__head h2 { color:white; }
.fl-section--navy .fl-section__head p { color:#c9d5df; }

.fl-services { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.fl-card { position:relative; min-height:350px; padding:32px; background:white; border:1px solid var(--fl-line); transition:.22s ease; }
.fl-card:hover { transform:translateY(-4px); box-shadow:var(--fl-shadow); border-color:transparent; }
.fl-card__num { color:var(--fl-gold); font:700 12px/1 Georgia,serif; letter-spacing:.12em; }
.fl-card h3 { margin:40px 0 14px; color:var(--fl-navy); font:600 23px/1.25 Georgia,serif; }
.fl-card p { margin:0; color:var(--fl-muted); font-size:14px; line-height:1.65; }
.fl-card a { position:absolute; left:32px; bottom:26px; color:var(--fl-navy); font-size:13px; font-weight:800; text-decoration:none; }

.fl-process { display:grid; grid-template-columns:repeat(4,1fr); gap:0; counter-reset:steps; }
.fl-step { position:relative; padding:0 28px 0 0; counter-increment:steps; }
.fl-step::before { content:"0" counter(steps); display:block; margin-bottom:28px; color:var(--fl-gold); font:600 28px/1 Georgia,serif; }
.fl-step::after { content:""; position:absolute; top:14px; left:50px; right:20px; height:1px; background:rgba(255,255,255,.2); }
.fl-step h3 { margin:0 0 12px; font:600 19px/1.3 Georgia,serif; }
.fl-step p { margin:0; color:#c9d5df; font-size:14px; line-height:1.6; }

.fl-about { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; }
.fl-about__panel { min-height:450px; padding:42px; display:flex; flex-direction:column; justify-content:flex-end; color:white; background:linear-gradient(180deg,rgba(17,40,63,.2),rgba(17,40,63,.85)), url('https://www.fineland.com.ua/wp-content/uploads/2024/01/79ecf851-a700-4365-a449-3a848ba36de3-3-1024x710.png') center/cover no-repeat; }
.fl-about__panel strong { font:500 36px/1.15 Georgia,serif; }
.fl-about__panel span { margin-top:10px; color:#dbe4eb; font-size:14px; }
.fl-about__copy h2 { margin:0; color:var(--fl-navy); font:500 clamp(34px,4vw,52px)/1.12 Georgia,serif; }
.fl-about__copy > p { color:var(--fl-muted); font-size:16px; line-height:1.75; }
.fl-checks { list-style:none; padding:0; margin:28px 0 0; }
.fl-checks li { position:relative; padding:14px 0 14px 34px; border-top:1px solid var(--fl-line); font-size:14px; font-weight:650; }
.fl-checks li::before { content:"✓"; position:absolute; left:0; color:var(--fl-gold); font-weight:900; }

.fl-faq { display:grid; grid-template-columns:.7fr 1.3fr; gap:70px; }
.fl-faq h2 { margin:0; color:var(--fl-navy); font:500 42px/1.15 Georgia,serif; }
.fl-faq__items details { padding:22px 0; border-top:1px solid var(--fl-line); }
.fl-faq__items details:last-child { border-bottom:1px solid var(--fl-line); }
.fl-faq__items summary { cursor:pointer; color:var(--fl-navy); font-size:16px; font-weight:750; }
.fl-faq__items p { margin:14px 0 0; color:var(--fl-muted); font-size:14px; line-height:1.7; }

.fl-contact { display:grid; grid-template-columns:1.15fr .85fr; gap:70px; align-items:end; }
.fl-contact h2 { margin:0; font:500 clamp(38px,5vw,60px)/1.1 Georgia,serif; }
.fl-contact p { max-width:690px; color:#c9d5df; font-size:16px; line-height:1.7; }
.fl-contact__links { display:grid; gap:12px; }
.fl-contact__links a { padding:18px 0; border-bottom:1px solid rgba(255,255,255,.2); color:white; text-decoration:none; font-weight:700; }
.fl-contact__links span { display:block; margin-bottom:5px; color:var(--fl-gold); font-size:11px; letter-spacing:.14em; text-transform:uppercase; }

.fl-footer { padding:38px 0; background:#0b1b2b; color:#aebdca; }
.fl-footer__inner { display:flex; align-items:center; justify-content:space-between; gap:24px; font-size:12px; }
.fl-footer a { color:white; text-decoration:none; }

.fl-page { min-height:60vh; padding:90px 0; }
.fl-page h1 { color:var(--fl-navy); font:500 clamp(38px,5vw,62px)/1.1 Georgia,serif; }
.fl-page .wp-block-post-content { max-width:820px; font-size:17px; line-height:1.75; }

@media (max-width: 980px) {
  .fl-nav a:not(.fl-button) { display:none; }
  .fl-hero__grid,.fl-about,.fl-faq,.fl-contact { grid-template-columns:1fr; }
  .fl-hero__copy { padding:80px 0 54px; }
  .fl-hero__visual { min-height:460px; }
  .fl-services { grid-template-columns:repeat(2,1fr); }
  .fl-card { min-height:310px; }
  .fl-process { grid-template-columns:repeat(2,1fr); gap:45px 20px; }
}

@media (max-width: 640px) {
  .fl-shell { width:min(100% - 28px,1180px); }
  .fl-header__inner { min-height:68px; }
  .fl-brand__tag { display:none; }
  .fl-nav { gap:0; }
  .fl-nav .fl-button { min-height:42px; padding:0 14px; font-size:12px; }
  .fl-hero__grid { min-height:auto; }
  .fl-hero h1 { font-size:40px; }
  .fl-hero__lead { font-size:16px; }
  .fl-hero__visual { min-height:360px; }
  .fl-proof { left:16px; right:16px; bottom:16px; }
  .fl-trust__grid,.fl-services,.fl-process { grid-template-columns:1fr; }
  .fl-trust__item { padding:20px 0; border-right:0; border-bottom:1px solid var(--fl-line); }
  .fl-section { padding:76px 0; }
  .fl-card { min-height:300px; }
  .fl-step::after { display:none; }
  .fl-footer__inner { align-items:flex-start; flex-direction:column; }
}
