* { margin:0; padding:0; box-sizing:border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Open Sans', sans-serif;
  background: #e8eaee;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(12px, 3vw, 42px);
  color: #1a1a2e;
}

.card {
  position: relative;
  isolation: isolate;
  width: min(1120px, 100%);
  height: clamp(620px, calc(100svh - clamp(24px, 6vw, 84px)), 760px);
  background: #f5f5f5;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(21, 30, 47, 0.22);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
}

.swoosh {
  position: absolute;
  top: 0;
  right: 0;
  width: 49%;
  height: 52%;
  background: #c8102e;
  border-radius: 0 0 0 100%;
  z-index: 1;
  pointer-events: none;
}

.building-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.building-wrap img {
  width: 54%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
  transform: scale(1.75);
  transform-origin: left top;
}

.building-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 52%, rgba(16, 18, 31, 0.2) 100%),
    linear-gradient(180deg, rgba(16, 18, 31, 0.05), transparent 34%, rgba(16, 18, 31, 0.18));
  pointer-events: none;
}

.logo-badge {
  position: absolute;
  z-index: 10;
     top: clamp(-21px, 5vh, 1px);
    right: calc(36.6% - 129px);
  width: clamp(118px, 12vw, 144px);
  height: clamp(118px, 12vw, 144px);
  border-radius: 50%;
  background: white;
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  overflow: hidden;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.content {
  position: relative;
  z-index: 3;
  min-width: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), #f5f5f5 68%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2.4vh, 26px);
  padding: clamp(132px, 19vh, 164px) clamp(28px, 4vw, 58px) clamp(24px, 4vh, 44px);
}

.school-name {
  line-height: 0.98;
}

.school-name span {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 3.45vw, 50px);
  font-weight: 900;
  display: block;
}

.school-name .mission {
  color: #c8102e;
}

.school-name .excellence {
  color: #1a1a2e;
}

.school-name .public {
  color: #1a1a2e;
  font-size: clamp(29px, 2.9vw, 42px);
}

.tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: clamp(12px, 1.15vw, 14px);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.tagline-line {
  flex: 1;
  height: 1.5px;
  background: #c8102e;
  opacity: 0.6;
}

.btn-call {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #c8102e 0%, #9b0b22 100%);
  border-radius: 50px;
  padding: 14px 22px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(200,16,46,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-call:hover,
.btn-call:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200,16,46,0.34);
}

.btn-call:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px rgba(200,16,46,0.3);
}

.call-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.call-icon svg { width: 22px; height: 22px; fill: white; }

.call-text { color: white; }
.call-text .top { font-size: 13px; font-weight: 600; letter-spacing: 1px; opacity: 0.9; }
.call-text .num { font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }

.btn-yt {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 2px solid #c8102e;
  border-radius: 50px;
  padding: 12px 22px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-yt:hover,
.btn-yt:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(26,26,46,0.14);
}

.btn-call:focus-visible,
.btn-yt:focus-visible {
  outline: 3px solid rgba(26,26,46,0.28);
  outline-offset: 3px;
}

.btn-yt:active {
  transform: scale(0.97);
}

.yt-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #c8102e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.yt-icon svg { width: 22px; height: 22px; fill: white; }

.yt-text { color: #1a1a2e; }
.yt-text .top { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: #888; }
.yt-text .yt-label { font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }

.bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 4px;
}

.bottom-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
  font-weight: 600;
}

.bottom-item svg {
  width: 18px;
  height: 18px;
  fill: #c8102e;
}

.sep { color: #ccc; font-size: 16px; }

@media (max-width: 759px) {
  body {
    align-items: stretch;
    padding: 0;
  }

  .card {
    width: 100%;
    height: auto;
    min-height: 100svh;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
  }

  .swoosh {
    width: 48%;
    height: 54%;
  }

  .building-wrap {
    height: clamp(270px, 43svh, 430px);
    min-height: 270px;
    flex: 0 0 auto;
  }

  .building-wrap img {
    object-position: left top;
    transform: scale(1.75);
  }

  .building-wrap::after {
    background: linear-gradient(180deg, rgba(16,18,31,0.05), transparent 45%, rgba(16,18,31,0.18));
  }

  .logo-badge {
    display: none;
  }

  .content {
    flex: 1;
    justify-content: flex-start;
    gap: clamp(14px, 2.8svh, 24px);
    padding: clamp(58px, 10vw, 76px) clamp(18px, 5.4vw, 28px) clamp(18px, 4svh, 30px);
  }

  .school-name span {
    font-size: clamp(31px, 9.6vw, 48px);
  }

  .school-name .public {
    font-size: clamp(25px, 7.35vw, 38px);
  }

  .btn-call,
  .btn-yt {
    gap: 12px;
    padding-left: clamp(16px, 5vw, 22px);
    padding-right: clamp(16px, 5vw, 22px);
  }

  .bottom-row {
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 12px;
  }
}

@media (max-width: 360px), (max-height: 690px) and (max-width: 759px) {
  .building-wrap {
    height: clamp(230px, 38svh, 300px);
    min-height: 230px;
  }

  .logo-badge {
    top: clamp(180px, calc(38svh - 46px), 244px);
    width: 92px;
    height: 92px;
  }

  .content {
    gap: 12px;
    padding-top: 50px;
  }

  .call-icon,
  .yt-icon {
    width: 40px;
    height: 40px;
  }

  .call-text .num,
  .yt-text .yt-label {
    font-size: 16px;
  }

  .school-name span {
    font-size: clamp(27px, 8.5vw, 34px);
  }

  .school-name .public {
    font-size: clamp(22px, 6.8vw, 27px);
  }
}
