:root {
  color-scheme: light;
  --ink: #061526;
  --muted: #5d6772;
  --navy: #020d17;
  --accent: #d84862;
  --line: #d9dee4;
  --white: #ffffff;
  --content: 1176px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Montserrat, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.site-nav a {
  position: relative;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: .98rem;
  transition: color .2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.5rem;
  height: 2px;
  background: var(--accent);
  transition: right .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] { color: var(--white); }

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after { right: 0; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background: var(--navy) center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,11,20,.20), rgba(0,11,20,.52));
}

.home-hero { background-image: url("../images/intechtravel-home.jpg"); }

.hero-content {
  width: min(calc(100% - 3rem), 940px);
  padding-top: 5rem;
}

.hero h1 {
  max-width: 920px;
  margin: 0 auto 1.8rem;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: .6rem 1.05rem;
  border: 1px solid rgba(216,72,98,.7);
  border-radius: 2px;
  color: #f06b83;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  color: var(--white);
  border-color: var(--accent);
  background: var(--accent);
}

.contact-hero {
  min-height: 35rem;
  background-image: url("../images/intechtravel-contact.jpg");
}

.contact-hero::before { background: rgba(0,28,46,.36); }

.contact-hero h1 {
  margin: 3.5rem 0 0;
  font-size: clamp(3rem, 6vw, 4.3rem);
  letter-spacing: -.02em;
}

.contact-section { padding: clamp(4.5rem, 8vw, 7rem) 0; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(360px, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.contact-intro h2 {
  margin: 0 0 .8rem;
  font-size: clamp(2rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.contact-intro p { margin: 0; }

.contact-form { display: grid; gap: 1.1rem; }

.field { display: grid; gap: .35rem; }

.field label {
  font-size: .95rem;
  color: #46505b;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fbfbfc;
  color: var(--ink);
  font: inherit;
  padding: .75rem .85rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input { min-height: 46px; }
.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #43809d;
  box-shadow: 0 0 0 3px rgba(67,128,157,.14);
}

.submit-button {
  justify-self: start;
  min-height: 44px;
  padding: .65rem 1.45rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--white);
  background: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.submit-button:hover,
.submit-button:focus-visible { background: var(--accent); border-color: var(--accent); }

.submit-button:disabled {
  cursor: wait;
  opacity: .65;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.form-note-success { color: #176b3a; }
.form-note-error { color: #a12622; }

.site-footer {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 1.5rem;
  color: rgba(255,255,255,.82);
  background: #020b13;
  text-align: center;
  font-size: .9rem;
}

.site-footer p { margin: 0; }

.not-found {
  min-height: calc(100svh - 92px);
  padding: 8rem 1.5rem 4rem;
}

.not-found p { max-width: 34rem; }

:focus-visible { outline: 3px solid rgba(240,107,131,.8); outline-offset: 4px; }

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 2rem), var(--content)); }
  .header-inner { min-height: 70px; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: 64px;
    right: 1rem;
    display: none;
    min-width: 180px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(2,13,23,.97);
    box-shadow: 0 18px 50px rgba(0,0,0,.25);
  }
  .site-nav.is-open { display: grid; gap: .85rem; }
  .site-nav a { padding: .45rem .35rem; }
  .home-hero { background-position: 52% center; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .contact-hero { min-height: 28rem; background-position: 56% center; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
