/* Nabila Díaz Handmade Prosthetics
   Static bilingual website for Netlify
   Image files go in /assets/images/
*/

:root {
  --bg-warm: #f2e6dc;
  --bg-light: #f6f2f2;
  --paper: #fffafa;
  --accent: #7a004b;
  --accent-dark: #560034;
  --text: #111111;
  --muted: #514a4a;
  --line: rgba(17, 17, 17, 0.12);
  --shadow: 0 28px 80px rgba(17, 17, 17, 0.12);
  --radius-lg: 34px;
  --radius-md: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.6;
  font-size: 16px;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  z-index: 999;
  border-radius: 999px;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(122, 0, 75, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.brand img {
  width: 142px;
  height: auto;
}

.site-header .brand {
  color: #fff;
}

.site-header .brand img {
  filter: none;
}

.site-header .nav-links {
  color: rgba(255, 255, 255, 0.78);
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible,
.site-header .language-link {
  color: #fff !important;
}

.site-header .button {
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}

.site-header .button:hover,
.site-header .button:focus-visible {
  background: var(--bg-warm);
  border-color: var(--bg-warm);
  color: var(--accent-dark);
}

.brand-text {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.language-link {
  color: var(--accent) !important;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
  font-weight: 800;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--accent);
  background: transparent;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--accent-dark);
  background: rgba(122, 0, 75, 0.08);
}

.hero {
  padding: 76px 0 88px;
  background:
    radial-gradient(circle at top left, rgba(122, 0, 75, 0.10), transparent 30%),
    linear-gradient(180deg, var(--bg-light), var(--bg-warm));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--accent);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(2.65rem, 4.7vw, 4.9rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.85rem);
  max-width: 800px;
}

h3 {
  font-size: 1.35rem;
}

.lead {
  margin: 26px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-note div {
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.hero-note div:last-child {
  border-right: 0;
}

.hero-note strong {
  color: var(--text);
}

.media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--bg-warm), #fff6ee);
}

.media::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  text-align: center;
  color: rgba(122, 0, 75, 0.72);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

.media.media-missing::after {
  display: flex;
}

.hero-visual {
  min-height: 580px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  object-position: center;
}

.hero-card {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 28px;
  border-radius: 26px;
  background: rgba(246, 242, 242, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.hero-card img {
  width: 220px;
  margin-bottom: 16px;
}

.hero-card strong {
  display: block;
  color: var(--accent);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--bg-warm);
}

.section-header {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-header.center {
  margin: 0 auto 46px;
  text-align: center;
}

.section-header p {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 22px 0 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

.intro-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
}

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

.card {
  padding: 30px;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 250, 0.76);
  border: 1px solid var(--line);
}

.card h3 {
  margin-bottom: 14px;
}

.card p,
.card li {
  color: var(--muted);
}

.card p {
  margin: 0;
}

.card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.card li + li {
  margin-top: 7px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 66px;
  align-items: center;
}

.image-panel {
  min-height: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.round-panel {
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.round-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-stack {
  display: grid;
  gap: 24px;
}

.text-stack p {
  margin: 0;
  color: var(--muted);
}

.soft-list {
  display: grid;
  gap: 14px;
}

.soft-list div {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 250, 250, 0.66);
  border: 1px solid var(--line);
  color: var(--muted);
}

.soft-list strong {
  color: var(--text);
}

.tone-strip {
  margin-top: 42px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 250, 250, 0.66);
  border: 1px solid var(--line);
}

.tone-strip img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 250, 0.72);
  border: 1px solid var(--line);
}

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-family: "Montserrat", Arial, sans-serif;
}

.step-card h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.contact {
  padding: 92px 0;
  background: var(--accent);
  color: white;
}

.contact h2,
.contact .eyebrow {
  color: white;
}

.contact .eyebrow {
  opacity: 0.72;
}

.contact p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.contact-card {
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.contact-line {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 4px;
}

.contact-line strong,
.contact-line a {
  color: white;
  text-decoration: none;
}

.contact .button {
  background: white;
  border-color: white;
  color: var(--accent);
  margin-top: 18px;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #111111;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 980px) {
  .nav-links a:not(.button):not(.language-link) {
    display: none;
  }

  .hero-grid,
  .intro-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img,
  .image-panel,
  .image-panel img {
    min-height: 460px;
  }

  .card-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 74px 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .nav {
    min-height: 68px;
  }

  .brand img {
    width: 118px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    padding: 52px 0 68px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero-visual,
  .hero-visual img,
  .image-panel,
  .image-panel img {
    min-height: 380px;
  }

  .hero-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 22px;
  }

  .hero-card img {
    width: 180px;
  }

  .hero-note {
    display: grid;
  }

  .hero-note div {
    border-right: 0;
    padding-right: 0;
  }

  .card-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px;
  }
}
