@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@400;500;600;700;800&family=Merriweather:wght@300;400;700&display=swap');

@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&icon_names=border_color,box,counter_1,counter_2,counter_3,credit_card,indeterminate_question_box,mobile_charge,outgoing_mail,phone_in_talk,stacks,timer,upload");

/* ====================================================================
   Branded Contigo - styles
   ==================================================================== */

/* ── Scroll fade-in ─────────────────────────────────────────────────
   Add class="fade-in" to any container to opt in.
   Siblings with .fade-in inside the same parent get auto-staggered.
   ─────────────────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

:root {
  --text: #212121;
  --text-sub: #3d3d3d;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --line: #d2d2d7;
  --brand: #55d4f4;
  --brand-2: #21819c;
  --accent: #28b3a5;
  --warn: #3f3f3f;
  --danger: #c74b2f;
}

body {
  font-family: 'Merriweather', Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 700;
  color: var(--text);
  font-family: 'Dosis', -apple-system, "system-ui", sans-serif;
  text-transform: uppercase;
}

h1 {
  font-size: 56px;
  line-height: 1.1;
}

h2 {
  font-size: 36px;
  line-height: 1.15;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 1em;
}

.contain {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

/* ---------- header ---------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #000;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
  width: 250px;
}

nav#mainNav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav#mainNav a {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .01em;
  font-family: 'Dosis', -apple-system, "system-ui", sans-serif;
  text-transform: uppercase;
}

nav#mainNav a:hover {
  color: var(--brand);
  text-decoration: none;
}

nav#mainNav a.btn-quote {
  background: var(--brand-2);
  color: #fff;
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 600;
}

nav#mainNav a.btn-quote:hover {
  background: var(--brand);
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 34px;
  height: 34px;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: .25s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 90;
}

.nav-backdrop.active {
  display: block;
}

main {
  padding-top: 80px;
}

[id] {
  scroll-margin-top: 80px;
}

/* ---------- hero ---------- */

.hero-wrapper {
  background: url(../images/light-texture-lg.jpg) no-repeat center center;
  background-size: cover;
  padding: 40px 0;
  position: relative;
}

.hero-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
}

.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 650px;
  aspect-ratio: 1;
}

.hero-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .9s ease;
  background: transparent;
  padding: 0;
}

.hero-carousel .carousel-slide.active {
  opacity: 1;
}

.hero-carousel .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-headline {
  font-size: 45px;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.hero-description {
  font-size: 18px;
  color: #000;
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 26px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border: 0;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  font-family: 'Dosis', -apple-system, "system-ui", sans-serif;
  text-decoration: none;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--brand-2);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand);
  text-decoration: none;
  color: #fff;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ---------- contact form ---------- */

.inline-icon {
  vertical-align: bottom;
  margin-right: 10px;
  font-size: 1.5rem;
}

.contact-section {
  padding: 90px 0;
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 34px;
  align-items: start;
}

.contact-intro h2 {
  font-size: 35px;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.contact-intro p {
  color: var(--text-sub);
  font-size: 17px;
  line-height: 1.55;
  max-width: 440px;
}

.contact-info {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 0;
  border-color: var(--brand-2);
}

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

/* ---------- footer ---------- */

footer {
  background: var(--text);
  color: #fff;
  padding: 50px 0 24px;
}

footer .contain {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

footer .contain > div:nth-child(2) {
  grid-column: 3;
}

footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 700;
}

footer p,
footer a {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}

footer .legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.6;
}

/* ---------- collection ---------- */

.collection {
  padding: 40px 0 60px 0;
}

.collection-intro {
  font-size: 18px;
  margin-bottom: 40px;
}

.collection-img {
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #eaeaea;
}

.collection-detail p {
  margin: 25px 0;
  text-align: center;
}

/* ---------- why / features ---------- */

.why-section {
  background: url(../images/why-contigo-bg-lg-light.jpg) no-repeat center center;
  background-size: cover;
  color:#000;
}

.why-overlay {
  padding: 120px 0;
}

.why-img-mobile {
  display: none;
}

.why-section h2,
.why-section p {
  color: #000;
}

/* ---------- process ---------- */

.process-section {
  padding: 90px 0;
  background: url(../images/dark-texture-lg.jpg) no-repeat center center;
  background-size: cover;
}

.process-section h2,
.process-section h3,
.process-section p {
  color: #fff;
}

.section-heading {
  text-align: center;
  font-size: 36px;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.process-step {
  border-radius: 18px;
  padding: 24px 0 0 0;
  text-align: center;
}

.process-step .step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 45px;
  margin-bottom: 16px;
  font-family: 'Dosis', -apple-system, "system-ui", sans-serif;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 16px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.faq-section {
  padding: 60px 0 80px 0;
  background: var(--brand-2);
}

.faq-section .section-heading {
  margin-left: auto;
  margin-right: auto;
  font-size: 32px;
  color: #fff;
}

.faq-list {
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #fff;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  font-family: 'Dosis', -apple-system, "system-ui", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
  font-size: 20px;
}

.faq-q:hover {
  color: var(--bg-soft);
}

.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.faq-icon::before {
  width: 2px;
  height: 18px;
  top: 0;
  left: 8px;
}

.faq-icon::after {
  width: 18px;
  height: 2px;
  top: 8px;
  left: 0;
}

.faq-item.open .faq-icon::before {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-item.open .faq-a {
  max-height: 600px;
}

.faq-a > div {
  padding-bottom: 22px;
}

.faq-a p {
  color: #fff;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* ---------- success overlay (form submission) ---------- */

.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 29, 31, .9);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.success-overlay.visible {
  display: flex;
}

.success-box {
  background: #fff;
  border-radius: 24px;
  padding: 50px 40px;
  max-width: 480px;
  text-align: center;
}

.success-box .check {
  width: 70px;
  height: 70px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
}

.success-box h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.success-box p {
  color: var(--text-sub);
  margin-bottom: 24px;
}

/* ---------- mobile ---------- */

@media (max-width: 992px) {

  .hero-headline,
  .hero-description {
    text-align: center;
  }

  .hero-description {
    max-width: none;
  }

  .hero-wrapper .btn-lg {
    display: block;
    margin: 0 auto;
  }

  .hero-ctas {
    padding-bottom: 40px;
  }

  .why-section {
    background: none;
  }

  .why-section h2,
  .why-section p {
    color: #000;
  }

  .why-overlay {
    background: none;
    padding: 60px 0 20px;
    text-align: center;
    background: #f5f6f8;
  }

  .why-img-mobile {
    display: block;
    width: 100%;
    height: 500px;
    background: url(../images/why-contigo-bg-mobile.jpg) no-repeat top left;
    background-size: cover;
  }
}

@media (max-width: 840px) {

  h1,
  .hero-headline {
    font-size: 35px;
  }

  h2 {
    font-size: 28px;
  }

  nav#mainNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #1e1e1e;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 30px 30px;
    transition: right .25s;
    gap: 24px;
    text-align: center;
  }

  nav#mainNav.open {
    right: 0;
  }

  nav#mainNav a.btn-quote {
    text-align: center;
  }

  .hamburger {
    display: block;
  }

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

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  footer .contain {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  footer .contain > div:nth-child(2) {
    grid-column: auto;
  }

}

@media (max-width: 540px) {
  .collection-detail .col-6 {
    width: 100%;
  }
}
