:root {
  --red: #d9070f;
  --dark: #383838;
  --gray-1: #ededed;
  --gray-2: #e0e0e0;
  --white: #ffffff;

  --container: 1100px;
  --radius: 999px;

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--dark);
  background: var(--white);
}

img { max-width: 100%; display: block; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal--up {
  transform: translateY(24px);
}
.reveal--up.is-visible {
  transform: translateY(0);
}
.reveal--side {
  transform: translateX(-28px);
}
.reveal--side.is-visible {
  transform: translateX(0);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
}

.brand-text strong { letter-spacing: 0.5px; }
.brand-text span { letter-spacing: 2px; font-size: 12px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 16px; }
.nav-lang { display: none; gap: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--dark);
  margin: 4px auto;
  border-radius: 2px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.8px;
  color: var(--dark);
  opacity: 0.8;
  padding: 10px 8px;
  border-radius: 12px;
  transition: 0.2s ease;
}
.nav-link:hover { opacity: 1; }
.nav-link.is-active { opacity: 1; }
.nav-close { display: none; }


/* Lang dropdown */
.lang { position: relative; }
.lang-btn {
  background: var(--red);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.6px;
}
.chev { font-size: 10px; opacity: 0.8; }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
  min-width: 90px;
}
.lang-menu.is-open { display: block; }
.lang-item {
  /* width: 100%; */
  border: 0;
  background: transparent;
  padding: 10px 10px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}
.lang-item:hover { background: rgba(0,0,0,0.05); }
.lang-item.is-active {
  background: rgba(0, 0, 0, 0.08);
}

/* Hero */
.hero {
  padding: 90px 0 80px;
  background: linear-gradient(120deg, rgba(7, 7, 7, 0.7), rgba(7, 7, 7, 0.2)),
    url("assets/fibre-one-hero-02.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: 0.5px;
  font-weight: 900;
}
.accent { color: var(--red); }

.hero-sub {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hero-copy {
  text-align: right;
  max-width: 540px;
}
.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.hero .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    filter 0.22s ease;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}
.btn:active {
  transform: translateY(-1px) scale(0.985);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { filter: brightness(1.08) saturate(1.08); }

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: rgba(0,0,0,0.16);
}
.btn-ghost:hover {
  border-color: rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.06);
}

.btn-wide { width: 100%; padding: 13px 18px; }

/* Circular image frames */
.circle-frame {
  width: 400px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin-left: auto;
  /* border: 6px solid #d9070e; */
  box-shadow: var(--shadow);
  background: var(--gray-1);
}
.circle-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Band */
.band {
  padding: 70px 0;
  background: var(--gray-1);
}

/* Sections */
.section { padding: 70px 0; }
.section-title {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 900;
  /* letter-spacing: 1.6px; */
  text-transform: uppercase;
  text-align: center;
}
.section-title.underline {
  display: table;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 3px;
  border-bottom: 10px solid var(--red);
}
.section-lead {
  margin: 0;
  color: rgba(56, 56, 56, 0.7);
  max-width: 80ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* About */
.section-about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, var(--gray-2), transparent 38%),
    radial-gradient(circle at 90% 0%, var(--gray-1), transparent 34%),
    #f7f6f4;
}
.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  margin-bottom: 26px;
}
.about-hero-copy {
  padding: 34px 30px;
}
.about-hero-copy .section-title.underline {
  margin-left: 0;
  margin-right: 0;
  display: inline-block;
}
.about-hero-media {
  min-height: 100%;
  display: grid;
}
.about-image-frame {
  min-height: 250px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(217, 7, 15, 0.14);
  background: #f0ece8;
  box-shadow: 0 20px 46px rgba(24, 10, 5, 0.12);
}
.about-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}
.about-grid {
  display: grid;
  gap: 20px;
}
.about-tagline {
  margin: 0 0 14px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--red);
  text-transform: none;
}
.about-content {
  max-width: 72ch;
  margin: 0;
  color: rgba(56, 56, 56, 0.75);
  text-align: left;
}
.about-block {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 48px;
  margin: 0;
  box-shadow: 0 16px 38px rgba(30, 12, 7, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}
.about-block:nth-child(odd) .about-block-content {
  order: 2;
}
.about-block:nth-child(odd) .about-block-media {
  order: 1;
}
.about-block-wide {
  grid-template-columns: 0.85fr 1.15fr;
}
.about-block .about-image-frame {
  min-height: 220px;
}
.about-block h2 {
  margin: 0 0 12px;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--red);
}
.about-block p {
  margin: 0 0 14px;
  line-height: 1.65;
  color: rgba(56, 56, 56, 0.75);
}
.about-list {
  margin: 0 0 14px 20px;
  padding: 0;
  color: rgba(56, 56, 56, 0.84);
  line-height: 1.6;
}
.about-list li {
  margin-bottom: 8px;
}
.about-signoff-wrap {
  margin-top: 24px;
  background: linear-gradient(145deg, #2e2e2e, #404040);
  border-radius: 18px;
  padding: 26px 48px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.about-signoff-btn {
  order: 2;
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.about-signoff-btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  filter: none;
}
.about-signoff-copy {
  order: 1;
  max-width: 68ch;
  text-align: left;
}
.about-signoff-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.15;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.about-signoff {
  margin: 0;
  text-align: left;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.9);
}

/* Team */
.section-team {
  background: var(--white);
}
.team-group {
  margin-top: 32px;
}
.team-subtitle {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--red);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.team-grid--management {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.team-grid--technicians {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.team-card {
  background: transparent;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.team-avatar {
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.team-avatar img {
  width: 90%;
  border-radius: 999px;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}
.team-card:hover .team-avatar img {
  filter: grayscale(0);
}
.team-card--tech {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}
.team-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--dark);
}
.team-card p {
  margin: 0;
  font-size: 15px;
  color: rgba(56, 56, 56, 0.7);
}
/* Why Fibre One */
.section-why {
  background: #f2efea;
}
.why-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 28px;
}
.section-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.why-card {
  background: #e6e2dd;
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
  color: var(--red);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.why-card:nth-child(odd) {
  background: var(--red);
  color: var(--white);
}
.why-card-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
}
.why-card svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.why-card h3 {
  margin: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.why-card p {
  margin: 0;
  color: rgba(56, 56, 56, 0.75);
  font-size: 12px;
  line-height: 1.4;
}
.why-card:nth-child(odd) p {
  color: rgba(255, 255, 255, 0.85);
}

/* Activities list */
.section-activities { background: var(--white); padding-top: 60px; }
.activities { 
  /* margin-top: 44px; */
  display: grid;
  /* gap: 46px; */
  margin: 44px 100px 0px; 
}

.activity {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10%;
}

.activity--swap {
  grid-template-columns: auto 1fr;
}
.activity--swap .activity-text { order: 2; }
.activity--swap .activity-media { order: 1; }

.activity-text h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: right;
  font-weight: 900;
}
.activity-text p {
  margin: 0;
  color: rgba(56, 56, 56, 0.7);
  max-width: 60ch;
  text-align: right;
}
.activity--swap .activity-text h3,
.activity--swap .activity-text p {
  text-align: left;
}
.activity-media img {
  width: 100%;
  max-width: 360px;
  height: auto;
}

/* Contact */
.section-contact {
  padding-bottom: 40px;
  background: var(--gray-1);
}
.contact-page .section-contact {
  background: var(--white);
}
.contact-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.contact-copy h3 {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.25;
  color: var(--red);
  text-align: right;
  font-weight: 800;
}
.contact-copy p {
  margin: 0;
  color: rgba(56,56,56,0.7);
  text-align: right;
}
.contact-phone {
  color: var(--red);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}

.contact-form {
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--gray-2);
  padding: 12px 14px;
  background: transparent;
  outline: none;
  margin-bottom: 12px;
  font: inherit;
}
.contact-form textarea {
  border-radius: 10px;
  resize: vertical;
  min-height: 140px;
}

.form-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(56,56,56,0.7);
}

