/* ÉireBaile 1.0.0 — the site's own look. Navy, as the live site has always been.
   Built by hand; no framework. Version is in the file name because Cloudflare keeps CSS for a year. */

:root {
  --in: #0C1C33;        /* page */
  --in2: #0F1A2B;       /* header, footer, deep bands */
  --card: #10243F;
  --card2: #132B4A;
  --band: #18263D;
  --line: rgba(255,255,255,.12);
  --line2: rgba(255,255,255,.22);
  --txt: #D6DEEA;
  --txt2: #9FB0C8;
  --white: #fff;
  --acc: #7FB2FF;       /* light blue, for links and labels on navy */
  --btn: #2251E6;       /* the live button blue */
  --btn2: #4C7DFF;
  --teal: #5EE0B0;
  --gold: #D8B45A;
  --head: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1280px;
  --pad: clamp(1.15rem, 4vw, 2rem);
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--in); scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--in); color: var(--txt); font-family: var(--body); font-size: 17px; line-height: 1.65; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--white); letter-spacing: -.02em; line-height: 1.12; margin: 0; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.lab { color: var(--acc); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .5rem; }
.lede { color: var(--txt); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.mut { color: var(--txt2); font-size: .9rem; }
.skip { position: absolute; left: -999px; background: var(--btn); color: #fff; padding: .55rem 1rem; z-index: 300; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; top: 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 100; background: rgba(15,26,43,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: .75rem; min-height: 64px; }
.brand { display: flex; flex-direction: column; text-decoration: none; margin-right: auto; }
.brand b { font-family: var(--head); font-size: clamp(1.1rem, 1.6vw, 1.5rem); font-weight: 600; color: #fff; letter-spacing: -.01em; line-height: 1.1; }
.brand small { color: var(--txt2); font-size: .72rem; letter-spacing: .02em; }
.iam { position: relative; }
.iam-btn { display: inline-flex; align-items: center; gap: .4rem; background: var(--in2); border: 1px solid var(--acc); color: #fff; font: 600 .92rem/1 var(--body); padding: .6rem 1rem; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.iam-btn span { color: var(--acc); }
.iam-btn:hover { background: var(--card2); }
.iam-menu { position: absolute; top: calc(100% + .45rem); left: 0; min-width: 310px; background: var(--card); border: 1px solid var(--line2); border-radius: 16px; padding: .4rem; box-shadow: 0 30px 70px rgba(0,0,0,.6); display: none; z-index: 120; }
.iam[open] .iam-menu, .iam-menu.open { display: block; }
.iam-menu a { display: block; padding: .62rem .8rem; border-radius: 10px; text-decoration: none; color: #EEF2F8; font-weight: 600; font-size: .95rem; }
.iam-menu a:hover, .iam-menu a:focus { background: var(--card2); color: var(--acc); }
.head-links { display: flex; align-items: center; gap: .2rem; }
.head-links a { padding: .5rem .7rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .93rem; color: #E7ECF4; }
.head-links a:hover { background: var(--card2); color: #fff; }
.pill { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; overflow: hidden; }
.pill a { padding: .42rem .8rem; font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--txt); }
.pill a[aria-current="true"] { background: var(--btn); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; background: var(--btn); color: #fff; border: 1px solid var(--btn); font: 600 .97rem/1 var(--body); padding: .85rem 1.5rem; border-radius: 999px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--btn2); border-color: var(--btn2); transform: translateY(-1px); }
.btn-sm { padding: .62rem 1.05rem; font-size: .88rem; }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line2); }
.btn-ghost:hover { background: #fff; color: var(--in); border-color: #fff; }
.burger { display: none; background: transparent; border: 1px solid var(--line2); color: #fff; border-radius: 10px; padding: .5rem .6rem; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--in2); }
.hero-img { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,28,51,.55), rgba(12,28,51,.93)); }
.hero h1 { max-width: 17ch; }
.hero .lede { max-width: 56ch; margin-top: .9rem; color: #E6ECF5; }
.hero-note { margin-top: 1.1rem; font-size: .84rem; color: var(--txt2); max-width: 60ch; }
.hero-note a { color: var(--acc); }
.row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }

/* ---------- the four doors ---------- */
.doors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: 1rem; }
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; background: var(--card); isolation: isolate; transition: transform .15s, border-color .15s, box-shadow .15s; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,28,51,.35), rgba(12,28,51,.93) 72%); }
.door:hover { transform: translateY(-3px); border-color: var(--acc); box-shadow: 0 24px 50px -24px rgba(127,178,255,.5); }
.door .num { font-family: var(--head); font-size: 1.6rem; font-weight: 700; color: var(--acc); line-height: 1; margin-bottom: auto; }
.door h2 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
.door p { color: #D4DCE8; margin: .45rem 0 .8rem; font-size: .97rem; }
.door .go { color: var(--acc); font-weight: 600; font-size: .95rem; }
.doors-more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 2.5rem; }
.mdoor { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 158px; padding: .95rem 1rem; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; text-decoration: none; color: #fff; background: var(--card); isolation: isolate; transition: transform .15s, border-color .15s; }
.mdoor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mdoor::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,28,51,.3), rgba(12,28,51,.93) 68%); }
.mdoor:hover { transform: translateY(-3px); border-color: var(--acc); }
.mdoor .num { font-family: var(--head); font-size: 1.15rem; font-weight: 700; color: var(--acc); line-height: 1; margin-bottom: auto; }
.mdoor strong { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.mdoor small { font-size: .84rem; color: #CBD5E4; margin-top: .2rem; line-height: 1.35; }

/* ---------- sections, cards ---------- */
.sec { padding: clamp(3rem, 6vw, 5rem) 0; }
.sec-tint { background: var(--in2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 16px; margin-top: 2rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--btn); border-radius: var(--r); padding: 1.5rem; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card img { border-radius: 10px 10px 0 0; aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card-img { padding: 0; overflow: hidden; }
.card-img .body { padding: 1.4rem; }
a.card { text-decoration: none; display: block; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--acc); transform: translateY(-2px); }
.push { color: var(--acc); font-weight: 600; margin-top: .6rem; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 2.2rem; height: 2.2rem; border-radius: 10px; background: rgba(34,81,230,.22); color: var(--acc); font-family: var(--head); font-weight: 700; margin-bottom: .55rem; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--teal); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.split img { border-radius: var(--r); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chip { border: 1px solid var(--line2); border-radius: 999px; padding: .45rem .95rem; font-size: .9rem; font-weight: 600; }
.chip-on { background: var(--btn); border-color: var(--btn); color: #fff; }
details.faq { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin-top: .8rem; padding: 1.1rem 1.4rem; }
details.faq summary { font-family: var(--head); font-weight: 600; color: #fff; cursor: pointer; font-size: 1.05rem; }
details.faq p { margin: .7rem 0 0; color: var(--txt); }
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.4rem 0; font-size: .95rem; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 3rem; margin-bottom: 1.1rem; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--head); font-weight: 700; color: var(--acc); font-size: 1.2rem; }

/* ---------- page head ---------- */
.page-open { position: relative; background: var(--in2); padding: clamp(1.8rem, 4vw, 3rem) 0 clamp(1.8rem, 4vw, 2.6rem); border-bottom: 3px solid var(--btn); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.page-open h1 { max-width: 22ch; }
.page-open .lede { max-width: 62ch; margin-top: .8rem; }
.crumbs { font-size: .82rem; color: var(--txt2); margin-bottom: .7rem; }
.crumbs a { color: var(--txt2); }

/* ---------- prose ---------- */
.prose { max-width: 76ch; }
.prose h2 { margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .5rem; }
.prose a { color: var(--acc); }
.prose li { margin-bottom: .45rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.prose th, .prose td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--acc); font-weight: 600; font-size: .9rem; }

/* ---------- forms ---------- */
.form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); margin-top: 1.5rem; }
.form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem; margin: 0 0 1.2rem; }
.form legend { padding: 0 .5rem; color: var(--acc); font-weight: 600; font-size: .9rem; }
.form .fg { margin-bottom: 1rem; }
.form .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 600; font-size: .92rem; color: #E6ECF5; margin-bottom: .35rem; }
input:not([type=checkbox]):not([type=radio]):not([type=submit]), select, textarea {
  width: 100%; background: var(--in); border: 1px solid #3A4A63; color: var(--txt); border-radius: 11px;
  padding: .72rem .85rem; font: inherit; font-size: .97rem; }
textarea { min-height: 7rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #7F91AB; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--acc); outline-offset: 1px; border-color: var(--acc); }
input[type=checkbox], input[type=radio] { accent-color: var(--btn); width: 1.05rem; height: 1.05rem; }
select option { background: var(--card); color: var(--txt); }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem .9rem; }
.opt { display: flex; align-items: flex-start; gap: .5rem; font-weight: 400; font-size: .95rem; color: var(--txt); }
.consent { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: .92rem; color: var(--txt); line-height: 1.5; }
.consent a { color: var(--acc); }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: .85rem; color: var(--txt2); margin-top: .8rem; }
.form-msg { border-radius: 12px; padding: .85rem 1.1rem; margin-bottom: 1rem; font-size: .95rem; }
.form-msg.ok { background: rgba(94,224,176,.14); color: #9BEFD0; border: 1px solid rgba(94,224,176,.4); }
.form-msg.err { background: rgba(216,180,90,.14); color: #EBD79B; border: 1px solid rgba(216,180,90,.4); }
.err-field { border-color: var(--gold) !important; }

/* ---------- unlock prices ---------- */
.locked { display: inline-flex; align-items: center; gap: .45rem; background: rgba(216,180,90,.13); border: 1px solid rgba(216,180,90,.45); color: var(--gold); border-radius: 999px; padding: .4rem .9rem; font-size: .88rem; font-weight: 600; }

/* ---------- region visibility ---------- */
.only-ie, .only-in { display: none; }
body[data-region="ie"] .only-ie, body[data-region="in"] .only-in { display: revert; }

/* ---------- footer ---------- */
.site-foot { background: var(--in2); border-top: 1px solid var(--line); color: var(--txt2); padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-foot h3 { color: var(--acc); font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .45rem; }
.site-foot a { color: #E3E9F2; text-decoration: none; font-size: .94rem; }
.site-foot a:hover { color: var(--acc); }
.legal { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; font-size: .83rem; color: #7F91AB; }
.legal a { color: #9FB0C8; }

/* ---------- phone ---------- */
@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .doors-more { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .head-links { display: none; }
  .burger { display: inline-block; }
  .head-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--card); border-bottom: 1px solid var(--line2); padding: .5rem; gap: .1rem; }
  .head-links.open a { padding: .7rem .9rem; }
  .doors { grid-template-columns: 1fr; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .iam-menu { position: fixed; left: var(--pad); right: var(--pad); min-width: 0; }
  .form .f2, .opts { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .door { min-height: 230px; padding: 1.15rem; }
  .mdoor { min-height: 142px; }
  .iam-btn { font-size: .85rem; padding: .5rem .75rem; }
  .brand small { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }
