:root {
  --navy: #081425;
  --navy-deep: #040e1f;
  --navy-soft: #111c2d;
  --section-blue: #1f2a3c;
  --panel: rgba(20, 28, 41, 0.4);
  --gold: #d4b26d;
  --text: #c5c6cc;
  --text-bright: #d8e3fb;
  --muted: #6b7280;
  --line: rgba(69, 71, 76, 0.3);
  --line-soft: rgba(69, 71, 76, 0.2);
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--gold) var(--navy-deep);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
}

body::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: var(--navy-deep);
}

html::-webkit-scrollbar-track {
  background: var(--navy-deep);
}

body::-webkit-scrollbar-thumb {
  background: var(--gold);
  border: 2px solid var(--navy-deep);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb {
  background: var(--gold);
  border: 2px solid var(--navy-deep);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover {
  background: #e0c27f;
}

html::-webkit-scrollbar-thumb:hover {
  background: #e0c27f;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-inline: 20px;
}

.top-nav {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  height: 159px;
  background: rgba(8, 20, 37, 0.8);
  border-bottom: 1px solid rgba(69, 71, 76, 0.1);
  backdrop-filter: blur(24px);
}

.nav-inner {
  position: relative;
  height: 158px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
}

.brand img,
.footer-main img {
  width: 135px;
  height: 135px;
  object-fit: contain;
}

.menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
  flex: none;
  min-height: 30px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text);
}

.menu > a:not(.nav-cta) {
  position: relative;
  padding-bottom: 11px;
  transition: color 0.28s ease;
}

.menu > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--text-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.menu > a:not(.nav-cta).active::after,
.menu > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.menu > a:not(.nav-cta):hover {
  color: var(--text-bright);
}

.nav-cta,
.button,
.quote-card > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  overflow: hidden;
  transition: background-size 0.24s ease, color 0.24s ease;
}

.button.primary {
  background:
    linear-gradient(90deg, var(--navy) 0%, var(--navy) 100%) left / 0 100% no-repeat,
    var(--gold);
}

.button.primary:hover {
  background-size: 100% 100%, auto;
  color: var(--gold);
}

.nav-cta {
  gap: 8px;
  margin-left: auto;
  width: 147.2px;
  background: var(--gold);
  transition: background-color 0.24s ease, color 0.24s ease;
}

.nav-cta-mobile {
  display: none;
}

.nav-cta:hover {
  background: transparent;
  color: var(--gold);
}

.quote-card > button:hover,
.whatsapp-mini button[type="submit"]:hover {
  background: transparent;
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(212, 178, 109, 0.45);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.top-nav.menu-open .menu-toggle span {
  background: transparent;
}

.top-nav.menu-open .menu-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.top-nav.menu-open .menu-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.message-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
  transition: filter 0.24s ease;
}

.nav-cta:hover .message-icon {
  filter: brightness(0) saturate(100%) invert(73%) sepia(36%) saturate(507%) hue-rotate(2deg)
    brightness(91%) contrast(88%);
}

.hero {
  position: relative;
  min-height: 820px;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg,
.kairros-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero-bg {
  top: 100px;
  background-position: center right;
  background-image:
    linear-gradient(90deg, #081425 0%, rgba(8, 20, 37, 0.8) 44%, rgba(8, 20, 37, 0) 100%),
    linear-gradient(0deg, rgba(8, 20, 37, 0.76), rgba(8, 20, 37, 0.76)),
    url("./assets/images/hero-fachada.jpg");
}

.hero-grid {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: center;
  padding-block: 161px;
}

.hero-copy {
  grid-column: 1 / span 7;
  max-width: 713.33px;
  display: grid;
  gap: 24px;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--text-bright);
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  max-width: 713.33px;
  font-size: 64px;
  font-weight: 400;
  line-height: 72px;
  letter-spacing: -1.28px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 653.89px;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--text);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.button {
  min-width: 288px;
  height: 50px;
}

.button.secondary {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 100%) left / 0 100% no-repeat;
  color: var(--gold);
}

.button.secondary:hover {
  background-size: 100% 100%;
  color: var(--navy);
}

.fact-bar {
  min-height: 66px;
  background: var(--navy-soft);
  border-block: 1px solid var(--line-soft);
}

.facts {
  min-height: 66px;
  display: grid;
  grid-template-columns: repeat(6, max-content);
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  padding-block: 24px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: var(--text);
  text-align: center;
}

.facts span {
  position: relative;
}

.facts span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 3px;
  height: 3px;
  background: var(--gold);
  transform: translateY(-50%);
}

.section {
  padding-block: 120px;
}

