/*
Theme Name: Cellnex Õigusbüroo
Theme URI: https://cellnex.eu/
Author: Instech.ee
Description: First block theme version for Cellnex Õigusbüroo and accounting services. By Instech.ee
Version: 1.1.5
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: cellnex-oigusburoo
*/

:root {
  --cx-blue: #61add6;
  --cx-navy: #0d3557;
  --cx-ink: #171717;
  --cx-muted: #5d6672;
  --cx-soft: #f7fbfd;
  --cx-line: rgba(13, 53, 87, 0.14);
  --cx-warm: #f4f1ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--cx-ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.cx-wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

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

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

.cx-brand img {
  display: block;
  width: auto;
  max-width: 260px;
  max-height: 66px;
}

.cx-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cx-nav a {
  text-decoration: none;
}

.cx-nav a:hover,
.cx-nav a:focus {
  color: var(--cx-blue);
}

.cx-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13,53,87,0.88), rgba(13,53,87,0.60)),
    radial-gradient(circle at 80% 15%, rgba(97,173,214,0.40), transparent 34%),
    linear-gradient(135deg, #0d3557, #163f62);
  color: #ffffff;
}

.cx-hero::after {
  content: "§";
  position: absolute;
  right: 7vw;
  top: -0.22em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: min(46vw, 520px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.075);
  pointer-events: none;
}

.cx-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 580px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
  padding-block: clamp(84px, 9vw, 132px);
}

.cx-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 26px;
  color: #9ed4ef;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cx-eyebrow::before {
  content: "";
  display: block;
  width: 58px;
  height: 1px;
  background: #9ed4ef;
}

.cx-title {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(48px, 8.2vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.cx-title span {
  color: #9ed4ef;
}

.cx-lead {
  margin: 30px 0 0;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5;
}

.cx-hero-card {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  padding: clamp(28px, 4vw, 46px);
  backdrop-filter: blur(6px);
}

.cx-hero-card h2 {
  margin: 0 0 22px;
  color: #9ed4ef;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cx-hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cx-hero-card li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
}

.cx-hero-card li:last-child {
  border-bottom: 0;
}

.cx-section {
  padding-block: clamp(72px, 8vw, 118px);
}

.cx-section-soft {
  background: var(--cx-soft);
  border-block: 1px solid var(--cx-line);
}

.cx-section-head {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  margin-bottom: 54px;
}

.cx-kicker {
  margin: 0;
  color: var(--cx-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cx-section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.052em;
  font-weight: 400;
}

.cx-copy {
  margin: 18px 0 0;
  color: var(--cx-muted);
  font-size: 18px;
  max-width: 780px;
}

.cx-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--cx-line);
  border-left: 1px solid var(--cx-line);
}

.cx-service {
  min-height: 230px;
  padding: 32px;
  border-right: 1px solid var(--cx-line);
  border-bottom: 1px solid var(--cx-line);
  background: #ffffff;
}

.cx-service-number {
  margin: 0 0 24px;
  color: var(--cx-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.cx-service h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 400;
}

.cx-service p {
  margin: 0;
  color: var(--cx-muted);
}

.cx-about-grid,
.cx-contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
}

.cx-text p {
  color: var(--cx-muted);
  font-size: 18px;
  margin: 0 0 22px;
}

.cx-panel {
  border: 1px solid rgba(97,173,214,0.32);
  background: #ffffff;
  padding: clamp(30px, 4vw, 48px);
}

.cx-panel h3 {
  margin: 0 0 24px;
  color: var(--cx-blue);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cx-panel p {
  margin: 0 0 16px;
  color: var(--cx-muted);
}

.cx-panel strong {
  color: var(--cx-ink);
}

.cx-footer {
  border-top: 1px solid var(--cx-line);
  padding: 32px 0 44px;
  color: var(--cx-muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .cx-header-inner,
  .cx-section-head,
  .cx-hero-inner,
  .cx-about-grid,
  .cx-contact-grid {
    grid-template-columns: 1fr;
  }

  .cx-header-inner {
    display: grid;
  }

  .cx-nav {
    justify-content: flex-start;
  }

  .cx-services {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .cx-wrap {
    width: min(100% - 32px, 1180px);
  }

  .cx-services {
    grid-template-columns: 1fr;
  }

  .cx-brand img {
    max-width: 230px;
  }

  .cx-nav {
    gap: 14px;
  }

  .cx-hero-inner {
    min-height: auto;
  }
}


/* Cellnex Õigusbüroo v1.0.4 — supplied logo and homepage image */
.cx-brand img {
  max-width: 360px;
  max-height: 82px;
}

.cx-hero-image {
  margin: 0;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.08);
  padding: 12px;
}

.cx-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 640px) {
  .cx-brand img {
    max-width: 280px;
  }
}


/* Cellnex Õigusbüroo v1.0.5 — versioned logo file to bypass old Media Library asset */
.cx-brand img {
  max-width: 360px;
  max-height: 82px;
}


/* Cellnex Õigusbüroo v1.0.9 — corrected premium hero layout */
.cx-hero {
  background:
    radial-gradient(circle at 82% 8%, rgba(97,173,214,0.22), transparent 28%),
    radial-gradient(circle at 22% 70%, rgba(97,173,214,0.12), transparent 34%),
    linear-gradient(135deg, #071d33 0%, #0d3557 48%, #123f63 100%);
}

.cx-hero-inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.88fr);
  gap: clamp(54px, 7vw, 112px);
  min-height: 640px;
}

.cx-hero-brand {
  margin: 0 0 28px;
}

.cx-hero-brand img {
  display: block;
  width: min(620px, 100%);
  height: auto;
  filter: brightness(0) invert(1);
}

.cx-hero-service-title {
  margin: 34px 0 20px;
  color: #9ed4ef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.cx-hero-divider {
  width: min(520px, 100%);
  height: 1px;
  background: rgba(158, 212, 239, 0.42);
  margin: 30px 0 34px;
  position: relative;
}

.cx-hero-divider::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ed4ef;
}

