/* TeamTalk multi-page website */

:root {
  --bg: #07111f;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --text: #f8fafc;
  --muted: #a9b7c8;
  --brand: #38bdf8;
  --brand-2: #6366f1;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

section {
  padding: 92px 22px;
  position: relative;
}

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

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 980px;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  max-width: 870px;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  font-size: 1rem;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  max-width: 820px;
  margin-top: 22px;
}

.section-heading {
  margin-bottom: 48px;
}

.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.25);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 6px 18px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(7, 17, 31, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
}

.brand-logo {
  width: 430px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(56, 189, 248, 0.22));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.logo:hover .brand-logo {
  transform: scale(1.04) translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-support {
  padding: 9px 16px;
  border-radius: 999px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.28);
}

.dialteams-button {
  padding: 9px 16px;
  border-radius: 999px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.24);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 1.45rem;
  cursor: pointer;
}

/* Scroll to top */

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.32);
  font-size: 1.45rem;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Hero */

.page-hero,
.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(99, 102, 241, 0.34), transparent 32%),
    radial-gradient(circle at 10% 40%, rgba(56, 189, 248, 0.22), transparent 30%),
    linear-gradient(180deg, #07111f 0%, #0a1728 100%);
  overflow: hidden;
}

.page-hero {
  padding-top: 160px;
  padding-bottom: 90px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1320px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1fr);
  align-items: flex-start;
  gap: 68px;
}

.hero-copy {
  max-width: 760px;
  justify-self: center;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 5.45vw, 5.6rem);
  line-height: 1;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--brand), #a78bfa 55%, #f8fafc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.hero-stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.hero-stat strong {
  display: block;
  color: #ffffff;
  font-size: 1.35rem;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-visual {
  min-height: 560px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 48px;
}

.hero-welcome-card {
  width: min(100%, 570px);
  border-radius: 34px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-video-space {
  margin-bottom: 22px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 16px;
  background: #000000;
  object-fit: cover;
}

.hero-welcome-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-welcome-top strong {
  display: block;
  color: #ffffff;
  font-size: 1.25rem;
}

.hero-service-list {
  display: grid;
  gap: 12px;
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-service-item strong {
  display: block;
  color: #ffffff;
}




/* Video unmute button */

.video-with-sound {
  position: relative;
  width: 100%;
}

.sound-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #ffffff;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.sound-toggle:hover {
  background: rgba(7, 17, 31, 0.95);
  transform: translateY(-2px);
}

.sound-toggle.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Trusted logos */

.trusted {
  padding-top: 42px;
  padding-bottom: 42px;
  background: #091426;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-strip {
  display: flex;
  gap: 18px;
  margin-top: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: manufacturerScroll 28s linear infinite;
}

.logo-strip:hover .logo-track {
  animation-play-state: paused;
}

@keyframes manufacturerScroll {
  to {
    transform: translateX(-50%);
  }
}

.partner-logo {
  flex: 0 0 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 106px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.partner-logo img {
  max-width: 135px;
  max-height: 48px;
  object-fit: contain;
}

.partner-logo span {
  display: none;
}

/* Sections */

.two-column {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

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

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.04);
  background: var(--surface-strong);
}

.image-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-height: 420px;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(3, 10, 20, 0.92));
}

.image-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 20px;
  border-radius: 18px;
  background: rgba(3, 10, 20, 0.88);
}

.image-badge strong {
  display: block;
  color: #ffffff;
}

/* DialTeams */

.light-section {
  background: #f8fafc;
  color: #0f172a;
}

.light-section p {
  color: #475569;
}

.dialteams-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  align-items: center;
  gap: 44px;
}

.dialteams-heading-logo {
  width: min(100%, 460px);
  margin-bottom: 28px;
}

.video-panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: #ffffff;
  padding: 16px;
}

.dialteams-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 20px;
  background: #000000;
}

/* Cloud PBX */

.features-section,
.reviews-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 12%, rgba(56, 189, 248, 0.16), transparent 30%),
    radial-gradient(circle at 8% 85%, rgba(99, 102, 241, 0.16), transparent 32%),
    #f8fafc;
  color: #0f172a;
}

.features-section h1,
.features-section h2,
.reviews-section h1,
.reviews-section h2 {
  color: #0f172a;
}

.features-header {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 44px;
}

.features-intro-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.features-intro-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.features-intro-card p {
  padding: 22px 24px 24px;
  color: #475569;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 250px;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.055);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
}

.feature-card h3 {
  color: #0f172a;
}

.feature-card p {
  color: #475569;
}

.feature-tag {
  display: inline-flex;
  margin-top: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0369a1;
  background: rgba(56, 189, 248, 0.12);
  font-size: 0.78rem;
  font-weight: 800;
}

/* FAQ */

.faq-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(56, 189, 248, 0.14), transparent 30%),
    #07111f;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.faq-intro-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p {
  padding: 0 22px 22px;
  color: #cbd5e1;
}

.faq-item.open .faq-answer {
  max-height: 220px;
}

.faq-item.open .faq-question span {
  transform: rotate(45deg);
}

/* Reviews */

.reviews-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 26px;
}

