/* Hycate Engineering - white & blue theme
   Edit the values in :root to retheme the whole site. */

:root {
  --blue-900: #061a3a;
  --blue-800: #0b2c63;
  --blue-700: #10428f;
  --blue-600: #1559c0;
  --blue-500: #1f7ae0;
  --blue-100: #e7f0fd;
  --white: #ffffff;
  --ink: #0d1725;
  --muted: #5a6a7f;
  --line: #dbe4f0;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(6, 26, 58, .45);
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
.brand strong {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

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

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 12px 26px -14px var(--blue-700);
}

.btn-primary:hover {
  background: var(--blue-700);
}

.btn-ghost {
  border-color: rgba(255,255,255,.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.12);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #1ebe57;
}

.btn-call {
  background: var(--blue-100);
  color: var(--blue-800);
  padding: 10px 18px;
}

.btn-block {
  width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
}

.brand strong {
  display: block;
  font-size: 1.35rem;
  color: var(--blue-800);
}

.brand small {
  display: block;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 500;
}

.nav a:not(.btn):hover {
  color: var(--blue-600);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-800);
  margin: 5px 0;
  transition: .2s;
}

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

.hero {
  position: relative;

  background-image:
    linear-gradient(
      rgba(6, 26, 58, 0.68),
      rgba(6, 26, 58, 0.68)
    ),
    url('../assets/work-2.jpeg');

  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;

  color: var(--white);
  padding: 96px 0 84px;
}

.hero-inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  color: #a9caf5;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
}

.hero h1 span {
  color: #7cb6ff;
}

.lede {
  font-size: 1.06rem;
  color: #d5e3f7;
  max-width: 560px;
  margin: 18px 0 30px;
}

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

.hero-stats {
  list-style: none;
  margin: 52px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hero-stats strong {
  display: block;
  font-size: 1.3rem;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
}

.hero-stats span {
  font-size: .85rem;
  color: #bcd3f2;
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--blue-100);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--blue-800);
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 12px auto 44px;
}

.section-title.left,
.section-sub.left {
  text-align: left;
  margin-left: 0;
}

.grid.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue-500);
}

.card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(var(--blue-500), var(--blue-700));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .25s ease;
}

.card:hover::after {
  transform: scaleY(1);
}

.card-num {
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--blue-500);
  font-weight: 600;
}

.card h3 {
  font-size: 1.35rem;
  color: var(--blue-800);
  margin: 8px 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}

.gallery img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  transition: transform .5s ease, opacity .3s ease;
}

.gallery figure:hover img {
  transform: scale(1.06);
}

/* ---------- Why ---------- */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.why-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-600);
  border-radius: 10px;
  padding: 16px 18px;
  color: var(--muted);
}

.why-list strong {
  display: block;
  color: var(--blue-800);
}

/* ---------- Booking ---------- */

.section-book {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: var(--white);
}

.section-book .section-title {
  color: var(--white);
}

.section-book .section-sub {
  color: #cfe0f8;
}

.book-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-block a {
  color: #8fc0ff;
}

.contact-block a:hover {
  text-decoration: underline;
}

.booking-form {
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  display: grid;
  gap: 16px;
}

.booking-form label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue-800);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcff;
  transition: border .18s, box-shadow .18s;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(31,122,224,.18);
}

.booking-form input.invalid,
.booking-form textarea.invalid,
.booking-form select.invalid {
  border-color: #d64545;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}

.form-note {
  margin: 0;
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .9rem;
}

.alert.ok {
  background: #e6f7ed;
  color: #14663c;
  border: 1px solid #b7e4c9;
}

.alert.bad {
  background: #fdeaea;
  color: #8f2020;
  border: 1px solid #f2c2c2;
}

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

.site-footer {
  background: #04122a;
  color: #c7d7ee;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.site-footer strong {
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer p {
  margin: 4px 0 0;
  font-size: .88rem;
}

.site-footer a {
  display: block;
  color: #8fc0ff;
  font-weight: 600;
}

.copy {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
  font-size: .78rem;
}

/* ---------- Floating WhatsApp button ---------- */

.float-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}

.float-whatsapp:hover {
  transform: scale(1.07);
  background: #25d366;
}

.float-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

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

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

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

/* ---------- Responsive ---------- */

@media (max-width: 860px) {

  .why-grid,
  .book-wrap,
  .field-row {
    grid-template-columns: 1fr;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px 0;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 68px 0 60px;
    background-position: center center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section {
    padding: 64px 0;
  }

  .float-whatsapp {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }

  .float-whatsapp svg {
    width: 25px;
    height: 25px;
  }
}

/* =========================================================
   PRICING
========================================================= */

.pricing-cards {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card h3 {
  margin-bottom: 18px;
}

.price-list {
  display: grid;
  gap: 0;
  margin-top: auto;
}

.price-list > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.price-list span {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.35;
}

.price-list strong {
  color: var(--blue-600);
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 1.05rem;
  white-space: nowrap;
  text-align: right;
}


/* =========================================================
   PRICING DISCLAIMER
========================================================= */

.pricing-disclaimer {
  margin-top: 60px;
  padding: 26px;
  background: var(--blue-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pricing-disclaimer h3 {
  color: var(--blue-800);
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.pricing-disclaimer p {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
  margin: 0 0 12px;
}

.pricing-disclaimer p:last-child {
  margin-bottom: 0;
}

.pricing-disclaimer strong {
  color: var(--blue-800);
}


/* =========================================================
   PRICING MOBILE
========================================================= */

@media (max-width: 600px) {

  .price-list > div {
    padding: 12px 0;
  }

  .price-list span {
    font-size: .84rem;
  }

  .price-list strong {
    font-size: 1rem;
  }

  .pricing-disclaimer {
    margin-top: 40px;
    padding: 22px 18px;
  }

}