:root{
  --bg: #EBEBEB;
  --text: #004E98;
  --muted: #3A6EA5;
  --line: rgba(0,78,152,.18);

  --btn: #FF6700;
  --btnText: #ffffff;

  --green: #EBEBEB;
  --blue: #3A6EA5;
  --lav: #C0C0C0;
  --sand: #ffffff;

  --radius: 28px;
  --radiusImg: 22px;

  --max: 1120px;

  --serif: "DM Serif Display", serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: #1f1f1f;
  font-family: var(--sans);
}

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

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

/* Header / Nav */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(235,235,235,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 16px 0;
}
.logo{ height: 54px; width:auto; }
.logo.small{ height: 44px; }

.nav-links{
  margin-left: auto;
  display:flex;
  gap: 26px;
  align-items:center;
}
.nav-links a{
  text-decoration:none;
  color: var(--muted);
  font-weight: 600;
}
.nav-links a.active,
.nav-links a:hover{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap: 12px;
}
.btn{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
}
.btn-primary{
  background: var(--btn);
  color: var(--btnText);
  border-color: transparent;
}
.btn-primary:hover{
  box-shadow: 0 10px 24px rgba(255,103,0,.25);
}
.btn-lg{ padding: 14px 22px; }

.hamburger{
  display:none;
  margin-left: 6px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
}
.hamburger span{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

/* Mobile menu */
.mobile-menu{
  padding: 10px 0 18px;
  display:flex;
  gap: 10px;
  flex-direction: column;
}
.mobile-menu[hidden]{
  display: none !important;
}
.mobile-menu a{
  text-decoration:none;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.mobile-menu a.btn{
  border-bottom: none;
  padding: 11px 18px;
  width: fit-content;
}

/* Hero */
.hero{
  padding: 40px 0 12px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
  align-items:center;
}
.hero-copy h1{
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: .5px;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 0.98;
  margin: 0 0 16px;
  color: var(--text);
}
.hero-sub{
  max-width: 52ch;
  color: #444;
  font-size: 16px;
  margin: 0 0 20px;
}
.trust{
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.hero-media img{
  border-radius: var(--radius);
  width: 100%;
  height: auto;            /* let image size naturally */
  object-fit: contain;     /* NEVER crop */
  box-shadow: 0 10px 30px rgba(0,78,152,.12);
  border: 3px solid #ffffff;
}

/* Sections */
.section{
  padding: 56px 0;
}
.section-title{
  font-family: var(--serif);
  font-weight: 400;
  text-align:center;
  font-size: clamp(34px, 4vw, 56px);
  margin: 0 0 26px;
  color: var(--text);
}
.section-subtitle{
  text-align:center;
  margin: -10px auto 34px;
  max-width: 60ch;
  color: #4e4e4e;
}

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

.card{
  border-radius: var(--radius);
  padding: 26px;
  min-height: 320px;
  display:flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(0,78,152,.10);
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
}
.card-img{
  border-radius: var(--radiusImg);
  width: 100%;
  height: 210px;
  object-fit: cover;
  margin-bottom: 6px;
}
.card h3{
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin: 0;
  color: var(--text);
}
.card p{
  margin: 0;
  color: #444;
  line-height: 1.45;
}

/* Updated card colors: same class names, better tinting */
.pastel-green{ background: #F4F1E8; }     /* warm light neutral */
.pastel-blue{ background: #E7F0FA; }      /* soft blue */
.pastel-lavender{ background: #E8E3F4; }  /* soft blue-gray/lavender */
.pastel-sand{ background: #3A6EA5; }      /* bold accent card */

.pastel-sand h3,
.pastel-sand p{
  color: #ffffff;
}

/* Features */
.feature-top{
  height: 210px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.feature-img{
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radiusImg);
}

/* Reviews */
.review{ min-height: 220px; }
.review-head{
  display:flex;
  align-items:center;
  gap: 14px;
}
.avatar{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 2px solid rgba(0,78,152,.25);
  object-fit: cover;
}
.review-text{ margin-top: 6px; }

/* Contact */
.section-book{ 
  padding-bottom: 70px;
}
.contact-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.contact-tile{
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  text-align:center;
}
.contact-tile h3{
  letter-spacing: .06em;
  font-size: 14px;
  margin: 0 0 10px;
  color: var(--text);
}
.contact-tile a,
.contact-tile p{
  color: var(--muted);
  margin: 0;
  text-decoration:none;
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 28px 0 14px;
  background: #004E98;
  color: #ffffff;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items:center;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap: 14px;
}
.footer-title{
  font-family: var(--serif);
  font-size: 22px;
}
.footer-tagline{
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.footer-links{
  justify-self:center;
  display:flex;
  gap: 20px;
}
.footer-links a{
  text-decoration:none;
  color: rgba(255,255,255,.82);
}
.footer-links a:hover{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.footer-social{
  justify-self:end;
  display:flex;
  gap: 10px;
}
.footer-social a{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  display:grid;
  place-items:center;
  text-decoration:none;
  background: rgba(255,255,255,.08);
}
.footer-social i{ font-size: 18px; color: #ffffff; }
.footer-bottom{
  padding-top: 14px;
  color: rgba(255,255,255,.74);
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-media img{ aspect-ratio: 16/10; }
  .card-grid-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid-3{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; text-align:center; }
  .footer-brand{ justify-content:center; }
  .footer-social{ justify-self:center; }
  .footer-links{ justify-self:center; }
}

@media (max-width: 760px){
  .nav-links{ display:none; }
  .hamburger{ display:block; margin-left:auto; }
  .nav-actions{ display:none; }
  .contact-grid{ grid-template-columns: 1fr; }
}

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

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

/* Variations */
.reveal--left { transform: translateX(-18px); }
.reveal--right { transform: translateX(18px); }
.reveal--scale { transform: scale(0.98); }

.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible {
  transform: none;
}

/* Hero entrance */
.hero-animate {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 700ms ease forwards;
}

.hero-animate.delay-1 { animation-delay: 120ms; }
.hero-animate.delay-2 { animation-delay: 220ms; }
.hero-animate.delay-3 { animation-delay: 320ms; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Micro-interactions */
.btn, .card, .footer-social a {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,78,152,.10);
}

/* Subtle image zoom on hover */
.card-img, .feature-img, .hero-media img {
  transition: transform 300ms ease;
}
.card:hover .card-img,
.card:hover .feature-img {
  transform: scale(1.02);
}

/* Safety: if JS doesn't run, don't hide content forever */
html.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-animate, .btn, .card, .card-img, .feature-img, .hero-media img {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
.contact-form{
  margin-top: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
}

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

.form-field{
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label{
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: #ffffff;
  color: #1f1f1f;
}

.form-field textarea{
  resize: vertical;
}

@media (max-width: 760px){
  .form-row{
    grid-template-columns: 1fr;
  }
}
.contact-tile a.btn{
  color: #ffffff;
}