.review-card {
  flex: 0 0 min(390px, 86vw);
  scroll-snap-align: start;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.review-logo {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 22px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}



/* Rectangular review company logos */

.review-logo-banner {
  width: calc(100% + 56px);
  min-height: 118px;
  margin: -28px -28px 24px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px 26px 0 0;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(99, 102, 241, 0.12)),
    #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.review-logo-banner img {
  width: 100%;
  max-width: 240px;
  max-height: 76px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .review-logo-banner {
    width: calc(100% + 44px);
    min-height: 104px;
    margin: -22px -22px 22px;
    padding: 18px;
  }

  .review-logo-banner img {
    max-width: 210px;
    max-height: 68px;
  }
}

.review-card blockquote {
  color: #334155;
}

.review-company {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.review-company strong {
  display: block;
  color: #0f172a;
}

.review-company span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0369a1;
  background: rgba(56, 189, 248, 0.13);
  font-weight: 800;
  font-size: 0.84rem;
}

/* Contact */

.contact-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.18), transparent 32%),
    #07111f;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
}

.contact-info-card,
.contact-form {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-detail {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail:last-child {
  border-bottom: 0;
}

.contact-detail strong {
  display: block;
  color: #ffffff;
}

.contact-detail a,
.contact-detail p {
  color: #dbeafe;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 15px 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  font: inherit;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form .btn {
  border: 0;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
}

.consent-field {
  display: flex;
  gap: 12px;
  margin: 4px 0 18px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
  flex: 0 0 auto;
}

.contact-form .consent-field label {
  margin: 0;
  color: #dbeafe;
  font-weight: 500;
  font-size: 0.9rem;
}

.consent-field a {
  color: #7dd3fc;
  font-weight: 800;
  text-decoration: underline;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.form-status.success {
  display: block;
  color: #dcfce7;
  background: rgba(34, 197, 94, 0.18);
}

.form-status.error {
  display: block;
  color: #fee2e2;
  background: rgba(239, 68, 68, 0.18);
}

/* Policies */

.policy-section {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(18px);
  color: #0f172a;
  padding: 24px;
  overflow: auto;
}

.policy-section.open {
  display: block;
}

.policy-modal {
  width: min(100%, 1050px);
  margin: 40px auto;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.policy-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: #ffffff;
}

.policy-modal-header p {
  color: #475569;
}

.policy-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #0f172a;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

.policy-tabs {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  background: #ffffff;
  overflow-x: auto;
}

.policy-tab {
  border: 0;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  color: #475569;
  background: #e2e8f0;
  white-space: nowrap;
}

.policy-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.policy-table-wrap {
  max-height: 420px;
  overflow: auto;
  background: #ffffff;
}

.policy-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.policy-table thead {
  position: sticky;
  top: 0;
  background: #0f172a;
  color: #ffffff;
}

.policy-table th,
.policy-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e2e8f0;
}

.policy-table td {
  color: #475569;
}

.policy-table td:first-child {
  color: #0f172a;
  font-weight: 800;
}

.policy-table td:nth-child(2) {
  color: #0369a1;
  font-weight: 800;
}

.policy-table a {
  color: #0369a1;
  font-weight: 800;
}

.policy-note {
  padding: 14px 24px;
  color: #64748b;
  background: #ffffff;
}

/* Footer */

footer {
  padding: 70px 22px 28px;
  background: #050b14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 1fr;
  gap: 36px;
  margin-bottom: 52px;
}

.footer-logo {
  width: 380px;
  max-height: none;
}

.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-grid li {
  color: var(--muted);
  margin-bottom: 10px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Animations */

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  filter: blur(5px);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.18, 0.89, 0.32, 1.12),
    filter 0.45s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.pop-text {
  display: inline-block;
}

.pop-text.active {
  animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.82);
    filter: blur(8px);
  }

  70% {
    opacity: 1;
    transform: translateY(-5px) scale(1.035);
    filter: blur(0);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

/* Responsive */

@media (max-width: 1180px) {
  .brand-logo {
    width: 340px;
    max-height: 68px;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.88rem;
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .dialteams-layout,
  .two-column,
  .faq-layout,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-header {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
    padding-bottom: 78px;
  }

  .hero-copy {
    justify-self: start;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 9vw, 4.8rem);
  }

  .brand-logo {
    width: 285px;
    max-height: 62px;
  }

  .logo {
    min-height: 66px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    padding: 16px;
    border-radius: 22px;
    background: rgba(7, 17, 31, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
  }
}

@media (max-width: 760px) {
  section {
    padding: 58px 16px;
  }

  .container {
    width: 100%;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }

  .brand-logo {
    width: 230px;
    max-height: 52px;
  }

  .logo {
    min-height: 56px;
  }

  .nav-links {
    top: 70px;
    left: 12px;
    right: 12px;
  }

  .hero {
    padding-top: 150px;
  }

  .hero-mini-stats,
  .features-grid,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hero-welcome-card {
    width: 100% !important;
    border-radius: 24px;
    padding: 20px;
  }

  h1,
  .hero h1 {
    font-size: clamp(2.35rem, 11.2vw, 3.55rem);
  }

  h2 {
    font-size: clamp(1.95rem, 8.4vw, 2.8rem);
  }

  .button-row,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card,
  .contact-form,
  .faq-intro-card {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 195px;
    max-height: 46px;
  }

  .hero {
    padding-top: 88px;
  }

  .hero-welcome-card {
    padding: 18px;
  }

  .partner-logo {
    flex-basis: 140px;
  }
}


/* Wider TeamTalk logo on phones */

@media (max-width: 760px) {
  .brand-logo {
    width: 285px;
    max-height: 62px;
  }

  .footer-logo {
    width: 285px;
    max-height: none;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 245px;
    max-height: 56px;
  }

  .footer-logo {
    width: 245px;
    max-height: none;
  }
}


/* Review logo layout fix - keep rectangular logos inside the top banner */

.review-card {
  overflow: hidden !important;
}

.review-logo-banner {
  width: calc(100% + 56px) !important;
  height: 128px !important;
  min-height: 128px !important;
  max-height: 128px !important;
  margin: -28px -28px 24px !important;
  padding: 20px 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 26px 26px 0 0 !important;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.10), rgba(99, 102, 241, 0.10)),
    #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
}

.review-logo-banner img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 85% !important;
  max-height: 86px !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 760px) {
  .review-logo-banner {
    width: calc(100% + 44px) !important;
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
    margin: -22px -22px 22px !important;
    padding: 16px 22px !important;
  }

  .review-logo-banner img {
    max-width: 86% !important;
    max-height: 72px !important;
  }
}


