/* ==========================================================================
   Solutions CODEVEX — Custom UI/UX Layer (Aigocy Theme Alignment + WCAG AA)
   ========================================================================== */

:root {
  --cdx-bg: #EDECEC;
  --cdx-surface: #FFFFFF;
  --cdx-surface-soft: #F4F4F5;
  --cdx-ink: #18181B;
  --cdx-muted: #52525B;
  --cdx-brand: #FD3A25;
  --cdx-brand-ink: #C92613; /* >= 5.2:1 contrast on white / #F4F4F5 */
  --cdx-border: #E4E4E7;
  --cdx-dark: #09090B;
  --cdx-dark-2: #18181B;
  --cdx-radius-lg: 40px;
  --cdx-radius-md: 24px;
  --cdx-radius-sm: 16px;
}

body {
  font-family: "Inter", "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--cdx-ink);
  background-color: var(--cdx-bg);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6,
.heading-title, .tf-btn, .tf-btn-2, .item-link {
  font-family: "Urbanist", "Inter", sans-serif;
}

/* Override styles.css br hiding on < 991px inside structured content blocks */
.cdx-prose br,
.cdx-footer br,
.contact-item br,
.cdx-card br,
.cdx-entity-card br,
.cdx-legal-summary br {
  display: inline;
}

/* Skip Link & Keyboard Focus */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--cdx-dark);
  color: #FFFFFF;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  color: #FFFFFF;
}

:focus-visible {
  outline: 3px solid var(--cdx-brand);
  outline-offset: 3px;
}

/* Header & Navigation */
.tf-header {
  position: relative;
  z-index: 900;
}

.tf-header.header2 .header-inner {
  max-width: min(1140px, calc(100% - 32px));
  padding: 8px 10px 8px 26px;
  gap: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 30px rgba(9, 9, 11, 0.06);
}

.tf-header .header-inner .logo-site {
  margin-right: 8px;
}

.tf-header .header-inner .logo-site img {
  height: 26px;
  width: auto;
}

.nav-menu-main {
  gap: 20px;
}

.nav-menu-main .item-link {
  white-space: nowrap;
  font-size: 15px;
  padding: 6px 0;
  color: var(--cdx-ink);
}

.nav-menu-main .item-link.active,
.nav-menu-main .item-link:hover {
  color: var(--cdx-brand-ink);
}

.tf-header .tf-btn:not(.mobile-menu) {
  white-space: nowrap;
  padding: 12px 22px;
  font-size: 15px;
  flex-shrink: 0;
}

.tf-header .mobile-menu {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Services Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 4px 6px;
  font-size: 11px;
  color: var(--cdx-ink);
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s ease, color 0.18s ease;
}

.nav-dropdown-caret:hover {
  color: var(--cdx-brand-ink);
}

.nav-dropdown.is-open .nav-dropdown-caret,
.nav-dropdown:hover .nav-dropdown-caret {
  transform: rotate(180deg);
}

button.accordion-action {
  width: 100%;
  text-align: left;
  display: block;
}

.cdx-legal-summary {
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--cdx-surface-soft);
  border: 1px solid var(--cdx-border);
  font-size: 15px;
  line-height: 1.55;
}

.cdx-legal-summary-title {
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cdx-brand-ink);
  margin-bottom: 10px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 290px;
  padding: 12px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid var(--cdx-border);
  box-shadow: 0 24px 60px rgba(9, 9, 11, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cdx-ink);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  background-color: var(--cdx-surface-soft);
  color: var(--cdx-brand-ink);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--cdx-border);
  margin: 6px 8px;
}

@media (max-width: 1099px) {
  .tf-header .box-navigation,
  .tf-header .header-desktop-cta {
    display: none !important;
  }
  .tf-header .mobile-menu {
    display: flex !important;
  }
  .tf-header {
    margin-bottom: -104px;
    padding-top: 28px;
  }
  .tf-header .header-inner {
    max-width: unset !important;
    margin: 0 20px;
    padding: 8px 10px 8px 20px;
  }
}