main > section,
.footer {
  scroll-margin-top: 24px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.event-types {
  min-height: 858px;
  background: linear-gradient(180deg, #081425 0%, #091629 100%);
}

.section-stack {
  display: grid;
  gap: 80px;
}

.section-heading {
  max-width: 780px;
}

.section-heading.center {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.tech-copy h2,
.process-copy h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
  letter-spacing: 0;
}

.section-heading p {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: 0;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.event-card {
  height: 434px;
  padding: 33px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.event-card img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  margin-bottom: 24px;
}

.event-card h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0;
}

.event-card p {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
}

.event-card a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 6px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  transition: color 0.24s ease;
}

.event-card a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.event-card a:hover {
  color: #dfc080;
}

.event-card a:hover::after {
  transform: scaleX(1);
}

.event-card a img {
  flex: 0 0 auto;
  width: 10.67px;
  height: 10.67px;
  object-fit: contain;
  margin: 0;
  transform: translateY(1px);
  transition: transform 0.24s ease;
}

.event-card a:hover img {
  transform: translate(5px, 1px);
}

.technical {
  min-height: 1050.66px;
  background: var(--navy-deep);
}

.tech-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: center;
}

.tech-copy {
  grid-column: 1 / span 5;
  display: grid;
  gap: 24px;
}

.tech-photo {
  grid-column: 7 / span 6;
  justify-self: end;
  width: min(100%, 610px);
}

.tech-photo img {
  width: 100%;
  height: 760px;
  object-fit: cover;
}

