@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #173b4a;
  --muted: #647985;
  --ocean: #087e8b;
  --ocean-deep: #075765;
  --sea-light: #dff4f1;
  --sand: #fff7e8;
  --sun: #ffc857;
  --line: #e3eceb;
  --white: #fff;
  --shadow: 0 18px 50px rgba(18, 68, 78, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f4f8f7;
  font-family: 'DM Sans', sans-serif;
}
button, input, select, textarea { font: inherit; }
a { color: var(--ocean-deep); }
.container { position: relative; z-index: 1; }

.brand .eyebrow, .section-kicker {
  margin: 0 0 8px; color: var(--ocean); font-size: .72rem; font-weight: 800;
  letter-spacing: .16em;
}
.brand h1 { margin: 0; font: 800 clamp(1.35rem, 2.4vw, 2rem)/1.15 'Manrope', sans-serif; }
.brand-subtitle { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.brand-logo { width: 76px; max-height: 82px; object-fit: contain; }
.island-sky { position: fixed; inset: 0 0 auto; height: 170px; z-index: 0; overflow: hidden; pointer-events: none; }
.sun { position: absolute; right: 12%; top: -55px; width: 180px; height: 180px; border-radius: 50%; background: #ffdf91; opacity: .35; }
.cloud { position: absolute; width: 115px; height: 32px; background: rgba(255,255,255,.8); border-radius: 40px; filter: blur(.3px); }
.cloud::before, .cloud::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 45px; height: 45px; left: 20px; top: -20px; }
.cloud::after { width: 56px; height: 56px; left: 50px; top: -27px; }
.cloud-one { top: 48px; right: 33%; animation: cloud-drift 28s linear infinite alternate; }
.cloud-two { top: 104px; right: 4%; transform: scale(.7); animation: cloud-drift 35s linear infinite alternate-reverse; }
.bird { position: absolute; color: #5b9da3; font-size: 2.1rem; font-weight: 700; }
.bird-one { top: 65px; right: 25%; }
.bird-two { top: 92px; right: 21%; font-size: 1.4rem; }
@keyframes cloud-drift { from { translate: -16px 0; } to { translate: 26px 0; } }

.hero-card {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden;
  min-height: 300px; border-radius: 28px; color: #fff;
  background: linear-gradient(115deg, #075765 0%, #087e8b 58%, #39a8a1 100%);
  box-shadow: 0 22px 55px rgba(8, 126, 139, .2);
}
.hero-copy { position: relative; z-index: 2; padding: clamp(28px, 4vw, 52px); }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 30px; background: rgba(255,255,255,.12); font-size: .8rem; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgba(255,200,87,.15); }
.hero-copy h2 { margin: 22px 0 12px; font: 800 clamp(2rem, 4.2vw, 3.45rem)/1.04 'Manrope', sans-serif; letter-spacing: -.045em; }
.hero-copy h2 em { color: #ffda87; font-style: normal; }
.hero-copy p { max-width: 560px; margin: 0; color: rgba(255,255,255,.86); line-height: 1.7; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-tags span { padding: 7px 10px; border-radius: 20px; background: rgba(255,255,255,.13); font-size: .78rem; }
.hero-art { position: relative; min-height: 300px; overflow: hidden; }
.sun-disc { position: absolute; top: 33px; right: 18%; width: 95px; height: 95px; border-radius: 50%; background: #ffd57a; box-shadow: 0 0 0 16px rgba(255,213,122,.13); }
.sea { position: absolute; right: -5%; bottom: -8%; width: 115%; height: 52%; border-radius: 50% 50% 0 0 / 22% 22% 0 0; }
.sea-back { bottom: 6%; background: #42b9b0; transform: rotate(-7deg); }
.sea-front { bottom: -18%; background: #a5e1d6; transform: rotate(6deg); }
.island { position: absolute; right: 7%; bottom: 26%; width: 68%; height: 75px; background: #e7c98e; border-radius: 55% 55% 0 0 / 85% 85% 0 0; transform: rotate(-4deg); }
.grass { position: absolute; top: 4px; left: 12%; right: 12%; height: 10px; border-radius: 50%; background: #a5bf73; }
.lighthouse { position: absolute; bottom: 26px; left: 28%; z-index: 1; width: 23px; height: 54px; display: grid; place-items: center; color: #fff; font-size: 1.7rem; background: #f9f4e8; border-top: 9px solid #f0a18b; border-radius: 5px 5px 1px 1px; box-shadow: inset 8px 0 #d9e3dc; }
.shell { position: absolute; color: rgba(255,255,255,.7); font-size: 2rem; }
.shell-one { bottom: 20%; right: 13%; }
.shell-two { bottom: 32%; left: 9%; }
.alert-error { max-width: 1120px; margin: 22px auto 0; padding: 14px 18px; border: 1px solid #f2b8b5; border-radius: 12px; color: #8e2521; background: #fff0ef; }

.form-layout { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.65fr); align-items: start; gap: clamp(24px, 4vw, 54px); max-width: 1260px; margin: 56px 2rem 44px; }
.form-intro { position: sticky; top: 22px; padding: 12px 0; }
.form-intro h2 { margin: 10px 0; font: 800 clamp(1.8rem, 3vw, 2.5rem)/1.1 'Manrope', sans-serif; letter-spacing: -.04em; }
.form-intro > p { color: var(--muted); line-height: 1.7; }
.required-star, .field b, legend b, .check-row b { color: #d85e43; }
.note-card { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 15px; border: 1px solid #d7ece7; border-radius: 15px; background: #eaf7f3; }
.note-card .material-symbols-outlined { color: var(--ocean); }
.note-card p { margin: 0; color: #476b70; font-size: .86rem; line-height: 1.55; }
.mini-fact { display: flex; align-items: center; gap: 13px; margin-top: 28px; }
.mini-fact > span { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; color: var(--ocean); background: #e1f3ef; }
.mini-fact strong, .mini-fact small { display: block; }
.mini-fact small { margin-top: 4px; color: var(--muted); line-height: 1.45; }

.form-card { min-width: 0; padding: clamp(20px, 3.5vw, 38px); border: 1px solid rgba(219,233,231,.9); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.form-section + .form-section { margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.step { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border-radius: 14px; color: var(--ocean-deep); background: #e0f3ef; font: 800 1rem 'Manrope', sans-serif; }
.section-heading h3 { margin: 0; font: 800 1.12rem 'Manrope', sans-serif; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 15px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: #294b56; font-size: .88rem; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; border: 1px solid #d9e5e4; border-radius: 11px; outline: none;
  padding: 12px 13px; color: var(--ink); background: #fbfdfc; font-size: .92rem; font-weight: 500;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input, .field select { min-height: 48px; }
.field textarea { min-height: 82px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9aadb2; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #1596a0; background: #fff; box-shadow: 0 0 0 4px rgba(8,126,139,.1); }
.choice-field { min-width: 0; margin: 20px 0 0; padding: 0; border: 0; }
.choice-field legend { margin-bottom: 12px; color: #294b56; font-size: .9rem; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; min-height: 47px; padding: 10px 13px; border: 1px solid #d9e5e4; border-radius: 11px; color: #4e6972; background: #fbfdfc; font-size: .88rem; font-weight: 600; transition: .2s; }
.choice span::before { content: ''; flex: 0 0 16px; width: 16px; height: 16px; margin-right: 10px; border: 1.5px solid #a8bcbe; border-radius: 50%; background: #fff; }
.choice input:checked + span { border-color: var(--ocean); color: var(--ocean-deep); background: #eaf8f5; box-shadow: inset 0 0 0 1px var(--ocean); }
.choice input:checked + span::before { border: 5px solid var(--ocean); }
.choice input:focus-visible + span { outline: 3px solid rgba(8,126,139,.25); outline-offset: 2px; }
.field-help { margin: -4px 0 12px; color: var(--muted); font-size: .86rem; }
.helmet-field { padding: 16px; border: 1px solid #dbece8; border-radius: 15px; background: #f6fbf9; }
.agreement-section { font-size: .88rem; }
.check-row { display: flex; align-items: flex-start; gap: 11px; margin: 14px 0; color: #536d75; line-height: 1.55; cursor: pointer; }
.check-row input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ocean); }
.check-row a { font-weight: 700; text-underline-offset: 3px; }
.privacy-note { margin: 20px 0; padding: 12px 14px; border-radius: 10px; color: #6a7f85; background: #f4f8f7; font-size: .8rem; line-height: 1.6; }
.submit-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; padding: 14px 20px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(100deg, #087e8b, #0b9c9b); box-shadow: 0 8px 20px rgba(8,126,139,.2); font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s, filter .2s; }
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(8,126,139,.28); filter: saturate(1.1); }
.submit-button:active { transform: translateY(0); }
.submit-button .material-symbols-outlined { transition: transform .2s; }
.submit-button:hover .material-symbols-outlined { transform: translateX(4px); }
.required-note { margin: 12px 0 0; color: var(--muted); font-size: .78rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: 1260px; margin: 0 auto; padding: 24px 0 8px; border-top: 1px solid #dfe9e7; color: var(--muted); font-size: .82rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ocean); text-decoration: underline; }

@media (max-width: 1100px) {
  .form-layout { grid-template-columns: 1fr; margin-top: 38px; }
  .form-intro { position: static; }
  .form-intro > p { max-width: 680px; }
  .note-card { max-width: 680px; }
  .hero-art { min-height: 260px; }
}
@media (max-width: 760px) {
  .brand .eyebrow { font-size: .62rem; letter-spacing: .1em; }
  .brand h1 { font-size: 1.25rem; }
  .brand-subtitle { font-size: .83rem; }
  .brand-logo { width: 54px; max-height: 60px; }
  .hero-card { grid-template-columns: 1fr; border-radius: 21px; }
  .hero-copy { padding: 27px 23px 15px; }
  .hero-copy h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-art { min-height: 190px; }
  .sun-disc { top: 6px; width: 72px; height: 72px; }
  .island { bottom: 27%; }
  .form-layout { gap: 22px; margin: 32px .5rem; }
  .form-card { padding: 22px 17px; border-radius: 19px; }
  .fields { grid-template-columns: 1fr; gap: 15px; }
  .field-wide { grid-column: auto; }
  .choice-grid { grid-template-columns: 1fr; }
  .section-heading { margin-bottom: 18px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