@media (min-width: 1100px) {
  .tf-header .mobile-menu {
    display: none !important;
  }
}

/* Mobile Offcanvas Drawer Contrast */
.offcanvas-menu {
  background-color: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(18px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.offcanvas-menu.show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.offcanvas-menu .canvas_head .logo-site {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #FFFFFF;
  border-radius: 999px;
}

.offcanvas-menu .canvas_head .logo-site img {
  height: 22px;
  width: auto;
}

.offcanvas-menu .mb-menu-link {
  font-size: 28px;
  line-height: 36px;
  color: #FFFFFF;
  padding: 8px 0;
  pointer-events: auto;
}

.offcanvas-menu .mb-menu-link:hover {
  color: var(--cdx-brand);
}

.offcanvas-menu .sub-nav-menu {
  padding: 6px 0 12px 16px;
}

.offcanvas-menu .sub-nav-link {
  font-size: 16px;
  line-height: 24px;
  padding: 6px 0;
  color: #D4D4D8 !important;
}

.offcanvas-menu .sub-nav-link:hover {
  color: #FFFFFF !important;
}

.offcanvas-menu .btn-mobile-menu {
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 600;
}

/* Hero Section */
.section-hero .hero-image {
  background-attachment: scroll;
}

.section-hero .content-wrap {
  padding: 168px 0 116px;
  position: relative;
  z-index: 2;
}

.section-hero.v1 .content-wrap {
  padding: 156px 0 76px;
}

.section-hero .content-wrap .sub {
  color: var(--cdx-brand-ink);
  font-size: 15px;
}

.cdx-hero-title {
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--cdx-ink);
  margin-bottom: 22px;
}

.cdx-hero-desc {
  max-width: 660px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.6;
  color: #3F3F46;
}

.cdx-hero-trust {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cdx-muted);
  letter-spacing: 0.01em;
}

.cdx-hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 960px;
  margin: 40px auto 0;
  text-align: left;
}

.cdx-hero-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(9, 9, 11, 0.06);
}

.cdx-hero-card .step-idx {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cdx-brand-ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cdx-hero-card .step-name {
  font-family: "Urbanist", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--cdx-ink);
  margin-bottom: 4px;
}

.cdx-hero-card p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--cdx-muted);
  margin: 0;
}

@media (max-width: 991px) {
  .cdx-hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .cdx-hero-cards {
    grid-template-columns: 1fr;
  }
  .section-hero .content-wrap {
    padding: 128px 0 88px;
  }
  .section-hero.v1 .content-wrap {
    padding: 122px 0 56px;
  }
}

/* Breadcrumbs inside v1 Hero */
.cdx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cdx-muted);
  margin-bottom: 20px;
}

.cdx-breadcrumb a {
  color: var(--cdx-ink);
}

.cdx-breadcrumb a:hover {
  color: var(--cdx-brand-ink);
  text-decoration: underline;
}

/* Section Typography & Headings */
.heading-section .heading-sub {
  color: var(--cdx-brand-ink);
  font-size: 15px;
}

.heading-section .heading-title {
  color: var(--cdx-ink);
}

.box-black .heading-section .heading-title {
  color: #FFFFFF;
}

.box-black .heading-section .heading-sub.style-1 {
  color: #FF7B6B;
}

/* Tactile Bento / Cards */
.cdx-card {
  background-color: var(--cdx-surface-soft);
  border-radius: 32px;
  padding: 32px;
  height: 100%;
  box-shadow: 0px 7.77px 16px 0px rgba(0, 0, 0, 0.05), 0px 3px 3px 0px rgba(0, 0, 0, 0.08), 0px -8px 0px 0px rgba(0, 0, 0, 0.04) inset, 0px 4px 0px 0px rgba(255, 255, 255, 0.6) inset;
  display: flex;
  flex-direction: column;
}

.cdx-card.is-white {
  background-color: #FFFFFF;
}

