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

:root {
  --pink: #dc4f8a;
  --pink-strong: #ff2a8c;
  --purple: #9558d8;
  --cream: #f5f1eb;
  --paper: #e3e8e1;
  --ink: #1f2633;
  --muted: #667085;
  --line: #d9d6cf;
  --shadow: 0 18px 32px rgba(31, 38, 51, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
}

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

a,
button,
input,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
}

.accent-bar {
  height: 6px;
  background: var(--pink);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  padding: 0 26px;
  background: var(--pink);
  color: #ffffff;
}

.brand {
  display: grid;
  line-height: 1;
}

.brand-name {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-role {
  font-size: 1rem;
  opacity: 0.92;
}

.site-nav,
.mobile-nav {
  display: flex;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 600;
}

.site-nav a:hover,
.mobile-nav a:hover {
  opacity: 0.8;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: #ffffff;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: flex;
}

main {
  overflow: hidden;
}

.hero-section,
.gallery-section,
.about-section,
.project-ledger-section,
.contact-section {
  width: min(100%, 1360px);
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: start;
  gap: 0;
  min-height: 0;
  background: var(--paper);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  max-width: 860px;
  padding: 82px 72px 82px 220px;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 82px 32px 40px 0;
}

.hero-profile-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 20px 40px rgba(31, 38, 51, 0.08);
}

.hero-profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 24%;
  transform: scale(1.08);
  filter: contrast(1.04) saturate(1.03) brightness(1.02);
}

.hero-copy h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.9rem, 4vw, 4.7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-line--primary {
  color: var(--ink);
}

.hero-title-line--terminal {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  padding: 0.14em 0.34em;
  border-radius: 999px;
  background: rgba(31, 38, 51, 0.06);
  color: #111827;
  font-family: "Space Mono", monospace;
  font-size: clamp(1.7rem, 2.9vw, 2.6rem);
  line-height: 1.2;
}

.terminal-prompt {
  color: #16a34a;
}

.terminal-text {
  display: inline-block;
  min-width: 21ch;
}

.terminal-cursor {
  width: 0.11em;
  height: 1.05em;
  background: currentColor;
  animation: cursor-blink 1s steps(1) infinite;
}

.hero-title-line--accent {
  color: var(--pink);
}

.hero-title-line--secondary {
  color: #4b67b3;
}

.hero-lead,
.hero-body,
.section-heading p,
.about-copy p,
.ledger-intro,
.ledger-item p,
.contact-intro p,
.site-footer p {
  color: var(--muted);
}

