:root {
  --cream: #fffaf2;
  --paper: #ffffff;
  --sand: #fff0d8;
  --sand-deep: #ffe1b8;
  --orange: #ff8a22;
  --coral: #ff675d;
  --amber: #ffc857;
  --purple: #8569df;
  --mint: #25a995;
  --ink: #2b2435;
  --muted: #6d6377;
  --line: #f1d7c2;
  --shadow-soft: 0 16px 40px rgba(132, 76, 36, 0.13);
  --shadow-hover: 0 22px 56px rgba(132, 76, 36, 0.18);
  --radius-card: 8px;
  --radius-pill: 999px;
  --section-space: clamp(4rem, 7vw, 6.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 240, 216, 0.72), rgba(255, 250, 242, 0) 410px),
    var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a:hover {
  color: var(--coral);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.navbar-sunbyte {
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid rgba(241, 215, 194, 0.8);
  backdrop-filter: blur(14px);
}

.navbar-brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-right: 0.5rem;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 138, 34, 0.28);
}

.navbar-nav .nav-link,
.dropdown-item {
  color: var(--muted);
  font-weight: 700;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link,
.dropdown-item:hover,
.dropdown-item.active {
  color: var(--orange);
}

.dropdown-menu {
  border: 1px solid rgba(241, 215, 194, 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.navbar-toggler {
  border: 0;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 138, 34, 0.22);
}

.section {
  padding: var(--section-space) 0;
}

.section-tight {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.section-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 240, 216, 0.6));
  border-top: 1px solid rgba(241, 215, 194, 0.6);
  border-bottom: 1px solid rgba(241, 215, 194, 0.6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 138, 34, 0.12);
  color: #9b4c10;
  padding: 0.35rem 0.8rem;
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
}

.section-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.06rem;
}

.text-muted-soft {
  color: var(--muted);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  padding: clamp(5.5rem, 9vw, 8.5rem) 0 clamp(4rem, 6vw, 5.5rem);
  background-image:
    linear-gradient(90deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.91) 42%, rgba(255, 240, 216, 0.62) 68%, rgba(255, 240, 216, 0.15) 100%),
    url("../img/hero.jpg");
  background-position: center right;
  background-size: cover;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12rem;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0), var(--cream));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.hero-title {
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 5.65rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero-lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.35rem;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(241, 215, 194, 0.9);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  box-shadow: 0 10px 22px rgba(132, 76, 36, 0.08);
  font-weight: 800;
}

.proof-pill i {
  color: var(--orange);
}

.btn {
  border-radius: var(--radius-pill);
  font-weight: 800;
  letter-spacing: 0;
  padding: 0.82rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sun {
  border: 0;
  background: linear-gradient(135deg, var(--orange), var(--coral));
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 103, 93, 0.28);
}

.btn-sun:hover,
.btn-sun:focus {
  color: #fff;
  box-shadow: 0 18px 36px rgba(255, 103, 93, 0.35);
}

.btn-soft {
  border: 1px solid rgba(241, 215, 194, 0.95);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.btn-soft:hover,
.btn-soft:focus {
  border-color: rgba(255, 138, 34, 0.38);
  background: #fff;
  color: var(--orange);
  box-shadow: 0 12px 26px rgba(132, 76, 36, 0.12);
}

.card-soft {
  height: 100%;
  border: 1px solid rgba(241, 215, 194, 0.82);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card-soft:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 34, 0.42);
  box-shadow: var(--shadow-hover);
}

.service-card,
.advantage-card,
.blog-card,
.portfolio-card {
  padding: 1.35rem;
}

.icon-box {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(255, 138, 34, 0.16), rgba(133, 105, 223, 0.13));
  color: var(--orange);
  font-size: 1.25rem;
}

.icon-box.purple {
  color: var(--purple);
}

.icon-box.mint {
  color: var(--mint);
}

.card-soft h3,
.card-soft h2 {
  color: var(--ink);
  font-weight: 850;
  letter-spacing: 0;
}