.cdx-card.is-dark {
  background: radial-gradient(62.56% 62.56% at 28.14% -10.42%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(0deg, #18181B, #18181B);
  color: #FFFFFF;
  box-shadow: 0px 7.77px 2.21px 0px rgba(0, 0, 0, 0.06), 0px 3px 3px 0px rgba(0, 0, 0, 0.1), 0px -8px 0px 0px #2E2E2E inset, 0px 4px 0px 0px rgba(255, 255, 255, 0.25) inset;
}

.cdx-card.is-dark p,
.cdx-card.is-dark li {
  color: #D4D4D8;
}

@media (max-width: 991px) {
  .cdx-card {
    padding: 24px;
    border-radius: 26px;
  }
  .cdx-card h2,
  .cdx-card h3,
  .cdx-card .h5 {
    overflow-wrap: break-word;
  }
}

@media (max-width: 575px) {
  .cdx-card {
    padding: 22px 20px;
    border-radius: 24px;
  }
}

.cdx-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  text-align: left;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: #FFFFFF;
  color: var(--cdx-brand-ink);
  border: 1px solid var(--cdx-border);
  margin-bottom: 16px;
}

.cdx-card.is-dark .cdx-badge-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #FF8C7D;
  border-color: rgba(255, 255, 255, 0.15);
}

.cdx-price-tag {
  font-family: "Urbanist", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--cdx-ink);
  margin: 14px 0 6px;
}

.cdx-card.is-dark .cdx-price-tag {
  color: #FFFFFF;
}

.cdx-price-sub {
  font-size: 14px;
  color: var(--cdx-muted);
  margin-bottom: 20px;
}

.cdx-card.is-dark .cdx-price-sub {
  color: #A1A1AA;
}

/* Check Lists */
.cdx-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.cdx-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #27272A;
}

.cdx-list li .icon-check-solid,
.cdx-list li .cdx-dot-icon {
  color: var(--cdx-brand-ink);
  flex-shrink: 0;
  margin-top: 4px;
  font-size: 15px;
}

/* About Globe Card Entity Block (Homepage visible legal & address block) */
.section-about-us .col-left {
  padding: 56px 32px 0;
}

.cdx-entity-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 12px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  position: relative;
  z-index: 6;
}

.cdx-entity-card .cdx-entity-row {
  font-size: 15px;
  line-height: 1.5;
  color: #E4E4E7;
  margin-bottom: 6px;
}

.cdx-entity-card .cdx-entity-row:last-child {
  margin-bottom: 0;
}

.cdx-entity-card strong {
  color: #FFFFFF;
  font-weight: 600;
}

.cdx-entity-card a {
  color: #FF8C7D;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cdx-entity-card a:hover {
  color: #FFFFFF;
}

/* Services Interactive Preview Card on Homepage */
.cdx-services-preview {
  position: relative;
  margin-top: 32px;
  padding: 28px;
  border-radius: 28px;
  background: var(--cdx-surface-soft);
  border: 1px solid var(--cdx-border);
  box-shadow: 0px 7.77px 16px 0px rgba(0, 0, 0, 0.04), 0px -6px 0px 0px rgba(0, 0, 0, 0.04) inset;
  transition: opacity 0.2s ease;
}

.cdx-services-preview .cdx-preview-kicker {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cdx-brand-ink);
  margin-bottom: 8px;
}

.cdx-services-preview .cdx-preview-price {
  font-family: "Urbanist", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--cdx-ink);
  margin-bottom: 8px;
}

.cdx-services-preview .cdx-preview-desc {
  font-size: 16px;
  color: var(--cdx-muted);
  margin-bottom: 16px;
}

/* Tables */
.cdx-table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid var(--cdx-border);
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(9, 9, 11, 0.04);
}

.cdx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.cdx-table th {
  background: var(--cdx-surface-soft);
  color: var(--cdx-ink);
  font-weight: 700;
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--cdx-border);
}

.cdx-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--cdx-border);
  color: #27272A;
  vertical-align: top;
}

.cdx-table tr:last-child td {
  border-bottom: none;
}