.cx-title {
  display: none;
}

.cx-lead {
  margin-top: 0;
  max-width: 690px;
}

.cx-hero-image {
  width: min(560px, 100%);
  justify-self: end;
  padding: 12px;
  border: 1px solid rgba(158,212,239,0.40);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(0,0,0,0.30);
}

.cx-hero-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 920px) {
  .cx-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cx-hero-image {
    justify-self: start;
    width: min(620px, 100%);
  }

  .cx-hero-brand img {
    width: min(540px, 100%);
  }
}

@media (max-width: 640px) {
  .cx-hero-brand img {
    width: 100%;
  }

  .cx-hero-service-title {
    font-size: 30px;
  }
}


/* Cellnex Õigusbüroo v1.1.0 — restore sharp blue Cellnex text hero */
.cx-hero-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.85fr);
  gap: clamp(56px, 7vw, 108px);
  min-height: 640px;
}

.cx-title,
.cx-title.cx-title-refined {
  display: block !important;
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.cx-title-refined .cx-cellnex-word {
  display: block;
  color: #9ed4ef;
  font-size: clamp(72px, 8.4vw, 126px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.cx-title-refined .cx-service-line {
  display: block;
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(38px, 4.9vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.cx-hero-brand {
  display: none !important;
}

.cx-hero-service-title {
  display: none !important;
}

.cx-hero-divider {
  display: none !important;
}

.cx-lead {
  margin-top: 24px;
  max-width: 700px;
}

.cx-hero-image {
  width: min(560px, 100%);
  justify-self: end;
  padding: 12px;
  border: 1px solid rgba(158,212,239,0.40);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(0,0,0,0.30);
}

.cx-hero-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 920px) {
  .cx-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cx-hero-image {
    justify-self: start;
    width: min(620px, 100%);
  }
}

@media (max-width: 640px) {
  .cx-title-refined .cx-cellnex-word {
    font-size: clamp(58px, 18vw, 86px);
  }

  .cx-title-refined .cx-service-line {
    font-size: clamp(30px, 10vw, 44px);
  }
}


/* Cellnex Õigusbüroo v1.1.1 — services page, pricing and search-friendly structure */
.cx-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cx-button a,
.cx-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--cx-blue);
  background: var(--cx-blue);
  color: #071d33 !important;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}

.cx-button-outline a,
.cx-button-outline .wp-block-button__link {
  background: transparent;
  color: var(--cx-blue) !important;
}

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

.cx-service-number {
  display: none !important;
}

.cx-service h3 {
  min-height: 2.1em;
}

.cx-detail-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--cx-line);
}

.cx-detail-service {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) 1fr;
  gap: clamp(26px, 5vw, 72px);
  padding: clamp(30px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--cx-line);
}

.cx-detail-service h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.cx-detail-service p {
  margin: 0;
  color: var(--cx-muted);
  font-size: 18px;
}

.cx-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.cx-feature-card {
  border: 1px solid var(--cx-line);
  background: #ffffff;
  padding: clamp(28px, 4vw, 44px);
}

.cx-feature-card h3 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.cx-feature-card p {
  margin: 0;
  color: var(--cx-muted);
  font-size: 18px;
}

.cx-price-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  border: 1px solid rgba(97,173,214,0.38);
  background:
    radial-gradient(circle at 92% 12%, rgba(97,173,214,0.16), transparent 28%),
    #ffffff;
  padding: clamp(34px, 5vw, 64px);
}

