/* ─── Brand tokens ─────────────────────────────────────────────── */
:root {
  --blue:        #0D5EA6;
  --blue-dark:   #094880;
  --blue-deep:   #0A3D6B;
  --blue-light:  #E8F0FA;
  --amber:       #F59E0B;
  --amber-dark:  #D97706;
  --white:       #FFFFFF;
  --bg:          #F4F7FB;
  --text:        #1A1A1A;
  --text-muted:  #5A6A7E;
  --border:      #D4E0F0;
  --error:       #D0342C;
  --success:     #1A7F4B;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(13,94,166,.13);
  --shadow-lg:   0 8px 40px rgba(13,94,166,.16);
  --transition:  .18s ease;
}

/* ─── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Layout ───────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Header ───────────────────────────────────────────────────── */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.02em;
}

@media (max-width: 400px) {
  .logo-text { font-size: .95rem; }
}

/* ─── Header nav icons ─────────────────────────────────────────── */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-icon:hover {
  color: var(--blue);
  background: var(--blue-light);
}

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--white);
  padding: 88px 0 76px;
  text-align: center;
}

.hero-heading {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  opacity: .88;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-tags span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 5px 14px;
  border-radius: 50px;
}

.hero-cta {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  text-decoration: none;
  color: var(--blue-dark);
}

/* ─── Why section ──────────────────────────────────────────────── */
.why-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  padding: 24px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.why-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--blue);
}

.why-card h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.why-card p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── Form section ─────────────────────────────────────────────── */
.form-section {
  padding: 48px 0 64px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
  border-top: 3px solid var(--blue);
}

@media (max-width: 520px) {
  .form-card { padding: 28px 18px; }
}

.form-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
  letter-spacing: -.02em;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 32px;
}

/* ─── Fields ───────────────────────────────────────────────────── */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.field-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.required { color: var(--blue); }
.field-optional { font-weight: 400; color: var(--text-muted); font-size: .8rem; }

.field-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.field-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13,94,166,.12);
}

.field-input.error { border-color: var(--error); }

.field-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%235A6A7E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.field-textarea {
  resize: vertical;
  min-height: 110px;
}

/* ─── Portfolio links ──────────────────────────────────────────── */
.portfolio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-url { margin-bottom: 0; }

.char-count {
  font-size: .78rem;
  font-weight: 400;
  color: var(--text-muted);
}

.char-count.near-limit { color: #D07A00; }
.char-count.at-limit   { color: var(--error); }

.field-hint {
  font-size: .8rem;
  color: var(--text-muted);
}

.field-error {
  font-size: .8rem;
  color: var(--error);
  min-height: 1em;
}

/* ─── Flatpickr brand overrides ────────────────────────────────── */
.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.flatpickr-day.inRange {
  background: var(--blue-light);
  border-color: var(--blue-light);
  box-shadow: -5px 0 0 var(--blue-light), 5px 0 0 var(--blue-light);
  color: var(--blue);
}

.flatpickr-day:hover { border-color: var(--blue); }

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-weekdays { background: var(--blue); }

.flatpickr-current-month input.cur-year,
.flatpickr-current-month .flatpickr-monthDropdown-months,
span.flatpickr-weekday { color: var(--white); fill: var(--white); }

.flatpickr-calendar { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ─── Contact options ──────────────────────────────────────────── */
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 420px) {
  .contact-options { grid-template-columns: 1fr; }
}

.contact-option {
  cursor: pointer;
  display: block;
}

.contact-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.contact-option-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  user-select: none;
}

.contact-option input[type="radio"]:checked + .contact-option-label {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.contact-option:hover .contact-option-label {
  border-color: var(--blue);
  color: var(--blue);
}

/* ─── Contact detail (conditional) ────────────────────────────── */
.contact-detail {
  animation: fadeSlide .2s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.contact-social-callout {
  background: var(--blue-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-social-callout p {
  font-size: .9rem;
  color: var(--text);
}

.social-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 600;
  transition: opacity var(--transition);
  color: var(--white);
  text-decoration: none;
}

.social-follow-btn:hover { opacity: .88; text-decoration: none; }

.instagram-btn { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.linkedin-btn  { background: #0077B5; }
.youtube-btn   { background: #FF0000; }

/* ─── Privacy ──────────────────────────────────────────────────── */
.privacy-group { margin-top: 8px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
}

.privacy-link { color: var(--blue); }

/* ─── Submit ───────────────────────────────────────────────────── */
.submit-btn {
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  background: var(--amber);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(245,158,11,.35);
  letter-spacing: .01em;
}

.submit-btn:hover   {
  background: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,158,11,.4);
}
.submit-btn:active  { transform: translateY(0); }
.submit-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; box-shadow: none; }

.form-error-msg {
  margin-top: 12px;
  text-align: center;
  font-size: .875rem;
  color: var(--error);
}

/* ─── Success state ────────────────────────────────────────────── */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-muted);
  font-size: .95rem;
}

/* ─── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.75);
  padding: 36px 0 28px;
  text-align: center;
}

.footer-privacy {
  font-size: .8rem;
  max-width: 480px;
  margin: 0 auto 12px;
  line-height: 1.6;
}

.footer-privacy a { color: rgba(255,255,255,.75); text-decoration: underline; }

.footer-copy {
  font-size: .78rem;
  opacity: .55;
}
