/*
Theme Name: Phoenix24 Corporate
Theme URI: https://www.phoenix24.nl/
Author: Phoenix Logistics & Trading B.V.
Description: Lightweight bilingual corporate theme for Phoenix Logistics & Trading B.V.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: phoenix24
*/

:root {
  --phx-ink: #101b24;
  --phx-green: #0b2735;
  --phx-green-2: #0d5365;
  --phx-lime: #ffbd3e;
  --phx-orange: #f29a24;
  --phx-paper: #ffffff;
  --phx-soft: #f2f5f7;
  --phx-line: #d8e0e5;
  --phx-muted: #52616b;
  --phx-shadow: 0 18px 48px rgba(11, 39, 53, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--phx-ink);
  background: var(--phx-paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.admin-bar .phx-header { top: 32px; }
a { color: #155fc4; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 99999; top: 8px; left: 8px; width: auto; height: auto;
  padding: 12px 16px; clip: auto; background: #fff; color: #111;
}
.phx-container { width: min(1160px, 92%); margin-inline: auto; }

.phx-header {
  position: sticky; z-index: 1000; top: 0;
  border-bottom: 1px solid rgba(11,39,53,.1);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}
.phx-header-row {
  min-height: 86px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.phx-brand { display: flex; align-items: center; gap: 13px; color: var(--phx-ink); text-decoration: none; }
.phx-brand img { width: 66px; height: 66px; object-fit: contain; }
.phx-brand-name { max-width: 235px; font-weight: 800; font-size: 16px; line-height: 1.15; }
.phx-nav { display: flex; align-items: center; gap: 23px; }
.phx-nav a { color: var(--phx-ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.phx-nav a:hover, .phx-nav a:focus { color: var(--phx-green-2); }
.phx-lang { display: flex; gap: 5px; padding-left: 8px; border-left: 1px solid var(--phx-line); }
.phx-lang a { padding: 7px 8px; border-radius: 6px; }
.phx-lang .is-current { color: #fff; background: var(--phx-green); }
.phx-menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 8px;
  background: var(--phx-green); color: #fff; cursor: pointer;
}
.phx-menu-toggle span { display: block; width: 21px; height: 2px; margin: 4px auto; background: currentColor; }

.phx-hero { padding: 82px 0; color: #fff; background: var(--phx-green); }
.phx-hero-grid, .phx-split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.phx-kicker, .phx-label {
  margin: 0 0 12px; color: var(--phx-lime); font-size: 13px;
  font-weight: 900; letter-spacing: .09em; text-transform: uppercase;
}
.phx-label { color: #12687c; }
.phx-hero h1 {
  max-width: 760px; margin: 0; color: #fff;
  font-size: clamp(42px, 5.8vw, 70px); line-height: 1.02; letter-spacing: -.045em;
}
.phx-lead { max-width: 720px; margin: 24px 0 30px; color: #dce7ec; font-size: 19px; line-height: 1.65; }
.phx-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 13px 22px; border: 0; border-radius: 8px;
  color: var(--phx-ink); background: var(--phx-lime); font-weight: 900; text-decoration: none; cursor: pointer;
}
.phx-btn:hover, .phx-btn:focus { background: #ffd47d; }
.phx-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.phx-fact { padding: 21px; border: 1px solid rgba(255,255,255,.19); border-radius: 11px; background: rgba(255,255,255,.06); }
.phx-fact strong { display: block; margin-bottom: 4px; font-size: 18px; }
.phx-fact span { color: #cbdde5; font-size: 14px; }

.phx-section { padding: 78px 0; }
.phx-soft { background: var(--phx-soft); }
.phx-section h2, .phx-legal h1 { margin: 0 0 16px; font-size: clamp(31px, 4vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.phx-section h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.2; }
.phx-intro { max-width: 790px; margin: 0 0 34px; color: var(--phx-muted); font-size: 18px; line-height: 1.7; }
.phx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.phx-card { padding: 29px; border: 1px solid var(--phx-line); border-radius: 13px; background: #fff; box-shadow: 0 8px 28px rgba(11,39,53,.06); }
.phx-card p, .phx-copy p { margin: 0; color: var(--phx-muted); }
.phx-code { display: inline-block; margin-bottom: 18px; padding: 5px 9px; border-radius: 5px; color: #795400; background: #fff0c6; font-size: 12px; font-weight: 900; }
.phx-photo { width: 100%; height: 410px; object-fit: cover; border-radius: 15px; box-shadow: var(--phx-shadow); }
.phx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.phx-step { padding: 25px; border-left: 4px solid var(--phx-orange); background: #fff; }
.phx-step strong { display: block; margin-bottom: 8px; font-size: 18px; }
.phx-step p { margin: 0; color: var(--phx-muted); }
.phx-security { padding: 42px; border-radius: 15px; color: #fff; background: var(--phx-ink); }
.phx-security h2 { color: #fff; }
.phx-security p { color: #dce7ec; }
.phx-list { margin: 24px 0 0; padding-left: 22px; }
.phx-list li { margin: 10px 0; }
.phx-security a { color: var(--phx-lime); }

.phx-contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: start; }
.phx-contact-card, .phx-form { padding: 30px; border: 1px solid var(--phx-line); border-radius: 13px; background: #fff; }
.phx-contact-card { margin-bottom: 18px; }
.phx-contact-card small { display: block; margin-bottom: 5px; color: #12687c; font-weight: 900; text-transform: uppercase; }
.phx-contact-card a { font-weight: 700; }
.phx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.phx-field { margin-bottom: 16px; }
.phx-field-full { grid-column: 1 / -1; }
.phx-field label { display: block; margin-bottom: 6px; font-weight: 800; font-size: 14px; }
.phx-field input, .phx-field select, .phx-field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid #b9c9c2; border-radius: 7px; background: #fff; color: var(--phx-ink);
}
.phx-field textarea { min-height: 145px; resize: vertical; }
.phx-field input:focus, .phx-field select:focus, .phx-field textarea:focus { outline: 3px solid rgba(242,169,0,.28); border-color: var(--phx-orange); }
.phx-check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; }
.phx-check input { width: auto; margin-top: 5px; }
.phx-honey { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.phx-status { margin-bottom: 18px; padding: 13px 15px; border-radius: 7px; font-weight: 700; }
.phx-status-ok { color: #164c31; background: #d9f7e5; }
.phx-status-error { color: #7a201d; background: #fde3e1; }
.phx-note { color: #687a74; font-size: 13px; line-height: 1.55; }

.phx-legal { width: min(850px, 92%); min-height: 55vh; margin: 0 auto; padding: 72px 0; }
.phx-legal h2 { margin-top: 34px; font-size: 25px; }
.phx-legal p, .phx-legal li { color: #435650; }
.phx-legal-meta { margin-bottom: 32px; color: #6b7b76; }

.phx-footer { padding: 42px 0 25px; color: #dce7ec; background: #071b25; }
.phx-footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.phx-footer strong { color: #fff; }
.phx-footer a { color: #dce7ec; }
.phx-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.phx-copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: #b9d0c8; font-size: 13px; }

@media (max-width: 940px) {
  body.admin-bar .phx-header { top: 46px; }
  .phx-menu-toggle { display: block; }
  .phx-nav {
    display: none; position: absolute; top: 100%; right: 4%; left: 4%;
    padding: 20px; border: 1px solid var(--phx-line); border-radius: 0 0 12px 12px;
    background: #fff; box-shadow: var(--phx-shadow); flex-direction: column; align-items: stretch; gap: 4px;
  }
  .phx-nav.is-open { display: flex; }
  .phx-nav a { padding: 10px; }
  .phx-lang { margin-top: 7px; padding: 8px 0 0; border-top: 1px solid var(--phx-line); border-left: 0; }
  .phx-hero-grid, .phx-split, .phx-contact-grid { grid-template-columns: 1fr; }
  .phx-cards { grid-template-columns: 1fr; }
  .phx-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .phx-header-row { min-height: 76px; }
  .phx-brand img { width: 55px; height: 55px; }
  .phx-brand-name { max-width: 180px; font-size: 14px; }
  .phx-hero { padding: 58px 0; }
  .phx-hero h1 { font-size: 38px; overflow-wrap: normal; word-break: normal; hyphens: manual; }
  .phx-section { padding: 56px 0; }
  .phx-facts, .phx-steps, .phx-form-grid { grid-template-columns: 1fr; }
  .phx-security, .phx-contact-card, .phx-form { padding: 24px; }
  .phx-photo { height: 270px; }
  .phx-footer-grid { grid-template-columns: 1fr; }
  .phx-footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
