/*
Theme Name: iProfi Apple Hub
Theme URI: https://iprofi.euro-plastic.com.ua
Author: iProfi
Description: Фірмова тема для сервісу техніки та каталогу пристроїв iProfi.
Version: 1.1.0
Text Domain: iprofi
Requires at least: 6.8
Requires PHP: 8.1
*/

:root {
  --ink: #101214;
  --paper: #f2f0eb;
  --white: #ffffff;
  --lime: #c9ff47;
  --muted: #72766f;
  --line: rgba(16, 18, 20, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Manrope", Arial, Helvetica, sans-serif; font-optical-sizing: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
main { overflow: hidden; }
.icon-diagonal { transform: rotate(45deg); }

.site-header {
  height: 86px; max-width: 1440px; margin: 0 auto; padding: 0 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  border-bottom: 1px solid var(--line); position: relative; z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 176px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 15px; font-weight: 900; letter-spacing: -1px; }
.brand strong { display: block; font-size: 20px; letter-spacing: -0.7px; line-height: 1; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: 1.8px; }
.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 700; }
.desktop-nav a { transition: opacity .2s ease; }
.desktop-nav a:hover { opacity: .55; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border-radius: 4px; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 17px; gap: 12px; }
.button-dark { background: var(--ink); color: var(--white); }
.button-lime { background: var(--lime); color: var(--ink); }

.hero { min-height: 690px; max-width: 1440px; margin: 0 auto; padding: 76px 56px 74px; display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; }
.eyebrow, .kicker { display: flex; align-items: center; gap: 10px; font-size: 10px; line-height: 1; font-weight: 800; letter-spacing: 2.1px; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 1px; background: var(--ink); }
.hero h1 { max-width: 730px; margin: 27px 0 26px; font-size: clamp(62px, 6.9vw, 108px); line-height: .9; letter-spacing: -.068em; font-weight: 800; }
.hero h1 em { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-style: normal; }
.hero-lead { max-width: 555px; margin: 0; color: #4e524c; font-size: 18px; line-height: 1.58; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 800; }
.hero-meta { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hero-meta > div { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.hero-meta > div > i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(16,18,20,.07); font-size: 10px; }
.hero-meta span, .hero-meta strong, .hero-meta small { display: block; }
.hero-meta strong { font-size: 11px; line-height: 1.35; }
.hero-meta small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.4; }

.hero-visual { position: relative; height: 570px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: var(--lime); filter: blur(.1px); }
.orbit { position: absolute; border: 1px solid rgba(16,18,20,.23); border-radius: 50%; transform: rotate(-18deg); }
.orbit-one { width: 520px; height: 260px; }
.orbit-two { width: 590px; height: 350px; }
.phone { position: absolute; width: 220px; height: 452px; border: 7px solid #17191b; border-radius: 39px; box-shadow: 0 34px 55px rgba(16,18,20,.26); }
.phone-front { z-index: 5; margin-left: 48px; background: #080a0b; transform: rotate(6deg); padding: 6px; }
.phone-back { margin-left: -104px; background: linear-gradient(150deg, #30353a, #111315 72%); transform: rotate(-11deg); }
.camera { position: absolute; width: 45px; height: 45px; border-radius: 50%; background: #090a0a; border: 4px solid #4e5559; box-shadow: inset 0 0 0 7px #161a1c; }
.camera-one { left: 20px; top: 20px; }.camera-two { left: 75px; top: 20px; }.camera-three { left: 47px; top: 74px; }
.phone-island { position: absolute; z-index: 3; left: 50%; top: 17px; width: 78px; height: 21px; transform: translateX(-50%); background: #060708; border-radius: 20px; }
.phone-screen { width: 100%; height: 100%; border-radius: 27px; padding: 22px 16px 18px; background: linear-gradient(160deg, #2d3332 0%, #101313 55%, #090a0a 100%); color: white; }
.screen-status { display: flex; justify-content: space-between; font-size: 7px; opacity: .65; }
.screen-icon { width: 54px; height: 54px; margin: 77px auto 21px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 24px; font-weight: 900; box-shadow: 0 0 0 13px rgba(201,255,71,.08); }
.phone-screen > small, .phone-screen > strong { display: block; text-align: center; }
.phone-screen > small { color: #a7aaa5; font-size: 8px; letter-spacing: 1px; text-transform: uppercase; }
.phone-screen > strong { margin: 6px 0 44px; font-size: 14px; }
.screen-line { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.13); }
.screen-line span, .screen-line b { display: block; }
.screen-line span { color: #8f948f; font-size: 7px; text-transform: uppercase; letter-spacing: 1px; }
.screen-line b { margin-top: 5px; font-size: 9px; }
.floating-card { position: absolute; z-index: 10; display: flex; align-items: center; gap: 11px; padding: 13px 16px; background: rgba(255,255,255,.95); box-shadow: 0 12px 35px rgba(16,18,20,.15); font-size: 10px; }
.floating-card span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 8px; }
.floating-card i { width: 7px; height: 7px; border-radius: 50%; background: #49bd65; box-shadow: 0 0 0 5px rgba(73,189,101,.13); }
.card-top { top: 100px; right: 6px; }.card-bottom { bottom: 85px; left: -4px; }

.marquee { background: var(--lime); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; }
.marquee div { min-width: max-content; height: 58px; display: flex; align-items: center; gap: 33px; padding: 0 18px; font-size: 12px; font-weight: 900; letter-spacing: 1.5px; }
.marquee i { font-size: 7px; }

.section { max-width: 1440px; margin: 0 auto; padding: 112px 56px; }
.section-heading { margin-bottom: 58px; display: grid; grid-template-columns: 1fr 330px; align-items: end; gap: 70px; }
.section-heading h2 { margin: 18px 0 0; font-size: clamp(44px, 4.6vw, 72px); line-height: .98; letter-spacing: -.06em; font-weight: 800; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.service-card { min-height: 485px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: rgba(255,255,255,.24); overflow: hidden; transition: background .2s ease, transform .2s ease; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: var(--white); transform: translateY(-4px); }
.service-photo { position: relative; height: 210px; overflow: hidden; background: #d8d8d4; }
.service-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,18,20,.06), rgba(16,18,20,.18)); pointer-events: none; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-photo img { transform: scale(1.045); }
.service-number { position: absolute; z-index: 2; top: 16px; left: 16px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 9px; font-weight: 800; box-shadow: 0 8px 25px rgba(0,0,0,.14); }
.service-card-body { flex: 1; padding: 25px 27px 27px; display: flex; flex-direction: column; }
.service-card h3 { margin: 0 0 13px; font-size: 21px; letter-spacing: -1px; }
.service-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.62; }
.service-card a { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

.cases-section { max-width: none; padding-left: max(56px, calc((100vw - 1328px)/2)); padding-right: max(56px, calc((100vw - 1328px)/2)); background: var(--ink); color: var(--white); }
.inverse .kicker { color: var(--lime); }.light { color: white; border-color: white; }
.case-list { border-top: 1px solid rgba(255,255,255,.18); }
.case-row { min-height: 148px; display: grid; grid-template-columns: 50px 104px 1fr 1.15fr 1.4fr .85fr; gap: 25px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); }
.case-index { color: #686b68; font-size: 9px; }
.case-photo { width: 74px; height: 96px; display: block; margin: auto; border-radius: 8px; overflow: hidden; background: #202324; }
.case-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.case-photo:hover img { transform: scale(1.06); filter: brightness(1.08); }
.case-row small, .case-row strong { display: block; }
.case-row small { margin-bottom: 8px; color: #777b77; font-size: 8px; letter-spacing: 1.2px; text-transform: uppercase; }
.case-row strong { font-size: 12px; line-height: 1.45; }

.inventory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.inventory-card { background: var(--white); }
.inventory-art { height: 295px; position: relative; display: grid; place-items: center; overflow: hidden; background: #dfe1df; }
.inventory-art::before { content: ""; position: absolute; width: 245px; height: 245px; border-radius: 50%; background: rgba(255,255,255,.55); }
.inventory-art.has-photo::before { display: none; }
.inventory-photo { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.inventory-card:hover .inventory-photo { transform: scale(1.035); }
.inventory-art.graphite { background: #262a2b; }.inventory-art.graphite::before { background: rgba(201,255,71,.84); }.inventory-art.lime { background: var(--lime); }.inventory-art.lime::before { background: rgba(255,255,255,.48); }
.inventory-phone { position: relative; z-index: 2; width: 123px; height: 238px; border: 5px solid #111415; border-radius: 25px; background: linear-gradient(145deg,#667077,#16191a); transform: rotate(9deg); box-shadow: -18px 24px 38px rgba(16,18,20,.24); }
.inventory-phone span { position: absolute; left: 12px; top: 12px; width: 31px; height: 31px; border-radius: 50%; background: #080a0a; border: 3px solid #576068; box-shadow: 36px 0 0 -3px #080a0a, 36px 0 0 0 #576068; }
.graphite .inventory-phone { transform: rotate(-8deg); background: linear-gradient(145deg,#535863,#0e1011); }.lime .inventory-phone { width: 181px; height: 126px; border-radius: 12px; transform: rotate(-6deg); }
.lime .inventory-phone::after { content: ""; position: absolute; left: 50%; bottom: -18px; width: 108px; height: 7px; border-radius: 50%; transform: translateX(-50%); background: #111; }
.lime .inventory-phone span { display: none; }
.inventory-info { padding: 27px; }
.inventory-info > span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: 1.3px; }
.inventory-info h3 { margin: 12px 0 8px; font-size: 27px; letter-spacing: -1.5px; }
.inventory-info p { min-height: 38px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.inventory-info a { margin-top: 24px; padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.inventory-note { margin-top: 18px; padding: 18px 20px; display: grid; grid-template-columns: 18px 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #49bd65; box-shadow: 0 0 0 5px rgba(73,189,101,.13); }
.inventory-note p { margin: 0; font-size: 11px; color: var(--muted); }.inventory-note p strong { color: var(--ink); }

.access-section { padding-top: 0; }
.access-panel { min-height: 530px; display: grid; grid-template-columns: 1.1fr .9fr; background: #deddd8; }
.access-copy { padding: 72px; }
.access-copy h2 { margin: 18px 0 22px; font-size: clamp(45px, 4.2vw, 67px); line-height: .97; letter-spacing: -.06em; }
.access-copy > p { max-width: 580px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.access-copy ul { margin: 30px 0 35px; padding: 0; display: grid; gap: 13px; list-style: none; }
.access-copy li { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; }
.access-copy li span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--white); font-size: 9px; }
.access-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--lime); }
.access-ring { position: absolute; border: 1px solid rgba(16,18,20,.28); border-radius: 50%; }
.ring-1 { width: 210px; height: 210px; }.ring-2 { width: 330px; height: 330px; }.ring-3 { width: 465px; height: 465px; }
.lock-body { position: relative; z-index: 2; width: 145px; height: 126px; display: grid; place-items: center; border-radius: 18px; background: var(--ink); color: var(--lime); box-shadow: 0 30px 60px rgba(16,18,20,.26); }
.lock-shackle { position: absolute; left: 50%; top: -91px; width: 98px; height: 108px; border: 18px solid var(--ink); border-bottom: 0; border-radius: 54px 54px 0 0; transform: translateX(-50%); }
.lock-body span { font-size: 36px; font-weight: 900; }

.compact { grid-template-columns: 1fr; }
.process-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); list-style: none; }
.process-grid li { min-height: 220px; padding: 27px 28px 0 0; border-right: 1px solid var(--line); }
.process-grid li:not(:first-child) { padding-left: 28px; }
.process-grid li:last-child { border: 0; }
.process-grid span { display: block; margin-bottom: 58px; color: var(--muted); font-size: 9px; }
.process-grid strong { display: block; margin-bottom: 12px; font-size: 16px; }
.process-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.cta-section { max-width: none; padding: 92px max(56px, calc((100vw - 1328px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--lime); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.cta-section h2 { margin: 17px 0 0; font-size: clamp(45px, 5.2vw, 82px); line-height: .97; letter-spacing: -.06em; }
.cta-circle { flex: 0 0 165px; height: 165px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; border-radius: 50%; background: var(--ink); color: white; font-size: 12px; font-weight: 800; transition: transform .25s ease; }
.cta-circle:hover { transform: rotate(-6deg) scale(1.03); }.cta-circle b { color: var(--lime); font-size: 26px; }

footer { max-width: 1440px; min-height: 220px; margin: 0 auto; padding: 53px 56px; display: grid; grid-template-columns: 1.1fr 1fr .7fr auto; gap: 50px; align-items: start; }
.footer-brand .brand-mark { background: var(--lime); color: var(--ink); }
footer p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.footer-links { display: grid; gap: 10px; font-size: 11px; font-weight: 800; }.footer-links a { display: inline-flex; align-items: center; gap: 8px; }.copyright { color: var(--muted); font-size: 9px; }
.mobile-actions { display: none; }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; padding-top: 60px; }
  .hero h1 { font-size: 76px; }
  .hero-visual { transform: scale(.84); transform-origin: center; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }.service-card { border-bottom: 1px solid var(--line); }.service-card:nth-child(2) { border-right: 0; }.service-card:nth-child(3), .service-card:nth-child(4) { border-bottom: 0; }
  .case-row { grid-template-columns: 42px 80px 1fr 1fr; padding: 24px 0; }.case-row > div:nth-last-child(-n+2) { display: none; }
  .access-copy { padding: 56px; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 70px; padding: 0 20px; }.site-header .button { display: none; }
  .hero { min-height: auto; padding: 56px 20px 0; grid-template-columns: 1fr; gap: 10px; }
  .hero h1 { margin: 23px 0; font-size: clamp(56px, 18vw, 74px); line-height: .9; letter-spacing: -5px; }
  .hero-lead { font-size: 15px; }.hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }.hero-actions .button { width: 100%; }.hero-actions .text-link { align-self: flex-start; }
  .hero-meta { margin-top: 38px; grid-template-columns: 1fr; gap: 14px; }.hero-meta > div { grid-template-columns: 28px 1fr; }.hero-meta strong { font-size: 10px; }.hero-meta small { font-size: 8px; }
  .hero-visual { height: 480px; transform: scale(.78); margin: -10px -90px -26px; }.card-top { right: 0; }.card-bottom { left: 2px; }
  .marquee div { height: 50px; }
  .section { padding: 82px 20px; }.section-heading { margin-bottom: 38px; grid-template-columns: 1fr; gap: 20px; }.section-heading h2 { font-size: 46px; letter-spacing: -3px; }.section-heading > p { font-size: 12px; }
  .service-grid { grid-template-columns: 1fr; }.service-card { min-height: 430px; border-right: 0; border-bottom: 1px solid var(--line)!important; }.service-card:last-child { border-bottom: 0!important; }.service-photo { height: 230px; }
  .cases-section { padding-left: 20px; padding-right: 20px; }.inverse .text-link { justify-self: start; }
  .case-row { grid-template-columns: 28px 78px 1fr; gap: 15px; }.case-row > div:nth-child(4) { display: none; }.case-row strong { font-size: 11px; }.case-photo { width: 68px; height: 88px; }
  .inventory-grid { grid-template-columns: 1fr; }.inventory-art { height: 250px; }.inventory-note { grid-template-columns: 18px 1fr; }.inventory-note .button { grid-column: 1 / -1; }
  .access-panel { grid-template-columns: 1fr; }.access-copy { padding: 54px 24px; }.access-copy h2 { font-size: 45px; letter-spacing: -3px; }.access-visual { min-height: 380px; }
  .process-grid { grid-template-columns: 1fr; }.process-grid li, .process-grid li:not(:first-child) { min-height: 160px; padding: 23px 0; border-right: 0; border-bottom: 1px solid var(--line); }.process-grid span { margin-bottom: 27px; }
  .cta-section { padding: 72px 20px; flex-direction: column; align-items: flex-start; }.cta-section h2 { font-size: 48px; letter-spacing: -3px; }.cta-circle { align-self: flex-end; flex-basis: 140px; width: 140px; height: 140px; }
  footer { padding: 50px 20px 100px; grid-template-columns: 1fr; gap: 28px; }
  .mobile-actions { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; display: block; box-shadow: 0 10px 38px rgba(0,0,0,.24); }
  .mobile-actions a { height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-radius: 5px; background: var(--ink); color: white; font-size: 12px; font-weight: 800; }
}

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

/* WordPress and WooCommerce */
.admin-bar .site-header { margin-top: 0; }
.product-photo { position: relative; z-index: 2; width: 100%; height: 100%; display: grid; place-items: center; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.inventory-price { min-height: 22px; margin-top: 13px; font-size: 15px; font-weight: 900; }
.inventory-stock { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: 1px; }
.inventory-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #49bd65; }
.site-content { max-width: 1120px; min-height: 65vh; margin: 0 auto; padding: 70px 28px; }
.site-content h1 { font-size: clamp(42px, 6vw, 78px); letter-spacing: -4px; }
.site-content a { text-decoration: underline; }
.site-content img { max-width: 100%; height: auto; }
.woocommerce .products { display: grid!important; grid-template-columns: repeat(3,1fr); gap: 20px; }
.woocommerce .products::before, .woocommerce .products::after { display: none!important; }
.woocommerce ul.products li.product { width: auto!important; margin: 0!important; padding: 20px!important; background: #fff; }
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.woocommerce div.product .product_title { font-size: 48px; letter-spacing: -2px; }
.iprofi-product-contact { margin-top: 24px; }
@media (max-width:760px) {
  .woocommerce .products { grid-template-columns: 1fr!important; }
  .woocommerce div.product { grid-template-columns: 1fr; }
  .woocommerce div.product .product_title { font-size: 38px; }
}
