/* ============================================================
   OLLIN Corporation — Design System
   Palette: Orange #FF6600 / Gray #666666 (from brand logo)
   ============================================================ */

:root {
  --orange: #ff6600;
  --orange-dark: #e05500;
  --orange-soft: #fff1e8;
  --brand-gray: #666666;
  --ink: #1f2732;
  --body: #4b5563;
  --muted: #8b95a3;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --line: #e5e9f0;
  --dark: #1b2430;
  --dark-2: #242f3d;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(27, 36, 48, 0.08);
  --shadow-lg: 0 20px 50px rgba(27, 36, 48, 0.14);
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --header-h: 92px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.015em;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.05rem;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  margin-top: 0.9rem;
  font-size: 1.08rem;
  color: var(--body);
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 102, 0, 0.35);
}
.btn--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(27, 36, 48, 0.06);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__logo {
  position: relative;
  z-index: 101;
  align-self: flex-start;
}
.nav__logo img {
  height: 150px;
  width: auto;
  padding: 6px 12px;
  transition: height 0.25s ease, padding 0.25s ease;
}
.site-header.is-scrolled .nav__logo img {
  height: var(--header-h);
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 640px) {
  .nav__logo img {
    height: 112px;
    padding: 4px 8px;
  }
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--orange);
}
.nav__links a.nav__cta.is-active,
.nav__links a.nav__cta:hover {
  color: #fff;
}

.nav__cta {
  margin-left: 0.75rem;
}

/* Dropdown */
.has-drop {
  position: relative;
}
.has-drop > a .chev {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}
.has-drop:hover > a .chev,
.has-drop:focus-within > a .chev {
  transform: rotate(180deg);
}

.drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease,
    visibility 0.18s;
}
.has-drop:hover .drop,
.has-drop:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.drop a {
  width: 100%;
  font-size: 0.9rem;
  padding: 0.65rem 0.8rem;
}
.drop a:hover {
  background: var(--orange-soft);
}

/* Mobile nav */
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--ink);
}
.nav__toggle .icon-close {
  display: none;
}
.nav-open .nav__toggle .icon-open {
  display: none;
}
.nav-open .nav__toggle .icon-close {
  display: block;
}

@media (max-width: 960px) {
  .nav__toggle {
    display: inline-flex;
  }
  .nav__links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 1rem 4%;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
  }
  .nav-open .nav__links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__links a {
    padding: 0.8rem 0.6rem;
  }
  .nav__cta {
    margin: 0.5rem 0 0.3rem;
  }
  .has-drop {
    width: 100%;
  }
  .drop {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--orange-soft);
    border-radius: 0;
    margin: 0.1rem 0 0.4rem 0.8rem;
    padding: 0 0 0 0.6rem;
    display: none;
  }
  .has-drop.drop-open .drop {
    display: block;
  }
  .has-drop > a .chev {
    margin-left: auto;
  }
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 60%;
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none'%3E%3Ccircle cx='300' cy='300' r='290' stroke='%23FF6600' stroke-opacity='.13' stroke-width='26'/%3E%3Ccircle cx='300' cy='300' r='220' stroke='%23666666' stroke-opacity='.12' stroke-width='26'/%3E%3Ccircle cx='300' cy='300' r='150' stroke='%23FF6600' stroke-opacity='.11' stroke-width='26'/%3E%3Ccircle cx='300' cy='300' r='80' stroke='%23666666' stroke-opacity='.10' stroke-width='26'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  padding: clamp(10rem, 12vw, 11rem) 0 clamp(4.5rem, 9vw, 8rem);
  max-width: 780px;
}
.hero--inner .hero__inner {
  padding: clamp(8.5rem, 9vw, 9.5rem) 0 clamp(3rem, 6vw, 5rem);
  max-width: 820px;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero__sub {
  margin-top: 1.3rem;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--body);
  max-width: 640px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.6rem;
  list-style: none;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--ink);
}
.hero__points svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  flex: none;
}

/* ---------------- Cards ---------------- */

