/*
Theme Name: UCC New
Template: UCC
*/
:root {
  --bg: #f5f3ee;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --ink: #0f172a;
  --muted: #506070;
  --line: rgba(15, 23, 42, 0.1);
  --accent: #0f766e;
  --accent-dark: #0b5a54;
  --navy: #10233d;
  --sand: #ece5d8;
  --shadow: 0 22px 60px rgba(16, 35, 61, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(16, 35, 61, 0.12), transparent 28%),
    radial-gradient(circle at 50% 18%, rgba(236, 229, 216, 0.85), transparent 22%),
    linear-gradient(180deg, #f9f7f2 0%, var(--bg) 100%);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 6.75rem 0 4rem;
}

.topbar {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), var(--max-width));
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 1.15rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2.1rem;
  box-shadow: 0 14px 40px rgba(16, 35, 61, 0.08);
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-logo {
  width: clamp(10.2rem, 20vw, 14.2rem);
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.brand-copy {
  font-size: 0.85rem;
  font-weight: 700;
  color: #55697f;
  margin-left: 0.2rem;
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  color: #55697f;
  font-size: 1.16rem;
  font-weight: 700;
}

.topbar .main-nav a,
.topbar .brand-copy {
  color: #55697f !important;
}

.topbar .main-nav a:visited,
.topbar .main-nav a:active,
.topbar .main-nav a:focus,
.topbar .main-nav a:hover,
.text-link:hover {
  color: #55697f !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.topbar .button,
.topbar .button:visited,
.topbar .button:active,
.topbar .button:focus,
.topbar .button:hover {
  color: #ffffff !important;
}

body.ucc-home-template .topbar .main-nav a,
body.ucc-home-template .topbar .main-nav a:link,
body.ucc-home-template .topbar .main-nav a:visited,
body.ucc-home-template .topbar .main-nav a:hover,
body.ucc-home-template .topbar .main-nav a:active,
body.ucc-home-template .topbar .main-nav a:focus,
body.ucc-home-template .topbar .brand-copy,
body.ucc-home-template .hero-actions .text-link,
body.ucc-home-template .hero-actions .text-link:link,
body.ucc-home-template .hero-actions .text-link:visited,
body.ucc-home-template .hero-actions .text-link:hover,
body.ucc-home-template .hero-actions .text-link:active,
body.ucc-home-template .hero-actions .text-link:focus {
  color: #55697f !important;
}

body.ucc-home-template .topbar .button,
body.ucc-home-template .topbar .button:link,
body.ucc-home-template .topbar .button:visited,
body.ucc-home-template .topbar .button:hover,
body.ucc-home-template .topbar .button:active,
body.ucc-home-template .topbar .button:focus,
body.ucc-home-template .hero-actions .button,
body.ucc-home-template .hero-actions .button:link,
body.ucc-home-template .hero-actions .button:visited,
body.ucc-home-template .hero-actions .button:hover,
body.ucc-home-template .hero-actions .button:active,
body.ucc-home-template .hero-actions .button:focus {
  color: #ffffff !important;
}

.button-small {
  padding: 0.72rem 1.05rem;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 4.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
  gap: 2rem;
  align-items: center;
  min-height: 82vh;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10% 42% 8% -4%;
  border-radius: 2.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.2)),
    linear-gradient(140deg, rgba(255, 243, 231, 0.82), rgba(93, 193, 207, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: -1;
  box-shadow: 0 30px 80px rgba(16, 35, 61, 0.06);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 40px rgba(16, 35, 61, 0.08);
}

.hero-badge-logo {
  width: clamp(7rem, 14vw, 10rem);
  height: auto;
  display: block;
}

.hero-badge strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  line-height: 1.2;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-copy h1,
.section-heading h2,
.split-copy h2,
.cta-section h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
}

.hero-text,
.section-heading p,
.info-card p,
.product-card p,
.process-step p,
.proof-card p,
.split-copy p,
.cta-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 60ch;
  margin: 1.5rem 0 2rem;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.text-link {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

.text-link:visited,
.text-link:active,
.text-link:focus {
  color: #0f172a;
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1rem 0 auto auto;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.12);
  filter: blur(6px);
}

.panel-card,
.info-card,
.product-card,
.process-step,
.proof-card,
.insight-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-md) - 2px);
  margin-bottom: 1rem;
}

.panel-card {
  padding: 2rem;
}

.panel-title,
.info-card h3,
.product-card h3,
.process-step h3,
.proof-card h3,
.insight-card h3 {
  margin: 0 0 0.85rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.28rem;
}