.cx-price-value {
  margin: 0;
  color: var(--cx-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.cx-price-note {
  margin: 0;
  color: var(--cx-muted);
  font-size: 18px;
}

.cx-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cx-faq-item {
  border-top: 1px solid var(--cx-line);
  padding-top: 22px;
}

.cx-faq-item h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.cx-faq-item p {
  margin: 0;
  color: var(--cx-muted);
}

@media (max-width: 1100px) {
  .cx-services.cx-services-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .cx-services.cx-services-compact,
  .cx-feature-grid,
  .cx-detail-service,
  .cx-price-panel,
  .cx-faq {
    grid-template-columns: 1fr;
  }
}


/* Cellnex Õigusbüroo v1.1.2 — visual refinement, compact services and clean FAQ */
body {
  background: #ffffff;
}

.cx-header-inner {
  min-height: 78px;
}

.cx-brand img {
  max-width: 250px;
  max-height: 64px;
}

.cx-hero {
  background:
    radial-gradient(circle at 84% 16%, rgba(97,173,214,0.18), transparent 30%),
    radial-gradient(circle at 12% 48%, rgba(97,173,214,0.12), transparent 31%),
    linear-gradient(135deg, #061a2e 0%, #0d3557 52%, #174c72 100%);
}

.cx-hero::after {
  right: auto;
  left: -0.14em;
  top: 0.06em;
  color: rgba(255,255,255,0.055);
}

.cx-hero-inner {
  min-height: 600px;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 0.92fr);
  gap: clamp(50px, 6vw, 94px);
  padding-block: clamp(74px, 8vw, 112px);
}

.cx-eyebrow {
  margin-bottom: 42px;
  font-size: 12px;
  letter-spacing: 0.20em;
}

.cx-eyebrow::before {
  width: 50px;
}

.cx-title-refined .cx-cellnex-word {
  color: #9ed4ef;
  font-size: clamp(70px, 8.2vw, 118px);
  line-height: 0.92;
  font-weight: 400;
}

.cx-title-refined .cx-service-line {
  margin-top: 20px;
  color: #ffffff;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.052em;
}

.cx-lead {
  margin-top: 28px;
  max-width: 640px;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  font-weight: 400;
}

.cx-hero-image {
  width: min(610px, 100%);
  padding: 14px;
  border: 1px solid rgba(158,212,239,0.48);
  box-shadow: 0 26px 72px rgba(0,0,0,0.32);
}

.cx-hero-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cx-section {
  padding-block: clamp(56px, 6vw, 92px);
}

.cx-section-head {
  gap: clamp(20px, 3vw, 54px);
  margin-bottom: 34px;
}

.cx-section-title {
  font-size: clamp(38px, 5vw, 68px);
}

.cx-services {
  border-left: 0;
}

.cx-services.cx-services-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--cx-line);
  border-left: 0;
  gap: 0;
}

.cx-service {
  min-height: 0;
  display: grid;
  grid-template-columns: 66px 1fr;
  column-gap: 24px;
  align-items: start;
  padding: 26px 30px;
  border-right: 0;
  border-bottom: 1px solid var(--cx-line);
  background: transparent;
}

.cx-service:nth-child(odd) {
  border-right: 1px solid var(--cx-line);
}

.cx-service h3 {
  min-height: 0;
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 30px);
}

.cx-service p {
  font-size: 15.5px;
  line-height: 1.55;
}

.cx-service-icon {
  grid-row: span 2;
  margin: 2px 0 0;
  width: 50px;
  height: 50px;
}

.cx-service-icon img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.cx-service-wide {
  grid-template-columns: 66px 1fr;
  grid-column: 1 / -1;
  border-right: 0 !important;
}

.cx-service-link-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px 4px 0;
  color: var(--cx-muted);
  font-size: 15px;
}

.cx-service-link-row a {
  color: var(--cx-blue);
  font-weight: 700;
  text-decoration: none;
}

.cx-detail-list {
  border-top: 1px solid var(--cx-line);
}

.cx-detail-service {
  grid-template-columns: minmax(260px, 0.44fr) 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(26px, 3.4vw, 42px) 0;
}

.cx-detail-service h3 {
  font-size: clamp(28px, 3.1vw, 42px);
}

.cx-detail-service p {
  font-size: 17px;
  line-height: 1.62;
}

.cx-feature-grid {
  gap: clamp(20px, 3vw, 34px);
}

.cx-feature-card {
  padding: clamp(26px, 3.4vw, 40px);
}

.cx-price-panel {
  padding: clamp(30px, 4vw, 52px);
}

.cx-faq {
  display: block;
  max-width: 1040px;
}