/* Navigation 25% larger update */

.site-header {
  padding: 12px 22px !important;
}

.nav {
  min-height: 90px !important;
  gap: 28px !important;
}

.logo {
  min-height: 96px !important;
}

.brand-logo {
  width: 450px !important;
  max-height: 95px !important;
}

.nav-links {
  gap: 22px !important;
  font-size: 1rem !important;
}

.nav-support,
.nav-cta,
.dialteams-button {
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
}

/* Keep the larger navigation usable on tablets and phones */

@media (max-width: 1180px) {
  .brand-logo {
    width: 375px !important;
    max-height: 82px !important;
  }

  .nav-links {
    gap: 18px !important;
    font-size: 0.94rem !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 8px 14px !important;
  }

  .nav {
    min-height: 78px !important;
  }

  .logo {
    min-height: 76px !important;
  }

  .brand-logo {
    width: 330px !important;
    max-height: 74px !important;
  }

  .nav-links {
    top: 96px !important;
  }

  .menu-toggle {
    width: 48px !important;
    height: 48px !important;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    width: 300px !important;
    max-height: 68px !important;
  }

  .nav {
    min-height: 72px !important;
  }

  .logo {
    min-height: 70px !important;
  }

  .nav-links {
    top: 88px !important;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 255px !important;
    max-height: 60px !important;
  }
}


/* Center main nav links while keeping logo left and Support/Dial Teams right */

.nav {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  width: 100% !important;
}

.logo {
  grid-column: 1 !important;
  justify-self: start !important;
}

.nav-links {
  grid-column: 2 / 4 !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  width: 100% !important;
  gap: 22px !important;
}

.nav-main-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
}

.nav-action-links {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
}

