/* ===========================================================
   Roxanne Sison Gonzales — Caregiver Resume
   Design: badge/ID-card motif drawn from her real caregiver badge
   =========================================================== */

:root {
  --ink:        #2B3A42;
  --ink-soft:   #5A6B72;
  --paper:      #FBF8F2;
  --paper-dim:  #F1ECE1;
  --scrub:      #6E97B7;
  --scrub-deep: #3F6683;
  --sage:       #7C9473;
  --gold:       #C99A44;
  --cloud:      #E9EFF3;
  --line:       #DCD5C6;

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Source Sans 3", -apple-system, sans-serif;

  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); margin: 0; color: var(--ink); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--scrub-deep);
  margin: 0 0 0.6rem;
}

section, header, footer { padding: 4.5rem 6vw; max-width: var(--max); margin: 0 auto; }

/* ---------- NAV ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 6vw;
  max-width: var(--max);
  margin: 0 auto;
}
.nav__mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--scrub);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.nav__links { display: flex; gap: 2rem; font-size: 0.95rem; font-weight: 600; }
.nav__links a { opacity: 0.75; transition: opacity 0.2s; }
.nav__links a:hover, .nav__links a:focus-visible { opacity: 1; }
.nav__cta {
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
}
@media (max-width: 640px) { .nav__links { display: none; } }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.hero__name {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 0.9rem;
}
.hero__title {
  font-size: 1.15rem;
  color: var(--scrub-deep);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.hero__lede {
  max-width: 46ch;
  color: var(--ink-soft);
  margin: 1.4rem 0 2rem;
}
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn--primary { background: var(--scrub-deep); color: #fff; box-shadow: 0 8px 20px -8px rgba(63,102,131,0.6); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }

.badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cloud);
  border: 1px solid var(--line);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--scrub-deep);
}
.badge-strip .pin { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.badge-strip .dot { opacity: 0.4; }

.hero__photo { position: relative; justify-self: center; }
.photo-frame {
  width: min(320px, 80vw);
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(43,58,66,0.35);
  border: 6px solid #fff;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* -- The signature element: the ID badge, echoing her real caregiver badge -- */
.id-badge {
  position: absolute;
  bottom: -1.6rem;
  right: -1rem;
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.2rem 1.1rem;
  box-shadow: 0 18px 40px -18px rgba(43,58,66,0.4);
  width: 168px;
  text-align: center;
  border: 1px solid var(--line);
}
.id-badge__clip {
  display: block;
  width: 34px; height: 12px;
  background: var(--scrub);
  border-radius: 6px;
  margin: -1.7rem auto 0.6rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.id-badge__role {
  display: block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--scrub-deep);
}
.id-badge__line {
  display: block;
  width: 60%;
  height: 1px;
  background: var(--line);
  margin: 0.5rem auto;
}
.id-badge__values {
  display: block;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.id-badge--small {
  position: static;
  margin: 0 auto;
  width: 150px;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero__photo { justify-self: start; margin-top: 1rem; }
}

/* ---------- SECTION HEAD ---------- */
.section-head { margin-bottom: 2.4rem; max-width: 55ch; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }

/* ---------- ABOUT ---------- */
.about { background: var(--cloud); border-radius: 32px; margin-top: 1rem; }
.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.about__text { color: var(--ink-soft); font-size: 1.05rem; }
.about__photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -20px rgba(43,58,66,0.3); }
.about__photo img { aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 760px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- SKILLS ---------- */
.skills__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.skills__col h3 {
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  color: var(--scrub-deep);
}
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  padding-left: 1.6rem;
}
.chip::before {
  content: "";
  position: absolute;
  left: 0.75rem; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
}
.chip-list--compact .chip::before { background: var(--gold); }

.skills__photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.skills__photo-row figure { margin: 0; }
.skills__photo-row img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.skills__photo-row figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 760px) { .skills__columns, .skills__photo-row { grid-template-columns: 1fr; } }

/* ---------- EXPERIENCE ---------- */
.timeline { position: relative; padding-left: 2rem; margin-bottom: 3rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline__item { position: relative; }
.timeline__pin {
  position: absolute;
  left: -2rem; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--scrub);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--scrub);
}
.timeline__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
}
.timeline__dates {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.4rem;
}
.timeline__card h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.timeline__role { color: var(--ink-soft); font-weight: 600; margin: 0 0 1rem; }
.timeline__card ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.timeline__card li { margin-bottom: 0.4rem; }

.cert-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.info-card {
  background: var(--cloud);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
}
.info-card h3 { font-size: 1rem; color: var(--scrub-deep); margin-bottom: 1.2rem; }
.info-card .chip-list { justify-content: center; }
@media (max-width: 640px) { .cert-lang-grid { grid-template-columns: 1fr; } }

/* ---------- CONTACT / FOOTER ---------- */
.contact {
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  margin: 1rem 6vw 2rem;
  max-width: none;
  width: auto;
  text-align: center;
}
.contact .eyebrow { color: var(--gold); }
.contact h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1.8rem; }
.contact__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-weight: 600;
}
.contact__links a { border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 2px; }
.contact__links a:hover { border-color: #fff; }
.contact__foot { margin-top: 2.5rem; font-size: 0.8rem; opacity: 0.5; }
