:root {
  --bg: #07181d;
  --bg-soft: #0d2329;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f5fbfc;
  --muted: #a8c7cc;
  --brand: #3cb6bf;
  --brand-strong: #2ea7b0;
  --brand-soft: rgba(60, 182, 191, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(60, 182, 191, 0.14), transparent 30%),
    linear-gradient(180deg, #08171c 0%, #091f25 48%, #07181d 100%);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 24, 29, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--brand), #7ef0f7);
  box-shadow: 0 12px 30px rgba(60, 182, 191, 0.35);
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.32rem;
  border: 0;
  background: transparent;
  padding: 0.2rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.6rem;
  height: 2px;
  background: white;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  padding: 5.5rem 0 3.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  min-height: calc(100vh - 82px);
}

.hero-copy,
.hero-visual,
.info-card,
.timeline-item,
.feature-card,
.contact-card,
.trust-strip article {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(126, 240, 247, 0.22);
  border-radius: 999px;
  background: rgba(60, 182, 191, 0.08);
  color: #bff7fb;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 6.3rem);
}

.hero-text,
.section-heading p,
.feature-card p,
.timeline-item p,
.info-card p,
.trust-strip p,
.contact-card p,
.floating-panel span,
.floating-panel strong {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #04262a;
  background: linear-gradient(135deg, #7ef0f7, var(--brand));
  box-shadow: 0 16px 38px rgba(60, 182, 191, 0.25);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.motto {
  max-width: 48ch;
  margin: 0 0 1.75rem;
  color: #d7f3f5;
  font-size: 1rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-pills span {
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: #d9f4f6;
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  padding: 2rem 0;
}

.logo-card {
  position: relative;
  z-index: 2;
  margin-inline: auto;
  width: min(100%, 520px);
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-10deg) rotateX(5deg);
}

.floating-panel {
  position: absolute;
  z-index: 3;
  width: min(300px, 70%);
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: rgba(8, 25, 31, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.floating-panel strong {
  display: block;
  margin-bottom: 0.35rem;
  color: white;
  font-size: 1.1rem;
}

.panel-top {
  top: 5%;
  left: -4%;
  animation: floatY 5.8s ease-in-out infinite;
}

.panel-bottom {
  right: -5%;
  bottom: 10%;
  animation: floatY 6.6s ease-in-out infinite 0.5s;
}

.panel-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #bff7fb;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb,
.grid-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
}

.orb-one {
  top: 10%;
  left: -6%;
  width: 18rem;
  height: 18rem;
  background: rgba(126, 240, 247, 0.18);
  animation: drift 12s ease-in-out infinite;
}

.orb-two {
  right: -2%;
  top: 28%;
  width: 24rem;
  height: 24rem;
  background: rgba(60, 182, 191, 0.18);
  animation: drift 14s ease-in-out infinite reverse;
}

.grid-glow {
  left: 50%;
  top: 15%;
  width: 36rem;
  height: 36rem;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, rgba(126, 240, 247, 0.2), transparent 58%),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
  opacity: 0.5;
  mask-image: radial-gradient(circle, black 36%, transparent 74%);
}

.trust-strip {
  padding-bottom: 3.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-strip article,
.info-card,
.feature-card,
.timeline-item,
.contact-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.trust-strip article {
  padding: 1.4rem;
}

.trust-strip strong,
.info-card h3,
.timeline-item h3,
.feature-card h3 {
  display: block;
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  color: white;
}

.section {
  padding: 3.5rem 0 5.5rem;
}

.alt-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.section-heading {
  max-width: 740px;
  margin-bottom: 2rem;
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 1rem;
}

.card-grid,
.feature-layout {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  padding: 1.5rem;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--brand-soft);
  color: #bff7fb;
  font-weight: 700;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 112px;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: 1.4rem;
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #7ef0f7);
  color: #05272b;
  font-weight: 800;
}

.feature-layout {
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 1.5rem;
}

.large-card {
  grid-row: span 2;
  min-height: 100%;
}

.contact-section {
  padding-top: 1rem;
}

.contact-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.reviews-section {
  padding-top: 0;
}

.reviews-carousel {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--card-border);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at top right, rgba(126, 240, 247, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.reviews-track {
  position: relative;
  min-height: 19rem;
}

.review-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 24, 29, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateX(32px) scale(0.98);
  transition: opacity 320ms ease, transform 320ms ease;
}

.review-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.review-quote {
  margin: 0;
  max-width: 48rem;
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.review-meta {
  display: grid;
  gap: 0.25rem;
}

.review-meta strong {
  color: white;
  font-size: 1rem;
}

.review-meta span {
  color: var(--muted);
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.carousel-button {
  min-width: 7rem;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible,
.review-dot:hover,
.review-dot:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(126, 240, 247, 0.4);
}

.reviews-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.review-dot {
  width: 0.8rem;
  height: 0.8rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.review-dot.is-active {
  background: linear-gradient(135deg, #7ef0f7, var(--brand));
  border-color: transparent;
  box-shadow: 0 0 0 6px rgba(60, 182, 191, 0.12);
}

.brief-box {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brief-box ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 14, 18, 0.52);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand,
.footer-copy,
.footer-address {
  margin: 0;
}

.footer-brand {
  color: white;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.footer-copy,
.footer-address {
  color: var(--muted);
  font-style: normal;
}

.footer-address {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-align: right;
}

.donegal-flag {
  position: relative;
  display: inline-block;
  width: 1.5rem;
  height: 1rem;
  border-radius: 0.12rem 0.2rem 0.2rem 0.12rem;
  background: linear-gradient(180deg, #f2c94c 0 50%, #2f9e44 50% 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.donegal-flag::before {
  content: "";
  position: absolute;
  left: -0.26rem;
  top: -0.08rem;
  width: 2px;
  height: 1.16rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

[hidden] {
  display: none !important;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -18px, 0) scale(1.08);
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .process-layout,
  .feature-layout,
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-layout .large-card {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .sticky-copy {
    position: static;
  }

  .panel-top {
    left: 0;
  }

  .panel-bottom {
    right: 0;
  }
}

@media (max-width: 820px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(7, 24, 29, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-layout,
  .process-layout,
  .feature-layout,
  .card-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .reviews-track {
    min-height: 22rem;
  }

  .reviews-controls {
    flex-direction: column;
  }

  .carousel-button {
    width: 100%;
  }

  .footer-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-address {
    text-align: left;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .logo-card {
    transform: none;
  }

  .floating-panel {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .hero-visual {
    padding: 0;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    min-height: 74px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .hero-pills span {
    width: 100%;
    text-align: center;
  }

  .reviews-track {
    min-height: 26rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .hero-copy,
  .hero-visual,
  .info-card,
  .timeline-item,
  .feature-card,
  .contact-card,
  .trust-strip article {
    opacity: 1;
    transform: none;
  }
}
