/* ============================================
   BUILTINIRELAND.IE — Work Experience & Career Re-Entry
   Colour Palette:
   - Deep Teal:      #0B6E4F
   - Teal Mid:       #0D8A63
   - Warm Orange:    #E8913A
   - Orange Dark:    #C97A2E
   - Off-white:      #FBF8F4
   - Mid-grey:       #6B7280
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --teal-dark:   #0B6E4F;
    --teal-mid:    #0D8A63;
    --teal-light:  #10A37A;
    --orange:      #E8913A;
    --orange-dark: #C97A2E;
    --cream:       #FBF8F4;
    --white:       #FFFFFF;
    --grey:        #6B7280;
    --grey-light:  #E5E7EB;
    --grey-pale:   #F3F4F6;
    --text:        #1C1C1C;
    --radius:      8px;
    --radius-lg:   16px;
    --shadow:      0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.95rem; cursor: pointer;
    border: 2px solid transparent; transition: all 0.2s ease;
}
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ---- SECTION TITLES ---- */
.section-title { font-size: 2rem; font-weight: 800; color: var(--teal-dark); margin-bottom: 12px; }
.section-sub { font-size: 1.05rem; color: var(--grey); max-width: 560px; margin-bottom: 48px; }

/* ============================================
   HEADER
============================================ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--teal-dark); border-bottom: 1px solid var(--teal-mid);
    padding: 0;
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.logo-icon svg { width: 32px; height: 32px; }
.logo-text { font-size: 1.15rem; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.logo-dot { color: var(--orange); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; padding: 8px 14px; border-radius: var(--radius); transition: all 0.2s; }
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.main-nav .nav-cta { background: var(--orange); color: var(--white); font-weight: 700; }
.main-nav .nav-cta:hover { background: var(--orange-dark); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; padding: 8px; }

/* ============================================
   HERO
============================================ */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-mid) 60%, #0A5E44 100%);
    padding: 100px 0 80px;
    color: var(--white);
}
.hero-bg-pattern {
    position: absolute; inset: 0; opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect x='5' y='5' width='50' height='50' rx='8' stroke='%23E8913A' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-size: 80px 80px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(232,145,58,0.15); border: 1px solid rgba(232,145,58,0.4);
    color: var(--orange); font-size: 0.85rem; font-weight: 600;
    padding: 6px 16px; border-radius: 99px; margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800;
    line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px;
}
.hero-accent { color: var(--orange); }
.hero-sub {
    font-size: 1.15rem; color: rgba(255,255,255,0.8);
    max-width: 540px; margin-bottom: 36px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
    display: flex; align-items: center; gap: 0;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 20px 32px;
    width: fit-content;
}
.stat { text-align: center; padding: 0 28px; }
.stat strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--orange); }
.stat span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* ============================================
   PROBLEM
============================================ */
.problem { padding: 80px 0; background: var(--white); }
.problem-inner {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center;
}
.problem-text h2 { font-size: 1.9rem; font-weight: 800; color: var(--teal-dark); margin-bottom: 20px; line-height: 1.25; }
.problem-text p { color: var(--grey); margin-bottom: 16px; line-height: 1.7; }
.problem-text strong { color: var(--teal-dark); }

.scatter-graphic {
    position: relative; width: 280px; height: 280px; margin: 0 auto;
}
.scatter-dot {
    position: absolute; left: var(--x); top: var(--y);
    background: var(--grey-pale); border: 1px solid var(--grey-light);
    padding: 8px 16px; border-radius: var(--radius); font-size: 0.82rem;
    font-weight: 700; color: var(--grey);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
}
.scatter-center {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    background: var(--teal-dark); color: var(--white); font-weight: 800;
    font-size: 0.95rem; text-align: center; line-height: 1.3;
    width: 100px; height: 100px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(11,110,79,0.3);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ============================================
   HOW IT WORKS
============================================ */
.how-it-works { padding: 80px 0; background: var(--cream); }
.steps-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.step-card {
    background: var(--white); border: 1px solid var(--grey-light);
    border-radius: var(--radius-lg); padding: 28px;
    position: relative; transition: all 0.2s ease;
}
.step-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.step-number {
    position: absolute; top: 16px; right: 16px;
    font-size: 2.5rem; font-weight: 900; color: var(--grey-light);
    line-height: 1;
}
.step-icon { font-size: 2rem; margin-bottom: 16px; }
.step-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 10px; }
.step-card p { font-size: 0.88rem; color: var(--grey); line-height: 1.6; }

/* ============================================
   WHO IT'S FOR
============================================ */
.who { padding: 80px 0; background: var(--white); }
.who-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.who-card {
    background: var(--cream); border: 1px solid var(--grey-light);
    border-radius: var(--radius-lg); padding: 28px;
    transition: all 0.2s ease;
}
.who-card:hover { border-color: var(--teal-mid); box-shadow: var(--shadow); }
.who-icon { font-size: 2rem; margin-bottom: 16px; }
.who-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 10px; }
.who-card p { font-size: 0.88rem; color: var(--grey); line-height: 1.6; }