.check-list,
.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.stat-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(16, 35, 61, 0.08);
}

.stat-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.stat-card span {
  color: var(--muted);
  line-height: 1.55;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
}

.trust-strip p {
  margin: 0;
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  max-width: 60rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.split-copy h2,
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.insight-card {
  padding: 1.8rem;
}

.alt-section {
  margin: 0 -1.5rem;
  padding-inline: 1.5rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.5);
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  min-height: 16rem;
  padding: 1.6rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 244, 245, 0.95)),
    var(--surface-strong);
}

.card-tag {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.process-section {
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.process-step {
  padding: 1.6rem;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.proof-stack {
  display: grid;
  gap: 1rem;
}

.proof-card {
  padding: 1.6rem;
}

.industry-grid {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.industry-chip {
  padding: 0.9rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.insight-meta {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.25rem;
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    linear-gradient(120deg, var(--navy), #0e3b46);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-section h2,
.cta-copy h2 {
  color: #ffffff;
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-copy {
  max-width: 46rem;
}

.contact-details {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-details p {
  margin: 0;
}

.contact-details strong {
  color: #fff;
}

.contact-details,
.contact-details p,
.contact-details br {
  color: rgba(255, 255, 255, 0.94);
}

.contact-details a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.18em;
}

.contact-details a + a {
  margin-left: 1rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 0.25rem;
  color: #314968;
  background: transparent;
  font-size: 0.98rem;
}

.site-footer p {
  margin: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #1f3551;
  font-weight: 700;
}

.social-links a:hover {
  color: var(--accent);
}

.social-links svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.floating-whatsapp {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #61d669, #25d366);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.35);
}

.floating-whatsapp:hover {
  background: linear-gradient(180deg, #52cb5c, #1db954);
  color: #ffffff;
  transform: translateY(-1px);
}

.floating-whatsapp svg {
  width: 2.2rem;
  height: 2.2rem;
  display: block;
}

.quote-modal {
  position: fixed;
  inset: 0;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 1rem;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 50;
}

.quote-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
}

.quote-modal__dialog {
  position: relative;
  width: min(70%, 700px);
  max-height: none;
  overflow: visible;
  padding: 0.85rem;
  margin: 1.25rem auto;
  border-radius: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 238, 0.98));
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.24);
}

.quote-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 35, 61, 0.08);
  color: var(--navy);
  font-size: 1.2rem;
  cursor: pointer;
}

.quote-modal__intro {
  max-width: 42rem;
  margin-bottom: 0.45rem;
}

.quote-modal__intro h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.quote-modal__intro p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.quote-form {
  display: grid;
  gap: 0.55rem;
}

.quote-alert {
  margin: 0 0 0.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.quote-alert--success {
  background: rgba(37, 211, 102, 0.14);
  color: #17653b;
}

.quote-alert--error {
  background: rgba(220, 38, 38, 0.12);
  color: #9f1239;
}

.quote-form__grid {
  display: grid;
  gap: 0.55rem;
}

.quote-form__consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: -0.1rem;
}

.quote-form__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-form__grid label,
.quote-form__full {
  display: grid;
  gap: 0.35rem;
  width: 100%;
}

.quote-form__grid span,
.quote-form__full span {
  font-weight: 700;
  font-size: 0.92rem;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.62rem 0.78rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.94rem;
}

.quote-form textarea {
  resize: vertical;
  min-height: 3.2rem;
}

.quote-form__full,
.quote-form__consent,
.quote-form__actions {
  width: 100%;
}

.quote-form__actions {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
  margin-top: -0.1rem;
}

.quote-form__actions p,
.quote-form__consent span {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .split-section,
  .cta-section {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    border-radius: 2rem;
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .hero::before {
    inset: 6% 0 4% 0;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .trust-strip,
  .three-up,
  .product-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 680px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 6.25rem;
  }

  .topbar {
    top: 0.5rem;
    width: calc(100% - 1rem);
    padding: 0.8rem 0.95rem;
  }

  .main-nav {
    display: none;
  }

  .brand-logo {
    width: min(12rem, 58vw);
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-badge {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .trust-strip,
  .three-up,
  .product-grid,
  .process-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .alt-section {
    margin: 0;
    padding-inline: 0;
    background: transparent;
  }

  .cta-section {
    padding: 1.6rem;
  }

  .quote-modal__dialog {
    width: min(100%, 700px);
    padding: 0.9rem;
    border-radius: 1.2rem;
    margin: 0.75rem auto;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
    width: 3.7rem;
    height: 3.7rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote-form__grid {
    grid-template-columns: 1fr;
  }
}
