:root {
  --navy: #2e2878;
  --blue: #009ee2;
  --cyan: #009ee2;
  --green: #048c40;
  --ink: #163b57;
  --muted: #668198;
  --paper: #f7fcfd;
  --line: #d9e7ed;
  --coral: #d2271b;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
.page-shell { min-height: 100vh; overflow: hidden; }
.hero { height: 100vh; min-height: 580px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr); position: relative; }
.hero::before { background: linear-gradient(90deg, #048c40 0 25%, #009ee2 25% 50%, #d2271b 50% 75%, #2e2878 75%); content: ""; height: 5px; left: 0; position: absolute; right: 0; top: 0; z-index: 5; }
.hero-content { position: relative; isolation: isolate; padding: 30px clamp(28px, 4.5vw, 64px) 26px; display: flex; flex-direction: column; min-height: 100%; overflow: hidden; background: linear-gradient(145deg, #f7fcfd 12%, #e8f7fb 100%); }
.self-background { background-image: linear-gradient(180deg, rgba(232, 247, 251, .58) 0%, rgba(232, 247, 251, .2) 46%, rgba(46, 40, 120, .1) 100%), url("self.png"); background-position: center bottom; background-repeat: no-repeat; background-size: 100% auto; bottom: 0; left: 0; opacity: .18; pointer-events: none; position: absolute; right: 0; top: 0; filter: grayscale(.12) saturate(.86) contrast(1.02); mask-image: linear-gradient(to bottom, transparent 2%, black 25%, black 100%); z-index: -1; }
.hero-content::after { content: ""; position: absolute; width: 500px; height: 500px; border: 1px solid rgba(38, 184, 211, .15); border-radius: 50%; right: -275px; top: 26%; z-index: -1; }
.brand-row { display: flex; align-items: center; gap: 22px; position: relative; z-index: 2; }
.brand-lockup { align-items: center; display: flex; gap: 8px; }
.logo { width: 178px; height: auto; display: block; }
.location-tag { border-left: 1px solid #b8d3dc; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .02em; padding-left: 18px; }
.pin-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin: 0 7px 1px 0; }
.copy-block { max-width: 560px; margin-top: clamp(28px, 5vh, 48px); position: relative; z-index: 2; }
.eyebrow { color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .12em; margin: 0 0 17px; text-transform: uppercase; }
h1, h2 { font-family: "Manrope", sans-serif; margin: 0; }
h1 { color: var(--navy); font-size: clamp(34px, 3.1vw, 45px); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; max-width: 475px; }
h1 em { color: #00973f; font-style: normal; }
.lead { color: #547489; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.45; margin: 15px 0 0; max-width: 360px; }
.supporting-info { bottom: 22px; left: clamp(28px, 4.5vw, 64px); max-width: 560px; position: absolute; width: calc(50% - clamp(28px, 4.5vw, 64px)); z-index: 2; }
.anniversary-badge { display: block; height: auto; margin-top: 0; max-width: 100%; width: 100%; }
.legal-info { color: #557586; font-size: 8px; line-height: 1.35; margin-top: 8px; max-width: 560px; opacity: .9; }
.legal-info p { margin: 2px 0; }
.legal-info strong { color: #2e2878; font-weight: 700; }
.social-visual { bottom: 0; height: min(42vh, 330px); pointer-events: none; position: absolute; right: 0; width: min(39vw, 430px); z-index: 1; }
.social-shape { position: absolute; }
.social-shape-green { background: linear-gradient(160deg, #048c40, #42b978); border-radius: 45% 0 0 0; bottom: 0; height: 86%; right: 0; width: 70%; }
.social-shape-blue { border: 3px solid rgba(0, 158, 226, .65); border-bottom: 0; border-radius: 50% 50% 0 0; bottom: 4%; height: 53%; right: 13%; width: 82%; }
.social-person { bottom: 0; height: 100%; object-fit: contain; position: absolute; width: 67%; }
.social-person.older { right: -4%; z-index: 1; }
.social-person.woman { left: -3%; width: 64%; z-index: 2; }
.visual-wrap { position: absolute; right: 2%; bottom: 7%; width: min(18vw, 205px); height: min(18vw, 205px); z-index: 1; }
.soft-blob { background: #c7f1f4; border-radius: 48% 52% 62% 38%; height: 100%; position: absolute; transform: rotate(16deg); width: 100%; }
.image-frame { border: 10px solid rgba(255, 255, 255, .85); border-radius: 48% 52% 55% 45%; box-shadow: 0 22px 45px rgba(6, 73, 105, .16); height: 100%; overflow: hidden; position: absolute; transform: rotate(-8deg); width: 100%; }
.image-frame img { height: 100%; object-fit: cover; object-position: 50% 0%; transform: scale(1.8); width: 100%; }
.visual-label { align-items: flex-start; background: white; border-radius: 9px 9px 9px 0; bottom: -11px; box-shadow: 0 8px 18px rgba(7, 60, 104, .13); display: flex; flex-direction: column; left: -35px; padding: 10px 15px; position: absolute; transform: rotate(-4deg); }
.visual-label span { color: var(--coral); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.visual-label strong { color: var(--navy); font-family: "Manrope", sans-serif; font-size: 16px; letter-spacing: -.04em; }
.sparkle { color: var(--coral); font-size: 25px; position: absolute; }
.sparkle-one { right: -9%; top: 3%; }
.sparkle-two { bottom: -7%; right: 5%; color: var(--cyan); font-size: 17px; }
.clinic-info { align-items: flex-start; display: flex; gap: 10px; margin-top: auto; max-width: 350px; padding-bottom: 1px; position: relative; z-index: 2; }
.info-icon { align-items: center; background: white; border-radius: 50%; color: var(--coral); display: flex; flex: 0 0 35px; font-size: 22px; height: 35px; justify-content: center; box-shadow: 0 4px 15px rgba(7, 60, 104, .1); }
.clinic-info strong, .clinic-info span { display: block; }
.clinic-info strong { color: var(--navy); font-size: 13px; margin: 1px 0 4px; }
.clinic-info span { color: var(--muted); font-size: 11px; line-height: 1.45; }
.form-panel { align-self: center; align-items: center; background-image: linear-gradient(145deg, rgba(46, 40, 120, .86), rgba(20, 46, 112, .92)), url("back.png"); background-position: center; background-size: cover; border-left: 0; min-height: 100%; padding: 22px clamp(28px, 4vw, 58px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.form-panel::after { animation: formGlow 5s ease-in-out infinite; background: radial-gradient(circle, rgba(0, 158, 226, .32) 0, rgba(4, 140, 64, .15) 34%, transparent 68%); content: ""; filter: blur(12px); height: 620px; left: 50%; pointer-events: none; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 620px; }
.form-panel::before { display: none; }
.form-heading { background: linear-gradient(90deg, #048c40 0 25%, #009ee2 25% 50%, #d2271b 50% 75%, #2e2878 75%) top / 100% 5px no-repeat, #fff; border-radius: 14px 14px 0 0; margin: 0 auto; max-width: 430px; padding: 22px 28px 9px; position: relative; width: 100%; z-index: 2; }
.form-step { align-items: center; color: var(--coral); display: flex; font-size: 10px; font-weight: 700; letter-spacing: .1em; margin-bottom: 17px; }
.form-step i { background: var(--coral); display: inline-block; height: 1px; margin: 0 10px; opacity: .55; width: 27px; }
h2 { color: var(--navy); font-size: clamp(24px, 2.1vw, 30px); letter-spacing: -.045em; line-height: 1.1; }
.form-heading p { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 9px 0 0; }
form { background: #fff; border: 2px solid rgba(0, 158, 226, .18); border-top: 0; border-radius: 0 0 14px 14px; box-shadow: 0 20px 40px rgba(7, 17, 64, .3), 0 42px 48px rgba(0, 158, 226, .5), 0 0 26px rgba(4, 140, 64, .2); margin: -1px auto 0; max-width: 430px; padding: 0 28px 23px; position: relative; width: 100%; z-index: 1; }
@keyframes formGlow { 0%, 100% { opacity: .72; transform: translate(-50%, -50%) scale(.96); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } }
label:not(.consent) { color: #2a536d; display: block; font-size: 11px; font-weight: 700; margin: 0 0 6px; }
input[type="text"], input[type="email"], input[type="tel"] { background: #fbfdfe; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font: inherit; font-size: 12px; outline: 0; padding: 11px 13px; transition: .2s ease; width: 100%; }
input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(38, 184, 211, .11); }
input::placeholder { color: #9ab0bc; }
form > input + .field-error { min-height: 5px; }
form label:not(.consent) ~ label:not(.consent) { margin-top: 8px; }
.field-error { color: #d75550; display: block; font-size: 10px; margin-top: 4px; min-height: 0; }
.consent { align-items: flex-start; color: #6f8794; cursor: pointer; display: flex; font-size: 10px; gap: 9px; line-height: 1.45; margin: 7px 0 0; }
.consent input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.checkmark { background: white; border: 1px solid #b8d1da; border-radius: 4px; flex: 0 0 15px; height: 15px; position: relative; }
.consent input:checked + .checkmark { background: var(--blue); border-color: var(--blue); }
.consent input:checked + .checkmark::after { border: solid white; border-width: 0 1px 1px 0; content: ""; height: 8px; left: 5px; position: absolute; top: 2px; transform: rotate(45deg); width: 4px; }
button { background: var(--green); border: 0; border-radius: 8px; box-shadow: 0 11px 21px rgba(4, 140, 64, .3); color: white; cursor: pointer; font: 700 12px "DM Sans", sans-serif; margin-top: 13px; padding: 14px 16px; text-align: left; transition: .2s ease; width: 100%; }
button span { float: right; font-size: 18px; line-height: 13px; }
button:hover { background: #037437; box-shadow: 0 13px 23px rgba(4, 140, 64, .28); transform: translateY(-1px); }
.secure-note { color: #94aab3; font-size: 10px; margin: 14px 0 0; text-align: center; }
.secure-note span { color: var(--cyan); font-size: 14px; vertical-align: -1px; }
.form-status { color: #168574; font-size: 12px; line-height: 1.4; margin: 12px 0 0; text-align: center; }

@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .hero-content { min-height: auto; padding-bottom: 52px; }
  .supporting-info { bottom: auto; left: auto; max-width: none; padding: 34px 28px 48px; position: relative; width: 100%; }
  .visual-wrap { bottom: 42px; right: 8%; width: 230px; height: 215px; }
  .clinic-info { margin-top: 64px; }
  .form-panel { min-height: auto; padding: 72px 28px 78px; }
}
@media (max-width: 500px) {
  .hero-content { padding: 25px 22px 52px; }
  .logo { width: 145px; }
  .location-tag { font-size: 10px; padding-left: 12px; }
  .copy-block { margin-top: 62px; }
  h1 { font-size: 42px; }
  .lead { font-size: 15px; margin-top: 18px; }
  .form-panel { padding: 56px 22px 62px; }
}
