/*
Theme Name: Providental Pro
Theme URI: https://providental.develtest.nl
Author: Codex
Description: A professional WordPress theme for Providental Connect.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: providental-pro
*/

:root {
  --ink: #101820;
  --muted: #657782;
  --line: #e5edf0;
  --paper: #f5f8f8;
  --white: #ffffff;
  --teal: #087f78;
  --teal-dark: #045f5a;
  --mint: #e4f6f2;
  --gold: #b88a4a;
  --blue: #183f53;
  --shadow: 0 28px 80px rgba(16, 33, 43, 0.13);
  --shadow-soft: 0 14px 42px rgba(16, 33, 43, 0.08);
  --radius: 8px;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(245, 248, 248, 0.9), rgba(255, 255, 255, 0) 360px),
    var(--white);
  font-family: Poppins, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(223, 232, 235, 0.9);
  box-shadow: 0 8px 30px rgba(16, 33, 43, 0.04);
  backdrop-filter: blur(20px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 198px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(229, 237, 240, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.main-nav a {
  padding: 10px 15px;
  border-radius: 999px;
  color: #2a3d47;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--mint);
  color: var(--teal-dark);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

body::after {
  content: "";
  position: fixed;
  inset: 72px 0 0;
  z-index: 18;
  background: rgba(16, 24, 32, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.nav-open::after {
  opacity: 1;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(8, 127, 120, 0.24);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(8, 127, 120, 0.28);
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.section {
  padding: 108px 0;
}

.section.compact {
  padding: 64px 0;
}

.section.tint {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(228, 246, 242, 0.42)),
    var(--paper);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 700;
}

h2 {
  max-width: 820px;
  font-size: clamp(34px, 3.6vw, 58px);
  font-weight: 700;
}

h3 {
  font-size: 23px;
  font-weight: 600;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 790px;
  font-size: 20px;
  line-height: 1.68;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(8, 127, 120, 0.18), rgba(8, 127, 120, 0) 34%),
    linear-gradient(90deg, rgba(12, 24, 31, 0.9), rgba(16, 33, 43, 0.58) 46%, rgba(16, 33, 43, 0.12)),
    url("https://providental.develtest.nl/wp-content/uploads/2026/06/pexels-babydov-7788508-scaled.jpg") center / cover no-repeat;
}

.hero .container {
  padding: 108px 0 54px;
}

.hero h1,
.hero p,
.hero .eyebrow {
  color: var(--white);
}

.hero p {
  margin-top: 24px;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-metrics {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.metric {
  padding: 28px 32px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: 40px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
  gap: 84px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(420px, 0.82fr) minmax(0, 1fr);
}

.copy-stack {
  display: grid;
  gap: 22px;
}

.partner-section {
  background: #ffffff;
}

.partner-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: 56px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 20%, rgba(184, 138, 74, 0.14), rgba(184, 138, 74, 0) 32%),
    linear-gradient(135deg, #ffffff, #f7fbfa);
  box-shadow: var(--shadow-soft);
}

.partner-panel h2 {
  max-width: 720px;
  font-size: clamp(30px, 3vw, 48px);
}

.partner-panel p:not(.eyebrow) {
  color: #405661;
  font-size: 18px;
  line-height: 1.72;
}

.media-frame {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.service-grid,
.product-grid,
.testimonial-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}

.service-card,
.product-card,
.testimonial,
.step-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
}

.service-card {
  position: relative;
  min-height: 100%;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card::after {
  content: "View details";
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(8, 127, 120, 0.28);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.service-card img,
.product-card img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  background: var(--paper);
}

.card-body {
  position: relative;
  padding: 28px 28px 56px;
}

.card-body::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--gold);
}

.card-body p {
  margin-top: 12px;
}

.product-card h3 {
  font-size: 20px;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial {
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.testimonial blockquote {
  margin: 0;
  color: #344b56;
  font-size: 16px;
}

.testimonial strong {
  display: block;
  margin-top: 22px;
  color: var(--ink);
}

.testimonial span {
  color: var(--teal);
  font-size: 14px;
  font-weight: 750;
}

.cta-band {
  background:
    radial-gradient(circle at 82% 20%, rgba(8, 127, 120, 0.28), rgba(8, 127, 120, 0) 35%),
    linear-gradient(135deg, #10212b, var(--blue));
  color: var(--white);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.page-hero {
  padding: 80px 0 72px;
  background:
    radial-gradient(circle at 82% 8%, rgba(8, 127, 120, 0.13), rgba(8, 127, 120, 0) 34%),
    linear-gradient(135deg, #edf7f5, #ffffff 66%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 5vw, 76px);
}

.page-hero .lead {
  margin-top: 20px;
}

.page-hero + .section.tint {
  padding-top: 72px;
}

.content-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.step-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.contact-panel {
  padding: 30px;
}

.contact-panel + .contact-panel {
  margin-top: 18px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8, 127, 120, 0.12);
}

.form-grid textarea {
  min-height: 160px;
  resize: vertical;
}

.site-footer {
  background: #0d1b22;
  color: var(--white);
}

.footer-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 34px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 48px;
}

.site-footer img {
  width: 210px;
  filter: brightness(0) invert(1);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    background: rgba(255, 255, 255, 0.94);
  }

  .nav-wrap {
    position: relative;
    min-height: 72px;
    padding: 12px 0;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 25;
    width: min(360px, calc(100vw - 28px));
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-open {
    overflow: hidden;
  }

  .main-nav {
    display: grid;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .main-nav a {
    min-height: 46px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav-panel .button {
    width: 100%;
  }

  .split,
  .split.reverse,
  .contact-grid,
  .partner-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .product-grid,
  .testimonial-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-wrap,
  .hero-metrics,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }

  .section,
  .page-hero {
    padding: 64px 0;
  }

  .partner-panel {
    gap: 22px;
    padding: 28px;
  }

  .page-hero + .section.tint {
    padding-top: 52px;
  }

  .hero {
    min-height: auto;
  }

  .hero .container {
    padding: 72px 0 34px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 52px);
  }

  .hero p {
    margin-top: 18px;
    font-size: 18px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .brand img {
    width: 166px;
  }

  .service-card::after {
    opacity: 1;
    transform: none;
  }

  .metric {
    padding: 20px 0;
  }

  .service-grid,
  .product-grid,
  .testimonial-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .media-frame,
  .media-frame img {
    min-height: 360px;
  }
}
