/* CPD Ireland — Premium styling (Institutional Authority + Corporate polish + subtle boutique restraint)
   No functionality changes. Pure CSS refinement.
*/

:root{
  /* Palette */
  --bg: #ffffff;
  --bg-soft: #F5F8FF;
  --ink: #07111F;
  --navy: #061B38;              /* deeper, more institutional */
  --muted: rgba(6,27,56,0.70);
  --muted-2: rgba(6,27,56,0.56);
  --line: rgba(6,27,56,0.12);

  --primary: #0A4EDB;           /* deeper blue */
  --primary-700: #073A9E;
  --primary-900: #052A76;

  /* Geometry */
  --radius: 14px;               /* less bubbly */
  --radius-sm: 10px;

  /* Shadow: calmer, more architectural */
  --shadow: 0 14px 40px rgba(6,27,56,0.09);
  --shadow-soft: 0 10px 26px rgba(6,27,56,0.08);

  --max: 1120px;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
html{ scroll-behavior: smooth; }

body{
  font-size: 16px;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(10,78,219,0.095), transparent 62%),
    radial-gradient(820px 420px at 92% 8%, rgba(7,58,158,0.085), transparent 60%),
    linear-gradient(180deg, rgba(245,248,255,0.78), rgba(255,255,255,0.95) 38%, #ffffff 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-decoration-color: rgba(10,78,219,0.34); text-underline-offset: 3px; }

/* Brand link should never underline */
.brand{ text-decoration: none; }
.brand:hover{ text-decoration: none; }
.brand:hover *{ text-decoration: none !important; }

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

.container{
  width: 100%;
  max-width: var(--max);
  padding: 0 24px;
  margin: 0 auto;
}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 16px; top: 16px; width:auto; height:auto;
  padding: 10px 12px; background: white;
  border: 1px solid var(--line); border-radius: 10px; z-index: 9999;
}

/* Header */
.site-header{
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.74);
  border-bottom: 1px solid rgba(6,27,56,0.08);
}

.header-inner{
  display:flex; align-items:center; justify-content: space-between; gap: 18px;
  padding: 18px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 300px;
}
.brand img{ width: 56px; height: 56px; display:block; }
.brand .brand-text{ display:flex; flex-direction:column; line-height:1.05; min-width:260px; align-items:flex-start; }
.brand .brand-text strong{
  font-size: 30px;
  letter-spacing: -0.6px;
  color: var(--navy);
  line-height: 1.02;
}
.brand .brand-text{ min-width: 260px; }
.brand .brand-text span{ max-width: 260px; display:block; font-size: 12.5px; color: var(--muted-2); font-weight: 650; margin-top: 2px; letter-spacing: 0.15px; }
.brand .brand-text span{
  font-size: 12px; color: var(--muted-2); font-weight: 650;
}

.nav{ display:flex; align-items:center; gap: 4px; }
.nav a{
  padding: 10px 10px;
  border-radius: 10px;
  font-weight: 400;
  color: rgba(6,27,56,0.80);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.nav a[aria-current="page"]{
  background: transparent;
  color: var(--navy);
  font-weight: 650;
  box-shadow: inset 0 -2px 0 rgba(10,78,219,0.55);
}

.nav a:hover{
  background: rgba(10,78,219,0.055);
  text-decoration: none;
}


.header-cta{ display:flex; align-items:center; gap: 10px; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(6,27,56,0.14);
  background: rgba(255,255,255,0.92);
  font-weight: 900;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 0 rgba(6,27,56,0.04);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}
.btn:active{ transform: translateY(0px); }

.btn.primary{
  background: linear-gradient(180deg, rgba(10,78,219,0.98), rgba(7,58,158,0.98));
  color: white;
  border-color: rgba(10,78,219,0.28);
}
.btn.primary:hover{ filter: brightness(1.02); }
.btn.ghost{ background: rgba(245,248,255,0.92); }

.menu-toggle{ display:none; }

/* Hero */
.hero{ padding: 72px 0 28px; }

.hero-grid{
  display:grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 28px;
  align-items: center;
}

.kicker{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(10,78,219,0.22);
  background: rgba(10,78,219,0.095);
  color: var(--navy);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.2px;
}
.kicker .dot{
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(10,78,219,0.12);
}

h1{
  margin: 14px 0 10px;
  font-size: clamp(38px, 4.2vw, 54px);
  line-height: 1.04;
  color: var(--navy);
  letter-spacing: -0.75px;
}
.lead{
  font-size: 18px;
  color: rgba(6,27,56,0.78);
  max-width: 52ch;
}

.hero-actions{ margin-top: 18px; display:flex; gap: 12px; flex-wrap: wrap; }

.trust{
  margin-top: 20px;
  display:flex; flex-wrap:wrap; gap: 10px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}
.trust .pill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(6,27,56,0.10);
  background: rgba(255,255,255,0.74);
}

