/* =============================================
   InnHire.ie — Main Stylesheet
   ============================================= */

:root {
  --green-main: #3A9B5C;
  --green-light: #5DBE7A;
  --green-pale: #EDFAF2;
  --teal: #0B7C6E;
  --teal-light: #13B5A3;
  --teal-pale: #E3FAF7;
  --dark: #111827;
  --dark2: #1F2937;
  --mid: #374151;
  --muted: #6B7280;
  --light: #F9FAFB;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --coral: #E8643A;
  --blue: #2563EB;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 0 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}
.logo span { color: var(--green-main); }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green-main); }

.btn-nav {
  background: var(--green-main);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 40px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--dark); transform: translateY(-1px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFBF0 0%, #F0FBF9 50%, #EFF6FF 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.s1 { width: 500px; height: 500px; background: #5DBE7A; top: -100px; right: -100px; }
.s2 { width: 350px; height: 350px; background: #13B5A3; bottom: -50px; left: 20%; }
.s3 { width: 200px; height: 200px; background: #2563EB; top: 30%; left: -60px; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-main);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 40px;
  border: 1px solid #5DBE7A60;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--green-main);
}

.hero-content p {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn-primary {
  display: inline-block;
  background: var(--green-main);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--dark);
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--green-main); color: var(--green-main); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.stat span { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.stat-div { width: 1px; height: 36px; background: var(--border); }

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 380px;
  display: none;
}
@media (min-width: 1000px) { .hero-visual { display: block; } }

.hero-orb {
  position: absolute;
  width: 280px; height: 280px;
  background: linear-gradient(135deg, var(--green-pale), var(--teal-pale));
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border: 2px dashed #3A9B5C40;
  animation: spin 20s linear infinite;
}

.card-float {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}
.card-float strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.card-float span { font-size: 0.75rem; color: var(--muted); }
.cf-icon { font-size: 1.6rem; }
.cf-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.cf-badge.green { background: #D1FAE5; color: #065F46; }
.cf-badge.amber { background: #FEF3C7; color: #92400E; }

.c1 { top: 10px; right: 20px; animation-delay: 0s; }
.c2 { top: 50%; left: -30px; transform: translateY(-50%); animation-delay: 1.5s; }
.c3 { bottom: 10px; right: 30px; animation-delay: 0.8s; }

/* ---- SECTIONS ---- */
section { padding: 90px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-main);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.22;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.7); }
.section-header.light .section-label { color: var(--green-light); }

/* ---- SERVICES ---- */
.services { background: var(--light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green-main);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured { border-color: var(--teal-light); }
.service-card.featured::before { background: var(--teal); transform: scaleX(1); }

.sc-badge {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sc-icon { font-size: 2.4rem; margin-bottom: 16px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.65;
}
.service-card ul { margin-bottom: 24px; }
.service-card ul li {
  font-size: 0.87rem;
  color: var(--mid);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card ul li::before { content: '→'; color: var(--green-main); font-size: 0.75rem; }
.sc-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-main);
  transition: color 0.2s;
}
.sc-link:hover { color: var(--dark); }

/* ---- HOW IT WORKS ---- */
.how {
  background: var(--dark2);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--green-main);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 8px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.step-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.step-arrow {
  font-size: 2rem;
  color: var(--green-main);
  opacity: 0.4;
  align-self: center;
  margin-top: -20px;
}

/* ---- ABOUT ---- */
.about { background: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 820px) { .about-inner { grid-template-columns: 1fr; } }

.about-text .section-label { display: block; margin-bottom: 12px; }
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 18px;
}
.about-text p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-points { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.ap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--mid);
}
.ap span { color: var(--teal); font-weight: 700; font-size: 1rem; }

.av-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1.5px solid var(--border);
}

.av-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.av-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-main);
}
.av-metric span { font-size: 0.82rem; color: var(--muted); }

.av-divider { height: 1px; background: var(--border); margin: 20px 0; }
.av-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 10px;
}
.av-author { font-size: 0.8rem; color: var(--muted); }

/* ---- CONTACT ---- */
.contact { background: var(--light); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 820px) { .contact-wrap { grid-template-columns: 1fr; } }

.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 36px; border: 1.5px solid var(--border); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { margin-bottom: 16px; }

.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--mid); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(58,155,92,0.12);
}
.form-group textarea { resize: vertical; }

.full-btn {
  width: 100%;
  margin-top: 4px;
  justify-content: center;
  font-size: 1rem;
  padding: 15px;
  border-radius: 10px;
}

.form-msg {
  margin-top: 14px;
  font-size: 0.88rem;
  text-align: center;
  min-height: 20px;
}
.form-msg.success { color: #065F46; }
.form-msg.error { color: #DC2626; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.ci-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.ci-item strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.ci-item span { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

.emergency-box {
  background: var(--dark2);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}
.emergency-box strong { display: block; font-size: 0.95rem; margin-bottom: 8px; }
.emergency-box p { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.btn-emergency {
  display: inline-block;
  background: var(--green-main);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-emergency:hover { background: var(--green-light); color: var(--dark); }

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

.footer-brand .logo { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.45); max-width: 240px; line-height: 1.65; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green-main); margin-bottom: 4px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  text-align: center;
  padding: 20px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .burger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .nav-links.open + .btn-nav { display: block; margin: 0 24px 24px; }

  .hero {
    padding: 100px 24px 60px;
    text-align: center;
  }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .step-arrow { display: none; }
  .steps { gap: 32px; }
  .step { max-width: 100%; }
}