.card-soft p {
  color: var(--muted);
}

.image-lift {
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.image-lift img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.about-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--muted);
  font-weight: 650;
}

.about-list i {
  margin-top: 0.3rem;
  color: var(--mint);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-step {
  position: relative;
  min-height: 185px;
  padding: 1.25rem;
  border: 1px solid rgba(241, 215, 194, 0.9);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 12px 28px rgba(132, 76, 36, 0.1);
}

.workflow-step span {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #fff;
  font-weight: 900;
}

.workflow-step h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
  font-weight: 850;
}

.workflow-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.portfolio-card {
  overflow: hidden;
  padding: 0;
}

.portfolio-card img,
.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.portfolio-card .card-body,
.blog-card .card-body {
  padding: 1.35rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: rgba(133, 105, 223, 0.12);
  color: #5b43bd;
  padding: 0.32rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.tag.orange {
  background: rgba(255, 138, 34, 0.14);
  color: #9b4c10;
}

.tag.mint {
  background: rgba(37, 169, 149, 0.13);
  color: #167d6e;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, #ff8a22 0%, #ff675d 55%, #8569df 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 3.8rem);
  box-shadow: var(--shadow-hover);
}

.cta-band h2 {
  font-weight: 900;
  letter-spacing: 0;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
}

.cta-band .btn-soft {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.page-hero {
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 4.5rem);
  background:
    linear-gradient(135deg, rgba(255, 240, 216, 0.96), rgba(255, 226, 221, 0.72) 52%, rgba(236, 226, 255, 0.66)),
    var(--sand);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.page-hero p {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.13rem;
}

.advantage-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
}

.advantage-card .icon-box {
  margin-bottom: 0;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric-item {
  border: 1px solid rgba(241, 215, 194, 0.9);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.88);
  padding: 1.25rem;
}

.metric-item strong {
  display: block;
  color: var(--orange);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
}

.metric-item span {
  color: var(--muted);
  font-weight: 700;
}

.contact-panel {
  border: 1px solid rgba(241, 215, 194, 0.9);
  border-radius: var(--radius-card);
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.form-label {
  color: var(--ink);
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 3.2rem;
  border-color: rgba(241, 215, 194, 1);
  border-radius: 14px;
  color: var(--ink);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 138, 34, 0.18);
}

textarea.form-control {
  min-height: 150px;
}

.success-message {
  display: none;
  border-radius: var(--radius-card);
  background: rgba(37, 169, 149, 0.12);
  color: #116f62;
  padding: 0.85rem 1rem;
  font-weight: 800;
}

.success-message.is-visible {
  display: block;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.85rem;
  align-items: start;
}

.contact-list i {
  display: inline-flex;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 138, 34, 0.13);
  color: var(--orange);
}

.legal-content {
  max-width: 940px;
  margin: 0 auto;
  border: 1px solid rgba(241, 215, 194, 0.86);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(1.25rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-soft);
}

.legal-content h2 {
  margin-top: 2rem;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 850;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 1.25rem;
}

.footer {
  background: #fff6e8;
  border-top: 1px solid rgba(241, 215, 194, 0.92);
  padding: 4rem 0 1.4rem;
}

.footer h2,
.footer h3 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
}

.footer p,
.footer li,
.footer small {
  color: var(--muted);
}

.footer ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  color: var(--muted);
  font-weight: 650;
}

.footer a:hover {
  color: var(--orange);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  color: var(--orange);
  box-shadow: 0 8px 18px rgba(132, 76, 36, 0.09);
}

.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(241, 215, 194, 0.8);
  padding-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(255, 138, 34, 0.45);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(255, 240, 216, 0.86)),
      url("../img/hero.jpg");
    background-position: center bottom;
  }

  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .section,
  .section-tight {
    padding: 3.5rem 0;
  }

  .hero-title {
    font-size: clamp(2.5rem, 15vw, 4.1rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .advantage-card {
    grid-template-columns: 1fr;
  }

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