@media (max-width: 980px) {
  .nav {
    display: flex !important;
  }

  .nav-links {
    display: none !important;
    grid-template-columns: 1fr !important;
  }

  .nav-links.open {
    display: flex !important;
  }

  .nav-main-links,
  .nav-action-links {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .nav-main-links a,
  .nav-action-links a {
    width: 100% !important;
  }
}


/* Move centre nav links left and make them larger */

.nav {
  grid-template-columns: auto minmax(520px, 1fr) auto !important;
}

.nav-links {
  grid-column: 2 / 4 !important;
  grid-template-columns: minmax(520px, 1fr) auto !important;
  gap: 28px !important;
}

.nav-main-links {
  justify-content: flex-start !important;
  margin-left: clamp(90px, 9vw, 180px) !important;
  gap: 28px !important;
}

.nav-main-links a {
  font-size: 1.08rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.015em !important;
}

.nav-action-links {
  gap: 14px !important;
}

.nav-support,
.nav-cta,
.dialteams-button {
  min-height: 56px !important;
  padding: 0 26px !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
}

@media (max-width: 1280px) {
  .nav-main-links {
    margin-left: clamp(40px, 5vw, 90px) !important;
    gap: 22px !important;
  }

  .nav-main-links a {
    font-size: 1rem !important;
  }

  .nav-support,
  .nav-cta,
  .dialteams-button {
    min-height: 52px !important;
    padding: 0 22px !important;
    font-size: 0.98rem !important;
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: none !important;
  }

  .nav-links {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .nav-main-links {
    margin-left: 0 !important;
    gap: 10px !important;
  }

  .nav-main-links a {
    font-size: 1rem !important;
  }
}


/* Video without timeline controls */

.no-timeline-video {
  cursor: pointer;
}

.no-timeline-video::-webkit-media-controls-timeline,
.no-timeline-video::-webkit-media-controls-current-time-display,
.no-timeline-video::-webkit-media-controls-time-remaining-display,
.no-timeline-video::-webkit-media-controls-seek-back-button,
.no-timeline-video::-webkit-media-controls-seek-forward-button {
  display: none !important;
}

.sound-toggle.sound-on {
  background: rgba(34, 197, 94, 0.9) !important;
}
/* FINAL TEAMTALK LOGO SIZE */

.brand-logo,
.logo img,
img.brand-logo {
    width: 600px !important;
    min-width: 600px !important;
    max-width: 600px !important;
    max-height: 120px !important;
    height: auto !important;
}

.logo {
    min-height: 120px !important;
}

.nav {
    min-height: 130px !important;
}

/* Tablet */
@media (max-width: 980px) {
    .brand-logo,
    .logo img,
    img.brand-logo {
        width: 420px !important;
        min-width: 420px !important;
        max-width: 420px !important;
        max-height: 90px !important;
    }

    .logo {
        min-height: 90px !important;
    }

    .nav {
        min-height: 100px !important;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .brand-logo,
    .logo img,
    img.brand-logo {
        width: 335px !important;
        min-width: 335px !important;
        max-width: 335px !important;
        max-height: 80px !important;
    }

    .logo {
        min-height: 80px !important;
    }

    .nav {
        min-height: 90px !important;
    }
}

/* Icon-free, conventional business layout */
:root {
  --radius-lg: 16px;
  --radius-md: 10px;
}

.card,
.feature-card,
.hero-service-item,
.contact-info-card,
.contact-form,
.review-card,
.features-intro-card,
.video-panel,
.hero-welcome-card {
  border-radius: 10px;
}

.card {
  padding: 22px;
}

.card:hover,
.feature-card:hover {
  transform: translateY(-2px);
}

.hero-welcome-card {
  padding: 24px;
  background: rgba(13, 29, 47, 0.96);
  backdrop-filter: none;
}

.hero-welcome-top {
  display: block;
  margin-bottom: 16px;
}

.hero-service-list {
  gap: 10px;
}

.hero-service-item {
  display: block;
  padding: 16px;
}

.hero-service-item p {
  margin-top: 4px;
}

.feature-card {
  min-height: 0;
  padding: 22px;
}

.feature-tag {
  display: block;
  margin-top: 16px;
  padding: 0;
  border-radius: 0;
  color: #64748b;
  background: transparent;
  font-weight: 700;
}

.contact-detail {
  display: block;
  padding: 16px 0;
}

.review-card {
  min-height: 0;
  padding: 24px !important;
  border-radius: 12px !important;
}

.review-logo-banner {
  width: calc(100% + 48px) !important;
  height: 104px !important;
  min-height: 104px !important;
  max-height: 104px !important;
  margin: -24px -24px 22px !important;
  padding: 18px 24px !important;
  border-radius: 12px 12px 0 0 !important;
  background: #ffffff !important;
}

.review-logo-banner img {
  max-height: 70px !important;
}

.review-company span {
  display: block;
  padding: 0;
  border-radius: 0;
  color: #64748b;
  background: transparent;
  font-weight: 600;
}

.sound-toggle,
.scroll-top,
.menu-toggle,
.policy-close {
  border-radius: 8px;
}

.sound-toggle {
  padding: 9px 12px;
}

.scroll-top {
  width: auto;
  height: auto;
  min-width: 54px;
  padding: 10px 14px;
  font-size: 0.82rem;
}

.menu-toggle {
  width: auto !important;
  height: auto !important;
  min-width: 64px;
  min-height: 42px;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 800;
}

.policy-close {
  width: auto;
  height: auto;
  min-height: 42px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 800;
}

.reveal {
  transform: translateY(8px);
  filter: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pop-text.active {
  animation: none;
}

@media (max-width: 760px) {
  .hero-welcome-card {
    padding: 18px;
  }

  .review-card {
    padding: 20px !important;
  }

  .review-logo-banner {
    width: calc(100% + 40px) !important;
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
    margin: -20px -20px 20px !important;
    padding: 14px 20px !important;
  }

  .review-logo-banner img {
    max-height: 62px !important;
  }
}


/* Normalised header sizing */
.brand-logo,
.logo img,
img.brand-logo {
  width: 380px !important;
  min-width: 0 !important;
  max-width: 380px !important;
  max-height: 82px !important;
}

.logo {
  min-height: 82px !important;
}

.nav {
  min-height: 92px !important;
  grid-template-columns: auto 1fr auto !important;
}

.nav-links {
  grid-template-columns: 1fr auto !important;
  gap: 20px !important;
}

.nav-main-links {
  margin-left: clamp(24px, 4vw, 70px) !important;
  gap: 20px !important;
}

.nav-main-links a {
  font-size: 0.96rem !important;
  font-weight: 800 !important;
}

.nav-support,
.nav-cta,
.dialteams-button {
  min-height: 46px !important;
  padding: 0 18px !important;
  font-size: 0.92rem !important;
}

@media (max-width: 1180px) {
  .brand-logo,
  .logo img,
  img.brand-logo {
    width: 300px !important;
    max-width: 300px !important;
  }

  .nav-main-links {
    margin-left: 20px !important;
    gap: 16px !important;
  }
}

@media (max-width: 980px) {
  .brand-logo,
  .logo img,
  img.brand-logo {
    width: min(280px, calc(100vw - 112px)) !important;
    max-width: min(280px, calc(100vw - 112px)) !important;
  }

  .logo {
    min-height: 70px !important;
  }

  .nav {
    min-height: 76px !important;
  }

  .nav-links {
    top: 88px !important;
  }
}

@media (max-width: 420px) {
  .brand-logo,
  .logo img,
  img.brand-logo {
    width: min(240px, calc(100vw - 104px)) !important;
    max-width: min(240px, calc(100vw - 104px)) !important;
  }
}


/* Security page video beside the hero title */
.security-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.security-hero-copy {
  min-width: 0;
}

.security-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.9rem, 4vw, 3.8rem);
}

.security-hero-video {
  width: 100%;
  min-width: 0;
}

.security-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #000000;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.security-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Restored review rating icons */
.review-stars {
  margin: 0 0 14px;
  color: #f59e0b;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.12em;
}

@media (max-width: 980px) {
  .security-hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .security-hero-video {
    max-width: 760px;
  }
}

@media (max-width: 560px) {
  .security-page-hero {
    padding-bottom: 64px;
  }

  .security-hero-layout {
    gap: 28px;
  }

  .review-stars {
    font-size: 1rem;
  }
}

/* Free-stock photography additions */
.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
}

.page-hero-copy {
  min-width: 0;
}

.page-hero-layout .page-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 4.7vw, 4.9rem);
}