.hero-lead,
.hero-body {
  max-width: 420px;
  font-size: 0.95rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  border: 0;
  padding: 8px 14px;
  font-size: 0.86rem;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.send-button:hover {
  transform: translateY(-1px);
}

.button-outline {
  background: transparent;
}

.button-accent {
  color: var(--pink-strong);
}

@keyframes cursor-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.gallery-section {
  padding: 86px 0 34px;
}

.section-heading {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.section-heading p {
  max-width: 400px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.gallery-card {
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.gallery-card--wide-copy {
  display: grid;
  align-content: start;
  padding: 32px 26px;
  background: #ffffff;
}

.gallery-card--wide-copy h3 {
  color: #f26e3d;
  font-size: 1rem;
  font-weight: 500;
}

.gallery-card--wide-copy p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.gallery-card--wide-copy .small-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.feature-mini {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.feature-mini strong {
  display: block;
  font-size: 0.84rem;
}

.feature-mini span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.gallery-card__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 26px;
  padding: 6px 14px;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 500;
}

.gallery-card__topbar button {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: transparent;
  padding: 3px 16px;
  color: #ffffff;
  font-size: 0.65rem;
}

.gallery-card__image {
  width: 100%;
  min-height: 250px;
  object-fit: cover;
}

.gallery-card--project,
.gallery-card--text-split {
  display: grid;
}

.gallery-card--project[data-tone="pink"] .gallery-card__topbar,
.gallery-card--text-split[data-tone="pink"] .gallery-card__topbar {
  background: var(--pink-strong);
}

.gallery-card--project[data-tone="dark"] .gallery-card__topbar,
.gallery-card--text-split[data-tone="dark"] .gallery-card__topbar {
  background: #3e3127;
}

.gallery-card--project[data-tone="blue"] .gallery-card__topbar,
.gallery-card--text-split[data-tone="blue"] .gallery-card__topbar {
  background: #183d85;
}

.gallery-card--text-split .split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 258px;
}

.split-left,
.split-right {
  padding: 28px;
}

.split-left {
  background: var(--pink-strong);
  color: #ffffff;
}

.split-left h3 {
  max-width: 220px;
  font-size: 2.9rem;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.split-right {
  background: #ffffff;
}

.split-right p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 54px;
  align-items: start;
  padding: 62px 182px 80px;
}

.eyebrow {
  color: var(--ink);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.about-copy p {
  max-width: 650px;
  font-size: 1rem;
  line-height: 1.9;
}

.about-copy p + p {
  margin-top: 18px;
}

.tools-card {
  padding: 26px 22px 30px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.tools-card h2 {
  font-size: 1.15rem;
  font-weight: 500;
  text-align: center;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 14px;
  margin-top: 28px;
}

.tool-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.tool-item img {
  width: 34px;
  height: 34px;
}

.tool-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.project-ledger-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 44px;
  align-items: start;
  padding: 18px 94px 76px 112px;
  background: var(--cream);
}

.services-terminal {
  overflow: hidden;
  border: 1px solid rgba(31, 38, 51, 0.08);
  border-radius: 14px;
  background: #101623;
  box-shadow: 0 24px 44px rgba(16, 22, 35, 0.16);
  color: #e5eefc;
  font-family: "Space Mono", monospace;
}

.services-terminal__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #161d2d;
}

.services-terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.services-terminal__dot--pink {
  background: #ff5c93;
}

.services-terminal__dot--gold {
  background: #ffb84d;
}

.services-terminal__dot--green {
  background: #3ddc97;
}

.services-terminal__title {
  margin-left: 8px;
  color: rgba(229, 238, 252, 0.72);
  font-size: 0.76rem;
}

.services-terminal__body {
  min-height: 420px;
  padding: 22px 22px 26px;
}

.services-terminal__intro,
.services-terminal__line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.services-terminal__intro {
  color: #8ab4ff;
  font-size: 0.84rem;
}

.services-terminal__prompt {
  color: #3ddc97;
}

.services-terminal__lines {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.86rem;
  line-height: 1.85;
}

.services-terminal__line {
  min-height: 1.85em;
}

.services-terminal__label {
  flex: 0 0 auto;
  color: #8ab4ff;
}

.services-terminal__text {
  color: #e5eefc;
}

.services-terminal__line--passion .services-terminal__text {
  color: #f7c97b;
}

.services-terminal__line--automation .services-terminal__text {
  color: #7dd3fc;
}

.services-terminal__line--whatsapp .services-terminal__text {
  color: #86efac;
}

.services-terminal__line--payments .services-terminal__text {
  color: #f9a8d4;
}

.services-terminal__line--systems .services-terminal__text {
  color: #c4b5fd;
}

.services-terminal__line--closing .services-terminal__text {
  color: #fca5a5;
}

.services-terminal__typing {
  display: inline-flex;
  align-items: center;
}

.services-terminal__cursor {
  width: 0.11em;
  height: 1.05em;
  margin-left: 3px;
  background: currentColor;
  animation: cursor-blink 1s steps(1) infinite;
}

.ledger-copy {
  max-width: 380px;
}

.ledger-intro {
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.65;
}

.ledger-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.ledger-item h3 {
  color: #2f3b59;
  font-size: 0.84rem;
  font-weight: 600;
}

.ledger-item p {
  margin-top: 8px;
  font-size: 0.76rem;
  line-height: 1.75;
}

.contact-section {
  padding: 28px 24px 0;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  width: 100%;
}

.contact-intro p {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}

.contact-intro-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(31, 38, 51, 0.06);
  color: var(--ink);
  font-family: "Space Mono", monospace;
  font-weight: 700;
  white-space: nowrap;
}

.contact-intro-prompt {
  color: #16a34a;
  font-size: 1.1em;
  animation: cursor-blink 1s steps(1) infinite;
}

.contact-intro > span {
  width: 54px;
  height: 3px;
  background: var(--line);
}

.contact-card {
  width: min(100%, 590px);
  margin: 40px auto 0;
  padding: 22px 40px 28px;
  background: #ffffff;
  box-shadow: 0 24px 40px rgba(31, 38, 51, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-row--single {
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid #3c4659;
  background: transparent;
  padding: 10px 12px;
  color: var(--ink);
}

.contact-card input::placeholder {
  color: #7d8592;
  font-style: italic;
}

.message-label {
  display: block;
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.contact-card textarea {
  min-height: 188px;
  resize: vertical;
}

.send-button {
  min-width: 160px;
  border: 0;
  background: #ffb31c;
  padding: 12px 26px;
  color: #ffffff;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.whatsapp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 12px 18px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 180ms ease, filter 180ms ease;
}

.whatsapp-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.whatsapp-button--chat {
  background: #2563eb;
}

.whatsapp-button--standard {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 10;
  width: 60px;
  min-width: 60px;
  height: 60px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: #111111;
  box-shadow: 0 8px 20px rgba(31, 38, 51, 0.2);
}

.whatsapp-button--standard svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.site-footer {
  margin-top: 54px;
  padding: 28px 24px 34px;
  background: var(--purple);
  color: #ffffff;
  text-align: center;
}

.footer-icons,
.footer-contact {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.footer-icons {
  font-size: 1.2rem;
}

.footer-line {
  width: min(100%, 304px);
  height: 1px;
  margin: 18px auto;
  background: rgba(255, 255, 255, 0.6);
}

.footer-contact {
  flex-wrap: wrap;
  gap: 18px 34px;
  font-size: 0.9rem;
}

.site-footer p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
}
