/* IrelandFixer shared design system */
:root {
    --ie-green: #169B62;
    --ie-deep: #0a4d31;
    --ie-text: #1a1a1a;
    --ie-muted: rgba(26, 26, 26, 0.72);
    --ie-bg-soft: #f5f7f5;
    --ie-bg-card: #ffffff;
    --ie-radius: 14px;
    --ie-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
* { box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ie-text);
    line-height: 1.6;
    margin: 0;
    background: #ffffff;
}
a { color: var(--ie-green); }
a:hover { color: var(--ie-deep); }
img { max-width: 100%; height: auto; }

.if-topbar {
    position: absolute; top: 0; right: 0; left: 0; z-index: 10;
    padding: 22px 36px; display: flex; justify-content: flex-end; gap: 22px;
    font-size: 0.9em;
}
.if-topbar a, .if-topbar span {
    color: rgba(255, 255, 255, 0.85); text-decoration: none;
    font-weight: 500; letter-spacing: 0.02em;
}
.if-topbar a:hover { color: #ffffff; }
.if-topbar .current { color: #ffffff; border-bottom: 1px solid rgba(255, 255, 255, 0.6); padding-bottom: 2px; }

.if-hero {
    position: relative; min-height: 92vh; display: flex; align-items: center;
    background-image: linear-gradient(rgba(0, 25, 18, 0.5), rgba(0, 40, 28, 0.85)), url('/img/cliffs-of-moher.jpg');
    background-size: cover; background-position: center;
    color: #ffffff; padding: 120px 36px 80px;
}
.if-hero-sub-min { min-height: 60vh; padding: 140px 36px 70px; }
.if-hero-content { max-width: 880px; margin: 0 auto; width: 100%; }
.if-hero-eyebrow {
    display: inline-block; padding: 8px 18px;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff; border-radius: 999px; font-size: 0.82em; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 28px;
    backdrop-filter: blur(6px);
}
.if-hero h1 {
    font-size: clamp(2.2em, 5vw, 3.8em); font-weight: 700; line-height: 1.1;
    letter-spacing: -0.02em; margin: 0 0 24px; color: #ffffff;
}
.if-hero-sub {
    font-size: clamp(1.05em, 1.8vw, 1.3em); line-height: 1.55;
    color: rgba(255, 255, 255, 0.92); margin: 0 0 36px; max-width: 720px;
}
.if-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.if-btn {
    display: inline-block; padding: 14px 26px; border-radius: 999px;
    font-size: 1em; font-weight: 600; text-decoration: none;
    transition: all 0.2s ease; letter-spacing: 0.01em;
}
.if-btn-primary { background: var(--ie-green); color: #ffffff; border: 2px solid var(--ie-green); }
.if-btn-primary:hover { background: #1cb574; border-color: #1cb574; color: #ffffff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(22, 155, 98, 0.4); }
.if-btn-ghost { background: rgba(255, 255, 255, 0.08); color: #ffffff; border: 2px solid rgba(255, 255, 255, 0.5); backdrop-filter: blur(8px); }
.if-btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.85); color: #ffffff; }
.if-hero-meta {
    margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex; gap: 32px; flex-wrap: wrap; color: rgba(255, 255, 255, 0.85); font-size: 0.95em;
}
.if-hero-meta a { color: rgba(255, 255, 255, 0.95); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.if-hero-meta a:hover { color: #ffffff; border-bottom-color: #ffffff; }

.if-breadcrumb {
    padding: 18px 36px; background: var(--ie-bg-soft); font-size: 0.88em;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.if-breadcrumb-inner { max-width: 1180px; margin: 0 auto; color: var(--ie-muted); }
.if-breadcrumb a { color: var(--ie-muted); text-decoration: none; }
.if-breadcrumb a:hover { color: var(--ie-green); }
.if-breadcrumb .sep { margin: 0 10px; opacity: 0.5; }

.if-section { padding: 96px 36px; }
.if-section-tight { padding: 64px 36px; }
.if-section-soft { background: var(--ie-bg-soft); }
.if-section-dark { background: #0d1f17; color: #ffffff; }
.if-section-dark h2, .if-section-dark h3, .if-section-dark p, .if-section-dark li { color: #ffffff; }
.if-section-dark .if-eyebrow { color: rgba(255, 255, 255, 0.7); }

.if-container { max-width: 1180px; margin: 0 auto; }
.if-container-narrow { max-width: 880px; margin: 0 auto; }

.if-eyebrow {
    display: block; font-size: 0.85em; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--ie-green); margin-bottom: 18px;
}
.if-h2 {
    font-size: clamp(1.8em, 3.4vw, 2.6em); font-weight: 700; line-height: 1.15;
    letter-spacing: -0.015em; margin: 0 0 24px; color: var(--ie-text);
}
.if-h3 {
    font-size: 1.35em; font-weight: 700; line-height: 1.25;
    margin: 36px 0 14px; color: var(--ie-text);
}
.if-section-dark .if-h2 { color: #ffffff; }
.if-lead {
    font-size: 1.15em; line-height: 1.6; color: var(--ie-muted);
    max-width: 720px; margin: 0 0 36px;
}
.if-section-dark .if-lead { color: rgba(255, 255, 255, 0.78); }
.if-prose p { color: var(--ie-text); font-size: 1.02em; line-height: 1.7; margin: 0 0 18px; max-width: 720px; }
.if-prose ul { color: var(--ie-text); font-size: 1.02em; line-height: 1.7; margin: 0 0 18px; padding-left: 22px; max-width: 720px; }
.if-prose li { margin-bottom: 8px; }

.if-answer {
    margin: 0 0 28px; padding: 22px 26px; background: rgba(22, 155, 98, 0.08);
    border-left: 4px solid var(--ie-green); border-radius: 8px;
    font-size: 1.08em; line-height: 1.55; color: var(--ie-text);
}
.if-answer strong { color: var(--ie-green); }

.if-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.if-card {
    padding: 32px 28px; background: var(--ie-bg-card); border-radius: var(--ie-radius);
    box-shadow: var(--ie-shadow); border-top: 3px solid var(--ie-green);
}
.if-card h3 { margin: 0 0 12px; font-size: 1.2em; font-weight: 700; color: var(--ie-text); }
.if-card p { margin: 0; color: var(--ie-muted); font-size: 0.98em; line-height: 1.55; }

.if-fact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px; margin-top: 36px;
}
.if-fact { padding: 24px; background: rgba(22, 155, 98, 0.08); border-radius: 12px; border-left: 4px solid var(--ie-green); }
.if-fact strong { display: block; color: var(--ie-green); font-size: 1.15em; margin-bottom: 6px; }
.if-fact span { color: var(--ie-text); font-size: 0.95em; line-height: 1.55; }

.if-callout {
    margin: 36px 0; padding: 26px 30px; background: var(--ie-bg-card);
    border-radius: var(--ie-radius); border-left: 4px solid var(--ie-green); box-shadow: var(--ie-shadow);
}
.if-callout strong { color: var(--ie-green); }
.if-callout p { margin: 0; color: var(--ie-text); }

.if-faq { margin-top: 36px; }
.if-faq-item {
    border-top: 1px solid rgba(0,0,0,0.08); padding: 22px 0;
}
.if-faq-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.08); }
.if-faq-q { font-weight: 700; font-size: 1.1em; color: var(--ie-text); margin: 0 0 10px; }
.if-faq-a { color: var(--ie-text); line-height: 1.65; margin: 0; font-size: 1em; }

.if-related-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px; margin-top: 28px;
}
.if-related-card {
    display: block; padding: 22px 24px; background: var(--ie-bg-card);
    border: 1px solid rgba(0,0,0,0.06); border-radius: 10px;
    text-decoration: none; color: var(--ie-text); transition: all 0.25s ease;
}
.if-related-card:hover { transform: translateY(-2px); border-color: var(--ie-green); box-shadow: var(--ie-shadow); }
.if-related-card strong { display: block; color: var(--ie-deep); font-size: 1.05em; margin-bottom: 6px; }
.if-related-card span { color: var(--ie-muted); font-size: 0.92em; }

.if-contact-cta {
    display: inline-flex; align-items: center; gap: 14px; padding: 18px 32px;
    background: var(--ie-green); color: #ffffff; border-radius: 999px;
    text-decoration: none; font-weight: 600; font-size: 1.1em; transition: all 0.2s ease;
}
.if-contact-cta:hover { background: #1cb574; color: #ffffff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(22, 155, 98, 0.4); }

.if-footer {
    padding: 48px 36px; background: #0d1f17; color: rgba(255, 255, 255, 0.7); font-size: 0.92em;
}
.if-footer-grid {
    max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 24px;
}
.if-footer a { color: rgba(255, 255, 255, 0.9); text-decoration: none; margin: 0 12px; }
.if-footer a:hover { color: #ffffff; }
.if-footer .if-network-nav a:first-child { margin-left: 0; }

.if-region-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 36px;
}
.if-region-card {
    background: var(--ie-bg-card); border-radius: var(--ie-radius); overflow: hidden;
    box-shadow: var(--ie-shadow); display: flex; flex-direction: column;
}
.if-region-card-img { height: 180px; background-size: cover; background-position: center; }
.if-region-card-body { padding: 24px 26px; }
.if-region-card-body h3 { margin: 0 0 10px; font-size: 1.2em; color: var(--ie-text); }
.if-region-card-body p { margin: 0; color: var(--ie-muted); font-size: 0.95em; line-height: 1.55; }

@media (max-width: 640px) {
    .if-hero { padding: 100px 24px 60px; min-height: 88vh; }
    .if-section { padding: 64px 24px; }
    .if-topbar { padding: 16px 24px; gap: 14px; }
    .if-breadcrumb { padding: 14px 24px; }
}