/* Cards */
.hero-card{
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(6,27,56,0.10);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.hero-card h3{ margin: 0 0 8px; color: var(--navy); font-size: 18px; letter-spacing: -0.18px; line-height: 1.2; }

.hero-card p{ margin: 0 0 14px; color: rgba(6,27,56,0.76); font-size: 15.5px; line-height: 1.6; }

.hero-card ul{ margin: 0; padding-left: 18px; color: rgba(6,27,56,0.80); font-weight: 750; }
.hero-card li{ margin: 6px 0; }
.small{ font-size: 13px; color: var(--muted); font-weight: 750; margin-top: 12px; }

.section{ padding: 56px 0; }

.section.alt{
  background: linear-gradient(180deg, rgba(245,248,255,0.78), rgba(255,255,255,0.96));
  border-top: 1px solid rgba(6,27,56,0.06);
  border-bottom: 1px solid rgba(6,27,56,0.06);
}

.section h2{
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.35px;
  color: var(--navy);
  line-height: 1.18;
}


.section p{
  margin: 0 0 14px;
  color: rgba(6,27,56,0.74);
  max-width: 76ch;
  font-size: 15.5px;
}


/* Grid */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Generic card */
.card{
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(6,27,56,0.10);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(6,27,56,0.03);
}
.card h3{ margin: 0 0 8px; color: var(--navy); font-size: 18px; letter-spacing: -0.18px; line-height: 1.2; }

.card p{ margin: 0; color: rgba(6,27,56,0.74); font-size: 15.5px; line-height: 1.6; }


.list-check{ list-style: none; padding: 0; margin: 0; }
.list-check li{
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
  color: rgba(6,27,56,0.80);
  font-weight: 750;
}
.list-check li:before{
  content: "";
  position:absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: rgba(10,78,219,0.08);
  border: 1.5px solid rgba(10,78,219,0.30);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.65);
}

.list-check li:after{
  content: "✓";
  position:absolute; left: 5px; top: 0px;
  font-weight: 950;
  color: var(--primary-700);
  font-size: 13px;
}


.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items:start;
}

/* Steps */
.steps{ counter-reset: step; display:grid; gap: 12px; }
.step{
  display:flex; gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(6,27,56,0.10);
  background: rgba(255,255,255,0.88);
  transition: box-shadow .18s ease, transform .18s ease;
}
.step:hover{
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
.step:before{
  counter-increment: step;
  content: counter(step);
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(10,78,219,0.10);
  color: var(--navy);
  font-weight: 950;
  border: 1px solid rgba(10,78,219,0.22);
}
.step h4{ margin: 0 0 4px; color: var(--navy); letter-spacing: -0.12px; font-size: 16px; line-height: 1.25; font-weight: 900; }

.step p{ margin: 0; color: rgba(6,27,56,0.76); }

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.price-card{
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(6,27,56,0.10);
  background: rgba(255,255,255,0.90);
  box-shadow: 0 1px 0 rgba(6,27,56,0.03);
  transition: box-shadow .18s ease, transform .18s ease;
}
.price-card:hover{
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
.price-card.featured{
  border-color: rgba(10,78,219,0.28);
  box-shadow: var(--shadow);
}
.badge{
  display:inline-flex; align-items:center;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(10,78,219,0.10);
  border: 1px solid rgba(10,78,219,0.22);
  color: var(--navy);
  font-weight: 950;
  font-size: 12px;
}
.price{
  margin: 12px 0 6px;
  font-size: 36px;
  letter-spacing: -0.6px;
  color: var(--navy);
  font-weight: 950;
}
.price small{ font-size: 14px; color: var(--muted); font-weight: 850; }
.muted{ color: var(--muted); }
.hr{ height: 1px; background: rgba(6,27,56,0.10); border: 0; margin: 16px 0; }
.note{ font-size: 13px; color: rgba(6,27,56,0.68); font-weight: 750; }

/* Forms */
.form{ display:grid; gap: 12px; margin-top: 10px; }
.field{ display:grid; gap: 6px; }
label{ font-weight: 900; color: rgba(6,27,56,0.86); font-size: 13px; }

input, textarea, select{
  width:100%;
  border: 1px solid rgba(6,27,56,0.14);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 15px;
  background: rgba(255,255,255,0.94);
  outline: none;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
textarea{ min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus{
  border-color: rgba(10,78,219,0.55);
  box-shadow: 0 0 0 4px rgba(10,78,219,0.12);
}
input:hover, textarea:hover, select:hover{
  border-color: rgba(6,27,56,0.22);
}

/* Footer */
.footer{
  margin-top: 28px;
  padding: 36px 0 46px;
  border-top: 1px solid rgba(6,27,56,0.08);
  background: rgba(245,248,255,0.92);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 22px;
  align-items:start;
}
.footer small, .footer p, .footer a{ color: rgba(6,27,56,0.72); }
.footer a:hover{ text-decoration: underline; }
.footer .mini{ display:flex; align-items:center; gap: 10px; }
.footer .mini img{ width: 34px; height: 34px; }
.footer .mini strong{ color: var(--navy); }

.page-hero{ padding: 44px 0 12px; }
.page-hero h1{
  font-size: clamp(30px, 3.8vw, 48px);
  margin-top: 10px;
  letter-spacing: -0.7px;
}
.breadcrumb{ color: rgba(6,27,56,0.60); font-weight: 850; font-size: 13px; }

/* Responsive */
@media (max-width: 980px){
  .hero{ padding: 60px 0 22px; }
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .header-cta{ display:none; }
  .section{ padding: 52px 0; }
}

@media (max-width: 760px){
  .nav{
    display:none;
    position:absolute; left: 0; right: 0; top: 64px;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(6,27,56,0.08);
    padding: 10px 14px;
    gap: 6px;
  }
  .nav.open{ display:grid; grid-template-columns: 1fr; }
  .menu-toggle{
    display:inline-flex; align-items:center; justify-content:center;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(6,27,56,0.12);
    background: rgba(255,255,255,0.82);
    font-weight: 950;
  }
}


/* Pricing: keep Apply buttons aligned */
.price-apply{ margin-top: auto; align-self: flex-start; }

/* Process: align right-side pack card with left steps */
.process-pack{ margin-top: 0 !important; }
.process-pack h2, .process-pack h3{ margin-top: 0; }

.footer p{ font-size: 14.5px; line-height: 1.65; }
.footer small{ font-size: 13px; }
