/* ============================================================
   Valdrex, shared site styles
   ============================================================ */

:root {
  --accent: #1e9bf0;
  --accent-dark: #1489e0;
  --ink: #3a3f47;
  --ink-mid: #565c66;
  --ink-soft: #7c828c;
  --page-bg: #eef0f4;
  --line: #e4e7ed;
  --radius: 28px;
  --shadow-card: 0 40px 90px rgba(60, 70, 90, .18);
  --shadow-soft: 0 14px 30px rgba(60, 70, 90, .10);
  --shadow-lift: 0 20px 44px rgba(60, 70, 90, .16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--page-bg);
  color: var(--ink);
  padding: 56px 40px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

::selection { background: rgba(30,155,240,.22); }

/* ---------- floating background pebbles ---------- */
.pebble {
  position: fixed;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 2px 4px 8px rgba(0,0,0,.06), 0 6px 14px rgba(0,0,0,.05);
  z-index: 0;
  pointer-events: none;
}
.pebble.p1 { width: 26px; height: 26px; top: 70px;    left: 9%; }
.pebble.p2 { width: 16px; height: 16px; top: 160px;   right: 4%; }
.pebble.p3 { width: 30px; height: 30px; bottom: 60px; left: 24%; }
.pebble.p4 { width: 14px; height: 14px; bottom: 140px;right: 12%; }

/* ---------- card shell ---------- */
.card {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  background: linear-gradient(160deg, #fdfdfe 0%, #f2f4f8 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 44px 64px 0;
  min-height: 860px;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* inner pages: content flows, no fixed hero height */
.card--page {
  min-height: 0;
  overflow: visible;
  padding-bottom: 64px;
}

/* ---------- nav ---------- */
.nav {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 6;
}
.logo {
  font-weight: 700;
  font-size: 27px;
  letter-spacing: .5px;
  color: #2e333b;
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 44px;
  margin: 0 auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 16.5px;
  font-weight: 500;
  padding-bottom: 6px;
  transition: color .18s;
}
.nav-links a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.nav-links a:hover { color: var(--accent); }

.lets-talk {
  background: linear-gradient(135deg, #2ea6f5, var(--accent-dark));
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 16px 34px;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(30, 155, 240, .38);
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.lets-talk:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(30,155,240,.45); }

/* ---------- home hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex: 1;
  margin-top: 30px;
  min-height: 720px;
}

.halo {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e9ecf2 70%);
  box-shadow: inset 0 10px 30px rgba(255,255,255,.9), 0 30px 60px rgba(80,90,110,.10);
  z-index: 1;
}

.copy {
  position: relative;
  z-index: 4;
  flex: 0 0 34%;
  padding-top: 150px;
}
.copy .hello {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #4a4f58;
  margin-bottom: 16px;
}
.copy h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 72px;
  letter-spacing: 2px;
  color: #3f444d;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #d7dbe2;
  margin-bottom: 30px;
  line-height: 1;
}
.copy p {
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.85;
  color: #666c76;
  max-width: 370px;
}

.contact-chip {
  display: inline-block;
  margin-top: 130px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #555b64;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.social-row { display: flex; gap: 16px; margin-top: 18px; }
.social-row a {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  color: #9aa0aa;
  box-shadow: 0 10px 22px rgba(60,70,90,.12);
  transition: transform .15s, color .15s;
}
.social-row a:hover { transform: translateY(-3px); color: var(--accent); }
.social-row a.primary {
  background: linear-gradient(135deg, #2ea6f5, var(--accent-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(30,155,240,.4);
}
.social-row a.primary:hover { color: #fff; }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }

.photo-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 530px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.photo-wrap picture, .about-photo picture { display: block; width: 100%; }

.photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 44px rgba(45, 55, 75, .20));
}

.ring {
  position: absolute;
  top: 130px; left: 30%;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 10px solid #dfe3e9;
  box-shadow: 2px 4px 8px rgba(0,0,0,.12), inset 1px 2px 3px rgba(255,255,255,.8);
  transform: rotate(-25deg) scaleY(.75);
  z-index: 2;
}
.planet {
  position: absolute;
  bottom: 220px; left: 13%;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #d9dde4);
  box-shadow: 0 6px 12px rgba(0,0,0,.10);
  z-index: 2;
}
.planet::after {
  content: "";
  position: absolute;
  top: 50%; left: -9px; right: -9px;
  height: 8px;
  border: 2px solid #cfd4dc;
  border-radius: 50%;
  transform: translateY(-50%) rotate(-16deg);
}

/* ---------- home skill cards ---------- */
/* five cards in a staggered two-column scatter down the right side */
.skills { position: absolute; right: 0; top: 16px; width: 32%; z-index: 5; }
.skill { position: absolute; display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.skill.s1 { left: 24px; top: 8px; }
.skill.s2 { right: 0;   top: 126px; }
.skill.s3 { left: 38px; top: 248px; }
.skill.s4 { right: 0;   top: 368px; }
.skill.s5 { left: 28px; top: 490px; }

.thumb {
  width: 172px; height: 118px;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(60,70,90,.16);
  transition: transform .18s;
}
.skill:hover .thumb { transform: translateY(-5px); }
.thumb .screen {
  width: 100%; height: 100%;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-align: center; line-height: 1.6;
  overflow: hidden;
}
.thumb .screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.s1 .screen { background: linear-gradient(135deg, #6a8dff, #3f5efb); }
.s2 .screen { background: linear-gradient(135deg, #59c1ff, #2b7fd4); }
.s3 .screen { background: linear-gradient(135deg, #7f6bff, #4f3fd4); }

.connector { width: 8px; height: 8px; background: #3a3f47; transform: rotate(45deg); margin: 10px 0; }
.connector::before { content: ""; display: block; width: 2px; height: 14px; background: #3a3f47; margin: -14px 0 0 3px; }

.skill-label {
  background: #fff;
  border-radius: 12px;
  padding: 11px 20px;
  font-size: 14px; font-weight: 600;
  color: #4a4f58;
  box-shadow: 0 12px 26px rgba(60,70,90,.14);
  white-space: nowrap;
}

/* ============================================================
   Inner page components
   ============================================================ */

.page-head { margin: 56px 0 12px; max-width: 780px; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.page-head h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 52px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #3f444d;
  text-shadow: 3px 3px 0 #d7dbe2;
  line-height: 1.08;
  margin-bottom: 22px;
}
.page-head .lede {
  font-size: 18px; font-weight: 500;
  line-height: 1.85;
  color: var(--ink-mid);
}

.section { margin-top: 70px; }
.section > h2 {
  font-size: 27px; font-weight: 700;
  color: #3f444d;
  margin-bottom: 10px;
}
.section > .sub {
  font-size: 16px; font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 32px;
}

.panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 34px 38px;
}

/* ---------- works grid ---------- */
/* auto-fill (not auto-fit) so a 2-card row keeps the same card width as a 3-card row */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}
.work-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.work-shot {
  height: 210px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-align: center; line-height: 2;
  position: relative;
  overflow: hidden;
}
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot-a { background: linear-gradient(135deg, #6a8dff, #3f5efb); }
.shot-b { background: linear-gradient(135deg, #59c1ff, #2b7fd4); }
.shot-c { background: linear-gradient(135deg, #7f6bff, #4f3fd4); }
.shot-d { background: linear-gradient(135deg, #3ecfb4, #1f9e8c); }

.work-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.work-body h3 { font-size: 21px; font-weight: 700; color: #3f444d; margin-bottom: 6px; }
.work-body .role { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.work-body p { font-size: 15px; font-weight: 500; line-height: 1.8; color: var(--ink-soft); margin-bottom: 18px; }

.work-link { margin-top: 16px; margin-bottom: 0 !important; }
.work-link a {
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.work-link a:hover { text-decoration: underline; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tag {
  font-size: 12px; font-weight: 600;
  color: #5d636d;
  background: #f0f2f6;
  border-radius: 8px;
  padding: 6px 12px;
}
.tag.status { background: rgba(30,155,240,.12); color: var(--accent-dark); }

/* ---------- service tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 30px;
  align-items: start;
}
.tier {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 34px 32px 36px;
  position: relative;
  transition: transform .18s, box-shadow .18s;
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.tier.featured { border: 2px solid var(--accent); }
.tier .badge {
  position: absolute; top: -13px; left: 32px;
  background: linear-gradient(135deg, #2ea6f5, var(--accent-dark));
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  padding: 7px 16px; border-radius: 8px;
  box-shadow: 0 8px 18px rgba(30,155,240,.35);
}
.tier .step { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
.tier h3 { font-size: 23px; font-weight: 700; color: #3f444d; margin-bottom: 10px; }
.tier .price { font-size: 15px; font-weight: 700; color: #3f444d; margin-bottom: 4px; }
.tier .price-note { font-size: 13px; font-weight: 500; color: #9aa0aa; margin-bottom: 20px; }
.tier > p { font-size: 15px; font-weight: 500; line-height: 1.8; color: var(--ink-soft); margin-bottom: 20px; }

.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px; font-weight: 500;
  line-height: 1.65;
  color: var(--ink-mid);
  margin-bottom: 13px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(30,155,240,.14);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5.5px; top: 8px;
  width: 5px; height: 8px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.step-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 26px 24px 28px;
}
.step-card .n {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2ea6f5, var(--accent-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 20px rgba(30,155,240,.32);
  margin-bottom: 16px;
}
.step-card h4 { font-size: 17px; font-weight: 700; color: #3f444d; margin-bottom: 8px; }
.step-card p { font-size: 14px; font-weight: 500; line-height: 1.75; color: var(--ink-soft); }

/* ---------- about layout ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 22px 22px 0;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px 14px 0 0;
}
.prose p {
  font-size: 16.5px; font-weight: 500;
  line-height: 1.9;
  color: var(--ink-mid);
  margin-bottom: 22px;
}
.prose p strong { color: #3f444d; font-weight: 700; }

.fact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; margin-top: 12px; }
.fact {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
}
.fact h5 { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.fact p { font-size: 14.5px; font-weight: 600; color: #4a4f58; line-height: 1.6; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: inherit;
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  background: #f6f7fa;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .16s, background .16s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
}
.field textarea { min-height: 130px; resize: vertical; }

/* spam honeypot, hidden from people but visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-soft);
}
.form-status:empty { display: none; }
.form-status.ok  { color: #1c8f5f; }
.form-status.err { color: #c2413c; }

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #2ea6f5, var(--accent-dark));
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  font-size: 15px; font-weight: 700;
  letter-spacing: .6px;
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(30,155,240,.38);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(30,155,240,.45); }
.btn.ghost {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: var(--shadow-soft);
}

.contact-line {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line .ic {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  background: rgba(30,155,240,.12);
  display: flex; align-items: center; justify-content: center;
}
.contact-line .ic svg { width: 18px; height: 18px; fill: var(--accent-dark); }
.contact-line h5 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; }
.contact-line a, .contact-line p { font-size: 16px; font-weight: 600; color: #3f444d; text-decoration: none; }
.contact-line a:hover { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band {
  margin-top: 70px;
  background: linear-gradient(135deg, #2ea6f5, var(--accent-dark));
  border-radius: 22px;
  padding: 48px 52px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 24px 50px rgba(30,155,240,.32);
}
.cta-band h3 { font-size: 27px; font-weight: 700; margin-bottom: 8px; }
.cta-band p { font-size: 16px; font-weight: 500; line-height: 1.75; opacity: .93; max-width: 620px; }
.cta-band .btn {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
  margin-left: auto;
  white-space: nowrap;
}

/* ---------- footer ---------- */
.site-footer {
  max-width: 1480px;
  margin: 28px auto 0;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.site-footer nav { margin-left: auto; display: flex; gap: 26px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* ---------- editorial note (remove before launch) ---------- */
.todo {
  background: #fff6d8;
  border: 1px dashed #e0b83a;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #7a5c10;
  margin-top: 14px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  body { padding: 20px 12px; }
  .card { padding: 28px 24px 0; }
  .card--page { padding-bottom: 44px; }
  .nav-links { display: none; }
  .lets-talk { margin-left: auto; }

  .hero { flex-direction: column; min-height: 0; }
  .halo { display: none; }
  .copy { flex: none; padding-top: 40px; }
  .copy h1 { font-size: 46px; }
  .contact-chip { margin-top: 40px; }
  .photo-wrap {
    position: relative;
    left: auto; bottom: auto;
    transform: none;
    width: 100%;
    max-width: 340px;
    margin: 40px auto 0;
  }
  .skills {
    position: relative;
    right: auto; top: auto;
    width: 100%;
    display: flex; flex-wrap: wrap; gap: 24px;
    justify-content: center;
    padding: 30px 0 50px;
  }
  .skill { position: relative; inset: auto; }
  .ring, .planet { display: none; }

  .page-head { margin-top: 34px; }
  .page-head h1 { font-size: 38px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px 30px; }
  .cta-band .btn { margin-left: 0; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-footer nav { margin-left: 0; }
}

@media (max-width: 560px) {
  .page-head h1 { font-size: 30px; }
  .copy h1 { font-size: 36px; }
  .panel { padding: 24px 22px; }
}