/* ============================================
   SCHEMES
============================================ */
.schemes { padding: 80px 0; background: var(--cream); }
.schemes-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.scheme-card {
    background: var(--white); border: 1px solid var(--grey-light);
    border-radius: var(--radius-lg); padding: 28px;
    transition: all 0.2s ease;
}
.scheme-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.scheme-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px; gap: 12px; flex-wrap: wrap;
}
.scheme-header h3 { font-size: 1.05rem; font-weight: 700; color: var(--teal-dark); }
.scheme-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--orange-dark); background: rgba(232,145,58,0.12);
    padding: 4px 10px; border-radius: 99px;
}
.scheme-card > p { font-size: 0.9rem; color: var(--grey); line-height: 1.6; margin-bottom: 16px; }
.scheme-details {
    display: flex; flex-wrap: wrap; gap: 8px 20px;
    padding-top: 14px; border-top: 1px solid var(--grey-light);
}
.scheme-details span { font-size: 0.82rem; color: var(--grey); }
.scheme-details strong { color: var(--teal-dark); }

/* ============================================
   STORIES
============================================ */
.stories { padding: 80px 0; background: var(--white); }
.stories-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-bottom: 24px;
}
.story-card {
    background: var(--cream); border: 1px solid var(--grey-light);
    border-radius: var(--radius-lg); padding: 28px;
    display: flex; flex-direction: column;
}
.story-quote {
    font-size: 0.95rem; color: var(--text); line-height: 1.65;
    font-style: italic; flex: 1; margin-bottom: 20px;
    position: relative; padding-left: 16px;
    border-left: 3px solid var(--orange);
}
.story-author {
    display: flex; align-items: center; gap: 12px;
}
.story-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--teal-dark); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.story-author strong { display: block; font-size: 0.9rem; color: var(--teal-dark); }
.story-author span { font-size: 0.8rem; color: var(--grey); }
.stories-note { font-size: 0.78rem; color: var(--grey); font-style: italic; text-align: center; }

/* ============================================
   EMPLOYERS
============================================ */
.employers { padding: 80px 0; background: var(--cream); }
.employers-inner {
    display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 48px; align-items: start;
}
.employers-text h2 { font-size: 1.9rem; font-weight: 800; color: var(--teal-dark); margin-bottom: 16px; }
.employers-lead { font-size: 1.05rem; color: var(--grey); line-height: 1.65; margin-bottom: 28px; }

.employer-benefits { list-style: none; margin-bottom: 28px; }
.employer-benefits li {
    display: flex; gap: 16px; align-items: flex-start;
    margin-bottom: 20px;
}
.benefit-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.employer-benefits strong { display: block; font-size: 0.95rem; color: var(--teal-dark); margin-bottom: 4px; }
.employer-benefits p { font-size: 0.88rem; color: var(--grey); line-height: 1.55; margin: 0; }

.employers-stats { display: flex; flex-direction: column; gap: 16px; }
.emp-stat-card {
    background: var(--white); border: 1px solid var(--grey-light);
    border-radius: var(--radius-lg); padding: 24px; text-align: center;
}
.emp-stat-number { font-size: 2.2rem; font-weight: 900; color: var(--teal-dark); line-height: 1; margin-bottom: 6px; }
.emp-stat-label { font-size: 0.82rem; color: var(--grey); line-height: 1.4; }

/* ============================================
   NEWSLETTER
============================================ */
.newsletter { padding: 80px 0; background: var(--teal-dark); }
.newsletter-inner {
    display: flex; align-items: center; gap: 48px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 48px;
}
.newsletter-icon { flex-shrink: 0; width: 80px; }
.newsletter-icon svg { width: 80px; height: 80px; }
.newsletter-content { flex: 1; }
.newsletter-content h2 { font-size: 1.7rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.newsletter-content > p { color: rgba(255,255,255,0.7); margin-bottom: 24px; line-height: 1.65; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.newsletter-form input[type="email"] {
    flex: 1; min-width: 260px; padding: 14px 18px;
    border: 1.5px solid rgba(255,255,255,0.2); border-radius: var(--radius);
    background: rgba(255,255,255,0.08); color: var(--white);
    font-size: 0.95rem; font-family: inherit; outline: none;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input[type="email"]:focus { border-color: var(--orange); }
.form-options { display: flex; gap: 24px; flex-wrap: wrap; }
.form-check {
    font-size: 0.85rem; color: rgba(255,255,255,0.6);
    display: flex; align-items: center; gap: 6px; cursor: pointer;
}
.form-check input[type="radio"] { accent-color: var(--orange); }
.newsletter-note { margin-top: 14px; font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 0; }

/* ============================================
   FOOTER
============================================ */
.site-footer { background: #0A1F17; color: rgba(255,255,255,0.7); padding: 60px 0 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-links-group h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--orange); margin-bottom: 16px; }
.footer-links-group a { display: block; font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 10px; transition: color 0.2s; }
.footer-links-group a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a { font-size: 0.82rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom nav a:hover { color: rgba(255,255,255,0.7); }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .problem-inner { grid-template-columns: 1fr; }
    .problem-visual { display: none; }
    .who-grid { grid-template-columns: repeat(2, 1fr); }
    .schemes-grid { grid-template-columns: 1fr; }
    .stories-grid { grid-template-columns: 1fr; }
    .employers-inner { grid-template-columns: 1fr; }
    .employers-stats { flex-direction: row; flex-wrap: wrap; }
    .emp-stat-card { flex: 1; min-width: 140px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .hero-stats { flex-wrap: wrap; }
}

@media (max-width: 640px) {
    .main-nav { display: none; }
    .nav-toggle { display: block; }
    .steps-grid { grid-template-columns: 1fr; }
    .who-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .newsletter-inner { flex-direction: column; padding: 32px; }
    .newsletter-icon { display: none; }
    .hero-stats { display: none; }
    .section-title { font-size: 1.6rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .employers-stats { flex-direction: column; }
}