.page-hero-photo {
  position: relative;
  width: 100%;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: #0b1727;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.page-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.02), rgba(7, 17, 31, 0.18));
}

.page-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.page-hero-photo--services img {
  object-position: 58% center;
}

.page-hero-photo--cloud img {
  object-position: center 48%;
}

.page-hero-photo--dialteams img {
  object-position: 44% center;
}

.page-hero-photo--contact img {
  object-position: center 43%;
}

.page-hero-photo--reviews img {
  object-position: center center;
}

/* Homepage single feature image */
#about .image-panel {
  min-height: 520px;
  background: #0c1929;
}

.about-photo-single {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 44%;
}

#about .image-panel::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 32%, rgba(3, 10, 20, 0.86) 100%);
}

/* Security photography band */
.security-photo-band {
  position: relative;
  width: 100%;
  min-height: 330px;
  margin: 0 0 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #020617;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.security-photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 10, 20, 0.82) 0%, rgba(3, 10, 20, 0.22) 58%, rgba(3, 10, 20, 0.08) 100%);
  pointer-events: none;
}

.security-photo-band img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center center;
}

.security-photo-band figcaption {
  position: absolute;
  left: clamp(22px, 4vw, 48px);
  bottom: clamp(22px, 4vw, 42px);
  z-index: 2;
  max-width: 520px;
}

.security-photo-band figcaption strong,
.security-photo-band figcaption span {
  display: block;
}

.security-photo-band figcaption strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.security-photo-band figcaption span {
  color: #dbeafe;
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .page-hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-hero-photo {
    max-width: 760px;
    min-height: 310px;
  }

  .page-hero-photo img {
    min-height: 310px;
  }
}

@media (max-width: 760px) {
  .page-hero-layout .page-hero-copy h1 {
    font-size: clamp(2.35rem, 11.2vw, 3.55rem);
  }

  .page-hero-photo,
  .page-hero-photo img {
    min-height: 245px;
  }

  #about .image-panel {
    min-height: 500px;
  }

  .security-photo-band,
  .security-photo-band img {
    min-height: 290px;
    height: 290px;
  }

  .security-photo-band::after {
    background: linear-gradient(180deg, rgba(3, 10, 20, 0.08) 18%, rgba(3, 10, 20, 0.88) 100%);
  }

  .security-photo-band figcaption {
    right: 20px;
    left: 20px;
    bottom: 20px;
  }
}

@media (max-width: 420px) {
  .page-hero-photo,
  .page-hero-photo img {
    min-height: 220px;
  }

  #about .image-panel {
    min-height: 460px;
  }

  .security-photo-band,
  .security-photo-band img {
    min-height: 270px;
    height: 270px;
  }
}


/* Full-width photographic page title backgrounds */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding-top: 154px;
  padding-bottom: 94px;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.70) 0%, rgba(3, 12, 24, 0.66) 46%, rgba(3, 12, 24, 0.82) 100%),
    linear-gradient(90deg, rgba(3, 10, 20, 0.36), rgba(3, 10, 20, 0.12) 50%, rgba(3, 10, 20, 0.36));
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(3, 10, 20, 0.34));
  pointer-events: none;
}

.page-hero--services {
  background-image: url("Images/stock/services-support.webp");
  background-position: 58% center;
}

.page-hero--cloud {
  background-image: url("Images/stock/cloud-communications.webp");
  background-position: center 48%;
}

.page-hero--dialteams {
  background-image: url("Images/stock/teams-video-call.webp");
  background-position: 44% center;
}