/* Footer */
.site-footer {
  background: linear-gradient(to bottom, #b3060d 0%, var(--red) 45%, var(--red) 100%);
  color: var(--white);
  padding: 120px 0 20px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-name { font-size: 14px; letter-spacing: 0.8px; }
.footer-values { font-size: 12px; opacity: 0.9; margin-top: 2px; }

.footer-meta small { opacity: 0.92; }

/* Responsive */
@media (max-width: 920px) {
  .hero-inner { justify-content: flex-end; }
  .circle-frame { margin: 18px 0 0; width: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-hero {
    grid-template-columns: 1fr;
  }
  .about-block,
  .about-block-wide {
    grid-template-columns: 1fr;
  }
  .about-block .about-block-content,
  .about-block .about-block-media {
    order: initial;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
  }
  body { padding-top: 72px; }
  .nav-toggle { display: inline-block; }
  .nav { margin-left: auto; }
  .nav-toggle {
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
  }
  .nav-toggle:focus-visible { outline: none; }
  .nav-list {
    position: fixed;
    right: 0;
    top: 0;
    width: 75vw;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: var(--red);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 0;
    padding: 90px 18px 18px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
    z-index: 40;
  }
  .nav-list.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-close {
    display: flex;
    justify-content: flex-end;
    margin: -70px 0 12px;
  }
  .nav-close-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
  }
  .nav-link { padding: 12px 14px; font-size: 24px; }
  .lang { display: none; }
  .nav-lang {
    display: flex;
    /* justify-content: center; */
    gap: 8px;
    padding: 6px 10px;
  }
  .nav-lang .lang-item {
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    font-size: 12px;
    color: var(--white);
  }
  .nav-lang .lang-item.is-active {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.75);
  }
  .nav-link {
    color: var(--white);
  }
  .nav-link.nav-pill {
    background: rgba(255,255,255,0.14);
  }

  .activities {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }
  .activity,
  .activity--swap {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .activity .activity-media { order: 1; }
  .activity .activity-text { order: 2; }
  .activity-text h3,
  .activity-text p {
    text-align: center;
  }
  .activity--swap .activity-text h3,
  .activity--swap .activity-text p {
    text-align: center;
  }
  .activity-media img {
    margin: 0 auto;
    max-width: 60vw;
  }
  .activities { margin: 32px 0 0; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-copy h3,
  .contact-copy p {
    text-align: center;
  }
  .about-hero-copy {
    padding: 24px 20px;
  }
  .about-hero-copy .section-title.underline {
    margin-left: auto;
    margin-right: auto;
    display: table;
  }
  .about-tagline,
  .about-content,
  .about-signoff,
  .about-signoff-title {
    text-align: center;
  }
  .about-block {
    padding: 20px;
  }
  .about-image-frame,
  .about-block .about-image-frame {
    min-height: 180px;
  }
  .about-image-frame img {
    min-height: 180px;
  }
  .about-signoff-wrap {
    padding: 22px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .about-signoff-copy {
    margin-left: 0;
    max-width: none;
    text-align: center;
  }
  .about-signoff-btn {
    width: 100%;
  }
}
