/* ==========================================================================
   Yuwri — IT support & computer repair (Seixal)
   Pastel "corkboard & stickers" design
   ========================================================================== */

:root {
  --bg: #FBF6F1;
  --surface: #FFFFFF;
  --ink: #2E2A3D;
  --ink-muted: #726C82;
  --line: #EAE2F1;
  --accent: #5F4B9E;
  --accent-tint: #DCD3F5;

  --tile-lavender: #DCD3F5;
  --tile-mint: #CFEEDD;
  --tile-peach: #F7DAC0;
  --tile-sky: #CFE4F5;
  --tile-butter: #F7EAC0;
  --tile-blush: #F5D6E4;

  --band: var(--accent);
  --band-text: #FBF6F1;
  --band-muted: #D9D0F2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Fredoka', ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.link-underline {
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.link-underline:hover {
  border-color: currentColor;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* -------------------------------------------------------------------------
   Washi tape stripe
   ------------------------------------------------------------------------- */

.tape-stripe {
  display: flex;
  height: 6px;
}

.tape-stripe > div {
  flex: 1;
}

/* -------------------------------------------------------------------------
   Nav
   ------------------------------------------------------------------------- */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.brand-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 21px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 600;
}

.lang-switch {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lang-switch:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(95, 75, 158, 0.55);
}

.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-tint);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.hero {
  padding: 56px 0 84px;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tile-lavender);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(40px, 6vw + 20px, 72px);
  line-height: 1.02;
  margin: 0 0 22px;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
  color: var(--accent);
}

.hero-title .highlight svg {
  position: absolute;
  left: 0;
  bottom: -0.17em;
  width: 100%;
  height: auto;
}

.hero-tagline {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 46ch;
  margin: 24px auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 52px;
}

.sticker-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 4px 10px -6px rgba(46, 42, 61, 0.25);
}

.sticker svg {
  stroke: var(--ink);
}

.sticker-lavender { background: var(--tile-lavender); transform: rotate(-4deg); }
.sticker-mint { background: var(--tile-mint); transform: rotate(3deg); }
.sticker-peach { background: var(--tile-peach); transform: rotate(-3deg); }
.sticker-sky { background: var(--tile-sky); transform: rotate(4deg); }
.sticker-butter { background: var(--tile-butter); transform: rotate(-2deg); }
.sticker-blush { background: var(--tile-blush); transform: rotate(5deg); }

/* -------------------------------------------------------------------------
   Services — bento grid
   ------------------------------------------------------------------------- */

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 560px;
  margin-bottom: 44px;
}

.section-heading h2 {
  font-size: 34px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(190px, auto);
  gap: 20px;
}

.tile {
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tile:hover {
  transform: translateY(-3px) rotate(-0.3deg);
  box-shadow: 0 18px 28px -18px rgba(46, 42, 61, 0.28);
}

.tile-icon {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-lead { grid-column: span 6; grid-row: span 2; background: var(--tile-lavender); }
.tile-lead .tile-icon { width: 52px; height: 52px; }
.tile-lead h3 { font-size: 22px; margin-top: 6px; }
.tile-lead p { font-size: 15px; line-height: 1.55; color: var(--ink); opacity: 0.75; margin: 0; max-width: 34ch; }

.tile-half { grid-column: span 3; }
.tile-half .tile-icon { width: 44px; height: 44px; border-radius: 12px; }
.tile-half h3 { font-size: 18px; }
.tile-half p { font-size: 14px; line-height: 1.5; color: var(--ink); opacity: 0.7; margin: 0; }
.tile-half.mint { background: var(--tile-mint); }
.tile-half.peach { background: var(--tile-peach); }

.tile-third { grid-column: span 2; }
.tile-third .tile-icon { width: 40px; height: 40px; border-radius: 10px; }
.tile-third h3 { font-size: 16px; }
.tile-third p { font-size: 13px; line-height: 1.45; color: var(--ink); opacity: 0.7; margin: 0; }
.tile-third.sky { background: var(--tile-sky); }
.tile-third.butter { background: var(--tile-butter); }
.tile-third.blush { background: var(--tile-blush); }

.tile-cta {
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  width: fit-content;
}

/* -------------------------------------------------------------------------
   About — pinned notecard
   ------------------------------------------------------------------------- */

.tape {
  position: absolute;
  width: 74px;
  height: 26px;
  background: #f3e6c4;
  border: 1px solid #d8c393;
  box-shadow: 0 2px 6px rgba(46, 42, 61, 0.08);
  opacity: 0.9;
}

.notecard-wrap {
  position: relative;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

.notecard {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  padding: 48px 44px;
  box-shadow: 0 20px 40px -28px rgba(46, 42, 61, 0.35);
  transform: rotate(-0.8deg);
}

.notecard h2 {
  font-size: 32px;
  margin: 0 0 18px;
}

.notecard p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0;
  max-width: 52ch;
}

.stamp {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--tile-butter);
  border: 2px dashed #a89a63;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(9deg);
}

.stamp .year {
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.stamp .place {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

/* -------------------------------------------------------------------------
   Personalized approach — band
   ------------------------------------------------------------------------- */

.band {
  background: var(--band);
  padding: 96px 0;
  color: var(--band-text);
  text-align: center;
}

.band-inner {
  max-width: 760px;
  margin: 0 auto;
}

.band h2 {
  font-size: 34px;
  margin: 0 0 20px;
  color: #fff;
}

.band p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--band-muted);
  margin: 0 auto 32px;
  max-width: 56ch;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tag {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--band-text);
}

/* -------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------- */

.contact-copy h2 {
  font-size: 34px;
  margin: 0 0 18px;
}

.contact-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
  max-width: 40ch;
}

.contact-note-wrap {
  position: relative;
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
}

.contact-note {
  background: var(--tile-peach);
  border-radius: 18px;
  padding: 38px 32px;
  transform: rotate(1.2deg);
  box-shadow: 0 20px 36px -26px rgba(46, 42, 61, 0.35);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}

.contact-links a.email {
  font-size: 14px;
  word-break: break-all;
}

.contact-links svg {
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .tile-lead,
  .tile-half {
    grid-column: span 6;
    grid-row: span 1;
  }

  .tile-third {
    grid-column: span 6;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 20px;
  }

  .tile-lead,
  .tile-half,
  .tile-third {
    grid-column: span 12;
  }

  .section-heading h2,
  .notecard h2,
  .band h2,
  .contact-copy h2 {
    font-size: 28px !important;
  }

  .nav-links {
    display: none !important;
  }

  .notecard {
    padding: 40px 28px;
  }

  .stamp {
    top: -16px;
    right: -8px;
    width: 74px;
    height: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