.cdx-table tr:hover td {
  background: #FAFAFA;
}

/* Process Swiper */
.cdx-process-swiper {
  overflow: hidden;
  padding: 10px 4px 28px;
}

.process-card .icon {
  margin-bottom: 48px;
}

.process-card .content {
  margin-bottom: 48px;
}

.group-btn-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-prev-swiper,
.nav-next-swiper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #27272A;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #18181B;
  transition: all 0.2s ease;
}

.nav-prev-swiper:hover,
.nav-next-swiper:hover {
  background: var(--cdx-brand);
  border-color: var(--cdx-brand);
  color: #FFFFFF;
}

.nav-prev-swiper.swiper-button-disabled,
.nav-next-swiper.swiper-button-disabled {
  opacity: 0.38;
  pointer-events: none;
}

/* Contact Info Frosted Cards over Background */
.section-contact .contact-item {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  padding: 14px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.section-contact .contact-item .icon {
  flex-shrink: 0;
}

.section-contact .text-secondary {
  color: #27272A !important;
}

/* Form Styles (override styles.css select reset!) */
.section-contact .form-contact {
  margin-left: 0;
  margin-right: 0;
}

select,
option {
  box-sizing: border-box;
}

.form-contact label {
  display: block;
  color: var(--cdx-ink);
  margin-bottom: 8px !important;
}

form.form-contact input[type="text"],
form.form-contact input[type="email"],
form.form-contact input[type="url"],
form.form-contact input[type="tel"],
form.form-contact textarea,
form.form-contact select {
  box-sizing: border-box !important;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 13px 16px;
  border-radius: 14px !important;
  border: 1px solid #D4D4D8;
  background-color: #FFFFFF;
  color: var(--cdx-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  box-shadow: none;
  cursor: text;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form.form-contact select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
}

form.form-contact input[type="text"]:focus,
form.form-contact input[type="email"]:focus,
form.form-contact input[type="url"]:focus,
form.form-contact input[type="tel"]:focus,
form.form-contact textarea:focus,
form.form-contact select:focus {
  border-color: var(--cdx-brand);
  box-shadow: 0 0 0 3px rgba(253, 58, 37, 0.16);
  outline: none;
}

form.form-contact input[type="text"].is-invalid,
form.form-contact input[type="email"].is-invalid,
form.form-contact input[type="url"].is-invalid,
form.form-contact input[type="tel"].is-invalid,
form.form-contact textarea.is-invalid,
form.form-contact select.is-invalid {
  border-color: var(--cdx-brand-ink);
  background-color: #FFF5F5;
}

.cdx-field-error {
  color: var(--cdx-brand-ink);
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
  min-height: 20px;
}

.cdx-optional-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cdx-brand-ink);
  background: transparent;
  padding: 6px 0;
  margin-bottom: 14px;
  cursor: pointer;
}

.cdx-optional-toggle:hover {
  text-decoration: underline;
}

.cdx-optional-panel {
  padding: 18px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid var(--cdx-border);
  margin-bottom: 18px;
}

.cdx-form-status {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}

.cdx-form-status.is-error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.cdx-form-status.is-success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.cdx-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Blog & Article Prose */
.cdx-article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  font-size: 15px;
  color: var(--cdx-muted);
  margin-top: 16px;
}

.cdx-prose {
  max-width: 780px;
  margin: 0 auto;
}

.cdx-prose h2 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--cdx-ink);
}

.cdx-prose h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--cdx-ink);
}

.cdx-prose p {
  font-size: 17px;
  line-height: 1.65;
  color: #27272A;
  margin-bottom: 18px;
}

.cdx-prose ul {
  margin: 16px 0 24px;
  display: grid;
  gap: 10px;
}

.cdx-prose ul li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: #27272A;
}

.cdx-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cdx-brand);
}