.page-hero--contact {
  background-image: url("Images/stock/contact-dublin.webp");
  background-position: center 43%;
}

.page-hero--reviews {
  background-image: url("Images/stock/reviews-office.webp");
  background-position: center center;
}

.page-hero--security {
  background-image: url("Images/stock/security-network.webp");
  background-position: center center;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.page-hero-copy,
.security-hero-copy {
  width: min(100%, 980px);
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.page-hero-layout .page-hero-copy h1,
.security-hero-copy h1 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.9rem, 5vw, 5.15rem);
  line-height: 1.03;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.62);
}

.page-hero .lead {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  color: #eef6ff;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.page-hero .button-row {
  justify-content: center;
}

/* The security video remains in the title area, now centred below the text. */
.security-page-hero {
  min-height: 0;
  padding-bottom: 96px;
}

.security-hero-stack {
  width: 100%;
}

.security-hero-video {
  width: min(100%, 820px);
  margin: 42px auto 0;
}

.security-video-frame {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.42);
}

@media (max-width: 760px) {
  .page-hero {
    min-height: 480px;
    padding-top: 132px;
    padding-bottom: 72px;
  }

  .page-hero::before {
    background: linear-gradient(180deg, rgba(2, 8, 18, 0.74), rgba(3, 12, 24, 0.78));
  }

  .page-hero-layout .page-hero-copy h1,
  .security-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.7rem);
  }

  .security-page-hero {
    padding-bottom: 72px;
  }

  .security-hero-video {
    margin-top: 32px;
  }
}

@media (max-width: 420px) {
  .page-hero {
    min-height: 450px;
    padding-top: 120px;
    padding-bottom: 62px;
  }
}


/* Security hero: compact background with video beside the title */
.security-page-hero {
  min-height: 460px;
  padding-top: 132px;
  padding-bottom: 62px;
}

.security-page-hero .security-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  width: 100%;
}

.security-page-hero .security-hero-copy {
  width: 100%;
  max-width: 740px;
  margin: 0;
  text-align: center;
}

.security-page-hero .security-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 4.2vw, 4.6rem);
}

.security-page-hero .security-hero-copy .lead {
  max-width: 690px;
}

.security-page-hero .security-hero-video {
  width: 100%;
  max-width: 720px;
  margin: 0;
  justify-self: end;
}

@media (max-width: 980px) {
  .security-page-hero {
    min-height: 0;
    padding-top: 126px;
    padding-bottom: 66px;
  }

  .security-page-hero .security-hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .security-page-hero .security-hero-copy {
    max-width: 820px;
    margin-inline: auto;
  }

  .security-page-hero .security-hero-video {
    width: min(100%, 720px);
    margin-inline: auto;
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .security-page-hero {
    padding-top: 116px;
    padding-bottom: 52px;
  }

  .security-page-hero .security-hero-layout {
    gap: 24px;
  }

  .security-page-hero .security-hero-copy h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.35rem);
  }
}

/* Security hero: keep the title and video side by side as one centred group */
@media (min-width: 981px) {
  .security-page-hero .security-hero-layout {
    grid-template-columns: repeat(2, minmax(0, 520px));
    justify-content: center;
    column-gap: clamp(34px, 4vw, 56px);
    max-width: 1100px;
    margin-inline: auto;
  }

  .security-page-hero .security-hero-copy,
  .security-page-hero .security-hero-video {
    width: 100%;
    max-width: 520px;
    justify-self: center;
  }

  .security-page-hero .security-hero-copy {
    margin: 0;
  }

  .security-page-hero .security-hero-video {
    margin: 0;
  }
}