.spec-list {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.spec-list article {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
}

.spec-list h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.spec-list p {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.spec-icon {
  margin-top: 6px;
  object-fit: contain;
  object-position: center top;
}

.spec-icon.vertical {
  width: 8px;
  height: 22px;
}

.spec-icon.kitchen {
  width: 15px;
  height: 24px;
}

.spec-icon.power {
  width: 16px;
  height: 24px;
}

.kairros {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.kairros-bg {
  background-position: center;
  background-image:
    linear-gradient(0deg, #081425 0%, rgba(8, 20, 37, 0.6) 60%, rgba(8, 20, 37, 0) 100%),
    linear-gradient(0deg, rgba(8, 20, 37, 0.5), rgba(8, 20, 37, 0.5)),
    url("./assets/images/rooftop.png");
}

.kairros-content {
  position: relative;
  text-align: center;
  padding-block: 176px;
}

.kairros-content h2 {
  margin-top: 10px;
  font-size: 64px;
  font-weight: 400;
  line-height: 72px;
  letter-spacing: -1.28px;
}

.kairros-content > p:not(.eyebrow) {
  max-width: 584.58px;
  margin: 18px auto 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: 0;
}

.kairros-facts {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 36px;
}

.kairros-facts strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
}

.kairros-facts .counter-number {
  display: inline-block;
  min-width: 68px;
}

.kairros-facts strong > span:not(.counter-number) {
  display: block;
  margin-top: 8px;
  color: var(--text-bright);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.process {
  min-height: 739px;
  background: var(--section-blue);
}

.process-grid {
  min-height: 499px;
}

.process-copy {
  grid-column: 1 / span 4;
  align-self: start;
}

.steps {
  position: relative;
  display: grid;
  gap: 34px;
  margin: 34px 0 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 1px;
  height: 204px;
  background: rgba(69, 71, 76, 0.3);
}

.steps li {
  position: relative;
  z-index: 1;
  counter-increment: step;
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 16px;
}

.steps li::before {
  content: counter(step);
  width: 24px;
  min-width: 24px;
  max-width: 24px;
  height: 24px;
  min-height: 24px;
  max-height: 24px;
  box-sizing: border-box;
  aspect-ratio: 1;
  border: 2px solid rgba(69, 71, 76, 0.9);
  border-radius: 50%;
  background: var(--navy);
  color: rgba(197, 198, 204, 0.45);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.steps li:first-child::before {
  border-color: var(--gold);
  color: var(--gold);
}

.steps strong {
  color: var(--text-bright);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.steps span {
  grid-column: 2;
  color: var(--text);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.quote-card {
  grid-column: 6 / span 7;
  min-height: 499px;
  padding: 40px;
  display: grid;
  gap: 24px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(20px);
}

.quote-card h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

label,
.field-label {
  display: grid;
  gap: 8px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

input,
select,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #45474c;
  border-radius: 0;
  background: transparent;
  color: var(--text-bright);
  font: 400 16px/24px var(--sans);
  letter-spacing: 0;
  text-transform: none;
  outline: none;
}

input,
select {
  height: 42px;
}

input {
  padding: 0 14px;
  background: #ffffff;
  color: var(--navy);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

.field-control {
  position: relative;
  display: block;
}

.field-control > img {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.78;
}

.field-control input,
.field-control textarea,
.custom-control {
  padding-left: 44px;
}

.field-control-textarea > img {
  top: 20px;
  transform: none;
  filter: brightness(0) saturate(100%) invert(73%) sepia(36%) saturate(507%) hue-rotate(2deg)
    brightness(91%) contrast(88%);
}

.custom-date,
.custom-select {
  position: relative;
}

.custom-control {
  position: relative;
  width: 100%;
  height: 42px;
  padding-right: 42px;
  border: 0;
  border-bottom: 1px solid #45474c;
  border-radius: 0;
  background: #ffffff;
  color: var(--navy);
  font: 400 16px/24px var(--sans);
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  cursor: pointer;
}

.custom-control::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.24s ease;
}

.custom-date.is-open .custom-control::after,
.custom-select.is-open .custom-control::after {
  transform: translateY(-25%) rotate(225deg);
}

.date-popover,
.custom-options {
  position: absolute;
  z-index: 12;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  padding: 12px;
  background: rgba(8, 20, 37, 0.98);
  border: 1px solid rgba(212, 178, 109, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  visibility: hidden;
  text-transform: none;
  letter-spacing: 0;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.custom-date.is-open .date-popover,
.custom-select.is-open .custom-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.date-header {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.date-header strong {
  color: var(--text-bright);
  text-align: center;
  text-transform: capitalize;
  letter-spacing: 0.4px;
  font-size: 14px;
  line-height: 20px;
}

.date-header button,
.date-grid button,
.custom-options button {
  border: 0;
  font-family: var(--sans);
  cursor: pointer;
}

.date-header button {
  width: 32px;
  height: 32px;
  background: rgba(212, 178, 109, 0.12);
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.date-weekdays,
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.date-weekdays {
  margin-bottom: 6px;
  color: rgba(197, 198, 204, 0.72);
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.6px;
}

.date-grid button {
  min-height: 30px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.date-grid button:hover,
.date-grid button.is-selected,
.date-grid button.is-today {
  background: var(--gold);
  color: var(--navy);
}

.date-grid button.is-outside {
  opacity: 0.32;
}

.custom-options {
  display: grid;
  gap: 4px;
  padding: 8px;
}

.custom-options button {
  min-height: 38px;
  padding: 9px 12px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.custom-options button:hover,
.custom-options button.is-selected {
  background: var(--gold);
  color: var(--navy);
}

textarea {
  min-height: 72px;
  resize: vertical;
  padding-top: 12px;
}

.quote-card > button {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--gold);
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 20;
  display: grid;
  justify-items: end;
  gap: 14px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
}

.whatsapp-float.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: none;
  visibility: visible;
}

.whatsapp-float-button,
.whatsapp-mini button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.24s ease, color 0.24s ease;
}

.whatsapp-float-button {
  position: relative;
  isolation: isolate;
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  overflow: visible;
  pointer-events: auto;
}

.whatsapp-float-button::before,
.whatsapp-float-button::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: 50%;
  border: 1px solid rgba(212, 178, 109, 0.55);
  animation: whatsappPulse 2.4s ease-out infinite;
  pointer-events: none;
}

.whatsapp-float-button::after {
  animation-delay: 1.2s;
}

.whatsapp-float-button img {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

@keyframes whatsappPulse {
  0% {
    opacity: 0.62;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}

.whatsapp-mini {
  width: min(360px, calc(100vw - 32px));
  padding: 22px;
  display: grid;
  gap: 16px;
  background: rgba(8, 20, 37, 0.98);
  border: 1px solid rgba(212, 178, 109, 0.35);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.whatsapp-float.is-open .whatsapp-mini {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.whatsapp-mini-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.whatsapp-mini-header span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
}

.whatsapp-mini-header h2 {
  margin: 0;
  color: var(--text-bright);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0;
}

.whatsapp-mini-close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(212, 178, 109, 0.4);
  background: transparent;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.whatsapp-mini label {
  gap: 8px;
}

.whatsapp-mini input {
  height: 42px;
  border: 1px solid rgba(69, 71, 76, 0.5);
  border-bottom-color: rgba(69, 71, 76, 0.5);
  background: #ffffff;
}

.whatsapp-mini button[type="submit"] {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
  border: 1px solid var(--gold);
}

.footer {
  min-height: 489px;
  background: var(--navy-deep);
  border-top: 1px solid var(--line-soft);
}

.footer-main {
  min-height: 340px;
  padding-block: 96px 64px;
  display: grid;
  grid-template-columns: 190px 1fr 1.45fr 0.8fr;
  gap: 64px;
}

.footer h3 {
  margin-bottom: 18px;
  color: var(--text-bright);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.footer p,
.footer a {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(69, 71, 76, 0.12);
  padding: 32px 20px;
  text-align: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

@media (max-width: 1100px) {
  .event-card {
    height: auto;
    min-height: 434px;
  }
}

@media (max-width: 900px) {
  .top-nav {
    height: auto;
    position: relative;
    background: rgba(8, 20, 37, 0.95);
  }

  .nav-inner {
    position: relative;
    min-height: 96px;
    height: auto;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    padding-block: 16px;
  }

  .brand {
    margin-right: auto;
  }

  .brand img {
    width: 95px;
    height: auto;
  }

  .nav-cta {
    width: auto;
    min-width: 147.2px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    z-index: 6;
    top: 100%;
    left: 20px;
    right: 20px;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: none;
    width: auto;
    margin-top: 0;
    padding: 12px 0 16px;
    background: rgba(8, 20, 37, 0.98);
    border-top: 1px solid rgba(69, 71, 76, 0.2);
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 1.6px;
  }

  .top-nav.menu-open .menu {
    display: flex;
  }

  .menu > a:not(.nav-cta) {
    padding: 14px 0;
  }

  .menu .nav-cta {
    display: none;
  }

  .menu > a:not(.nav-cta).active::after,
  .menu > a:not(.nav-cta):hover::after {
    width: 68px;
    bottom: 6px;
  }

  .facts {
    gap: 12px 14px;
    font-size: 10px;
    letter-spacing: 1.3px;
  }

  .facts span:not(:last-child)::after {
    right: -9px;
  }

  .hero {
    min-height: auto;
    padding-top: 0;
  }

  .hero-bg {
    top: 0;
  }

  .hero-grid {
    min-height: 640px;
    padding-block: 100px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-copy,
  .tech-copy,
  .tech-photo,
  .process-copy,
  .quote-card {
    grid-column: 1 / -1;
  }

  .event-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .event-grid {
    max-width: 560px;
    margin-inline: auto;
  }

  .event-card {
    height: auto;
    min-height: 434px;
  }

  .kairros-facts {
    flex-wrap: wrap;
  }

  .section,
  .kairros-content {
    padding-block: 80px;
  }

  .tech-photo {
    justify-self: stretch;
  }

  .tech-photo img {
    height: clamp(440px, 68vw, 620px);
  }

  h1,
  .kairros-content h2 {
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.96px;
  }

  .section-heading h2,
  .tech-copy h2,
  .process-copy h2 {
    font-size: 40px;
    line-height: 48px;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 16px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-mini {
    padding: 20px;
    gap: 14px;
  }

  .whatsapp-mini-header h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .whatsapp-float-button {
    width: 54px;
    height: 54px;
    min-height: 54px;
  }

  .whatsapp-float-button img {
    width: 24px;
    height: 24px;
  }

  .nav-inner {
    flex-wrap: nowrap;
  }

  .brand img,
  .footer-main img {
    width: 107px;
    height: auto;
  }

  .nav-inner {
    justify-content: flex-start;
    text-align: left;
    gap: 10px;
  }

  .menu {
    left: 16px;
    right: 16px;
  }

  .brand img {
    width: 97px;
  }

  .nav-cta {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .nav-cta-desktop {
    display: none;
  }

  .menu .nav-cta-mobile {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    margin: 12px 0 0;
    padding: 12px 18px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .button {
    min-width: 0;
    padding-inline: 18px;
  }

  .facts {
    grid-template-columns: minmax(0, max-content) 3px minmax(0, max-content);
    justify-content: center;
    column-gap: 20px;
    row-gap: 16px;
    padding-block: 24px;
    text-align: center;
  }

  .facts span:nth-child(odd) {
    grid-column: 1;
    justify-self: end;
  }

  .facts span:nth-child(even) {
    grid-column: 3;
    justify-self: start;
  }

  .facts span:nth-child(odd)::after {
    display: block;
    right: -22px;
  }

  .facts span:nth-child(even)::after {
    display: none;
  }

  .event-card,
  .quote-card {
    padding: 24px;
  }

  .event-card {
    min-height: 0;
  }

  .event-card img {
    height: auto;
    aspect-ratio: 467 / 307;
  }

  .event-card a {
    margin-top: 20px;
    gap: 9px;
  }

  .tech-photo img {
    height: 320px;
  }

  .kairros {
    min-height: 560px;
  }

  .kairros-facts {
    gap: 28px;
  }

  .process-grid {
    min-height: 0;
  }

  .steps {
    gap: 30px;
  }

  .quote-card {
    gap: 22px;
  }

  h1,
  .kairros-content h2 {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.8px;
  }

  .section-heading h2,
  .tech-copy h2,
  .process-copy h2 {
    font-size: 34px;
    line-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
