/*
Theme Name: Ohana Landscaping
Theme URI: https://ohanalandscaping.pl
Author: Ohana Landscaping
Description: Lekki, responsywny motyw firmowy dla Ohana Landscaping.
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ohana
*/

:root {
  --ohana-forest: #173f2b;
  --ohana-green: #2f6f4e;
  --ohana-leaf: #72a765;
  --ohana-cream: #f5f1e8;
  --ohana-sand: #ded3bd;
  --ohana-ink: #183027;
  --ohana-white: #ffffff;
  --ohana-shadow: 0 20px 50px rgba(19, 57, 39, .13);
  --ohana-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ohana-ink); background: #fbfaf6; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.ohana-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.ohana-eyebrow { margin: 0 0 12px; color: var(--ohana-green); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ohana-section { padding: 96px 0; }
.ohana-section--cream { background: var(--ohana-cream); }
.ohana-section--forest { color: var(--ohana-white); background: var(--ohana-forest); }
.ohana-section h2 { max-width: 760px; margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.06; letter-spacing: -.035em; }
.ohana-lead { max-width: 720px; margin: 0 0 44px; color: #587067; font-size: 1.12rem; }
.ohana-section--forest .ohana-lead { color: #d6e2d9; }

.ohana-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; color: var(--ohana-white); }
.ohana-header__inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 30px; }
.ohana-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ohana-brand__logo { width: 64px; height: 64px; border: 2px solid rgba(255,255,255,.72); border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.ohana-brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .13em; opacity: .76; }
.ohana-nav { display: flex; align-items: center; gap: 26px; font-size: 1rem; font-weight: 700; }
.ohana-nav a { opacity: .9; }
.ohana-nav a:hover, .ohana-nav a:focus { opacity: 1; }
.ohana-nav__cta { padding: 12px 18px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; }

