@charset "UTF-8";

/* Contact page: hero + info cards + widget */
.contact-page-scope{
  background: linear-gradient(to top, #e6f0ff, #f9fcff);
  padding: 0 0 48px;
  margin: 0;
  overflow-x: hidden;
}

.contact-page-scope *{ box-sizing: border-box; }

/* Hero */
.contact-hero-image{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: clamp(22px, 3.2vw, 36px) 0 clamp(10px, 2vw, 16px);
}

.contact-hero-image img{
  width: 100%;
  max-width: 1500px;
  margin: 50px auto 0;
  aspect-ratio: 16 / 7;
  min-height: 220px;
  max-height: 520px;
  object-fit: contain;
  display: block;
  background: rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(0, 64, 128, 0.22);
  border-radius: 26px;
  box-shadow: 0 14px 42px rgba(0, 64, 128, 0.18);
}

/* Header */
.contact-header{
  width: 95%;
  max-width: 1100px;
  margin: clamp(12px, 2.2vw, 18px) auto clamp(16px, 2.6vw, 22px);
  padding: 0 10px;
  text-align: center;
}

.contact-header h2{
  margin: 0 auto 10px;
  font-family: "Dancing Script";
  font-weight: 700;
  background: linear-gradient(to right, #004080, #6e67d9, #5cd0b5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.12;
}

.contact-header p{
  margin: 0 auto;
  max-width: 70ch;
  font-family: "Cabin";
  font-weight: 400;
  color: #000;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.55;
}

/* Content grid */
.contact-info{
  width: 95%;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(14px, 2.2vw, 22px);
  align-items: start;
}

/* Cards */
.contact-details,
.contact-social-media{
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: clamp(14px, 2vw, 18px) clamp(14px, 2vw, 16px);
  border: 1px solid rgba(0, 64, 128, 0.16);
  box-shadow: 0 10px 28px rgba(0, 64, 128, 0.14);
}

.contact-details h3,
.contact-social-media h3{
  margin: 0 0 10px;
  font-family: "Dancing Script";
  font-weight: 800;
  background: linear-gradient(to right, #002a55, #4d46b8, #1f8f7b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.15;
}

.contact-details p{
  margin: 0 0 12px;
  font-family: "Cabin";
  color: #000;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
}

.contact-details p:last-child{ margin-bottom: 0; }
.contact-details strong{ font-weight: 700; }

/* Links */
.contact-details a,
.contact-social-media a{
  color: #004080;
  font-weight: 700;
  text-decoration: none;
}

.contact-details a:hover,
.contact-social-media a:hover{ text-decoration: underline; }


/* CTA */
.contact-cta{
  text-align: center;
  margin: clamp(16px, 2.6vw, 22px) auto 0;
}

.contact-email-btn{
  display: inline-block;
  margin-top: 12px;
  padding: 12px 20px;
  background: linear-gradient(to right, #004080, #6e67d9, #5cd0b5);
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-family: "Cabin";
  font-weight: 800;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.4;
}

/* Surprise widget */
.surprise-widget{
  width: 95%;
  max-width: 1500px;
  margin: clamp(16px, 2.6vw, 22px) auto 0;
  padding: 16px;
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  border: 1px solid rgba(0, 64, 128, 0.16);
  box-shadow: 0 10px 28px rgba(0, 64, 128, 0.14);
}

.sw-trigger{
  width: 100%;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 64, 128, 0.20);
  background: rgba(0, 64, 128, 0.06);
  font-family: "Cabin";
  font-weight: 700;
  font-size: clamp(14px, 1.1vw, 16px);
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sw-trigger::after{
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.8;
  transition: transform 0.25s ease;
}

.surprise-widget.is-open .sw-trigger{
  background: rgba(0, 64, 128, 0.10);
  transform: translateY(-1px);
}

.surprise-widget.is-open .sw-trigger::after{
  transform: translateY(-50%) rotate(180deg);
}

/* Popover */
.sw-message{
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(100% + 12px);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  padding: 0 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 64, 128, 0.22);
  box-shadow: 0 18px 40px rgba(0, 64, 128, 0.25);
  transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, padding 0.25s ease;
  z-index: 3;
}

.sw-message::after{
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 1px solid rgba(0, 64, 128, 0.22);
  border-bottom: 1px solid rgba(0, 64, 128, 0.22);
}

.surprise-widget.is-open .sw-message{
  max-height: 280px;
  opacity: 1;
  transform: translateY(0) scale(1);
  padding: 12px 14px;
}

.sw-message:not(:empty){
  font-family: "Cabin";
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 1.5;
  color: #000;
}

/* Media queries (your order) */
@media (min-width: 1920px){
  .contact-hero-image{ padding: 40px 0 18px; }
  .contact-hero-image img{
    aspect-ratio: 16 / 7;
    min-height: 260px;
    max-height: 560px;
    border-radius: 26px;
  }
  .contact-header{
    width: 95%;
    max-width: 1100px;
    margin: 20px auto 24px;
  }
  .contact-header h2{ font-size: 46px; line-height: 52px; }
  .contact-header p{ font-size: 18px; line-height: 28px; }
  .contact-info{
    width: 95%;
    max-width: 1500px;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
  }
  .contact-details,
  .contact-social-media{
    padding: 20px 18px 18px;
    border-radius: 22px;
  }
  .contact-details h3,
  .contact-social-media h3{ font-size: 28px; }
  .contact-details p{ font-size: 16px; line-height: 26px; }
  .contact-email-btn{ padding: 12px 22px; }
  .surprise-widget{ width: 95%; max-width: 1500px; padding: 16px; }
  .surprise-widget.is-open .sw-message{ max-height: 300px; }
}

@media (max-width: 1920px){
  .contact-hero-image img{ min-height: 240px; max-height: 520px; }
  .contact-header h2{ font-size: 42px; line-height: 48px; }
  .contact-header p{ font-size: 18px; line-height: 26px; }
  .contact-info{ gap: 22px; }
  .contact-details h3,
  .contact-social-media h3{ font-size: 26px; }
  .contact-details p{ font-size: 16px; line-height: 24px; }
}

@media (max-width: 1200px){
  .contact-hero-image{ padding: 32px 0 14px; }
  .contact-hero-image img{
    aspect-ratio: 16 / 8;
    min-height: 240px;
    max-height: 460px;
    border-radius: 24px;
  }
  .contact-header{ width: 92%; margin: 16px auto 20px; }
  .contact-header h2{ font-size: 40px; line-height: 46px; }
  .contact-header p{ font-size: 17px; line-height: 25px; }
  .contact-info{ width: 92%; grid-template-columns: 1fr; gap: 18px; }
  .contact-details,
  .contact-social-media{ padding: 18px 16px 16px; }
  .contact-cta{ margin-top: 18px; }
  .surprise-widget{ width: 92%; }
  .surprise-widget.is-open .sw-message{ max-height: 320px; }
}

@media (max-width: 768px){
  .contact-hero-image{ padding: 26px 0 12px; }
  .contact-hero-image img{
    aspect-ratio: 16 / 10;
    min-height: 240px;
    max-height: 420px;
    border-radius: 22px;
  }
  .contact-header{ width: 92%; margin: 14px auto 18px; }
  .contact-header h2{ font-size: 34px; line-height: 40px; }
  .contact-header p{ font-size: 16px; line-height: 24px; }
  .contact-info{ width: 92%; gap: 16px; }
  .contact-details,
  .contact-social-media{ border-radius: 20px; padding: 16px 14px 14px; }
  .contact-details h3,
  .contact-social-media h3{ font-size: 25px; }
  .contact-social-media ul{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .contact-social-media a{
    display: block;
    text-align: center;
    padding: 12px 10px;
  }
  .contact-email-btn{ width: 92%; max-width: 520px; }
  .surprise-widget{ width: 92%; border-radius: 20px; padding: 14px; }
  .sw-trigger{ border-radius: 16px; padding: 12px; }
  .sw-message{ left: 14px; right: 14px; }
  .surprise-widget.is-open .sw-message{ max-height: 340px; }
}

@media (max-width: 480px){
  .contact-page-scope{ padding: 0 0 44px; }
  .contact-hero-image{ padding: 22px 0 10px; }
  .contact-hero-image img{
    aspect-ratio: 16 / 12;
    min-height: 210px;
    max-height: 360px;
    border-radius: 18px;
  }
  .contact-header{ width: 95%; margin: 12px auto 16px; }
  .contact-header h2{ font-size: 26px; line-height: 30px; }
  .contact-header p{ font-size: 15px; line-height: 22px; }
  .contact-info{ width: 95%; gap: 14px; }
  .contact-details,
  .contact-social-media{ border-radius: 18px; padding: 16px 14px 14px; }
  .contact-details h3,
  .contact-social-media h3{ font-size: 23px; }
  .contact-details p{ font-size: 15px; line-height: 22px; }
  .contact-details strong{ display: block; margin-bottom: 3px; }
  .contact-social-media ul{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contact-social-media a{
    display: block;
    text-align: center;
    padding: 12px 10px;
  }
  .contact-cta{ margin-top: 16px; }
  .contact-email-btn{ width: 95%; padding: 12px 18px; }
  .surprise-widget{ width: 95%; border-radius: 18px; padding: 14px; }
  .sw-trigger{ font-size: 15px; }
  .sw-message{ left: 10px; right: 10px; bottom: calc(100% + 10px); }
  .surprise-widget.is-open .sw-message{ max-height: 380px; padding: 12px; }
}

@media (max-width: 300px){
  .contact-hero-image img{
    aspect-ratio: 16 / 13;
    min-height: 190px;
    max-height: 300px;
    border-radius: 16px;
  }
  .contact-header h2{ font-size: 22px; line-height: 26px; }
  .contact-header p{ font-size: 14px; line-height: 20px; }
  .contact-details,
  .contact-social-media,
  .surprise-widget{ border-radius: 16px; padding: 14px 12px; }
  .contact-details h3,
  .contact-social-media h3{ font-size: 21px; }
  .contact-details p{ font-size: 14px; line-height: 20px; }
  .contact-email-btn{ width: 96%; padding: 12px 14px; font-size: 14px; }
  .sw-trigger{ padding: 12px 10px; }
  .sw-trigger::after{ right: 10px; }
  .sw-message{ left: 8px; right: 8px; }
  .surprise-widget.is-open .sw-message{ max-height: 420px; }
}