.cx-faq-item {
  display: grid;
  grid-template-columns: 78px 1fr 34px;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--cx-line);
  padding: 22px 0;
}

.cx-faq-item::after {
  content: none !important;
  font-size: 26px;
  color: var(--cx-navy);
  line-height: 1;
}

.cx-faq-icon {
  width: 58px;
  height: 58px;
}

.cx-faq-icon img {
  display: block;
  width: 58px;
  height: 58px;
}

.cx-faq-item h3 {
  margin: 0 0 7px;
  font-size: 20px;
}

.cx-faq-item p {
  margin: 0;
  color: var(--cx-muted);
  line-height: 1.55;
}

.cx-contact-strip {
  background: linear-gradient(90deg, #f7fbfd, #ffffff);
  border-top: 1px solid var(--cx-line);
  padding: 34px 0;
}

.cx-contact-strip-inner {
  display: grid;
  grid-template-columns: 72px 1fr 1px 1.2fr;
  align-items: center;
  gap: 28px;
}

.cx-contact-icon img {
  display: block;
  width: 60px;
  height: 60px;
}

.cx-contact-address p,
.cx-contact-message p {
  margin: 0;
  color: var(--cx-muted);
  font-size: 17px;
}

.cx-contact-address strong {
  color: var(--cx-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 21px;
}

.cx-contact-separator {
  height: 70px;
  background: var(--cx-line);
}

.cx-footer {
  background: #071d33;
  color: rgba(255,255,255,0.86);
  padding: 22px 0;
  text-align: center;
}

.cx-footer .cx-wrap {
  display: block;
}

.cx-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .cx-hero-inner,
  .cx-services.cx-services-compact,
  .cx-contact-strip-inner,
  .cx-detail-service {
    grid-template-columns: 1fr;
  }

  .cx-service:nth-child(odd) {
    border-right: 0;
  }

  .cx-contact-separator {
    display: none;
  }
}

@media (max-width: 640px) {
  .cx-service,
  .cx-service-wide,
  .cx-faq-item {
    grid-template-columns: 1fr;
  }

  .cx-service-icon,
  .cx-faq-icon {
    margin-bottom: 10px;
  }
}


/* Cellnex Õigusbüroo v1.1.4 — FAQ, hero spacing and language-aware navigation fixes */
.cx-nav { gap: 20px; }

/* Hero: keep the Cellnex word intact, but move the eyebrow away from it */
.cx-eyebrow { margin-bottom: 56px !important; }
.cx-title-refined .cx-cellnex-word { padding-top: 0.04em; }

/* FAQ: remove fake accordion markers completely */
.cx-faq-item::after { content: none !important; display: none !important; }

/* FAQ rows: compact, clean, aligned */
.cx-faq { display: block; max-width: 1040px; }
.cx-faq-item {
  border-top: 1px solid var(--cx-line);
  padding: 26px 0 !important;
  min-height: 0 !important;
  align-items: start !important;
}

/* Homepage FAQ with icons */
.cx-faq-item:not(.cx-faq-plain) {
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr) !important;
  gap: 24px !important;
}
.cx-faq-icon { width: 54px !important; height: 54px !important; margin-top: 0 !important; }
.cx-faq-icon img { width: 54px !important; height: 54px !important; }

/* Service page FAQ without icons */
.cx-faq-item.cx-faq-plain {
  display: grid !important;
  grid-template-columns: minmax(310px, 0.34fr) minmax(0, 1fr) !important;
  gap: clamp(28px, 4vw, 58px) !important;
}
.cx-faq-item h3 {
  margin: 0 0 8px !important;
  font-size: clamp(19px, 1.6vw, 22px) !important;
  line-height: 1.28 !important;
}
.cx-faq-item p { margin: 0 !important; max-width: 820px; line-height: 1.55 !important; }
.cx-section .cx-faq { margin-top: 30px; }

@media (max-width: 780px) {
  .cx-faq-item,
  .cx-faq-item:not(.cx-faq-plain),
  .cx-faq-item.cx-faq-plain {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .cx-eyebrow { margin-bottom: 42px !important; }
}


/* Cellnex Õigusbüroo v1.1.5 — contact details, balanced hero spacing, service-page footer */
.cx-eyebrow {
  margin-bottom: 38px !important;
}

.cx-title-refined .cx-cellnex-word {
  padding-top: 0 !important;
}

.cx-hero-inner {
  padding-block: clamp(72px, 7.5vw, 104px);
}

.cx-contact-address p {
  line-height: 1.55;
}

.cx-contact-message p {
  max-width: 620px;
}

.cx-contact-details-extra {
  margin-top: 10px !important;
  font-size: 16px !important;
  color: var(--cx-muted);
}

.cx-contact-details-extra strong {
  color: var(--cx-ink);
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
}