.ohana-hero { position: relative; display: grid; min-height: 810px; align-items: end; overflow: hidden; color: var(--ohana-white); background: var(--ohana-forest); }
.ohana-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(11,38,25,.88) 0%, rgba(11,38,25,.52) 48%, rgba(11,38,25,.15) 100%), url("assets/images/garden-01.jpg") center/cover no-repeat; transform: scale(1.015); }
.ohana-hero::after { position: absolute; right: -130px; bottom: -240px; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; content: ""; }
.ohana-hero__content { position: relative; z-index: 1; padding: 190px 0 105px; }
.ohana-hero h1 { max-width: 890px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.35rem, 8vw, 7.6rem); font-weight: 500; line-height: .93; letter-spacing: -.055em; }
.ohana-hero h1 em { color: #b8d49e; font-weight: 400; }
.ohana-hero__intro { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(520px, 1.2fr); gap: 40px; align-items: end; margin-top: 42px; }
.ohana-hero__intro p { max-width: 610px; margin: 0; color: #e4ede6; font-size: 1.16rem; }
.ohana-hero__contact { padding: 20px; border: 1px solid rgba(255,255,255,.28); border-radius: 22px; background: rgba(8,36,23,.78); box-shadow: 0 20px 45px rgba(0,0,0,.2); backdrop-filter: blur(8px); }
.ohana-hero__contact > strong { display: block; margin-bottom: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.ohana-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ohana-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; background: var(--ohana-green); color: #fff; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.ohana-button:hover { transform: translateY(-2px); background: #245b3e; }
.ohana-button--light { background: var(--ohana-white); color: var(--ohana-forest); }
.ohana-button--ghost { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }
.ohana-button--messenger { background: #315fa6; color: #fff; }
.ohana-button--messenger:hover { background: #244c89; }
.ohana-actions__note { display: block; margin-top: 11px; color: #d7e6dd; font-size: .88rem; line-height: 1.45; }

.ohana-trust { position: relative; z-index: 2; margin-top: -44px; }
.ohana-trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border-radius: var(--ohana-radius); background: var(--ohana-white); box-shadow: var(--ohana-shadow); }
.ohana-trust__item { padding: 28px 30px; border-right: 1px solid #e9e5db; }
.ohana-trust__item:last-child { border: 0; }
.ohana-trust strong { display: block; color: var(--ohana-forest); font-family: Georgia, serif; font-size: 1.35rem; }
.ohana-trust span { color: #687a72; font-size: .9rem; }

.ohana-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ohana-card { position: relative; min-height: 315px; padding: 38px; overflow: hidden; border: 1px solid #e2ded4; border-radius: var(--ohana-radius); background: rgba(255,255,255,.78); }
.ohana-card--image { display: grid; grid-template-rows: 230px auto; min-height: 0; padding: 0; background: #fff; box-shadow: 0 12px 34px rgba(19,57,39,.08); }
.ohana-card__photo { width: 100%; height: 100%; object-fit: cover; }
.ohana-card__content { padding: 30px 32px 34px; }
.ohana-card--image .ohana-card__content h3 { margin-top: 20px; }
.ohana-card--image::after { display: none; }
.ohana-card__number { color: var(--ohana-leaf); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.ohana-card h3 { margin: 54px 0 12px; font-family: Georgia, serif; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; }
.ohana-card p { max-width: 500px; margin: 0; color: #667a71; }
.ohana-card::after { position: absolute; right: -80px; bottom: -110px; width: 230px; height: 230px; border: 1px solid #d8dfd5; border-radius: 50%; content: ""; }

.ohana-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 245px; grid-auto-flow: dense; gap: 18px; }
.ohana-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--ohana-radius); background: #d9dfd5; }
.ohana-gallery figure.is-featured { grid-column: span 2; grid-row: span 2; }
.ohana-gallery figure.is-wide { grid-column: span 2; }
.ohana-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ohana-gallery figure:hover img { transform: scale(1.035); }
.ohana-gallery figcaption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(10, 42, 27, .92); color: #fff; font-size: 1rem; font-weight: 700; backdrop-filter: blur(8px); }

.ohana-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.ohana-about__visual { position: relative; min-height: 560px; overflow: hidden; border-radius: 180px 180px 24px 24px; background: url("assets/images/garden-04.jpg") center/cover no-repeat; }
.ohana-about__badge { position: absolute; right: 24px; bottom: 24px; width: 145px; height: 145px; display: grid; place-items: center; padding: 20px; border-radius: 50%; background: var(--ohana-cream); color: var(--ohana-forest); text-align: center; font-family: Georgia, serif; line-height: 1.25; box-shadow: var(--ohana-shadow); }
.ohana-checks { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.ohana-checks li { display: flex; gap: 12px; align-items: flex-start; }
.ohana-checks li::before { content: "✓"; display: grid; flex: 0 0 28px; height: 28px; place-items: center; border-radius: 50%; background: #dce9d8; color: var(--ohana-green); font-weight: 900; }

.ohana-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--ohana-radius); background: rgba(255,255,255,.18); overflow: hidden; }
.ohana-process__item { padding: 34px 26px; background: var(--ohana-forest); }
.ohana-process__item span { color: #a9c58e; font-weight: 800; }
.ohana-process__item h3 { margin: 50px 0 8px; font-family: Georgia, serif; font-size: 1.45rem; }
.ohana-process__item p { margin: 0; color: #cbd9cf; font-size: .93rem; }

.ohana-contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.ohana-contact__panel { padding: 42px; border-radius: var(--ohana-radius); background: #fff; color: var(--ohana-ink); box-shadow: var(--ohana-shadow); }
.ohana-contact__row { padding: 18px 0; border-bottom: 1px solid #e8e4db; }
.ohana-contact__row:last-child { border: 0; }
.ohana-contact__row small { display: block; color: #5d6d66; text-transform: uppercase; letter-spacing: .1em; }
.ohana-contact__row strong { font-size: 1.18rem; }
.ohana-footer { padding: 32px 0; color: #cdd8d1; background: #0f2d20; font-size: .88rem; }
.ohana-footer__inner { display: flex; justify-content: space-between; gap: 20px; }

.ohana-page { min-height: 75vh; padding: 150px 0 90px; }
.ohana-page h1 { font-family: Georgia, serif; font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; }
.ohana-page .entry-content { max-width: 820px; }

@media (max-width: 900px) {
  .ohana-nav a:not(.ohana-nav__cta) { display: none; }
  .ohana-hero { min-height: 760px; }
  .ohana-hero__intro, .ohana-about, .ohana-contact { grid-template-columns: 1fr; }
  .ohana-services { grid-template-columns: 1fr; }
  .ohana-process { grid-template-columns: repeat(2, 1fr); }
  .ohana-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 280px; }
  .ohana-gallery figure.is-featured { grid-column: 1 / -1; grid-row: span 1; }
}

@media (max-width: 620px) {
  .ohana-wrap { width: min(100% - 28px, 1180px); }
  .ohana-section { padding: 72px 0; }
  .ohana-header__inner { min-height: 76px; }
  .ohana-brand small { display: none; }
  .ohana-nav__cta { padding: 10px 14px; }
  .ohana-hero__content { padding: 145px 0 88px; }
  .ohana-hero__intro { gap: 28px; }
  .ohana-trust__grid, .ohana-process { grid-template-columns: 1fr; }
  .ohana-trust__item { border-right: 0; border-bottom: 1px solid #e9e5db; }
  .ohana-card { min-height: 280px; padding: 28px; }
  .ohana-brand__logo { width: 54px; height: 54px; }
  .ohana-gallery { display: grid; grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .ohana-gallery figure.is-featured, .ohana-gallery figure.is-wide { grid-column: auto; grid-row: auto; }
  .ohana-about__visual { min-height: 440px; }
  .ohana-footer__inner { flex-direction: column; }
}

/* Formularz wysyła na aktywną skrzynkę Ohana */
.ohana-skip { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px 18px; border-radius: 8px; background: #fff; color: var(--ohana-forest); transform: translateY(-140%); }
.ohana-skip:focus { transform: translateY(0); }
.ohana-eyebrow--light { color: #c9e5b8; }
.ohana-hero::before { z-index: 1; background: linear-gradient(90deg, rgba(7,31,19,.9) 0%, rgba(7,31,19,.62) 52%, rgba(7,31,19,.28) 100%); transform: none; }
.ohana-hero::after { z-index: 2; }
.ohana-hero__slides, .ohana-hero__slide { position: absolute; inset: 0; }
.ohana-hero__slide { opacity: 0; background-position: center; background-size: cover; transform: scale(1.03); transition: opacity 1.4s ease, transform 7s ease; }
.ohana-hero__slide.is-active { opacity: 1; transform: scale(1); }
.ohana-hero__content { z-index: 3; }
.ohana-hero__dots { display: flex; gap: 9px; margin-top: 42px; }
.ohana-hero__dots span { width: 38px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.35); transition: background .3s ease; }
.ohana-hero__dots span.is-active { background: #c9e5b8; }
.ohana-button:focus-visible, .ohana-nav a:focus-visible, .ohana-direct a:focus-visible, .ohana-mobile-contact a:focus-visible, input:focus-visible, select:focus-visible { outline: 4px solid #f4c95d; outline-offset: 3px; }
.ohana-quote { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.ohana-direct { display: grid; gap: 12px; }
.ohana-direct a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 14px 20px; border: 1px solid #d9d4c8; border-radius: 15px; background: rgba(255,255,255,.72); transition: transform .2s ease, border-color .2s ease; }
.ohana-direct a:hover { transform: translateY(-2px); border-color: var(--ohana-green); }
.ohana-direct strong { color: var(--ohana-forest); font-size: 1.08rem; }
.ohana-direct span { color: #5f7068; text-align: right; }
.ohana-form-card { padding: clamp(24px, 4vw, 46px); border-radius: var(--ohana-radius); background: #fff; box-shadow: var(--ohana-shadow); }
.ohana-form { display: grid; gap: 22px; }
.ohana-form label, .ohana-form fieldset { display: grid; gap: 9px; }
.ohana-form label > span, .ohana-form legend { color: var(--ohana-forest); font-size: 1.04rem; font-weight: 800; }
.ohana-form fieldset { margin: 0; padding: 22px; border: 1px solid #d9ded8; border-radius: 16px; }
.ohana-form legend { padding: 0 8px; }
.ohana-form input, .ohana-form select { width: 100%; min-height: 54px; padding: 12px 14px; border: 2px solid #cbd3cd; border-radius: 10px; background: #fff; color: var(--ohana-ink); font: inherit; font-size: 1rem; }
.ohana-form input:focus, .ohana-form select:focus { border-color: var(--ohana-green); }
.ohana-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ohana-consent { grid-template-columns: 28px 1fr; align-items: start; }
.ohana-consent input { width: 24px; min-height: 24px; margin-top: 2px; }
.ohana-consent span { font-size: .94rem !important; font-weight: 550 !important; line-height: 1.45; }
.ohana-button--wide { width: 100%; min-height: 60px; border: 0; cursor: pointer; font-size: 1.08rem; }
.ohana-form__note { margin: -6px 0 0; color: #64746c; text-align: center; font-size: .92rem; }
.ohana-form__note a { text-decoration: underline; font-weight: 800; }
.ohana-honeypot { position: absolute; left: -9999px; }
.ohana-alert { margin-bottom: 24px; padding: 16px 18px; border-radius: 12px; }
.ohana-alert--success { background: #dff1de; color: #174926; }
.ohana-alert--error { background: #fae1dc; color: #7a241b; }
.ohana-mobile-contact { display: none; }

@media (max-width: 900px) {
  .ohana-quote { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
  body { padding-bottom: 66px; font-size: 17px; }
  .ohana-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .ohana-hero__intro p { font-size: 1.08rem; }
  .ohana-button { min-height: 56px; }
  .ohana-hero__contact { padding: 17px; }
  .ohana-hero__contact .ohana-actions { display: grid; grid-template-columns: 1fr; }
  .ohana-hero__contact .ohana-button { width: 100%; }
  .ohana-form__row { grid-template-columns: 1fr; }
  .ohana-form-card { padding: 22px 18px; }
  .ohana-mobile-contact { position: fixed; z-index: 999; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3,1fr); min-height: 66px; border-top: 1px solid rgba(255,255,255,.25); background: #0f2d20; box-shadow: 0 -8px 24px rgba(0,0,0,.18); }
  .ohana-mobile-contact a { display: grid; place-items: center; padding: 8px 4px; border-right: 1px solid rgba(255,255,255,.18); color: #fff; font-size: .84rem; font-weight: 800; }
  .ohana-mobile-contact a:nth-child(2) { background: #2f7b47; }
  .ohana-mobile-contact a:last-child { border: 0; background: #315fa6; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