/* Taller navigation bar */
.site-header {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.nav {
  min-height: 116px !important;
}

.logo {
  min-height: 100px !important;
}

/* Keep page content clear of the taller fixed navigation. */
.hero {
  padding-top: 184px !important;
}

.page-hero {
  padding-top: 178px !important;
}

.security-page-hero {
  padding-top: 156px !important;
}

@media (max-width: 980px) {
  .site-header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .nav {
    min-height: 94px !important;
  }

  .logo {
    min-height: 84px !important;
  }

  .nav-links {
    top: 114px !important;
    max-height: calc(100vh - 130px) !important;
  }

  .hero {
    padding-top: 152px !important;
  }

  .security-page-hero {
    padding-top: 150px !important;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 90px !important;
  }

  .logo {
    min-height: 80px !important;
  }

  .nav-links {
    top: 110px !important;
  }

  .hero {
    padding-top: 174px !important;
  }

  .page-hero {
    padding-top: 156px !important;
  }
}

@media (max-width: 560px) {
  .security-page-hero {
    padding-top: 140px !important;
  }
}

@media (max-width: 420px) {
  .nav {
    min-height: 84px !important;
  }

  .logo {
    min-height: 74px !important;
  }

  .nav-links {
    top: 104px !important;
  }

  .hero {
    padding-top: 136px !important;
  }

  .page-hero {
    padding-top: 144px !important;
  }
}

/* Extra-large navigation, logo and action buttons */
.site-header {
  padding: 16px 22px !important;
}

.nav {
  min-height: 142px !important;
  gap: 28px !important;
}

.logo {
  min-height: 124px !important;
}

.brand-logo,
.logo img,
img.brand-logo {
  width: 450px !important;
  max-width: 450px !important;
  max-height: 108px !important;
}

.nav-main-links {
  gap: 25px !important;
  margin-left: clamp(42px, 5vw, 92px) !important;
}

.nav-main-links a {
  font-size: 1.12rem !important;
  line-height: 1.15 !important;
}

.nav-action-links {
  gap: 16px !important;
}

.nav-support,
.nav-cta,
.dialteams-button {
  min-height: 64px !important;
  padding: 0 30px !important;
  font-size: 1.08rem !important;
  border-radius: 18px !important;
}

/* Keep page content below the enlarged fixed header. */
.hero {
  padding-top: 220px !important;
}

.page-hero {
  padding-top: 208px !important;
}

.security-page-hero {
  padding-top: 184px !important;
}

@media (max-width: 1450px) {
  .nav {
    min-height: 132px !important;
    gap: 22px !important;
  }

  .logo {
    min-height: 114px !important;
  }

  .brand-logo,
  .logo img,
  img.brand-logo {
    width: 400px !important;
    max-width: 400px !important;
    max-height: 98px !important;
  }

  .nav-main-links {
    margin-left: 28px !important;
    gap: 20px !important;
  }

  .nav-main-links a {
    font-size: 1.02rem !important;
  }

  .nav-support,
  .nav-cta,
  .dialteams-button {
    min-height: 60px !important;
    padding: 0 24px !important;
    font-size: 1rem !important;
  }

  .hero {
    padding-top: 208px !important;
  }

  .page-hero {
    padding-top: 198px !important;
  }
}

@media (max-width: 1180px) {
  .site-header {
    padding: 14px 18px !important;
  }

  .nav {
    min-height: 118px !important;
    gap: 18px !important;
  }

  .logo {
    min-height: 102px !important;
  }

  .brand-logo,
  .logo img,
  img.brand-logo {
    width: 330px !important;
    max-width: 330px !important;
    max-height: 86px !important;
  }

  .nav-main-links {
    margin-left: 10px !important;
    gap: 15px !important;
  }

  .nav-main-links a {
    font-size: 0.96rem !important;
  }

  .nav-support,
  .nav-cta,
  .dialteams-button {
    min-height: 56px !important;
    padding: 0 20px !important;
    font-size: 0.95rem !important;
  }

  .hero {
    padding-top: 190px !important;
  }

  .page-hero {
    padding-top: 184px !important;
  }

  .security-page-hero {
    padding-top: 172px !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 12px 16px !important;
  }

  .nav {
    min-height: 110px !important;
  }

  .logo {
    min-height: 96px !important;
  }

  .brand-logo,
  .logo img,
  img.brand-logo {
    width: min(330px, calc(100vw - 128px)) !important;
    max-width: min(330px, calc(100vw - 128px)) !important;
    max-height: 82px !important;
  }

  .menu-toggle {
    min-width: 78px !important;
    min-height: 54px !important;
    padding: 11px 16px !important;
    font-size: 1rem !important;
    border-radius: 14px !important;
  }

  .nav-links {
    top: 134px !important;
    max-height: calc(100vh - 150px) !important;
    padding: 20px !important;
  }

  .nav-links a,
  .nav-main-links a,
  .nav-action-links a {
    padding: 16px 18px !important;
    font-size: 1.05rem !important;
  }

  .nav-support,
  .nav-cta,
  .dialteams-button {
    min-height: 58px !important;
  }

  .hero {
    padding-top: 178px !important;
  }

  .page-hero {
    padding-top: 174px !important;
  }

  .security-page-hero {
    padding-top: 166px !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 14px !important;
  }

  .nav {
    min-height: 104px !important;
  }

  .logo {
    min-height: 92px !important;
  }

  .brand-logo,
  .logo img,
  img.brand-logo {
    width: min(285px, calc(100vw - 118px)) !important;
    max-width: min(285px, calc(100vw - 118px)) !important;
    max-height: 76px !important;
  }

  .menu-toggle {
    min-width: 74px !important;
    min-height: 52px !important;
    padding: 10px 14px !important;
    font-size: 0.98rem !important;
  }

  .nav-links {
    top: 124px !important;
    left: 12px !important;
    right: 12px !important;
    max-height: calc(100vh - 140px) !important;
  }

  .hero {
    padding-top: 168px !important;
  }

  .page-hero {
    padding-top: 162px !important;
  }

  .security-page-hero {
    padding-top: 158px !important;
  }
}

@media (max-width: 420px) {
  .nav {
    min-height: 96px !important;
  }

  .logo {
    min-height: 84px !important;
  }

  .brand-logo,
  .logo img,
  img.brand-logo {
    width: min(230px, calc(100vw - 108px)) !important;
    max-width: min(230px, calc(100vw - 108px)) !important;
    max-height: 68px !important;
  }

  .menu-toggle {
    min-width: 68px !important;
    min-height: 50px !important;
    padding: 10px 12px !important;
    font-size: 0.92rem !important;
  }

  .nav-links {
    top: 116px !important;
    max-height: calc(100vh - 132px) !important;
  }

  .hero {
    padding-top: 154px !important;
  }

  .page-hero {
    padding-top: 152px !important;
  }

  .security-page-hero {
    padding-top: 150px !important;
  }
}

/* Homepage hero refresh: full photo background with a larger video centred below the title */
.home-page-hero {
  position: relative;
  isolation: isolate;
  min-height: 1040px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("Images/stock/home-hero-office.webp");
  background-size: cover;
  background-position: center 42%;
}

.home-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 9, 19, 0.92) 0%, rgba(3, 12, 25, 0.78) 44%, rgba(3, 11, 22, 0.60) 100%),
    linear-gradient(180deg, rgba(3, 10, 20, 0.36), rgba(3, 10, 20, 0.70));
}

