/*
Theme Name: Delta Modern
Theme URI: [deltacommunications.ie](https://www.deltacommunications.ie/)
Author: OpenAI
Description: Modern starter theme for Delta Communications.
Version: 1.0
Text Domain: delta-modern
*/

:root {
  --navy: #0f2747;
  --blue: #1f5fa8;
  --sky: #eaf3ff;
  --accent: #18b26b;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --border: #dbe4f0;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 39, 71, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f8fbff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  opacity: 0.9;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.brand span {
  color: var(--blue);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 0;
}

.main-nav a {
  color: var(--navy);
  font-weight: 600;
}

.header-cta .btn {
  padding: 12px 18px;
}

.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(31,95,168,0.16), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: var(--sky);
  color: var(--blue);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}

.hero-card,
.card,
.stat,
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(219, 228, 240, 0.7);
}

.hero-card {
  padding: 26px;
}

.hero-card .mock-device {
  min-height: 360px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(15,39,71,0.95), rgba(31,95,168,0.88)),
    #123;
  position: relative;
  overflow: hidden;
}

.mock-device::before,
.mock-device::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.mock-device::before {
  width: 240px;
  height: 240px;
  top: -50px;
  right: -50px;
}

.mock-device::after {
  width: 180px;
  height: 180px;
  bottom: -40px;
  left: -40px;
}

.mock-lines {
  position: absolute;
  inset: 24px;
  display: grid;
  gap: 14px;
  align-content: center;
}

.mock-bar,
.mock-panel {
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
}

.mock-bar {
  height: 18px;
  width: 42%;
}

.mock-panel {
  height: 86px;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: #eef5fc;
}

.section-head {
  margin-bottom: 28px;
  max-width: 72ch;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.stat,
.contact-card {
  padding: 24px;
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 16px;
}

.card p,
.stat p,
.contact-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.stat strong {
  display: block;
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 6px;
}

.page-hero {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, #ffffff 0%, #eef5fc 100%);
  border-bottom: 1px solid var(--border);
}

.service-list .card,
.team-list .card {
  height: 100%;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.check-list li {
  margin-bottom: 10px;
  padding-left: 26px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.form-wrap {
  background: var(--white);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 34px 0;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-4,
  .grid-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  h1 {
    font-size: 2.4rem;
  }
}