.cdx-prose a {
  color: var(--cdx-brand-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cdx-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.cdx-filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  background: var(--cdx-surface-soft);
  color: var(--cdx-ink);
  border: 1px solid var(--cdx-border);
  cursor: pointer;
}

.cdx-filter-btn.is-active,
.cdx-filter-btn:hover {
  background: var(--cdx-ink);
  color: #FFFFFF;
  border-color: var(--cdx-ink);
}

/* Footer */
footer.cdx-footer {
  background-color: #FFFFFF;
  border-radius: 40px 40px 0 0;
  margin: 40px 16px 0;
  padding: 64px 0 28px;
  box-shadow: 0 -6px 30px rgba(9, 9, 11, 0.04);
}

@media (max-width: 991px) {
  footer.cdx-footer {
    margin: 28px 12px 0;
    border-radius: 28px 28px 0 0;
  }
}

.cdx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.85fr 1.25fr;
  gap: 36px;
  padding-bottom: 44px;
}

@media (max-width: 991px) {
  .cdx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .cdx-footer-grid {
    grid-template-columns: 1fr;
  }
}

.cdx-footer-logo img {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
}

.cdx-footer-heading {
  font-family: "Urbanist", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cdx-muted);
  margin-bottom: 16px;
}

.cdx-footer-links {
  display: grid;
  gap: 10px;
}

.cdx-footer-links a,
.cdx-footer-links button {
  font-size: 15px;
  font-weight: 600;
  color: var(--cdx-ink);
  text-align: left;
  padding: 0;
}

.cdx-footer-links a:hover,
.cdx-footer-links button:hover {
  color: var(--cdx-brand-ink);
}

.cdx-footer-legal-box {
  font-size: 15px;
  line-height: 1.55;
  color: #3F3F46;
}

.cdx-footer-legal-box a {
  color: var(--cdx-brand-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cdx-footer-bottom {
  border-top: 1px solid var(--cdx-border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  font-size: 14px;
  color: var(--cdx-muted);
}

.cdx-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.cdx-footer-legal-links a,
.cdx-footer-legal-links button {
  font-size: 14px;
  font-weight: 600;
  color: var(--cdx-ink);
  padding: 0;
  cursor: pointer;
}

.cdx-footer-legal-links a:hover,
.cdx-footer-legal-links button:hover {
  color: var(--cdx-brand-ink);
}

/* Cookie Banner & Modal (Law 25) */
.cdx-cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 28px;
  border-radius: 28px;
  background: #FFFFFF;
  border: 1px solid var(--cdx-border);
  box-shadow: 0 24px 64px rgba(9, 9, 11, 0.22);
  z-index: 2500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cdx-cookie-banner[hidden] {
  display: none !important;
}

.cdx-cookie-copy {
  flex: 1 1 340px;
}

.cdx-cookie-copy h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cdx-cookie-copy p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--cdx-muted);
  margin: 0;
}

.cdx-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cdx-cookie-actions .tf-btn,
.cdx-cookie-actions .tf-btn-2 {
  padding: 11px 18px;
  font-size: 14px;
  cursor: pointer;
}

.cdx-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.65);
  backdrop-filter: blur(6px);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cdx-modal-backdrop[hidden] {
  display: none !important;
}

.cdx-modal {
  width: 100%;
  max-width: 580px;
  background: #FFFFFF;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.cdx-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cdx-modal-head h2 {
  font-size: 24px;
  font-weight: 700;
}

.cdx-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cdx-surface-soft);
  color: var(--cdx-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

.cdx-consent-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--cdx-surface-soft);
  border: 1px solid var(--cdx-border);
  margin-bottom: 12px;
}

.cdx-consent-row strong {
  display: block;
  font-size: 16px;
  color: var(--cdx-ink);
  margin-bottom: 4px;
}

.cdx-consent-row p {
  font-size: 14px;
  color: var(--cdx-muted);
  margin: 0;
}

.cdx-consent-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--cdx-border);
  color: var(--cdx-ink);
  white-space: nowrap;
}

.cdx-switch {
  width: 48px;
  height: 28px;
  accent-color: var(--cdx-brand);
  cursor: pointer;
  flex-shrink: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