.home-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 73% 48%, rgba(56, 189, 248, 0.14), transparent 34%);
  pointer-events: none;
}

.home-page-hero .home-hero-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: clamp(34px, 4vw, 52px);
}

.home-page-hero .home-hero-copy {
  width: 100%;
  max-width: 980px;
  text-align: center;
  justify-self: center;
}

.home-page-hero h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(3rem, 5vw, 5.25rem);
  line-height: 1.02;
  text-wrap: balance;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.78);
}

.home-page-hero h1 .home-title-accent {
  background: linear-gradient(135deg, #7dd3fc, #c4b5fd 60%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-page-hero .lead {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  color: #edf6ff;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.82);
}

.home-page-hero .hero-actions {
  justify-content: center;
}

.home-hero-video {
  width: 100%;
  max-width: 940px;
  justify-self: center;
}

.home-video-frame {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background: rgba(5, 14, 28, 0.42);
  box-shadow: 0 30px 85px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(12px);
}

.home-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 19px;
  background: #000000;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .home-page-hero {
    min-height: 970px;
  }

  .home-page-hero .home-hero-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-page-hero .home-hero-copy {
    max-width: 900px;
  }

  .home-page-hero h1 {
    max-width: 900px;
    font-size: clamp(2.8rem, 5.2vw, 4.7rem);
  }

  .home-page-hero .lead {
    max-width: 760px;
    font-size: 1.1rem;
  }

  .home-hero-video {
    max-width: 860px;
  }
}

@media (max-width: 980px) {
  .home-page-hero {
    min-height: 0;
    padding-bottom: 74px;
    background-position: 48% center;
  }

  .home-page-hero::before {
    background: linear-gradient(180deg, rgba(2, 9, 19, 0.88), rgba(3, 11, 23, 0.76));
  }

  .home-page-hero .home-hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-page-hero .home-hero-copy {
    max-width: 760px;
  }

  .home-page-hero h1 {
    max-width: 760px;
    font-size: clamp(2.8rem, 7.6vw, 4.7rem);
  }

  .home-page-hero .lead {
    max-width: 690px;
    font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  }

  .home-hero-video {
    max-width: 760px;
  }
}

@media (max-width: 560px) {
  .home-page-hero {
    padding-right: 16px;
    padding-bottom: 54px;
    padding-left: 16px;
    background-position: 46% center;
  }

  .home-page-hero .home-hero-layout {
    gap: 28px;
  }

  .home-page-hero h1 {
    font-size: clamp(2.3rem, 10.8vw, 3.45rem);
  }

  .home-page-hero .lead {
    font-size: 1rem;
  }

  .home-video-frame {
    padding: 7px;
    border-radius: 20px;
  }

  .home-video {
    border-radius: 14px;
  }

  .home-page-hero .hero-actions {
    margin-top: 28px;
  }
}


/* Homepage hero order: title, video, description */
.home-page-hero .home-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-page-hero .home-hero-copy > .home-hero-video {
  margin: clamp(30px, 3.5vw, 48px) auto clamp(28px, 3vw, 42px);
}

.home-page-hero .home-hero-copy > .lead {
  margin-top: 0;
}

@media (max-width: 560px) {
  .home-page-hero .home-hero-copy > .home-hero-video {
    margin-top: 24px;
    margin-bottom: 24px;
  }
}


/* Keep the homepage headline to two balanced lines on desktop. */
.home-page-hero h1 {
  width: 100%;
  max-width: 1180px;
  font-size: clamp(2.65rem, 3.35vw, 3.3rem);
}

.home-page-hero h1 .home-title-line {
  display: block;
  color: inherit;
  background: none;
  white-space: nowrap;
  -webkit-text-fill-color: currentColor;
}

.home-page-hero h1 .home-title-accent {
  display: inline;
  background: linear-gradient(135deg, #7dd3fc, #c4b5fd 60%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 980px) {
  .home-page-hero h1 {
    max-width: 760px;
    font-size: clamp(2.45rem, 7vw, 3.2rem);
  }

  .home-page-hero h1 .home-title-line {
    display: inline;
    white-space: normal;
  }

  .home-page-hero h1 .home-title-line + .home-title-line::before {
    content: " ";
  }
}

@media (max-width: 560px) {
  .home-page-hero h1 {
    font-size: clamp(2.3rem, 10.8vw, 3.45rem);
  }
}