.grid {
  display: grid;
  gap: 1.4rem;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}
a.card {
  display: block;
  color: inherit;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #ffd4b8;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--orange);
}

.card h3 {
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.95rem;
}
.card .card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--orange);
}
.card .card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}
.card:hover .card__link svg {
  transform: translateX(4px);
}

/* ---------------- Benefits / checklist ---------------- */

.checklist {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.checklist svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  flex: none;
  margin-top: 0.15rem;
}
.checklist strong {
  color: var(--ink);
}

/* ---------------- Stats strip ---------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  text-align: center;
}
@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ---------------- Split layout ---------------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.split h2 {
  margin-bottom: 1rem;
}
.split p + p {
  margin-top: 0.9rem;
}

/* ---------------- Service detail blocks ---------------- */

.svc {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.4rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (max-width: 560px) {
  .svc {
    grid-template-columns: 1fr;
  }
}
.svc__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc__icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--orange);
}
.svc h3 {
  margin-bottom: 0.45rem;
}
.svc .svc__cta {
  margin-top: 1rem;
}

/* ---------------- Feature list (chip grid) ---------------- */

.feature-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.15rem;
  font-weight: 500;
  color: var(--ink);
  font-size: 1.08rem;
  width: min(340px, 100%);
}
.feature-list svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  flex: none;
}

/* ---------------- CTA band ---------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.6rem, 4vw, 4rem);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -8%;
  width: 45%;
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none'%3E%3Ccircle cx='300' cy='300' r='280' stroke='%23FF6600' stroke-opacity='.28' stroke-width='30'/%3E%3Ccircle cx='300' cy='300' r='200' stroke='%23FFFFFF' stroke-opacity='.10' stroke-width='30'/%3E%3Ccircle cx='300' cy='300' r='120' stroke='%23FF6600' stroke-opacity='.22' stroke-width='30'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cta-band h2 {
  position: relative;
  color: #fff;
  margin-bottom: 0.8rem;
}
.cta-band p {
  position: relative;
  color: #b8c2cf;
  max-width: 560px;
  margin: 0 auto 1.8rem;
}
.cta-band .hero__actions {
  position: relative;
  justify-content: center;
  margin-top: 0;
}

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

.faq {
  max-width: 820px;
  margin-inline: auto;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: none;
  border: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq__q svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  flex: none;
  transition: transform 0.25s ease;
}
.faq__item.open .faq__q svg {
  transform: rotate(45deg);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__a p {
  padding: 0 1.3rem 1.2rem;
  font-size: 0.95rem;
}

/* ---------------- Forms ---------------- */

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 640px) {
  .form {
    grid-template-columns: 1fr;
  }
}
.form .field--full {
  grid-column: 1 / -1;
}
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.15);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.form__note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--muted);
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ---------------- Contact info ---------------- */

.contact-info {
  display: grid;
  gap: 1rem;
}
.contact-info__item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.contact-info__item svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  flex: none;
  margin-top: 0.15rem;
}
.contact-info__item h4 {
  margin-bottom: 0.15rem;
}
.contact-info__item p {
  font-size: 0.95rem;
}

/* ---------------- Footer ---------------- */

.footer {
  background: var(--dark);
  color: #a8b3c2;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 3rem;
}
@media (max-width: 860px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__logo img {
  height: 58px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.footer p {
  font-size: 0.92rem;
}
.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.footer a {
  color: #a8b3c2;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.footer a:hover {
  color: var(--orange);
}
.footer__contact li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.92rem;
}
.footer__contact svg {
  width: 17px;
  height: 17px;
  stroke: var(--orange);
  flex: none;
  margin-top: 0.2rem;
}
.footer__bottom {
  border-top: 1px solid var(--dark-2);
  padding: 1.3rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #7d8898;
}

/* ---------------- Reveal animation ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Brand name coloring: OLLIN orange + rest gray */
.brand-ollin { color: var(--orange); font-weight: 800; }
.brand-rest { color: var(--brand-gray); font-weight: 800; }
